Jump to content

pclos8


gauchoperezoso

Recommended Posts

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 Checks
Then save it to your /home and call it "soundchk.sh"Tell me when that is done . . . B) Bruno
Link to comment
Share on other sites

  • Replies 416
  • Created
  • Last Reply

Top Posters In This Topic

  • gauchoperezoso

    183

  • Bruno

    140

  • ross549

    63

  • ikerekes

    20

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 ;)B) Bruno

Link to comment
Share on other sites

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 ;)B) 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
Link to comment
Share on other sites

gauchoperezoso

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]#

Link to comment
Share on other sites

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

B) Bruno

Link to comment
Share on other sites

gauchoperezoso

still nothing B) 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. :(

Link to comment
Share on other sites

Good Morning GauchoI have some homework for you ( again ! B) )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 :D . . 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 :P )Keep us posted :DB) Bruno

Link to comment
Share on other sites

gauchoperezoso

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 :P

Link to comment
Share on other sites

gauchoperezoso

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 :P any idea what might have gone wrong.i rebooted system 3times already

Link to comment
Share on other sites

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

Link to comment
Share on other sites

gauchoperezoso

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?

Link to comment
Share on other sites

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 . . . :P Bruno

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

gauchoperezoso

i really dont understand anythikng now.it just stopped working :) :( when i log in log out....nothing at all.cant even reproduce sound events :(

Link to comment
Share on other sites

gauchoperezoso

[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]#

Link to comment
Share on other sites

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 -f
In 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 -f
Now, 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 pipe
NOTE: 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 !:thumbsup: Bruno
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...