Can someone help me debug my sound setup ? - Debian

This is a discussion on Can someone help me debug my sound setup ? - Debian ; 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 ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Can someone help me debug my sound setup ?

  1. Can someone help me debug my sound setup ?

    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,snd_seq_mid i_event
    snd_seq_device 9100 5
    snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_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-
    SERR- 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


  2. Re: Can someone help me debug my sound setup ?

    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,snd_seq_mid i_event
    > snd_seq_device 9100 5
    > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_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-
    > SERR- > 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


    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


  3. Re: Can someone help me debug my sound setup ?

    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.

  4. Re: Can someone help me debug my sound setup ?

    On 2005-12-09, 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,snd_seq_mid i_event
    > snd_seq_device 9100 5
    > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_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


    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?

  5. Re: Can someone help me debug my sound setup ?

    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.

  6. Re: Can someone help me debug my sound setup ?

    Madhusudan Singh 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


+ Reply to Thread