Can someone help me debug my sound setup ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Can someone help me debug my sound setup ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Can someone help me debug my sound setup ?  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-09-05 10:49 PM

Hi

Using hotplug (and hence not udev) with a 2.6.14.3 custom compiled kernel
with modular alsa support. Modules loaded :

snd_seq_dummy           3844  0
snd_seq_oss            36224  0
snd_seq_midi           10528  0
snd_rawmidi            26400  1 snd_seq_midi
snd_seq_midi_event      7168  2 snd_seq_oss,snd_seq_midi
snd_seq                57744  6
 snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_seq_midi_event
snd_seq_device          9100  5
 snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_rawmidi,snd_seq
snd_pcm_oss            63904  0
snd_pcm               102024  1 snd_pcm_oss
snd_timer              26500  2 snd_seq,snd_pcm
snd_page_alloc         11784  1 snd_pcm
snd_mixer_oss          21632  1 snd_pcm_oss
snd                    60004  8
 snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_
device,snd_pcm_oss,snd_pcm,snd_timer
,snd_mixer_oss
soundcore              10080  1 snd

An attempt to restart the sound server quits complaining about no /dev/dsp
being present (present, mind you, not permissions). However I see :

# ls -ltr /dev/dsp*
crw-rw----  1 root audio 14,  3 2005-12-05 22:51 /dev/dsp0
crw-rw----  1 root audio 14, 51 2005-12-08 00:39 /dev/dsp3
crw-rw----  1 root audio 14, 35 2005-12-08 00:39 /dev/dsp2
crw-rw----  1 root audio 14, 19 2005-12-08 00:39 /dev/dsp1
crw-rw----  1 root audio 14,  3 2005-12-08 00:39 /dev/dsp

lspci indicates that a multimedia card is present (just in case someone is
wondering, this laptop's sound has worked in the past with older kernels,
before I sent it to the vendor for servicing) :

0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Uniwill Computer Corp: Unknown device 8400
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 10
Region 0: I/O ports at d400 [size=256]
Region 1: I/O ports at df00 [size=64]
Region 2: Memory at feb7fc00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at feb7f800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

An attempt to start alsamixer as root quits with :

# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device

dmesg reveals no information about any audio devices. In /var/log/syslog, I
find a few intriguing lines :

Dec  9 17:43:08 nanak modprobe: FATAL: Error running install command for
sound_slot_0
Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
sound_slot_0
Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
sound_slot_1
Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
sound_slot_2
Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
sound_slot_3
Dec  9 17:44:10 nanak modprobe: FATAL: Error running install command for
sound_slot_0






[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-09-05 10:49 PM

Madhusudan Singh wrote:

> Hi
>
> Using hotplug (and hence not udev) with a 2.6.14.3 custom compiled kernel
> with modular alsa support. Modules loaded :
>
> snd_seq_dummy           3844  0
> snd_seq_oss            36224  0
> snd_seq_midi           10528  0
> snd_rawmidi            26400  1 snd_seq_midi
> snd_seq_midi_event      7168  2 snd_seq_oss,snd_seq_midi
> snd_seq                57744  6
>  snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_seq_midi_event
> snd_seq_device          9100  5
>  snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_rawmidi,snd_seq
> snd_pcm_oss            63904  0
> snd_pcm               102024  1 snd_pcm_oss
> snd_timer              26500  2 snd_seq,snd_pcm
> snd_page_alloc         11784  1 snd_pcm
> snd_mixer_oss          21632  1 snd_pcm_oss
> snd                    60004  8
>
 snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_
 device,snd_pcm_oss,snd_pcm,snd_timer,snd
_mixer_oss[v
bcol=seagreen]
> soundcore              10080  1 snd
>
> An attempt to restart the sound server quits complaining about no /dev/dsp
> being present (present, mind you, not permissions). However I see :
>
> # ls -ltr /dev/dsp*
> crw-rw----  1 root audio 14,  3 2005-12-05 22:51 /dev/dsp0
> crw-rw----  1 root audio 14, 51 2005-12-08 00:39 /dev/dsp3
> crw-rw----  1 root audio 14, 35 2005-12-08 00:39 /dev/dsp2
> crw-rw----  1 root audio 14, 19 2005-12-08 00:39 /dev/dsp1
> crw-rw----  1 root audio 14,  3 2005-12-08 00:39 /dev/dsp
>
> lspci indicates that a multimedia card is present (just in case someone is
> wondering, this laptop's sound has worked in the past with older kernels,
> before I sent it to the vendor for servicing) :
>
> 0000:00:1f.5 Multimedia audio controller: Intel Corporation
> 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
>         Subsystem: Uniwill Computer Corp: Unknown device 8400
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>         ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin B routed to IRQ 10
>         Region 0: I/O ports at d400 [size=256]
>         Region 1: I/O ports at df00 [size=64]
>         Region 2: Memory at feb7fc00 (32-bit, non-prefetchable) [size=
512]
>         Region 3: Memory at feb7f800 (32-bit, non-prefetchable) [size=
256]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
> PME(D0+,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> An attempt to start alsamixer as root quits with :
>
> # alsamixer
>
> alsamixer: function snd_ctl_open failed for default: No such device
>
> dmesg reveals no information about any audio devices. In /var/log/syslog,
> I find a few intriguing lines :
>
> Dec  9 17:43:08 nanak modprobe: FATAL: Error running install command for
> sound_slot_0
> Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
> sound_slot_0
> Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
> sound_slot_1
> Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
> sound_slot_2
> Dec  9 17:43:17 nanak modprobe: FATAL: Error running install command for
> sound_slot_3
> Dec  9 17:44:10 nanak modprobe: FATAL: Error running install command for
> sound_slot_0[/vbcol]

An attempt to restart alsa-utils fails :

# /etc/init.d/alsa-utils restart
Shutting down ALSA...* /etc/init.d/alsa-utils: Warning: 'alsactl store'
failed with error message 'alsactl: save_state:1163: No soundcards
found...'.
failed!
Setting up ALSA...* /etc/init.d/alsa-utils: Warning: 'alsactl restore'
failed with error message 'alsactl: load_state:1236: No soundcards
found...'.
.

lspci says that a sound card is present, and yet this cannot find it.

My modules.conf contains the following sound related lines (among a lot of
others) :

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-5 snd-card-5
alias sound-slot-6 snd-card-6
alias sound-slot-7 snd-card-7
above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss






[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-10-05 01:46 AM

Madhusudan Singh wrote:


> lspci says that a sound card is present, and yet this cannot find it.
>
> My modules.conf contains the following sound related lines (among a lot of
> others) :
>
> alias char-major-116 snd
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-slot-1 snd-card-1
> alias sound-slot-2 snd-card-2
> alias sound-slot-3 snd-card-3
> alias sound-slot-4 snd-card-4
> alias sound-slot-5 snd-card-5
> alias sound-slot-6 snd-card-6
> alias sound-slot-7 snd-card-7
> above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
> above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss

Just tried a Knoppix live CD. Sound works with i810_audio. So, there is no
hardware problem here. Can someone help me debug this problem in Debian ?

Thanks.





[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Spamless


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-10-05 01:46 AM

On 2005-12-09, Madhusudan Singh <spammers-go-here@spam.invalid> wrote:
> Hi
>
> Using hotplug (and hence not udev) with a 2.6.14.3 custom compiled kernel
> with modular alsa support. Modules loaded :
>
> snd_seq_dummy           3844  0
> snd_seq_oss            36224  0
> snd_seq_midi           10528  0
> snd_rawmidi            26400  1 snd_seq_midi
> snd_seq_midi_event      7168  2 snd_seq_oss,snd_seq_midi
> snd_seq                57744  6
>  snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_seq_midi_event
> snd_seq_device          9100  5
>  snd_seq_dummy,snd_seq_oss,snd_seq_midi,s
nd_rawmidi,snd_seq
> snd_pcm_oss            63904  0
> snd_pcm               102024  1 snd_pcm_oss
> snd_timer              26500  2 snd_seq,snd_pcm
> snd_page_alloc         11784  1 snd_pcm
> snd_mixer_oss          21632  1 snd_pcm_oss
> snd                    60004  8
>  snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_
device,snd_pcm_oss,snd_pcm,snd_tim
er,snd_mixer_oss
> soundcore              10080  1 snd
>
> An attempt to restart the sound server quits complaining about no /dev/dsp
> being present (present, mind you, not permissions). However I see :
>
> # ls -ltr /dev/dsp*
> crw-rw----  1 root audio 14,  3 2005-12-05 22:51 /dev/dsp0
> crw-rw----  1 root audio 14, 51 2005-12-08 00:39 /dev/dsp3
> crw-rw----  1 root audio 14, 35 2005-12-08 00:39 /dev/dsp2
> crw-rw----  1 root audio 14, 19 2005-12-08 00:39 /dev/dsp1
> crw-rw----  1 root audio 14,  3 2005-12-08 00:39 /dev/dsp

Well, you have the entry in /dev. However, that just points to the
actual "device", the code which handles sound.

My modules are about the same, except, of course, for the module
for my sound card (an old 810)

snd_intel8x0           29532  0
snd_ac97_codec         92896  1 snd_intel8x0
snd_ac97_bus            1760  1 snd_ac97_codec

So, where is the module with the code to access your soundcard
and provide the device driver?





[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-10-05 07:46 AM

Spamless wrote:


> Well, you have the entry in /dev. However, that just points to the
> actual "device", the code which handles sound.
>
> My modules are about the same, except, of course, for the module
> for my sound card (an old 810)
>
>  snd_intel8x0           29532  0
>  snd_ac97_codec         92896  1 snd_intel8x0
>  snd_ac97_bus            1760  1 snd_ac97_codec
>
> So, where is the module with the code to access your soundcard
> and provide the device driver?

I think I had the wrong module ! Sorry about the whole mess. Sound is up and
working.





[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Henrik Carlqvist


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-10-05 07:46 AM

Madhusudan Singh <spammers-go-here@spam.invalid> wrote:
> Sound works with i810_audio. So, there is no
> hardware problem here. Can someone help me debug this problem in Debian ?

What happens if you manually tro to load the module:

modprobe snd-intel8x0

Will the module get loaded? Do you get some error message? Do you see some
useful information from dmesg?

If sound works after manually loading the module your hotplug is
configured wrong in some way. Maybe the module is listed in blacklist?

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost






[ Post a follow-up to this message ]



    Re: Can someone help me debug my sound setup ?  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-11-05 10:47 PM

On Fri, 09 Dec 2005 19:01:32 -0500, Madhusudan Singh
<spammers-go-here@spam.invalid> wrote:
> Madhusudan Singh wrote:
>
>
>
> Just tried a Knoppix live CD. Sound works with i810_audio. So, there is no
> hardware problem here. Can someone help me debug this problem in Debian ?
>
> Thanks.

Do lsmod while Knoppix is running, and compare that with the lsmod
output under Debian.  Why are you using hotplug instead of udev?


--
<xtifr> wow, I think I just used libtool to solve a problem -- somebody
help me! :>
<luca> xtifr, STEP AWAY FROM THE KEYBOARD





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register