Re: Problems with snd hda intel: works only part of the time

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

 



Hi Dominique:

1) hotplug isn't running.

2) A little more clarification: when I run alsamixer (on the occasions
when it works) it only shows the Master; but on the occasions when it
stops working, a mysterious "SPDIF" setting is available (with the
Master as well).

3) If I run /etc/init.d/alsasound restart on a bootup when it
works--it will go from working to not working.  But, randomly, it will
start to work again only on a
reboot.

4) I am now using vanilla gentoo 1.0.11 alsa-driver and alsa-utils for
testing with you.  With 1.0.13 (gentoo), I get a different error, but
with 1.0.13 compiled by hand, it has the same effect.  Besides, it
WORKS atleast once in a while with 1.0.11, so I figured I'd stick with
the vanilla gentoo, until I need to move beyond.

5) here is my lsmod:

snd_pcm_oss            31328  0
snd_mixer_oss          13888  1 snd_pcm_oss
snd_seq_oss            26624  0
snd_seq_device          5384  1 snd_seq_oss
snd_seq_midi_event      5504  1 snd_seq_oss
snd_seq                41072  4 snd_seq_oss,snd_seq_midi_event
snd_hda_intel          12884  0
snd_hda_codec         123008  1 snd_hda_intel
snd_pcm                62788  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              16004  2 snd_seq,snd_pcm
snd                    39332  9
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq_device,snd_seq,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc          6856  2 snd_hda_intel,snd_pcm

(Unfortunately, this is lsmod on a broken sound bootup; I didn't get
a chance to lsmod on a working sound setting -- even though the
/etc/modules.d/alsa remain the same between the two.)

On 10/5/06, Dominique Michel <dominique.michel@xxxxxxxxxxxx> wrote:
> If you want to use the alsa-driver packages with gentoo, you must not have alsa
> compiled with the driver. See http://www.gentoo.org/doc/en/alsa-guide.xml
>
>
> Le Thu, 5 Oct 2006 11:09:44 -0500,
> "Peter Hartman" <peterjohnhartman@xxxxxxxxx> a écrit :
>
> > Hi,
> >
> > I've had quite a headache with the snd hda intel driver.  Below is my
> > lspci.  I am using GENTOO (latest) on a brand new Gateway MX6920
> > Laptop.  With alsa-utils-1.0.11 and 2.6.17-gentoo-r8 with
> > SND_HDA_INTEL compiled in AS A MODULE (It did not work compiled in
> > directly to the kernel; nor did it work with alsa-driver-1.0.11--by
> > "did not work" I mean everything ran fine, but no sound came out--) it
> > worked every few reboots; in other words, it was very random.  The
> > curious thing about "alsamixer"--when it worked it only presented one
> > control option (Master), whereas when it didn't work there were two or
> > more controls.
> >
> It can be the case if you have an USB sound card as a webcam. The
> snd_usb_audio will be loaded by hotplug before at alsasound load the alsa
> modules, and the regular sound card will be the second sound card.
>
> If it is the case, you have to add
> "snd-usb-audio" (without the double quotes) in /etc/udev/blacklist and alsasound
> will work as expected.
>
> If it not solve the problem, what is the output of
>
> lsmod|grep snd
>
> Dominique
>
> > I also tried: (a) compiling alsa-utils-1.0.13 and alsa-driver-1.0.13
> > (and alsa-lib and alsa-header) directly from alsa-sound.org.  But then
> > I get an ioctl error or other strange errors (it sometimes crashes,
> > sometimes (e.g., mplayer) will say that the sndcard isn't fast enough,
> > sometimes (madplay) an ioctl error).  So I tried (b) emerging the
> > 1.0.13 ebuilds of alsa stuff.  Ditto error message.
> >
> > So, in summary, only the MODULE version of snd hda intel worked
> > (kernel 2.6.17-gentoo-r8).  But it only worked every few (random)
> > reboots; when it worked, it worked fine.
> >
> > If you want more information, please let me know!
> >
> >
> > lspci -v
> >
> >
> > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> > Definition Audio Controller (rev 02)
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, fast devsel, latency 0, IRQ 21
> >         Memory at d8240000 (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)
> >
> > 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> > Port 1 (rev 02) (prog-if 00 [Normal decode])
> >         Flags: bus master, fast devsel, latency 0
> >         Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
> >         I/O behind bridge: 00002000-00002fff
> >         Memory behind bridge: d4000000-d5ffffff
> >         Prefetchable memory behind bridge: 00000000d0000000-00000000d1f00000
> >         Capabilities: [40] Express Root Port (Slot+) IRQ 0
> >         Capabilities: [80] Message Signalled Interrupts: 64bit-
> > Queue=0/0 Enable-
> >         Capabilities: [90] #0d [0000]
> >         Capabilities: [a0] Power Management version 2
> >         Capabilities: [100] Virtual Channel
> >         Capabilities: [180] Unknown (5)
> >
> > 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> > Port 2 (rev 02) (prog-if 00 [Normal decode])
> >         Flags: bus master, fast devsel, latency 0
> >         Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
> >
> >
> >
> >
> >         I/O behind bridge: 00003000-00003fff
> >         Memory behind bridge: d6000000-d7ffffff
> >         Prefetchable memory behind bridge: 00000000d2000000-00000000d3f00000
> >         Capabilities: [40] Express Root Port (Slot+) IRQ 0
> >         Capabilities: [80] Message Signalled Interrupts: 64bit-
> > Queue=0/0 Enable-
> >         Capabilities: [90] #0d [0000]
> >         Capabilities: [a0] Power Management version 2
> >         Capabilities: [100] Virtual Channel
> >         Capabilities: [180] Unknown (5)
> >
> > 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> > UHCI #1 (rev 02) (prog-if 00 [UHCI])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 20
> >         I/O ports at 1820 [size=32]
> >
> > 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> > UHCI #2 (rev 02) (prog-if 00 [UHCI])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 18
> >         I/O ports at 1840 [size=32]
> >
> >
> > 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> > UHCI #3 (rev 02) (prog-if 00 [UHCI])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 19
> >         I/O ports at 1860 [size=32]
> >
> > 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> > UHCI #4 (rev 02) (prog-if 00 [UHCI])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 17
> >         I/O ports at 1880 [size=32]
> >
> > 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
> > EHCI Controller (rev 02) (prog-if 20 [EHCI])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 20
> >         Memory at d8444000 (32-bit, non-prefetchable) [size=1K]
> >         Capabilities: [50] Power Management version 2
> >         Capabilities: [58] Debug port
> >
> >
> > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
> > (prog-if 01 [Subtractive decode])
> >         Flags: bus master, fast devsel, latency 0
> >         Bus: primary=00, secondary=04, subordinate=05, sec-latency=32
> >         I/O behind bridge: 00004000-00004fff
> >         Memory behind bridge: d8000000-d80fffff
> >         Prefetchable memory behind bridge: 0000000050000000-0000000051f00000
> >         Capabilities: [50] #0d [0000]
> >
> > 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
> > Bridge (rev 02)
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0
> >         Capabilities: [e0] Vendor Specific Information
> >
> >
> > 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
> > Controller (rev 02) (prog-if 8a [Master SecP PriP])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, medium devsel, latency 0, IRQ 18
> >         I/O ports at <unassigned>
> >         I/O ports at <unassigned>
> >         I/O ports at <unassigned>
> >         I/O ports at <unassigned>
> >         I/O ports at 1810 [size=16]
> >
> > 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
> > Serial ATA Storage Controller AHCI (rev 02) (prog-if 01 [AHCI 1.0])
> >         Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
> >         I/O ports at 18d0 [size=8]
> >         I/O ports at 18c4 [size=4]
> >         I/O ports at 18c8 [size=8]
> >         I/O ports at 18c0 [size=4]
> >         I/O ports at 18b0 [size=16]
> >         Memory at d8444400 (32-bit, non-prefetchable) [size=1K]
> >         Capabilities: [80] Message Signalled Interrupts: 64bit-
> > Queue=0/0 Enable-
> >         Capabilities: [70] Power Management version 2
> >
> > 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev
> > 02) Subsystem: Gateway 2000 Unknown device 0366
> >         Flags: medium devsel, IRQ 10
> >         I/O ports at 18e0 [size=32]
> >
> >
>
>
> --
> Dominique Michel
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>


-- 
Hartman's Brain Consulting | Openflows Networks Ltd. | Campware.org

gpg  1024D/ED6EF59B  (7D1A 522F D08E 30F6 FA42  B269 B860 352B ED6E F59B)
gpg --keyserver pgp.mit.edu --recv-keys ED6EF59B

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux