Got a list of supported laptop sound cards?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Wed Sep 23, 2009 11:18 am

QUOTE: "As a side note, or really more to the point: The sound quality on my Toshiba Satellite a135-s4527 is quite horrible compared to windows. The sound card is the on-board 82801G/ICH7. Compared to my OEM Vista install, sound quality at the same volume levels is disgusting and always has been - the speakers snap, crackle, pop; it's got more distortion than an AC/DC concert."

Hi Optimize Me !

I tried this card with OSS4 on Ubuntu 8.04
Playback was perfect.
But mic did not work.
Perhaps, you can enable mic with Gnome Volume Control (preferences).
Gnome Volume Control supports OSS4 in Ubuntu 9.04/Mint 7,
but not in Ubuntu 8.04

Read this first (very useful info about HDA, in general):
http://wiki.archlinux.org/index.php/OSS

and this (with references below):
http://en.wikipedia.org/wiki/Intel_High ... tion_Audio

EDIT: The default settings for ICH7 with OSS4 seem to be such that
the internal and external speakers work simultaneously.
You should simply switch off the intenal speakers with OSS Mixer GUI (ossxmix).
Last edited by igorzwx on Wed Sep 23, 2009 11:23 am, edited 1 time in total.
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Linux Mint is funded by ads and donations.
 

Re: Got a list of supported laptop sound cards?

Postby optimize me on Wed Sep 23, 2009 11:23 am

igorzwx wrote:I tried this card with OSS4 on Ubuntu 8.04
Playback was perfect.
But mic did not work.
Perhaps, you can enable mic with Gnome Volume Control (preferences).

I don't know.

My mic didn't work with PulseAudio for some reason, but I've never had a problem with it while using just ALSA. So for now, it works and I like it that way. Going through the hassle of installing OSS with the odd chance I may not have use of my mic is simply not worth the effort when all is as well as can be with things the way they are.

After ditching PA and switching to ALSA, I've even regained the novelty of having my laptop speakers switch off when I plug in headphones! I used to have to recompile and reinstall ALSA and my sound drivers to get that to work.

Thanks for the idea, but for now I'm not interested in OSS.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Wed Sep 23, 2009 11:28 am

QUOTE: "After ditching PA and switching to ALSA, I've even regained the novelty of having my laptop speakers switch off when I plug in headphones! I used to have to recompile and reinstall ALSA and my sound drivers to get that to work."

Hi Optimize Me!

You see, OSS is deprecated, ALSA is advanced, PulseAudio is more advanced.
Switching from Pulse to ALSA is a step backward.
Switching from ALSA to OSS is a further step backward.
Why not?
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Got a list of supported laptop sound cards?

Postby optimize me on Wed Sep 23, 2009 11:50 am

igorzwx wrote:You see, OSS is deprecated, ALSA is advanced, PulseAudio is more advanced.

It might be newer, but I wouldn't go so far as to say it's more advanced. PA runs on top of ALSA, ffs.

I don't mean to be confrontational (this time), but seriously - what is it with you and OSS? You've been around for like a month or so, and you're pushing it pretty hard.

Are you on the OSS development team, hoping for a revival or something?
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Wed Sep 23, 2009 1:47 pm

It is very simple: action causes counter-action.
If somebody is pushing PulseAudio and ALSA, somebody else may resist.
Or, do you think that freedom of choice and of information are just abstract ideas of no practical value?
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Got a list of supported laptop sound cards?

Postby optimize me on Wed Sep 23, 2009 1:49 pm

igorzwx wrote:Or, do you think that freedom of choice and of information are just abstract ideas of no practical value?

Hardly.

Just trying to figure your angle, man.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Wed Sep 23, 2009 2:05 pm

I am not a developer, and I am not an expert on sound systems.
I had to learn them to fix sound in Ubuntu 9.04
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Got a list of supported laptop sound cards?

Postby mrminty on Wed Sep 23, 2009 11:20 pm

igorzwx wrote:Hi mrminty and Optimize Me!

QUOTE: "but I did observe that ICH9 is missing from the supported hardware list, but took it on faith that it may be supported anyway, or the tutorial is dated (I bought my laptop new in February)."

The OSS4 Tutorial seems to be maintained by Temüjin, and this means that it is perfect.
The procedure is very simple. You have to hack Linux kernel and install there a kind of trojan,
or rootkit, if you want, named "Open Sound System version 4.2"

ICH9 and ICH10, and the like, are on the list of hardware supported by OSS4:
http://mercurial.opensound.com/?file/6b ... ists/Linux

Intel High Definition Audio (HDA):

68 oss_hdaudio pci8086,2668 Intel High Definition Audio (ICH6)
69 oss_hdaudio pci8086,27d8 Intel High Definition Audio (ICH7)
70 oss_hdaudio pci8086,269a Intel High Definition Audio (ESB2)
71 oss_hdaudio pci8086,284b Intel High Definition Audio (ICH8)
72 oss_hdaudio pci8086,293e Intel High Definition Audio (P35)
73 oss_hdaudio pci8086,293f Intel High Definition Audio (ICH9)
74 oss_hdaudio pci8086,3a3e Intel High Definition Audio (ICH10)
75 oss_hdaudio pci8086,3a6e Intel High Definition Audio (ICH10)
76 oss_hdaudio pci8086,3b56 Intel High Definition Audio (PCH)


For such cards, it is advisable to compile OSS4 from Mercurial,
following the official howto:
https://help.ubuntu.com/community/OpenSound

It is very simple. What you have to do is to copy and paste commands to Terminal and execute them.
But you have to be attentious !!!

You should do this:

Step 1: Purge the failed installation of OSS4

sudo dpkg --purge oss-linux

sudo reboot

Step 2: Compile OSS4 from Mercurial, following this howto [ Ubuntu 9.04 = Mint 7 ]:
https://help.ubuntu.com/community/OpenSound

Do not forget to install these packages:

sudo apt-get install -y binutils libgtk2.0-0 sed gcc libc6

sudo apt-get install -y build-essential linux-headers-`uname -r` gawk libtool libgtk2.0-dev

sudo apt-get install -y libesd0 libsdl1.2debian-oss

Read the howto, and follow it exactly [ Ubuntu 9.04 = Mint 7 ].

Look what is going on Terminal. At the end, it will tell you which soundcard is recognized.

After installation reboot the system:

sudo reboot


I went through this tutorial again (I had gone through at least part of it last night, so some things were already purged, or already installed. I noticed comments that some oss processes were running, which may have formed a sort of monkey wrench when trying to force a mercurial version over it, but killall didn't recognize any running processes beginning with "oss", so I'm stuck. Anyway, all the prerequisites seemed ok, excepting the salsa lib, if it's needed. Terminal didn't save the entirety of my scrolling session, so I'll just have to begin with the first listed error, and down through the Buld & Install box, where it really got messy, which is where I've quit for now.
Code: Select all
Check devices for oss_ymf7xx
cp: cannot stat `lib/libsalsa/.libs/libsalsa.so.2.0.0': No such file or directory
Warning: No libsalsa library compiled
done ossinfo
done ossmix
done osspartysh
done ossphone
done ossplay
done ossrecord
done osstest
done ossxmix
done ossdevlinks
done savemixer
done vmixctl
done ossdetect
sh setup/Linux/mkdeb.sh
building oss-linux-4.2-2000_i386.deb
ar: creating oss-linux-4.2-2000_i386.deb

mrg@mrg ~/oss42build $ sudo dpkg -i oss*.deb
(Reading database ... 114052 files and directories currently installed.)
Preparing to replace oss-linux 4.2-2000 (using oss-linux-4.2-2000_i386.deb) ...
/dev/mixer: No such file or directory
/dev/mixer: No such file or directory

Some applications are still using OSS - cannot unload

3344 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=24

Please stop these applications and run soundoff again
 * Shutting down ALSA...                                                 [ OK ]
Unpacking replacement oss-linux ...
Upgrading OSS - will not purge /usr/lib/oss.
Setting up oss-linux (4.2-2000) ...
Building OSS Modules for Linux-unknown 2.6.28-11-generic

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.28-11-generic/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘__check_mixer_muted’:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared (first use in this function)
/usr/lib/oss/build/osscore.c:235: error: (Each undeclared identifier is reported only once
/usr/lib/oss/build/osscore.c:235: error: for each function it appears in.)
/usr/lib/oss/build/osscore.c: At top level:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared here (not in a function)
/usr/lib/oss/build/osscore.c: In function ‘oss_cmn_err’:
/usr/lib/oss/build/osscore.c:662: warning: format not a string literal and no format arguments
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2
Forcing re-detection of installed soundcards
Starting Open Sound System
OSS is already loaded.

mrg@mrg ~/oss42build $ sudo dpkg -i oss-linux-4.2-2000_i386.deb
(Reading database ... 114037 files and directories currently installed.)
Preparing to replace oss-linux 4.2-2000 (using oss-linux-4.2-2000_i386.deb) ...
/dev/mixer: No such file or directory
/dev/mixer: No such file or directory

Some applications are still using OSS - cannot unload

3344 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=24

Please stop these applications and run soundoff again
 * Shutting down ALSA...                                                 [ OK ]
Unpacking replacement oss-linux ...
Upgrading OSS - will not purge /usr/lib/oss.
Setting up oss-linux (4.2-2000) ...
Building OSS Modules for Linux-unknown 2.6.28-11-generic

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.28-11-generic/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘__check_mixer_muted’:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared (first use in this function)
/usr/lib/oss/build/osscore.c:235: error: (Each undeclared identifier is reported only once
/usr/lib/oss/build/osscore.c:235: error: for each function it appears in.)
/usr/lib/oss/build/osscore.c: At top level:
/usr/lib/oss/build/osscore.c:235: error: ‘mixer_muted’ undeclared here (not in a function)
/usr/lib/oss/build/osscore.c: In function ‘oss_cmn_err’:
/usr/lib/oss/build/osscore.c:662: warning: format not a string literal and no format arguments
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2
Forcing re-detection of installed soundcards
Starting Open Sound System
OSS is already loaded.


Well, I guess the rest can be predicted with only ONE forum page full of my Terminal session, so I'll just try to keep it open in case you think you're on to something with this much.
mrminty
Level 1
Level 1
 
Posts: 16
Joined: Sat Sep 19, 2009 12:31 am

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Thu Sep 24, 2009 9:08 am

This seems to be your problem:

Some applications are still using OSS - cannot unload

3344 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=24

Please stop these applications and run soundoff again


What is really going on?

You have OSS4 installed and it is running.
And you start a new installation of OSS4.
It is a mess, of course.


But we are learning hacking Linux here.
Here we begin.

That process is gnome mixer applet, and "3344" is its PID number.
To kill this process means to kill Gnome Volume Control.
You should kill it, of course.

The command to kill:

kill -15 [PID number]

After you kill it, Gnome will propose to reload it back.
Do not reload it!

This is how I did it on my box:

$ sudo soundoff

Some applications are still using OSS - cannot unload

5764 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=26
5764 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=26

Please stop these applications and run soundoff again

$ kill -15 5764
$ sudo soundoff


The command "sudo soundoff" will switch off OSS4

Then you purge OSS4

sudo dpkg --purge oss-linux

Then you reboot computer.

sudo reboot

After reboot, you install OSS4 with this command:

sudo dpkg -i ~/oss42build/oss*.deb

This should work, if you did not create another mess.


*****************************************************
Your results:

It seems that "install deb" for OSS4 was successfully created,
but the installation failed,
because another OSS4 was already installed and running.
*************************************************************
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Got a list of supported laptop sound cards?

Postby igorzwx on Thu Sep 24, 2009 10:32 am

Useful commands

------------------------------------------

To switch off OSS4, run this:

sudo soundoff

To switch on OSS4, run this:

sudo soundon

-------------------------------------------


To find out which modules (drivers) are loaded, you run these commands:

lsmod | grep snd

lsmod | grep oss

------------------------------
EXPLANATION:

snd - ALSA modules (drivers)

oss - OSS4 modules, or ALSA modules (ALSA emulation of OSS)


----------------------------------------------------------

This command may show error messages for OSS4

dmesg | grep oss

It will show if there are any errors on the device.


--------------------------------------------------------------------------

You can get a more exact error message with this command

dmesg | grep HDA
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Linux Mint is funded by ads and donations.
 
Previous

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 9 guests