Opened 15 years ago
Last modified 17 months ago
#4755 new bug
ICH7, 8 & 9 Audio Not working with Alpha
Reported by: | kvdman | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Audio/HDA | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #6157, #6213, #7144, #7731, #8017 | |
Platform: | All |
Description (last modified by )
I don't know whether this is known or not, but by looking at hardware profiles on Haikuware, it seems ICH7-9 audio isn't working with the Haiku alpha images. One user claimed that after installing OSS they got sound working (ICH7).
Is there a way to have OSS installed/used when an ICH7-9 soundcard is detected?
It seems one user has access to a lot of hardware and has submitted several reports, perhaps he could help debugging.
Not working:
[http://www.haikuware.com/details/compaq-610] device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 284b: 82801H (ICH8 Family) HD Audio Controller [http://www.haikuware.com/details/compaq-dx2400] device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 293e: 82801I (ICH9 Family) HD Audio Controller Works after installing OSS: [http://www.haikuware.com/details/nc10] device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 27d8: 82801G (ICH7 Family) High Definition Audio Controller
Attachments (8)
Change History (52)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Component: | Audio & Video → Drivers/Audio/HDA |
---|---|
Owner: | changed from | to
comment:3 by , 15 years ago
Description: | modified (diff) |
---|
http://www.haikuware.com/details/compaq-6910p seems to state audio is working through internal speakers.
comment:4 by , 15 years ago
@korli, oh indeed you're right.
here's two more examples with the Intel HD audio:
http://www.haikuware.com/details/macbook-pro-early-2008 device Multimedia controller (Audio device) [4|3|0]
vendor 8086: Intel Corporation device 284b: 82801H (ICH8 Family) HD Audio Controller
http://www.haikuware.com/details/compaq-dx2400 device Multimedia controller (Audio device) [4|3|0]
vendor 8086: Intel Corporation device 293e: 82801I (ICH9 Family) HD Audio Controller
The user made all these reports and has access to a lot of hardware. I've recently added file uploads to the hardware database and indicated how to add syslogs. Perhaps they would be of further use.
comment:5 by , 15 years ago
I double checked the 6910p today and I think the issue with that machine was a corrupt MP3 file, I probably forgot to set Binary mode in the ftp client before I downloaded the audio files. It was able to play an MP3 and WAV file fine. I also retested my MacBook Pro 4,1 but was unable to get the audio to work, I'll attach the syslog, listimage, and MediaPlayer output.
by , 15 years ago
Attachment: | MacBookPro41_syslog.txt added |
---|
MacBook Pro 4,1 Syslog (Booted from ISO)
by , 15 years ago
Attachment: | MacBookPro41_listimage.txt added |
---|
MacBook Pro 4,1 listimage output (Booted from ISO)
by , 15 years ago
Attachment: | MacBookPro41_MediaPlayer_Output.txt added |
---|
MediaPlayer playing the MP3 from the command line
comment:6 by , 15 years ago
I also tried my MacBook Pro with the 33601 GCC2 nightly but still no audio.
comment:8 by , 15 years ago
I played an mp3 and couldn't hear any sound using a hrev34523 gcc2 live CD
comment:10 by , 15 years ago
I've tried with one of today's revisions.
I have a Macbook 2,1 (where the built-in keyboard and mouse don't work).
I tried an audio CD, *aiff file and *.mp3 in CD Player and Media Player. I could not produce any sound from the speakers or headphone, although the hardware did show up.
This book has the ICH7 multimedia chipset.
comment:13 by , 15 years ago
I've tried with hrev35693 on my MacBook. Still no sound. Tried playing an MP3 and Wav file through media player. Also tried with headphones; no sound.
comment:15 by , 15 years ago
by , 15 years ago
Attachment: | syslog.macbookpro added |
---|
Mar 4 2010 syslog for hrev35752 (macbookpro4,1)
comment:16 by , 15 years ago
Sorry after looking both syslogs I don't have a clue about the lack of sound on macbooks.
comment:17 by , 15 years ago
I installed OSS, and deleted the HDA driver. No sound either, eventhough Intel HD Audio showed up as the driver under media preferences. Oddly, under 'channel' there were 4 different channels available. I tried all four (changing the channels and restarting the media server locked the machine), and it would not produce any sound.
I'm attaching the syslog with the OSS driver installed.
I did find this line in the syslog when the audio tried to start
hdaudio_mac_gpio
http://manuals.opensound.com/sources/hdaudio_gpio_handlers.c.html
by , 15 years ago
Attachment: | syslog-oss added |
---|
comment:18 by , 15 years ago
Right after the driver gets loaded there's a USB error.
4938 KERN: iMac Sigmatel hdaudio initialization 4939 KERN: hdaudio_mac_GPIO_init() entered, afg=1, subdevice=0x106b2200, codec=0x83847680 4940 KERN: loaded driver /boot/home/config/add-ons/kernel/drivers/dev/oss_loader 4941 KERN: usb error uhci 0: error while setting device address
This is the laptop where the internal trackpad and keyboard don't work. I was told you had to enable USB polling in order to get the trackpad and mouse to work. I wonder if sound would also work in this case? I'm not sure how to enable this though.
comment:19 by , 15 years ago
Hello,
I thought this info may be useful? Perhaps you already know this:
http://www.haiku-os.org/community/forum/hardware_compatibility_wiki
The situation with Intel HDA is that it's a class standard, like VGA or USB storage.
So in theory you write one driver which implements the software side of the standard according to the documentation, and all conforming hardware will work. The Haiku driver roughly follows this approach, its probe function matches any PCI device which has the class information indicating it implements Intel HDA. Thus probably anyone with a modern Intel HDA device (which is most new laptops and desktops) gets this driver selected.
However, the HDA specification itself represents the codec (the bit that actually converts between PCM data and any form of sound output or input connector) as a separately programmed component. It is often the case that additional code is needed for a particular vendor's codec, or for some applications (ie specific models of computer or sound cards) of that codec. The Haiku code includes some examples of such additional code, covering some very popular devices, but it looks rather less than comprehensive. So for some users the outcome is likely that Haiku's driver seems to work, except that no sound comes out (it is playing, but to some unconnected pins deep inside their laptop, not to the speakers), or the volume controls don't work, or the speakers on their laptop always play sound even with headphones plugged in, that sort of thing.
The codecs have unique hardware identifiers similar to PCI devices, so that the OS need only load driver software for the codecs used in the installed device. e.g. ALSA identifies the codec in this laptop and loads a driver for 'snd-hda-codec-id:14f15051' a Conexant chip. So if Haiku actually had the new Windows 95 style driver model, this information could have been gathered too. But it might not be that helpful, at a certain point you do have to rely on user feedback on whether it really works. The same Conexant chip that works fine in this laptop might be wired up differently in another model, leaving the microphone non-functional by default.
comment:20 by , 13 years ago
Description: | modified (diff) |
---|
comment:21 by , 13 years ago
This is hrev42363 and there still no sound with ICH7:
device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 27d8: N10/ICH 7 Family High Definition Audio Controller
Installing OpenSound doesn't help.
by , 13 years ago
Attachment: | syslog_r42364 added |
---|
comment:22 by , 13 years ago
Version: | R1/alpha1 → R1/Development |
---|
comment:23 by , 13 years ago
Blocking: | 6157 added |
---|
comment:24 by , 13 years ago
Blocking: | 6213 added |
---|
comment:25 by , 13 years ago
Blocking: | 7144 added |
---|
comment:26 by , 13 years ago
Blocking: | 7731 added |
---|
comment:27 by , 13 years ago
Blocking: | 8017 added |
---|
(In #8017) http://support.euro.dell.com/support/edocs/SYSTEMS/dim5150C/en/sm/specs1.htm says that it has Sigmatel STAC9220. The Intel Chip with the sound is: 82801GBM ICH7-M what makes it a dupe of #4755.
comment:28 by , 13 years ago
This bug is more than 2 years old, doesn´t anybody think is quite important to fix it asap?. I know complaining is free but it´s really a show stopper to not have audio in your Haiku installation. Its difficult to promote Haiku to your friends and people if you can´t even hear an mp3. Thanks.
follow-up: 30 comment:29 by , 13 years ago
Most likely reason is that the dev's don't have the hardware in question.
With such a small developer group things like this slip by.
comment:30 by , 13 years ago
Replying to Disreali:
Most likely reason is that the dev's don't have the hardware in question.
That and for this kind of hardware the problem gets worse, since these chipsets are almost all motherboard-integrated, so it's not a case where one can easily just loan a sound card to a dev for a few weeks.
follow-up: 32 comment:31 by , 13 years ago
I don´t know anything about developing but if Oss seems to work it should not be so difficult to know why the default driver is not working. Anyway even if lending hardware is difficult Sigmatel audio chip is present in zillions of laptops, its very very popular, imagine having and strange sound card, it would be near to impossible to have audio?
comment:32 by , 13 years ago
Replying to haikurocks:
I don´t know anything about developing but if Oss seems to work it should not be so difficult to know why the default driver is not working. Anyway even if lending hardware is difficult Sigmatel audio chip is present in zillions of laptops, its very very popular, imagine having and strange sound card, it would be near to impossible to have audio?
I personally haven't seen this issue on the hardware I've tested. If it happens on your hardware, patches or hardware donations welcome.
comment:33 by , 13 years ago
I can´t submit patches as i´m not a developer, if i was i would have tried to solve before complaining. I can´t give money cause i don´t have it for me. I know complaining is easy and cheap but as a Beos fan and Haiku too, is very frustrating to have a very common lapto,p like a Dell Inspiron ( with sound working in Linux/Win ), without sound. ICH chipsets are very common and if Win/Linux can get sound i dont get the point why Haiku not. It´s just a matter of pride, understand me.
comment:34 by , 12 years ago
listdev produces: device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 27d8: NM10/ICH7 Family High Definition Audio Controller
MP3s and movies appear to play fine but there is no sound. I get sound under OpenBSD on this box. I also posted this to the dev mailing list: http://www.freelists.org/post/haiku-development/Will-ship-AT5NM10I-miniitx-board-to-audio-driver-dev
I am also attaching a copy of my syslog.
comment:35 by , 8 years ago
I have working audio on my system hrev50819 x86_gcc2 device Multimedia controller (Audio device) [4|3|0]
vendor 8086: Intel Corporation device 27d8: NM10/ICH7 Family High Definition Audio Controller
If any further testing is needed before closing, let me know.
follow-ups: 37 38 comment:36 by , 8 years ago
We would need to gather information about the codecs and exact hardware identifier. As mentionned above, HDA is only part of the work here, it gets the audio out of the main chipset in digital format (on a bus called I2S). This is not enough, there is another step needed which is routing that I2S signal to the output, converting it to actual audio, amplifying it, etc.
This is handled by a separate chip called a "codec". Sometimes it is initialized by the BIOS, but this is not always the case. So the Haiku driver for HDA should include handling for more of these codecs and handle their initialization.
There are a few known cases where this is very visible:
- If booting Linux or Windows, then rebooting to Haiku works, but not cold-booting directly into Haiku.
- On some machines, a system beep is emitted by the BIOS when plugging/unplugging the power supply. Doing so initializes the codec, and then sound starts working in Haiku.
So, just the PCI ID won't help to identify the hardware which works or doesn't. We need users to report their exact setup (computer brand and model + identifier of the codec chip) and we need to investigate writing initialization code for each of the codec chips that require one.
comment:39 by , 6 years ago
Milestone: | R1 → R1/beta2 |
---|
comment:40 by , 6 years ago
I am using beta1 and have an ICH9 chipset,
device Multimedia controller (Audio device) [4|3|0] vendor 8086: Intel Corporation device 293e: 82801I (ICH9 Family) HD Audio Controller
If the codec is important here, how do i determine that to file that here? KERN: hda: Codec 0 Vendor: 10ec Product: 0269, Revision: 1.0.0.4 Quirks: 0700 is that the right thing in syslog?
Also importently, the device and all its controls show up in the media preferences, however as the bug describes get no sound output at all.
Also the correct driver seems to be loaded as far as syslog says. KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/audio/hmulti/hda
comment:41 by , 6 years ago
I found out that if i disable apm and acpi in the bootloader, i get sound, following is my syslog, and i hope it can help. https://pastebin.com/NKhSs5c8
comment:42 by , 5 years ago
Milestone: | R1/beta2 → Unscheduled |
---|
Removing HDA audio tickets from Beta2 milestone, no one has worked on it and opensound is available at least as a stopgap.
comment:44 by , 2 years ago
Tested hrev56325 - Audio is working on the ICH7 & ICH8. No issues. Feel free to test your systems. OSS not needed.
At least device 27d8 definitely works here (ICH-7). So your mileage might vary.