Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159331 - hda-intel [82801G (ICH7 Family)] don't recognized with alsa >=1.0.13 (in or off kernel)
Summary: hda-intel [82801G (ICH7 Family)] don't recognized with alsa >=1.0.13 (in or o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.20
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 17:54 UTC by cruzki
Modified: 2007-04-15 17:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cruzki 2006-12-28 17:54:10 UTC
I have an A6jc asus laptop and alsa don't work with the new kernels (neither 18 or 19) if I use the alsa package (1.0.13 estable and 1.0.14rc1) If I use the in kernel version, then with 2.6.19 don't work (it have alsa version 1.0.13) but whith the 2.6.18 it's partialy work (I have sound with amarok or vlc, but kcontrol sais that can't find a audio system O_o )

The thing it's more funny when use the in kernel alsa sound off 2.6.19. If I run ANY aplication with sound it freeze or work inestable without sound, and some times my WHOLE system crash (I need to hard-reboot)

I want try to install a 1.0.12 alsa off kernel package for asegurate it's a regresion of alsa 1.0.13 but it's no more in portage :( so culd any one put the ebuilds? :S :S

It's a clean install (~x86) ;)

Here's my lspci -vv:

00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
        Subsystem: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge
        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
        Capabilities: [e0] Vendor Specific Information

and my /etc/modules.d/alsa

# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.12 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

my /proc/asound/cads

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfebfc000 irq 58

and my /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-01-26 14:31:51 UTC
Please test the latest development kernel (currently 2.6.20-rc6) with the in-kernel ALSA built as modules. If that doesn't work, be more descriptive of your problems including error messages, kernel config, dmesg output, etc.
Comment 2 Rudolf Mayerhofer 2007-02-06 13:36:24 UTC
i have similar problems with ich6 audio on my laptop (keywords: ~x86) since the update to 2.6.19. also updating to 2.6.20 did not help. alsa is compiled into the kernel directly (i hate modules but maybe i try that later and post if it works).


this problem however seems to be caused by permission problems in /dev/snd and /dev/sound, which looks like this after boot:

/dev/snd/:
total 0
drwxr-xr-x  2 root root     220 2007-02-06 15:15 .
drwxr-xr-x 18 root root   13820 2007-02-06 14:16 ..
crw-------  1 root root 116, 10 2007-02-06 15:15 controlC0
crw-------  1 root root 116,  9 2007-02-06 15:15 pcmC0D0c
crw-------  1 root root 116,  8 2007-02-06 15:15 pcmC0D0p
crw-------  1 root root 116,  7 2007-02-06 15:15 pcmC0D1c
crw-------  1 root root 116,  6 2007-02-06 15:15 pcmC0D2c
crw-------  1 root root 116,  5 2007-02-06 15:15 pcmC0D3c
crw-------  1 root root 116,  4 2007-02-06 15:15 pcmC0D4p
crw-------  1 root root 116,  3 2007-02-06 15:15 seq
crw-------  1 root root 116,  2 2007-02-06 15:15 timer

/dev/sound/:
total 0
drwxr-xr-x  2 root root    160 2007-02-06 15:15 .
drwxr-xr-x 18 root root  13820 2007-02-06 14:16 ..
crw-------  1 root root 14, 12 2007-02-06 15:15 adsp
crw-------  1 root root 14,  4 2007-02-06 15:15 audio
crw-------  1 root root 14,  3 2007-02-06 15:15 dsp
crw-------  1 root root 14,  0 2007-02-06 15:15 mixer
crw-------  1 root root 14,  1 2007-02-06 15:15 sequencer
crw-------  1 root root 14,  8 2007-02-06 15:15 sequencer2

on my other system (kernel 2.6.18-gentoo) those directories look like this:

/dev/snd/:
total 0
drwxr-xr-x  2 root root      320 2007-02-04 11:24 .
drwxr-xr-x 17 root root    13980 2007-02-04 10:24 ..
crw-rw----  1 root audio 116,  0 2007-02-04 11:24 controlC0
crw-rw----  1 root audio 116, 24 2007-02-04 11:24 pcmC0D0c
crw-rw----  1 root audio 116, 16 2007-02-04 11:24 pcmC0D0p
crw-rw----  1 root audio 116, 25 2007-02-04 11:24 pcmC0D1c
crw-rw----  1 root audio 116, 26 2007-02-04 11:24 pcmC0D2c
crw-rw----  1 root audio 116, 26 2007-02-04 11:24 pcmC0D3c
crw-rw----  1 root audio 116, 18 2007-02-04 11:24 pcmC0D4p
crw-rw----  1 root audio 116,  1 2007-02-04 11:24 seq
crw-rw----  1 root audio 116, 33 2007-02-04 11:24 timer

/dev/sound/:
total 0
drwxr-xr-x  2 root root     160 2007-02-04 11:24 .
drwxr-xr-x 17 root root   13980 2007-02-04 10:24 ..
crw-rw----  1 root audio 14, 12 2007-02-04 11:24 adsp
crw-rw----  1 root audio 14,  4 2007-02-04 11:24 audio
crw-rw----  1 root audio 14,  3 2007-02-04 11:24 dsp
crw-rw----  1 root audio 14,  0 2007-02-04 11:24 mixer
crw-rw----  1 root audio 14,  1 2007-02-04 11:24 sequencer
crw-rw----  1 root audio 14,  8 2007-02-04 11:24 sequencer2


because of that the sound on my laptop is only available as root.

as a simple workaround i added the following to /etc/conf.d/local.start, which fixes permissions:
chgrp audio /dev/s*nd/*
chmod 666 /dev/s*nd/*


i hope this helps locating this bug.


greetings

rudi
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-06 13:48:08 UTC
Rudi, stop using pam_console, as that's probably the only way to mess up that way your system.
Comment 4 Rudolf Mayerhofer 2007-02-06 13:55:25 UTC
(In reply to comment #3)
> Rudi, stop using pam_console, as that's probably the only way to mess up that
> way your system.
> 

well, that was it. 
looks like i forgot to disable pam_console after playing around with networkmanager.

anyways, thanks for the tip.
Comment 5 pouik 2007-03-10 16:35:06 UTC
I have the same problem with my laptop Lenovo 3000 C200 :

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Lenovo Unknown device 3802
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at d0340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)

I used kernel 2.6.20.1 with alsa-driver-1.0.14rc3.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-04-07 15:15:00 UTC
cruzki: please reopen when you respond to comment #1

pouik: please test the in-kernel drivers from the latest development kernel (currently 2.6.21-rc6) and open a new bug with the results.
Comment 7 cruzki 2007-04-15 15:35:07 UTC
Finally with the driver, compiled as a module, in the kernel 2.16.20-r5 (gentoo-sources) works fine :)

Sorry for not answer before, I don't have physical access to this laptop.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2007-04-15 17:11:38 UTC
OK, thanks for testing. I'll mark this as fixed as that kernel will be marked stable very soon.