Click to See Complete Forum and Search --> : No sound on my laptop using Debian


trilarian
01-04-2003, 03:29 PM
Only sound and a modem problem on my first laptop install of debian, so i'm happy. Anyway, cat proc/pci list:

Multimedia audio controller: Intel Corp. AC'97 Audio Controller (rev 2).
IRQ 11.
I/O at 0xd800 [0xd8ff].
I/O at 0xdc80 [0xdcbf].
Bus 0, device 31, function 6:

There isn't a /dev/dsp where I normally find my sound. I see soundcore get loaded at boot time. Tried as root, so its not a permission problem. Winblows says the sound card is a Crystal WDM codec and using legacy drivers. I appreciate any help.

trilarian
01-07-2003, 04:56 PM
...

cage47
01-07-2003, 05:15 PM
Have you tried modconf to install the module into the kernel. I had a bugger of a time correctly setting my sound up until I used that. No probs since.

Homer119
01-07-2003, 10:40 PM
or try as root

sndconfig

Saptech
01-08-2003, 01:25 AM
You need to have the AC codec loaded also. You may have to compile the kernel to get them.

What does lsmod show?

cage47
01-08-2003, 05:36 PM
I would severely suggest NOT using sndconfig to setup your sound card. I have an es1371 that also uses the ac97 codec. Along with installing the es1371 module it includes two lines related to awemix in the modules.conf file that cause some annoying sound quirks. When I used sndconfig in debian my sound works but only AFTER the first login to KDE. After it would be fine. So at first boot up I would have to log in, get sound to initialize, log out then log back in to have it work right. during the first login there would be no sound (any way, mp3s, waves, cd even using the cd play button, nothing) However in Mandrake (red hat based) my sound was flawless setting it up with sndconfig and those extra lines in modules.conf were non-existent. That's why I suggested modconf.

trilarian
01-09-2003, 03:50 PM
Thanks for all the info...sndconfig is not installed on my system anyway. I tried modconf, but I don't know which module to intergrate. I tried all the ones that looked like they had crystal in the name and they failed. I got soundcore and the oss one to install. I couldn't find a direct match to my sound card. What is the name of the module for the AC codec and can I just add it to the list of modules to load? Also I don't know if this effects anything, but it seemed strange. Almost everything had two i/o addresses and uses irq 11. Here is /proc/pci:

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 4).
Prefetchable 32 bit memory at 0xe8000000 [0xebffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 4).
Master Capable. Latency=32. Min Gnt=14.
Bus 0, device 29, function 0:
USB Controller: PCI device 8086:2482 (Intel Corp.) (rev 2).
IRQ 11.
I/O at 0xbf80 [0xbf9f].
Bus 0, device 29, function 2:
USB Controller: PCI device 8086:2487 (Intel Corp.) (rev 2).
IRQ 11.
I/O at 0xbf20 [0xbf3f].
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (-M) (rev 66).
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 31, function 0:
ISA bridge: PCI device 8086:248c (Intel Corp.) (rev 2).
Bus 0, device 31, function 1:
IDE interface: PCI device 8086:248a (Intel Corp.) (rev 2).
IRQ 11.
I/O at 0x1f0 [0x1f7].
I/O at 0x3f6 [0x3f6].
I/O at 0x170 [0x177].
I/O at 0x376 [0x376].
I/O at 0xbfa0 [0xbfaf].
Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. AC'97 Audio Controller (rev 2).
IRQ 11.
I/O at 0xd800 [0xd8ff].
I/O at 0xdc80 [0xdcbf].
Bus 0, device 31, function 6:
Modem: PCI device 8086:2486 (Intel Corp.) (rev 2).
IRQ 11.
I/O at 0xd400 [0xd4ff].
I/O at 0xdc00 [0xdc7f].
Bus 1, device 0, function 0:
VGA compatible controller: PCI device 10de:0174 (nVidia Corporation) (rev 163).
IRQ 11.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xfc000000 [0xfcffffff].
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Prefetchable 32 bit memory at 0xdff80000 [0xdfffffff].
Bus 2, device 0, function 0:
Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 120).
IRQ 11.
Master Capable. Latency=32. Min Gnt=10.Max Lat=10.
I/O at 0xec80 [0xecff].
Non-prefetchable 32 bit memory at 0xf8fffc00 [0xf8fffc7f].
Bus 2, device 1, function 0:
CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=192.Max Lat=7.
Non-prefetchable 32 bit memory at 0xf4000000 [0xf4000fff].
Bus 2, device 1, function 1:
CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller (#2) (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=192.Max Lat=7.
Non-prefetchable 32 bit memory at 0xf4001000 [0xf4001fff].
Bus 2, device 1, function 2:
FireWire (IEEE 1394): PCI device 104c:8027 (Texas Instruments) (rev 0).
IRQ 11.
Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
Non-prefetchable 32 bit memory at 0xf8fff000 [0xf8fff7ff].
Non-prefetchable 32 bit memory at 0xf8ff8000 [0xf8ffbfff].

trilarian
01-09-2003, 06:48 PM
Ok, decided to try them all.....ih810 worked....some intel generic. Anyway as root I have sound now. So I tried chown trilarian /dev/dsp and /dev/mixer. No luck. I forgot how to get permissions back for sound. Is it in a group that I need to add myself too? Thanks.

trilarian
01-13-2003, 08:15 PM
Alright, got some strange happens here. When I first include the ih810 and AC_97 codec from modconf, I get sound. I do a lsmod and see soundcore, ih810, and AC_97 codec. In /etc/modules I have the ih810 and AC_97 codec listed. When I reboot I no longer have sound. Doing a lsmod shows that all three modules loaded. Here is the relevant part of dmesg:

i810: Intel ICH3 found at IO 0xdc80 and 0xd800, IRQ 11
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x4352:0x595b (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
ac97_codec: AC97 Modem codec, id: 0x4358:0x5421 (Unknown)
i810_audio: timed out waiting for codec 1 analog ready.

I cant get sound as root either after reboot. I also can't rmmod, says resource is busy. So I can't take them out of modconf either. If I delete them from /etc/modules I can then take them out with modconf. Reselecting those two modules with modconf gives me sound again until I reboot. Any help is appreciated.

P.S. I tried modprobe soundcore since it is not listed in /etc/modules

trilarian
01-18-2003, 05:26 PM
Was onto page 4..................any ideas? Thx

cage47
01-20-2003, 01:10 AM
do a search for adduser. I saw it listed somewhere but forgot the actual syntax. or just man adduser. (I think it's adduser <group> <Username>)

trilarian
01-21-2003, 10:09 PM
Thx, but I resolved the permission problem. I can't get sound even with root privelages after rebooting. Read 2 post up for the details on what is wrong now. Thx again.

trilarian
01-27-2003, 02:10 PM
Putting this back on top one more time, then I'll start a new thread since this one doesn't seem to be getting any attention.
Thx.