PDA

View Full Version : P5Q-EM / Fedora 9 / ALC1200 - Sound card not working.


Harlz
2008-10-12, 11:53 PM CDT
Greetings,

I would really appreciate any help. I don't come close to understanding how all the different parts of the linux sound system fit together and working on my computer without music is painful!

Fresh install as in the title. The sound is via an onboard ALC1200 chip according to the manual. I believe this is very similar to the ALC888 but I'm not sure if I can force that driver to run. I'm using the default 2.6.26.5-45.fc9.x86_64 kernel.

using lspci it looks like the kernel can see the sound card, though as an unknown device.

00:1b.0 Audio device: Intel Corporation ICH10 HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Unknown device 82fe
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at fe9f8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

In var/log messages it looks like it finds the sound card here, but can't do much with it:

Oct 13 07:57:02 aelfheim kernel: ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22

a bit later:

Oct 13 07:57:02 aelfheim kernel: hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x100f0000
Oct 13 07:57:02 aelfheim kernel: hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x100f0000

finished off with pulseaudio complaining about its permissions and a continuing stream of:

Oct 13 13:36:23 aelfheim pulseaudio[2724]: alsa-util.c: Unable to determine current swparams: Operation not permitted
Oct 13 13:36:23 aelfheim pulseaudio[2724]: module-alsa-sink.c: Got POLLERR from ALSA
Oct 13 13:36:23 aelfheim pulseaudio[2724]: module-alsa-sink.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): Input/output error

The various desktop tools basically tell me there's not actually a card there. With pulseaudio telling me I have no sinks, sources or streams and nothing available. The expected sound modules all appear to be loaded and happy.

Is this indicating the audio is simply not supported by linux (though some people on the ubuntu forum claim to have it working) or is it a configuration error?

chrz
2008-10-13, 01:47 AM CDT
You should switch to Fedora 10, P5Q-EM is based on pretty new chipset G45 and you need bleeding edge kernel. I've got P5Q there is also ALC1200 codec but chipset is P45, I hope it won't be a problem. I've got sound on analog output but not on spdif :(

Unfortunately Asus hide information abut ALC1200 and I'm afraid that full support for ALC1200 won't be soon.

This is how it looks on my side:


[root@nelson ~]# uname -a
Linux nelson.localdomain 2.6.27-3.fc10.i686.PAE #1 SMP Fri Oct 10 01:10:52 EDT 2008 i686 i686 i386 GNU/Linux

[root@nelson ~]# aplay -L
default:CARD=Intel
HDA Intel, ALC888 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)

[root@nelson ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


[root@nelson ~]# lspci -vvv
...
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 82fe
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at f9ff8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
...