Homebrew CMI 8738 drivers |
Homebrew CMI 8738 drivers |
Oct 16 2006, 16:50
Post
#1
|
|
|
Group: Members Posts: 15 Joined: 17-November 05 Member No.: 25818 |
Hi everyone!
I'm currently working on WDM drivers for soundcards based on the C-Media 8738/8768 chip. I plan to release the entire source code under a BSD-like license sometime in the future. I'm mainly interested in the S/PDIF connectivity because the DAC of the card sucks. For testing, you need: - a CMI 8738-MX/8768 based soundcard with S/PDIF (which are available for around 10-15 USD) - Windows 2000/XP Some of the features are: - bitperfect S/PDIF output for 16bit 44.1/48/88.2/96kHz stereo signals through kernel streaming / dsound / waveout - bitperfect AC3/DTS passthrough - multi-channel output (that disables the S/PDIF output port unfortunately) - recording support - basic mixer support - UART support (but disabled for now) Apparently, the C-Media chip supports only 16 bit contrary to the claims in their specs. I haven't been able to get 24bit output even with the official drivers. But 96kHz output seems to work fine on the newer 8738 chips. You can help me by posting your chip version and configuration, and testing whether 16bit/96kHz and 24bit/48kHz output through kernel streaming works (foobar2000, winamp have the necessary plugins). I'm specifically looking for people who have means to tell a 16bit S/PDIF stream from a 24bit stream. When the driver loads, it prints the version of your chip to the kernel debugger. You need a running instance of DebugView (http://www.sysinternals.com/Utilities/DebugView.html) to catch the strings. In other words: open DebugView before updating the drivers. Note that the drivers aren't signed, so you have to install them manually (Update Driver => Install from a list or specific location => Don't search. I will choose the driver to install => Continue anyway). A 64-bit build has been successfully tested, and I'll probably release a build sometime soon. Here are the download links for the latest version: So long, dogbert This post has been edited by d0gbert: Mar 14 2008, 20:30 |
|
|
|
![]() |
Dec 6 2006, 17:12
Post
#2
|
|
|
Group: Members Posts: 5 Joined: 29-November 06 Member No.: 38185 |
I'm here again with the same problem... I think I've tried all possible combinations including setting SPDIF as default device and almost all versions of ac3filters with different settings. Now I think the problem is in x64 Vista or in ac3filter because the sound is normally sent to receiver as stereo (or prologic) when SPDIF is switched OFF in ac3filter, but when I switched on SPDIF in ac3filter it seems that ac3filter immediatelly stopped receving/sending sound signal because channel level meters in ac3filter stopped to show any signal.
I also tried to use my onboard Realtek AC97 with SPDIF and the result was exactly the same so I'm convinced the problem is in Vista or ac3filter because when I tried testing sound to SPDIF in device settings it worked fine for both AC97 and C-Media. So the cards and drivers can play ac3, receiver can receive it but it doesn't work with ac3filter :-( Does somebody have working SPDIF on x64Vista with AC97 or C-Media ? Which drivers ? Which ac3filter ? |
|
|
|
Dec 7 2006, 19:33
Post
#3
|
|
|
Group: Members Posts: 15 Joined: 17-November 05 Member No.: 25818 |
It works perfectly fine here with the 32bit version of vista and media player classic which uses its internal filters for AC3 passthrough.
The driver might have failed to install - the x64 version of vista doesn't allow unsigned drivers, and since I'm not able to sign the drivers by myself or cash out ~500 usd to msft, you will need to disable this policy by pressing F8 each time you boot and selecting the relevant item in the menu. |
|
|
|
Dec 22 2006, 14:24
Post
#4
|
|
![]() Group: Members (Donating) Posts: 132 Joined: 15-October 01 From: Norway Member No.: 297 |
The driver might have failed to install - the x64 version of vista doesn't allow unsigned drivers, and since I'm not able to sign the drivers by myself or cash out ~500 usd to msft, you will need to disable this policy by pressing F8 each time you boot and selecting the relevant item in the menu. Just curious - can't you sign drivers without paying money to Microsoft? As far as I can see the authenticode tools should be available with the freely downloadable .NET SDKs, all you need is a code signing certificate which is available from various vendors - the cheapest I've seen so far is Comodo's $99 one, which is a good bit less than $500. There might also be better deals out there if you shop around a bit. If several people need 64-bit drivers you might find enough people willing to sponsor something like that. Some relevant links: Windows Kernel-mode Driver Signing Requirements Signing and Checking Code with Authenticode .NET Framework SDK v1.1 Comodo code-signing certificates |
|
|
|
Dec 22 2006, 15:53
Post
#5
|
|
![]() Group: Members Posts: 162 Joined: 5-October 03 Member No.: 9165 |
qristus, thanks for the info. The authenticode thing is way cheaper than I thought.
I see two problems though: 1. I wanna remain anonymous for the time being, and the signing authorities require a background check. So this is an obvious conflict. 2. The drivers don't exactly do what the microsoft specifies, e.g. - the SPDIF interface remains turned on even if DRM stuff is being played - the driver hasn't been thoroughly checked with Driver Verifier et al. which ensure that the driver meets all the specifications. I'm quite certain that it'll pass these checks with minor or no modification though. As a result, the certificate might be blacklisted by msft in future patches of Vista, which renders the whole thing useless, of course. Mayble people will find a way to add a self-made certificate authority to the trusted verification roots of the kernel mode in Vista so it'll chow down all the homebrew drivers which are signed with a certificate which roots to the self-created CA. Imho, the entire thing with the mandatory driver signing just proves to be a scheme to lock out the user from his system in order to enforce that digital rights managed 'premium content' doesn't get ripped. It doesn't add a thing to the overall security of windows, and it doesn't improve the quality of a driver. -------------------- http://code.google.com/p/cmediadrivers
|
|
|
|
d0gbert Homebrew CMI 8738 drivers Oct 16 2006, 16:50
Leto Atreides II Awesome!
I'll try these drivers out tod... Oct 17 2006, 02:25
Leto Atreides II The only thing debugview shows is:
[2692] Exiting ... Oct 17 2006, 02:59
Leto Atreides II My system is a Soltek QBic 3801 with a built-in CM... Oct 17 2006, 03:38
d0gbert QUOTE (Leto Atreides II @ Oct 16 2006, 20... Oct 17 2006, 07:48
Leto Atreides II QUOTE (d0gbert @ Oct 16 2006, 22:48) QUOT... Oct 17 2006, 09:46
d0gbert new release 0.92:
- built with the latest WDK (ver... Oct 21 2006, 02:02
René Eske Jensen QUOTE (d0gbert @ Oct 21 2006, 02:02) I... Nov 8 2006, 08:13
d0gbert QUOTE I had some problems during installation in V... Nov 8 2006, 14:13
Leto Atreides II QUOTE (d0gbert @ Nov 8 2006, 05:13) Yeah,... Nov 8 2006, 19:41
Leto Atreides II QUOTE (Leto Atreides II @ Nov 8 2006, 10... Nov 8 2006, 20:56
Leto Atreides II Thanks. Oct 21 2006, 03:00
Leto Atreides II When do you think you'll start releasing the s... Oct 21 2006, 05:45
d0gbert QUOTE (Leto Atreides II @ Oct 20 2006, 22... Oct 21 2006, 12:54
zima I wonder...how hard would be to modify drivers for... Oct 31 2006, 11:25
d0gbert QUOTE (zima @ Oct 31 2006, 04:25) I wonde... Oct 31 2006, 13:49
howardbut it sounds awesome! but could I have the follow... Nov 2 2006, 20:12
d0gbert QUOTE (howardbut @ Nov 2 2006, 13:12) it ... Nov 2 2006, 21:02
howardbut thank you d0gbert.
referring to your reply, could ... Nov 3 2006, 01:16
Mike Giacomelli Mind if I ask how you got into Windows driver deve... Nov 2 2006, 21:26
d0gbert QUOTE (Mike Giacomelli @ Nov 2 2006, 14:2... Nov 3 2006, 09:53
René Eske Jensen Hi again,
Just another thing - the mute function ... Nov 8 2006, 12:59
lavak This is fantastic. I have a soyo sy-k7v dragon pl... Nov 14 2006, 07:38
d0gbert OK, all-in-one answer:
QUOTE I have noticed that ... Nov 15 2006, 18:35
lavak QUOTE (d0gbert @ Nov 15 2006, 11:35) QUOT... Nov 15 2006, 21:22
Leto Atreides II AFAIK the DAC level slider isn't adjusting any... Nov 14 2006, 17:55
qs_test Hello,
I am using an onboard C-Media-Chip CIM8738... Nov 15 2006, 07:09
René Eske Jensen Just tried the 0.94 driver out in both XP and Vist... Nov 23 2006, 21:45
d0gbert I've just uploaded a new version (0.9.5) which... Nov 23 2006, 23:45
René Eske Jensen QUOTE (d0gbert @ Nov 23 2006, 23:45) René... Nov 25 2006, 14:03
cervicek Hi, please somebody could help me with SPDIF probl... Nov 30 2006, 10:12
d0gbert cervicek, the SPDIF interface needs to be set as t... Nov 30 2006, 11:59
cervicek Thanks. I'll try it.. and ac3filter must be se... Nov 30 2006, 12:33
d0gbert QUOTE (cervicek @ Nov 30 2006, 05:33) Tha... Nov 30 2006, 18:54
ElKabong If I get a cheap audio card with an 8738, will I b... Nov 30 2006, 21:37
d0gbert QUOTE (ElKabong @ Nov 30 2006, 14:37) If ... Nov 30 2006, 21:46
Leto Atreides II I just noticed that mixer.exe still runs in the ba... Dec 3 2006, 10:13
d0gbert QUOTE (Leto Atreides II @ Dec 3 2006, 03... Dec 3 2006, 12:02
cervicek You're right. I reinstalled Vista to 32bit and... Dec 11 2006, 14:47
Dogbert New release: 0.96.
This release brings mainly imp... Dec 17 2006, 00:04
kron First of all, big thanks, really great driver, you... Dec 18 2006, 21:42
Dogbert QUOTE (kron @ Dec 18 2006, 21:42) So is t... Dec 18 2006, 21:54

kron QUOTE (Dogbert @ Dec 18 2006, 14:54) Ther... Dec 21 2006, 10:04

Dogbert QUOTE Method one would mean not to take your drive... Dec 21 2006, 12:19
cervicek QUOTE (kron @ Dec 18 2006, 21:42) I'm... Dec 19 2006, 12:41
kron I use it in Vista x86, and ac3 works perfectly wit... Dec 19 2006, 16:37
Dogbert QUOTE (kron @ Dec 19 2006, 16:37) What do... Dec 19 2006, 17:53
wdekler First, a really big thank you for programming this... Dec 21 2006, 15:51
Dogbert QUOTE (wdekler @ Dec 21 2006, 15:51) Has ... Dec 21 2006, 17:25
DualIP [/quote]
I haven't been able to get 24 bit out... Dec 31 2006, 15:56
Dogbert QUOTE (DualIP @ Dec 31 2006, 15:56) AFAIK... Jan 1 2007, 08:55
wdekler It seems to work fine with the Terratec 5.1 FUN (8... Dec 23 2006, 16:43
Dogbert QUOTE (wdekler @ Dec 23 2006, 16:43) I... Dec 25 2006, 22:50
wdekler Maybe we can also test it without a DAC? If we use... Dec 25 2006, 23:15
Dogbert QUOTE (wdekler @ Dec 25 2006, 23:15) Mayb... Dec 25 2006, 23:55
kron Hi again,
I tried the Winamp Kernel-streaming plu... Dec 29 2006, 19:29
Dogbert QUOTE (kron @ Dec 29 2006, 19:29) Hi agai... Dec 29 2006, 20:29
wdekler I've seem to run into some trouble with the dr... Jan 1 2007, 15:56
Dogbert QUOTE (wdekler @ Jan 1 2007, 15:56) I... Jan 1 2007, 18:23
wdekler Thanks for the advice! It's finally workin... Jan 2 2007, 01:29
Sin Jeong-hun Minimum level
Maximum level
Certified driver... Jan 2 2007, 07:48
wdekler I noticed that the driver sometimes generates outp... Jan 2 2007, 14:03
Dogbert QUOTE (wdekler @ Jan 2 2007, 14:03) The W... Jan 2 2007, 16:02
DualIP Dogbert,
I hooked up my oscilloscope to a CMI8738... Jan 3 2007, 20:12
CiNcH I am wondering why I have to switch to 2 channel o... Jan 4 2007, 02:01
Dogbert DualIP, thanks a lot for your effort! The firs... Jan 4 2007, 03:55
DualIP QUOTE (Dogbert @ Jan 4 2007, 03:55) offic... Jan 4 2007, 05:40
Dogbert QUOTE Two datasheets I have (CMI8738_4ch_spec.pdf ... Jan 4 2007, 15:54
CiNcH Thanx for the explanation.
I have now tried your ... Jan 4 2007, 19:15
CiNcH Ok, found a problem within 6-channel-mode (3/2+SW ... Jan 5 2007, 17:37
Egor QUOTE (CiNcH @ Jan 5 2007, 22:37) Ok, fou... Jan 5 2007, 21:20
Dogbert QUOTE (CiNcH @ Jan 5 2007, 17:37) Seems a... Jan 6 2007, 18:22
DualIP 1) In my previous post in this topic, I reported t... Jan 6 2007, 13:59
CiNcH Don't think it is worth the time implementing ... Jan 6 2007, 23:44
DualIP I just tried the 0.9.9 driver and like the control... Jan 10 2007, 11:19
Dogbert QUOTE (DualIP @ Jan 10 2007, 11:19) I jus... Jan 11 2007, 16:47
DualIP found some issues in 1.0.0 :
-in playback mixer, ... Jan 17 2007, 10:13
Dogbert first of all, thanks for doing the cumbersome test... Jan 18 2007, 14:17
DualIP [quote name='Dogbert' date='Jan 18 200... Jan 18 2007, 17:54
Dogbert QUOTE I discovered this when I hooked up CDROM aud... Jan 18 2007, 19:18
Dogbert A new version (1.0.2) has been released. Jan 31 2007, 21:36
Dac QUOTE (Dogbert @ Jan 31 2007, 21:36) A ne... Feb 3 2007, 15:16
Dogbert QUOTE (Dac @ Feb 3 2007, 15:16) I'm t... Feb 3 2007, 15:39
Dac QUOTE (Dogbert @ Feb 3 2007, 15:39) It lo... Feb 3 2007, 19:49
Any2 QUOTE (Dac @ Feb 3 2007, 12:49) It looks ... Feb 3 2007, 20:06
Any2 Hello
every time I have been installing CMI8738 6... Feb 3 2007, 18:37
Dogbert QUOTE (Any2 @ Feb 3 2007, 18:37) every ti... Feb 3 2007, 21:15
Any2 QUOTE (Dogbert @ Feb 3 2007, 14:15) Thank... Feb 3 2007, 21:51
Dogbert QUOTE (Any2 @ Feb 3 2007, 21:51) Yes,
how... Feb 3 2007, 21:54
Any2 QUOTE (Dogbert @ Feb 3 2007, 14:54) Windo... Feb 3 2007, 22:28
mugen Can you make drivers for the ALC882M so I can get ... Feb 4 2007, 09:12
Dogbert QUOTE (mugen @ Feb 4 2007, 09:12) Can you... Feb 4 2007, 11:09
wdekler QUOTE (mugen @ Feb 4 2007, 09:12) Can you... Feb 4 2007, 11:30
Dogbert QUOTE (wdekler @ Feb 4 2007, 11:30) By th... Feb 4 2007, 11:55
Any2 QUOTE (Dogbert @ Feb 4 2007, 04:55) Dunno... Feb 4 2007, 14:00
mugen QUOTE (wdekler @ Feb 4 2007, 04:30) QUOTE... Feb 4 2007, 12:03![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 14:44 |