[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alsaconf & halting a frozen laptop.



On Sunday 27 July 2008 17:39, peasthope@shaw.ca wrote:
> Nigel,
>
> Progress!
>
> SUMMARY
> According to the outputs from lsmod below, the net
> effect of alsaconf is to remove snd_hda_intel.  So,
> unless there is more specific advice, I should find how
> to prevent loading of snd_hda_intel at startup.
>
> Odd that removing snd_hda_intel makes sound work!
>
> Thanks,         ... Peter E.
>
> nh> Which kernel is your Lenny [on IBM NetVista] using?
>
> Currently only 2.6.25-2.
>
> nh> Do you have an earlier kernel available to try, perhaps a 2.6.8, or
> 2.6.11
>
> I can install one of them if necessary.
>
> nh> When you bootup the IBM NetVista machine with Lenny on it, what do you
> get from the following commands.

Hi Peter. Interesting from viewing the lsmod output below, that both 
snd-hda-intel, and snd-intel8x0 are being loaded, and also very weird.

You should be able to just blacklist the snd-hda-intel module 
in /etc/modprobe.d/blacklist, but I've seen some folks having problems 
blacklisting modules, as they still seem to load.

I'd suggest adding a line to /etc/modprobe.d/alsa-base, as below.
install snd-hda-intel /bin/true

Any module loaded into /bin/true goes to nowhere land. It's loaded, but does 
nothing, and is effectively sent into limbo.

I've no idea why both modules are being loaded, but the above is worth a try.
>
> dalton:~# lsmod | grep snd
> snd_hda_intel         309976  0
> snd_intel8x0           31740  0
> snd_ac97_codec         91300  1 snd_intel8x0
> ac97_bus                1952  1 snd_ac97_codec
> snd_seq_dummy           3780  0
> snd_usb_audio          75936  0
> snd_pcm_oss            37824  0
> snd_mixer_oss          14880  1 snd_pcm_oss
> snd_seq_oss            28544  0
> snd_pcm                68228  5
> snd_hda_intel,snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm_oss
> snd_usb_lib            15744  1 snd_usb_audio
> snd_seq_midi            8064  0
> snd_seq_midi_event      6976  2 snd_seq_oss,snd_seq_midi
> snd_rawmidi            22528  2 snd_usb_lib,snd_seq_midi
> snd_seq                45872  6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_hwdep        
>       8708  1 snd_usb_audio
> snd_timer              21320  2 snd_pcm,snd_seq
> snd_seq_device          7564  5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd             
>       48772  13
> snd_hda_intel,snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm_oss,snd_mix
>er_oss,snd_seq_oss,snd_pcm,snd_rawmidi,snd_seq,snd_hwdep,snd_timer,snd_seq_d
>evice soundcore               7488  1 snd
> snd_page_alloc          9992  3 snd_hda_intel,snd_intel8x0,snd_pcm
> usbcore               130032  9
> asix,usbnet,snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd,ohci_hcd,uhci_hcd
>
> dalton:~# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31
> 16:40:16 2008 UTC).
>
> dalton:~# cat /proc/asound/cards
>  0 [default        ]: USB-Audio - C-Media USB Headphone Set
>                       C-Media USB Headphone Set   at usb-0000:00:1f.2-2,
> full speed

There is clearly some sort of conflict going on when both snd-hda-intel, 
snd-intel8x0 are being loaded, so that neither is detected as a sound card 
in /proc/asound/cards, and only your usb headphone set is detected, and set 
as card0 as no other cards can be found. 
>
> dalton:~# lspci -v | "pick out sound stuff"
> 00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 02)
>  Subsystem: IBM Device 01c6
>  Flags: medium devsel, IRQ 17
>  I/O ports at fe00 [size=16]
>  Kernel driver in use: i801_smbus
>  Kernel modules: i2c-i801
>
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97
> Audio Controller (rev 02) Subsystem: IBM Device 01c6
>  Flags: bus master, medium devsel, latency 0, IRQ 9
>  I/O ports at f000 [size=256]
>  I/O ports at f400 [size=64]
>  Kernel modules: snd-intel8x0
>
> nh> after running alsaconf, the output of.
>
> dalton:~# lsmod | grep snd
> snd_usb_audio          75936  0
> snd_usb_lib            15744  1 snd_usb_audio
> snd_hwdep               8708  1 snd_usb_audio
> snd_intel8x0           31740  0
> snd_ac97_codec         91300  1 snd_intel8x0
> ac97_bus                1952  1 snd_ac97_codec
> snd_pcm_oss            37824  0
> snd_mixer_oss          14880  1 snd_pcm_oss
> snd_pcm                68228  4
> snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_seq_dummy        
>   3780  0
> snd_seq_oss            28544  0
> snd_seq_midi            8064  0
> snd_rawmidi            22528  2 snd_usb_lib,snd_seq_midi
> snd_seq_midi_event      6976  2 snd_seq_oss,snd_seq_midi
> snd_seq                45872  6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer        
>      21320  2 snd_pcm,snd_seq
> snd_seq_device          7564  5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd             
>       48772  12
> snd_usb_audio,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_o
>ss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> soundcore               7488  1 snd
> snd_page_alloc          9992  2 snd_intel8x0,snd_pcm
> usbcore               130032  9
> snd_usb_audio,snd_usb_lib,asix,usbnet,usbhid,ehci_hcd,ohci_hcd,uhci_hcd
>
> dalton:~# cat /proc/asound/cards
>  0 [I82801BAICH2   ]: ICH - Intel 82801BA-ICH2
>                       Intel 82801BA-ICH2 with AD1885 at irq 17
>  1 [default        ]: USB-Audio - C-Media USB Headphone Set
>                       C-Media USB Headphone Set   at usb-0000:00:1f.2-2,
> full speed
>
> =======================================================================
>
> -

See how it goes with my suggestion above.

Nigel.

Really weird though, like the modules have been smoking some dodgy stuff, and 
both insist on being the one for the soundcard.


Reply to: