Bruno Posted January 10, 2005 Share Posted January 10, 2005 Gaucho,Open an empty kwrite file . . . and paste this text in it: #!/bin/sh # soundchk.sh # Rev 1.00 2003-10-13 Initial Release - Mandrake 9.1 specific # Rev 1.01 2003-10-13 Added Checking Devices # Added grep steps to restrict output. Really needed for Knoppix. # Add file exists tests to find correct tools # Completed port to Knoppix 3.3. Should also be much better for UNKNOWN. # Rev 1.02 2003-10-14 Added test -x for aumix # Fix bug in lspci greps # Rev 1.03 2003-11-24 Add additional tests from alsa aadebug script # Rev 1.04 2003-11-25 Fix typo in 1.03 lspci grep # Add check for artsd # Add check for using cdrom echo "soundchk.sh v1.04 - Running Sound Configuration Checks" echo echo Identifying System uname -a cat /proc/cpuinfo | grep -i "model name" cat /proc/cpuinfo | grep -i "cpu mhz" cat /proc/meminfo | grep -i memtotal cat /proc/meminfo | grep -i swaptotal echo echo Checking Devices ls -l /dev | egrep -i dsp\|sound echo echo Checking Driver if test -x /usr/bin/lspcidrake; then lspcidrake -v | egrep -i "(audio|multimedia|host bridge)" else lspci -v | egrep -i "(audio|multimedia|host bridge)" fi echo echo Checking Actual Driver in Use "(/etc/modules.conf)" if test -f /etc/modules.conf; then cat /etc/modules.conf | egrep -i snd\|sound else echo Test not available on this system fi if test -d /proc/asound; then echo echo Checking alsa /proc/asound cat /proc/asound/{version,cards,devices,hwdep,pcm} fi if test -d /dev/snd; then echo echo Checking alsa /dev/snd ls --color=none /dev/snd fi echo echo Checking if Module Loaded /sbin/lsmod | egrep -i snd\|sound\|audio\|game echo echo Checking if services configured to be run on initlevel 3 if test -x /sbin/chkconfig; then echo Checking if Sound services configured /sbin/chkconfig --list sound echo echo Checking if Alsa service configured /sbin/chkconfig --list alsa else echo Test not available on this system fi echo echo Checking if Sound Volume muted if test -x /usr/bin/aumix; then aumix -q else echo Test not available on this system fi echo echo Checking artsd setup ps -A -f | grep -i artsd | grep -v grep echo echo Checking which program uses the sound card or cdrom if test -x /sbin/fuser; then /sbin/fuser -v /dev/dsp /sbin/fuser -v /dev/cdrom else /bin/fuser -v /dev/dsp /bin/fuser -v /dev/cdrom fi echo echo End of ChecksThen save it to your /home and call it "soundchk.sh"Tell me when that is done . . . Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 i saved it to home/guest.done Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 mplayer doesnt work either Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 10, 2005 Share Posted January 10, 2005 Gaucho . . I am running out of time ;)Anyway if you did what was written in my previous post . . . do ( as root ): # chmod +x soundchk.sh# ./soundchk.sh ( !! There is a dot before the slash of the last command !! )Then post us the output :DI will see it in the morning, but Ivan could also help you with this if he has time ;) Bruno Quote Link to comment Share on other sites More sharing options...
ikerekes Posted January 10, 2005 Share Posted January 10, 2005 Gaucho . . I am running out of time ;)Anyway if you did what was written in my previous post . . . do ( as root ):# chmod +x soundchk.sh# ./soundchk.sh ( !! There is a dot before the slash of the last command !! )Ten post us the output :DI will see it in the morning, but Ivan could also help you with this if he has time ;) Bruno I am at work for one more hour and will pope in and out as time permits. Gaucho the reson why you should run the soundcheck it is able to tell who is holding your PCM >>> Check if another program already uses PCM <<<snd_pcm_open() failed:-16:Device or resource busy Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 10, 2005 Share Posted January 10, 2005 NOTE: The rest of his sound is working fine !! Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 i checked other dvds but no succes.it does play audio files but that normal.here is what you guys asked me for:[root@chello084010044003 guest]# chmod +x soundchk.sh[root@chello084010044003 guest]# ./soundchk.shsoundchk.sh v1.04 - Running Sound Configuration ChecksIdentifying SystemLinux chello084010044003.chello.pl 2.6.7-2.tmb.6mdk #1 Fri Dec 10 17:50:19 CST 2004 i686 Intel® Celeron® M processor 1500MHz unknown GNU/Linuxmodel name : Intel® Celeron® M processor 1500MHzcpu MHz : 1495.584MemTotal: 239028 kBSwapTotal: 0 kBChecking Devicescrw-rw---- 1 gaucho audio 14, 12 Jan 10 23:37 adspcrw-rw---- 1 gaucho audio 14, 3 Jan 10 23:37 dspdrwxr-xr-x 2 root root 160 Jan 10 23:37 soundChecking Driversnd-intel8x0 : Intel Corp.|ICH4 845G/GL Chipset AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:1854 subd:000a)Checking Actual Driver in Use (/etc/modules.conf)Checking alsa /proc/asoundAdvanced Linux Sound Architecture Driver Version 1.0.5a.Compiled on Dec 10 2004 for kernel 2.6.7-2.tmb.6mdk.0 [i82801DBICH4 ]: ICH - Intel 82801DB-ICH4 Intel 82801DB-ICH4 at 0xe0100c00, irq 10 0: [0- 0]: ctl 20: [0- 4]: digital audio playback 27: [0- 3]: digital audio capture 26: [0- 2]: digital audio capture 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 1: : sequencer 33: : timercat: /proc/asound/hwdep: No such file or directory00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 100-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 100-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 100-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 100-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1Checking alsa /dev/sndcontrolC0 pcmC0D0p pcmC0D2c pcmC0D4p timerpcmC0D0c pcmC0D1c pcmC0D3c seqChecking if Module Loadedsnd-seq-oss 32160 0snd-seq-midi-event 7776 1 snd-seq-osssnd-seq 52080 4 snd-seq-oss,snd-seq-midi-eventsnd-pcm-oss 53096 1snd-mixer-oss 18368 3 snd-pcm-osssnd-intel8x0 35084 4snd-ac97-codec 66468 1 snd-intel8x0snd-pcm 94916 3 snd-pcm-oss,snd-intel8x0snd-timer 25764 2 snd-seq,snd-pcmsnd-page-alloc 11496 2 snd-intel8x0,snd-pcmgameport 4608 1 snd-intel8x0snd-mpu401-uart 7648 1 snd-intel8x0snd-rawmidi 24960 1 snd-mpu401-uartsnd-seq-device 8104 3 snd-seq-oss,snd-seq,snd-rawmidisnd 55716 13 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-devicesoundcore 10048 6 snd,bttvChecking if services configured to be run on initlevel 3Checking if Sound services configuredsound 0:off 1:off 2:on 3:on 4:on 5:on 6:offChecking if Alsa service configuredalsa 0:off 1:off 2:on 3:on 4:on 5:on 6:offChecking if Sound Volume mutedTest not available on this systemChecking artsd setupgaucho 2950 2926 0 Jan10 ? 00:00:12 /usr/bin/artsd -F 10 -S 4096 -s60 -m artsmessage -c drkonqi -l 3 -fgaucho 2960 2950 0 Jan10 ? 00:00:00 /usr/bin/artsd -F 10 -S 4096 -s60 -m artsmessage -c drkonqi -l 3 -fChecking which program uses the sound card or cdromEnd of Checks[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ikerekes Posted January 10, 2005 Share Posted January 10, 2005 google time Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 ok gl Quote Link to comment Share on other sites More sharing options...
ikerekes Posted January 10, 2005 Share Posted January 10, 2005 anybody in french?http://linuxazur.monaco.net/html/linux06/2...2/msg00301.html Quote Link to comment Share on other sites More sharing options...
teacher Posted January 10, 2005 Share Posted January 10, 2005 Where is Bruno when you need him? He speaks French better than English. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 10, 2005 Share Posted January 10, 2005 Oui, biensûr moi !! :DTry to kill artsd before starting Xine . . . . that is what the reply said . . there is no more then that . . . # killall artsd Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 also in kde cc i dont have sound>system notification.i only have sound system but there arent any sound events. Quote Link to comment Share on other sites More sharing options...
ikerekes Posted January 10, 2005 Share Posted January 10, 2005 I figured I just wanted to be sure Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 still nothing.maybe i should reboot? Quote Link to comment Share on other sites More sharing options...
teacher Posted January 10, 2005 Share Posted January 10, 2005 A reboot is frequently a good idea. Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 still nothing well if not today then maybe tomorrow it will work.ill be going to sleep pretty soon.good night to everybody and thnx for your help. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 Good Morning GauchoI have some homework for you ( again ! )1). I want to come back to your question about system sounds . . . because you were looking in the wrong place: ( under sound and you should be looking under L&F )KDE Control Center --> Look & Feel --> System Notifications ( there it is )2). We used to be able to disable the aRts soundsystem . . . but that part changed in KDE 3.3 . . still I would like to have a go at it and try your DVD again:KDE Control Center --> Sound --> Soundsystem . . . please un-check the very first box "enable the sound system" , reboot just to be sure, and try to play that DVD again. The consequence of this is that the system notifications will NOT work ( they use aRts ) but there is a small chance that PCM will no longer be "used by another application"In any case XMMS should still play music with the "soundsystem" disabled . . and so should Xine and Mplayer ! ( Sorry, like I said I can only test music, because I have no more DVDs to do the testing with . . . . . I will talk to my daughter )Keep us posted :DB) Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 no it didnt work.what is worse is that now i dont hear anything:( when i log in or out when getting a message...i enabled system sounds again but it seems it doesnt work Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 Well it was worth to try . . :)Or do you mean that after enabling again the system-sounds did not come back ?? Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 no it didnt.now i dont have sound and dont know how to restore it.music can be played also when i test sound it works but i cant hear any system sounds.i cant even play them in system notifications any idea what might have gone wrong.i rebooted system 3times already Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 GauchoPlease press the Ctrl+Esc keys at the same time . . . you will then get a process table . . . have a look if "artsd" is listed and running . . Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 artsd is listed but i dont know whether running or not.i refreshed it. there is soooo many things out there.is it ok that i have there about 30 java entries? Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 If artsd is listed you should have systemsounds . . . check your mixers . . Some items are listed multiple times ( I have mingetty 6 times ) . . but 30 times java is very unusual and not really what it should be . . . I have no java listed at all . . . log out and log back in and see what the table says . . . Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 PART 2Also look in the MCC --> System --> Services . . . and see if "sound" and "alsa" are running . . Also run the soundchk.sh script again so we can compaire what is differnet from yesterday. Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 sound and alsa are running.ill reboot once more.brb Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 11, 2005 Share Posted January 11, 2005 Don't forget to run the script friom yesteerday again . . . so we can compaire . . . .I am off . . but probably Ivan or Adam can take over . . . or I will have a look at the output of the script tomorrow. Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 i really dont understand anythikng now.it just stopped working when i log in log out....nothing at all.cant even reproduce sound events Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 11, 2005 Author Share Posted January 11, 2005 [root@chello084010044003 guest]# ./soundchk.shsoundchk.sh v1.04 - Running Sound Configuration ChecksIdentifying SystemLinux chello084010044003.chello.pl 2.6.7-2.tmb.6mdk #1 Fri Dec 10 17:50:19 CST 2004 i686 Intel® Celeron® M processor 1500MHz unknown GNU/Linuxmodel name : Intel® Celeron® M processor 1500MHzcpu MHz : 1495.485MemTotal: 239028 kBSwapTotal: 0 kBChecking Devicescrw-rw---- 1 gaucho audio 14, 12 Jan 12 00:24 adspcrw-rw---- 1 gaucho audio 14, 3 Jan 12 00:24 dspdrwxr-xr-x 2 root root 160 Jan 12 00:24 soundChecking Driversnd-intel8x0 : Intel Corp.|ICH4 845G/GL Chipset AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:1854 subd:000a)Checking Actual Driver in Use (/etc/modules.conf)Checking alsa /proc/asoundAdvanced Linux Sound Architecture Driver Version 1.0.5a.Compiled on Dec 10 2004 for kernel 2.6.7-2.tmb.6mdk.0 [i82801DBICH4 ]: ICH - Intel 82801DB-ICH4 Intel 82801DB-ICH4 at 0xe0100c00, irq 10 0: [0- 0]: ctl 20: [0- 4]: digital audio playback 27: [0- 3]: digital audio capture 26: [0- 2]: digital audio capture 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 1: : sequencer 33: : timercat: /proc/asound/hwdep: No such file or directory00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 100-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 100-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 100-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 100-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1Checking alsa /dev/sndcontrolC0 pcmC0D0p pcmC0D2c pcmC0D4p timerpcmC0D0c pcmC0D1c pcmC0D3c seqChecking if Module Loadedsnd-seq-oss 32160 0snd-seq-midi-event 7776 1 snd-seq-osssnd-seq 52080 4 snd-seq-oss,snd-seq-midi-eventsnd-pcm-oss 53096 0snd-mixer-oss 18368 2 snd-pcm-osssnd-intel8x0 35084 2snd-ac97-codec 66468 1 snd-intel8x0snd-pcm 94916 3 snd-pcm-oss,snd-intel8x0snd-timer 25764 2 snd-seq,snd-pcmsnd-page-alloc 11496 2 snd-intel8x0,snd-pcmgameport 4608 1 snd-intel8x0snd-mpu401-uart 7648 1 snd-intel8x0snd-rawmidi 24960 1 snd-mpu401-uartsnd-seq-device 8104 3 snd-seq-oss,snd-seq,snd-rawmidisnd 55716 13 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-devicesoundcore 10048 3 snd,bttvChecking if services configured to be run on initlevel 3Checking if Sound services configuredsound 0:off 1:off 2:on 3:on 4:on 5:on 6:offChecking if Alsa service configuredalsa 0:off 1:off 2:on 3:on 4:on 5:on 6:offChecking if Sound Volume mutedTest not available on this systemChecking artsd setupgaucho 2999 2980 0 00:25 ? 00:00:02 /usr/bin/artsd -F 10 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fChecking which program uses the sound card or cdromEnd of Checks[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 12, 2005 Share Posted January 12, 2005 Hi GauchoThere are strange powers at work here . . . . . let me explain:In the first output of the script there was gaucho 2950 2926 0 Jan10 ? 00:00:12 /usr/bin/artsd -F 10 -S 4096 -s60 -m artsmessage -c drkonqi -l 3 -fgaucho 2960 2950 0 Jan10 ? 00:00:00 /usr/bin/artsd -F 10 -S 4096 -s60 -m artsmessage -c drkonqi -l 3 -fIn your last output of the script I read: gaucho 2999 2980 0 00:25 ? 00:00:02 /usr/bin/artsd -F 10 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -fNow, the only strikeing dirfferece is the -s 60 in the first and -s1in the last ( -s stands for "autosuspend" ) . . . . where -s1 is the most acceptable value ( and default in all installs ) . . . so why it did work in -s60 and not with -s1 is a mystery on its own.But now comes the shocking news: Also on my install, where all was A-okay with the sound, I lost my system-notifications since the last updates !And if I stop artsd $ killall artsd and start it again with $ /usr/bin/artsd -F 10 -S 4096 -s1 -m artsmessage -c drkonqi -l 3 -f I get an error message: ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipeNOTE: Pushing the "Test Sound" button in the KCC --> soundsystem does give sound . . but the button in L&F soundevents gives no joy at all. So, conclusion: this needs more research ! . . . . We need time to get to the bottom of this ! Bruno Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.