LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reinstalling ALSA after OSS4, Debian 6.0 (https://www.linuxquestions.org/questions/linux-newbie-8/reinstalling-alsa-after-oss4-debian-6-0-a-4175424280/)

melian_are 08-27-2012 03:18 PM

Reinstalling ALSA after OSS4, Debian 6.0
 
I changed out ALSA in favour of OSS4. Due to some compatibility issues with an external soundcard, I have to switch back to ALSA. However, after removing OSS4 (using apt-get purge) and reinstalling ALSA following the quick install guide (http://alsa.opensrc.org/Quick_Install) my soundcard is not recognized! It still shows up if I do lspci | grep Audio, and sound works on my windows partition... so it isn't broken... but I don't know how to get it back.


Any help would be greatly appreciated!

abrinister 08-27-2012 04:54 PM

What does this give you?

Code:

aplay -l
How about this?

Code:

lspci -n
What does alsamixer tell you?

Alex Brinister

melian_are 08-28-2012 08:48 AM

aplay -l, lspci -n, alsamixer
 
Output of aplay -l:

aplay: device_list:235: no soundcards found...

Output of lspci -n:

00:00.0 0600: 8086:0044 (rev 02)
00:01.0 0604: 8086:0045 (rev 02)
00:16.0 0780: 8086:3b64 (rev 06)
00:1a.0 0c03: 8086:3b3c (rev 05)
00:1b.0 0403: 8086:3b56 (rev 05)
00:1c.0 0604: 8086:3b42 (rev 05)
00:1c.1 0604: 8086:3b44 (rev 05)
00:1c.4 0604: 8086:3b4a (rev 05)
00:1d.0 0c03: 8086:3b34 (rev 05)
00:1e.0 0604: 8086:2448 (rev a5)
00:1f.0 0601: 8086:3b09 (rev 05)
00:1f.2 0106: 8086:3b29 (rev 05)
00:1f.3 0c05: 8086:3b30 (rev 05)
00:1f.6 1180: 8086:3b32 (rev 05)
01:00.0 0300: 1002:68e0
01:00.1 0403: 1002:aa68
02:00.0 0200: 1969:2060 (rev c1)
03:00.0 0280: 10ec:8176 (rev 01)
3f:00.0 0600: 8086:2c62 (rev 02)
3f:00.1 0600: 8086:2d01 (rev 02)
3f:02.0 0600: 8086:2d10 (rev 02)
3f:02.1 0600: 8086:2d11 (rev 02)
3f:02.2 0600: 8086:2d12 (rev 02)
3f:02.3 0600: 8086:2d13 (rev 02)

alsamixer:

cannot open mixer: No such file or directory

cynwulf 08-28-2012 09:08 AM

Code:

# aptitude reinstall alsa-base alsa-utils
Code:

# alsactl init
Code:

$ speaker-test
Leave it to run and open another terminal emulator. Run alsamixer and unmute everything, raise volumes until you hear sound.

abrinister 08-28-2012 09:19 AM

Sorry, I meant '-k' instead of '-n'.

Are you sure you don't load the OSS modules somewhere? Have you rebuilt your initrd after uninstalling OSS? The module might still be ion there if you didn't. OSS conflicts with ALSA so it could stop the ALSA modules from loading, specifically snd-hda-intel.

What does this give you?

Code:

lsmod | grep oss
Alex Brinister

melian_are 08-30-2012 07:27 AM

Reinstalled...
 
Given the time crunch I was in, I decided to just reinstall the OS. I was definitely loading the oss modules instead of the ALSA modules, but given that I had no files on that partition it was more straight forward to just wipe it and start from scratch. Thanks for your help!


All times are GMT -5. The time now is 06:59 AM.