PDA

View Full Version : No sound



dtz
05-26-2005, 07:41 AM
Hi all, when booting the 3.8.2 2005-5-5 cd, it seems audio is detected (I have onboard audio, no sound card) but nothing can be heard. The alsa cheatcode doesn't work (forget exactly but some error about not finding a card). Info is below. Thanks ans I hope someone has some advice so I can move on with installing over my horrible Ubuntu experiment. (Fyi, Ubuntu is Ubullshit.)

lspci:
0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:00.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
0000:02:0c.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)


lsmod:
Module Size Used by
snd_mixer_oss 18688 0
snd 46308 1 snd_mixer_oss
autofs4 18820 1
af_packet 20104 0
ext3 124552 0
jbd 65060 1 ext3
i810_audio 36884 1
ac97_codec 20108 1 i810_audio
soundcore 11104 3 snd,i810_audio
e1000 81972 0
intel_agp 22044 1
agpgart 30512 1 intel_agp
hw_random 8468 0
mtdcore 9800 0
chipreg 6656 0
map_funcs 5632 0
i2c_i801 11276 0
i2c_core 21248 1 i2c_i801
parport_pc 38596 0
parport 33480 1 parport_pc
8250 41692 0
serial_core 21120 1 8250
evdev 11008 0
tsdev 9664 0
usbhid 42176 0
pcmcia 21776 0
yenta_socket 21896 0
rsrc_nonstatic 12160 1 yenta_socket
pcmcia_core 42272 3 pcmcia,yenta_socket,rsrc_nonstatic
video 18308 0
thermal 14984 0
processor 24552 1 thermal
fan 7300 0
container 7296 0
button 9104 0
battery 12420 0
ac 7556 0
rtc 13772 0
unionfs 830612 1
cloop 18848 1
sbp2 24456 0
ohci1394 33028 0
ieee1394 300600 2 sbp2,ohci1394
usb_storage 63296 0
ub 18332 2
ohci_hcd 21896 0
uhci_hcd 31376 0
ehci_hcd 31752 0
usbcore 101496 7 usbhid,usb_storage,ub,ohci_hcd,uhci_hcd,ehci_hcd

Cuddles
05-27-2005, 02:26 PM
Hmmm,

You might want to look at this (http://www.knoppix.net/forum/viewtopic.php?t=18967&highlight=) thread, about ALSA - because, from what I can tell, you have some modules that are using ALSA, and some that I think are NOT alsa -=- ALSA can not "compete" with another sound server, like OSS ( arts ), they will knock your ALSA right out of the water.

Also, ALSA is not a sound server that can be "clicked on" and "clicked off", like OSS within KDE Control Center - you boot up, disable all other sound servers, and run alsaconf to install, detect, configure, and boot with ALSA sound running... The Live CD is fine with a cheatcode, but after you hard drive install, you need to do this by the "Debian" book, so-to-speak...

Lastly, if you are going to use ALSA, you need to realize that it "initializes" the sound mixer as ALL MUTED. Run something like alsamixer to remove the MUTE, and adjust volume settings, then, when you have it the way you like, run alsactl store - this will save those settings. When you boot, if you have a hard drive install, add the following, at the bottom of your /etc/init.d/bootmisc.sh file: alsactl restore -=- and your volume settings will be returned after you boot.

Hope this helps,
Ms. Cuddles

dtz
05-29-2005, 05:29 PM
Thanks for your advice Cuddles! Other problems led me to go on and install pure Debian but your info was still useful.

CrashedAgain
05-31-2005, 05:10 AM
It looks like dtz has gone on to Debian but for what it's worth here is my 'standard' Knoppix sound setup which has always worked for me.

First, boot 'knoppix alsa' to make sure you are using alsa and not oss. (This should not be necessary with the 2.6 series kernel since alsa is the default with this kernel but just to be sure...)These are the sound modules in the kernel, oss is obsolete. If you are installed to HD, edit the 'append=' line in /etc/lilo.conf adding 'alsa' to the list then re run lilo.

Then, try the sound configuration tool in the 'Knoppix' menu item.

Make sure your Kmix volume settings are turned up, you need at least master and PCM turned up.

Go to KDE control center -> sound system & enable the sound system.

Go to KDE control center -> system notifications & turn on all event sounds.

Then you have to edit the hidden file /home/(username)/.kde/share/config/knotifyrc & change all three settings to 'true'.









[Misc]
LastConfiguredApp=The KDE Window Manager

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true




It is a hidden file, to find it set konqueror to view hidden files then edit it with Kate or Kwrite.

Why kde doesn't do this automatically when enabling system sounds is a mystery to me but it doesn't.

You should now have system beeps & whistles.

To play sounds from more than one application you must use the sound server aRts & you will need to install the xmms-arts plugin so that xmms can use aRts also. Apt-get install xmms-arts then you have to configure xmms to use aRTs as the output plugin. This setting is in options->settings->Audio I/O Plugins.

You also have to set xine to use aRts, the setting is in settings->setup->audio->audio driver to use.

If you are using konqueror as a web browser go to konqueror configuration settings->plugins & set 'pipe plugin sounds though arts' to true. It is under the second tab under 'netscape plugins'. They should revise their dialog box names since "netscape" is now pretty much a thing of the past.

Cuddles, you are not quite correct with your explanation :


Also, ALSA is not a sound server that can be "clicked on" and "clicked off", like OSS within KDE Control Center - you boot up, disable all other sound servers, and run alsaconf to install, detect, configure, and boot with ALSA sound running... The Live CD is fine with a cheatcode, but after you hard drive install, you need to do this by the "Debian" book, so-to-speak...

alsa is not a sound server, it is a sound system. According to the alsa website, "it provides audio and MIDI functionality to the Linux operating system". It is a replacement for the OSS which was the original linux sound system and is now obsolete since alsa has replaced it starting with the 2.6 series kernel.

aRTs (KDE) & ESD (gnome) are sound servers, their function is to take sound from multiple applications & feed them to the sound system ie aRTs feeds the sound to alsa. Without a sound server one application will hog the sound system. The sound server (aRTs or whatever) will also hog the sound system, so if you are using a sound server you pretty well have to set up all applications to feed into it.

dmix is another sound server which appears to be an alternative to aRTs or ESD. I think it is quite new & I haven't tried it personally. see http://resolute.ucsd.edu/diwaker/articles/howtos/howto-alsa-dmix.html for more info.

If you are using KDE you will be using aRTs by default and KDE will start aRTs whenever it needs it so it will be running even if you have not specifically started it. aRTs will hog your sound system so you will have sound problems with xine, xmms and other apps if they are not set up to use aRTs.

Not trying to be critical, just hoping to clarify. It took me a long time to sort this out so figured I should share.

bossslimthug
06-07-2005, 11:22 PM
me too no sound have tried reinstalling mixer devices and other audio ac 97 devices but nothing