Opened 10 years ago

Last modified 3 years ago

#3688 new enhancement

C-Media CMI8738 sound driver needed

Reported by: haiqu Owned by: nobody
Priority: low Milestone: R1
Component: Drivers/Audio/C-Media Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Changeset 21536 included some code for a driver, which I have compiled and tested under Haiku. The card doesn't show up under /dev/audio

Using Marko Koscak's driver from under BeOS 5.0.3 Pro does register the device in various places under /dev but the card still fails to make a sound. I believe this driver to be written for a very old interface (BeOS 4.x) and possibly unsupported in 5.x

Attachments (1) (7.3 KB) - added by haiqu 10 years ago.
Update of current work, plus missing header

Download all attachments as: .zip

Change History (12)

comment:1 Changed 10 years ago by haiqu

Component: Audio & VideoDrivers/Audio
Owner: changed from marcusoverhagen to korli

comment:2 Changed 10 years ago by stippi

Yes, this driver does not yet use the multi-audio driver interface, and we have only unfinished support in the form of an audio node which is supposed to interface with such drivers. However, if you install the OpenSound optional package (make sure the CMedia driver is not installed then!), you should have sound via OSS. I have a CMedia based device at home and that definitely works with OSS. Kind of takes the pressure off of finishing that "old driver" audio node... :-)

Changed 10 years ago by haiqu

Attachment: added

Update of current work, plus missing header

comment:3 Changed 10 years ago by haiqu

Attaching my current work on this driver, now suspended due to lack of ISA memory support. Included in the zipfile is diff against the cmedia directory and one missing header file required by the driver.

comment:4 Changed 9 years ago by korli

This chipset is supposed to be on a PCI bus, isn't it ?

comment:5 in reply to:  4 Changed 9 years ago by siarzhuk

Replying to korli:

This chipset is supposed to be on a PCI bus, isn't it ?

I have an old motherboard with CMedia 8738A audio chip here. Yes, it is on PCI bus. So I have hypothetical possibility to rewrite this driver to Haiku multi-audio API, if anybody need it. ;-) AFAIK cmedia will be the last one in the source tree using old R3 Sound API, isn't it? Mutli-audio version of sis7018 is half-ready, usb_audio will be working in the nearest future, so we will be free to bury legacy_media_addon.

comment:6 Changed 7 years ago by dsuden

siarzhuk, I don't know if you will see this, but I DEFINITELY need it! Any possibility you could finish it up for Haiku?

comment:7 Changed 6 years ago by AlienSoldier

I don't NEED it, but i sure could make use of it (and can test it). I have this as PCI card and on board. And i don't think OSS support the S/PDIF available on the card?

comment:8 Changed 6 years ago by dsjonny

The CMI8738 (0x0111) does not works for me too using PCI card. I tried the OSS driver, but I got KDL when want to load it. I use the R1 Alpha 4.1 image. I found in the header for the driver that my chipset is supported, but Haiku does not load the driver for it.

comment:9 Changed 6 years ago by AlienSoldier

I just got a SC30000 PCI card that seem to be the same chipset. I will try it in R5 this fall to see if the R5 driver can work with it.

comment:10 Changed 4 years ago by waddlesplash

Component: Drivers/AudioDrivers/Audio/C-Media
Owner: changed from korli to nobody
Platform: x86All
Priority: normallow
Version: R1/pre-alpha1R1/Development

hrev49331 possibly helps with this; please test.

comment:11 Changed 3 years ago by vidrep

Tested a Zoltrix PCI audio card using the same CM18738 chipset on hrev50608 x86_gcc2. The gain controls master output is missing in media preferences, therefore no audio.

Note: See TracTickets for help on using tickets.