Opened 15 years ago

Last modified 8 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:
Platform: All

Description

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 http://www.bebits.com/app/2341 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)

cmedia.zip (7.3 KB ) - added by haiqu 15 years ago.
Update of current work, plus missing header

Download all attachments as: .zip

Change History (12)

comment:1 by haiqu, 15 years ago

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

comment:2 by stippi, 15 years ago

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... :-)

by haiqu, 15 years ago

Attachment: cmedia.zip added

Update of current work, plus missing header

comment:3 by haiqu, 15 years ago

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 by korli, 14 years ago

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

in reply to:  4 comment:5 by siarzhuk, 14 years ago

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 by dsuden, 12 years ago

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 by AlienSoldier, 11 years ago

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 by dsjonny, 11 years ago

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 by AlienSoldier, 11 years ago

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 by waddlesplash, 9 years ago

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 by vidrep, 8 years ago

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.