Opened 15 years ago

Last modified 13 years ago

#4491 reopened bug

No sound with auich and Intel 82801DB/DBL/DBM ICH4

Reported by: dflemstr Owned by: korli
Priority: normal Milestone: R1
Component: Drivers/Audio/auich Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

My laptop with an Intel 82801DB/DBL/DBM sound card does not emit any sound. This happens in Haiku hrev33067.

The media_addon_server uses 100% CPU time on this system while the auich driver is loaded. The syslog gets filled with the following two lines (repeating):

KERN: auich: last read/write registers: 26/0
KERN: auich: codec semaphore timed out!

Removing the auich module and rebooting "fixes" the issue, meaning that CPU usage goes back to normal, but there is still no sound.

Attachments (2)

syslog (65.8 KB ) - added by dflemstr 15 years ago.
/boot/var/log/syslog
syslog.txt (78.2 KB ) - added by ccipri 14 years ago.

Download all attachments as: .zip

Change History (14)

by dflemstr, 15 years ago

Attachment: syslog added

/boot/var/log/syslog

comment:1 by luroh, 15 years ago

Possible duplicate - different audio controller but same symptom as in #4460.

comment:2 by korli, 15 years ago

Indeed, the pci configuration for the audio device is missing:

KERN: PCI: [dom 0, bus  0] bus   0, device 31, function  5: vendor 8086, device 24c5, revision 03
KERN: PCI:   class_base 04, class_function 01, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 24c5: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
KERN: PCI:   info: Multimedia controller (Multimedia audio controller)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 0241, subsystem_vendor_id 1179
KERN: PCI:   interrupt_line ff, interrupt_pin 02, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000100, flags 01
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000040, flags 01
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000200, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000100, flags 00
KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: PM

by ccipri, 14 years ago

Attachment: syslog.txt added

comment:3 by ccipri, 14 years ago

After the system has booted, at a certain point (perhaps starting the media server), when the cpu is about 0%, the system freezes. No kdl or something else. I can only use the power-button to reset the system, nothing else works. It is interesting that using VirtualBox, there Haiku can use the auich driver without problems. After I remove the link to the auich driver (the link is in a directory called hmulti i think) I can start haiku normally, but of course without sound. I tested it on hrev35274. I think on the first release of Alpha 1, I had sound.

comment:4 by ccipri, 14 years ago

I tried alpha1 again, to see if the auich driver works there. It doesn't work, but at least it doesn't freeze the system. The auich driver is listened in the media-preferences, and and volume controls can be manipualted.

Now something strange I have noticed. On the nightlies, the system always freeze before it reaches the desktop. And I can start haiku only with "same mode". If I start in safe mode, and then I go the media-preferences and restart the media server, it freezes the system again. (and nothing but the power button helps, no KDL).

BUT..... But if I start in "safe mode" and then I move the "auich" driver to the home-folder, and then move it back to the same location. Then I can start the media-server! It doesn't freeze the system anymore. The auich driver is listened in the media preferences, and the controls can be manipulated. But it still doesn't output sound. If I start cortex I see that media player is just connected to the mixer and nothing more. If I try to pull from the add-ons menu "Auich ICH" on main cortex-window, cortex gives the message in the status-bar: Could not instantiate 'Auich ICH' (Name not found)

comment:5 by frankj, 14 years ago

I just noticed this bug in Alpha 2, but it is fixed as of the latest revision, r37240. It works for that card in QEMU at least, I don't know if it works on actual hardware.

comment:6 by korli, 13 years ago

Resolution: fixed
Status: newclosed

Please try again with hrev39310 or newer. It should not help with the sound given the non configured device, but avoid troubles booting.

comment:7 by cipri, 13 years ago

it didn't help. It's still the same.

comment:8 by korli, 13 years ago

You mean it still freezes ?

comment:9 by cipri, 13 years ago

yes, it still freezes. But if I install opensound, it doesn't freeze anymore, even if auich is not removed.

comment:10 by korli, 13 years ago

Resolution: fixed
Status: closedreopened

comment:11 by diver, 13 years ago

Component: Drivers/AudioDrivers/Audio/AUICH

comment:12 by diver, 13 years ago

Summary: No sound with auich and Intel 82801DB/DBL/DBMNo sound with auich and Intel 82801DB/DBL/DBM ICH4
Note: See TracTickets for help on using tickets.