Skip to contentSkip to conversation

C-Media 8x38 driver for kernel 2.4

DISCUSSION Paolo Rossi 3 participants 5 messages Jun 5, 2000 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

During this weekend I've tested my patched driver on the following kernel versions:
2.3.99pre6
2.4.0-test1
2.4.0-test1-ac7

It seems to work fine (module and resident). This driver is a patched version of 3.21 released by C-Media on May 23, 2000. I've also included the experimental S/PDIF in/out support by Jan Niehusman. Download the driver (+Config.in +patch-against-2.4.0-test1 +ver_linux) at http://web.tiscalinet.it/luvassu/cmpci/cmpci-20000604.tar.gz.

Bye.

-lupo

#1 lore raw

Dear Paolo,

I also made a version that support kernel 2.2 and 2.4 (thanks for your work), and fixes since the version 3.21. I read that you add S/PDIF in/out in the init-module. May I remind you that they are not supported with all format, so if you only use 44k/48k then it is ok. User would need to unload and load the driver to use S/PDIF in/out and use another wave format. I don't suggest add it as general driver come with kernel. It is also explain in the cmpci file.

The version 4.02 driver can be got at
http://members.home.net/puresoft/cmedia.html.

Sincerely,
Charles Tien

Quoted 17 lines · Paolo Rossi

Hi,

During this weekend I've tested my patched driver on the following kernel versions:
2.3.99pre6
2.4.0-test1
2.4.0-test1-ac7

It seems to work fine (module and resident). This driver is a patched version of 3.21 released by C-Media on May 23, 2000. I've also included the experimental S/PDIF in/out support by Jan Niehusman. Download the driver (+Config.in +patch-against-2.4.0-test1 +ver_linux) at http://web.tiscalinet.it/luvassu/cmpci/cmpci-20000604.tar.gz.

Bye.

-lupo

#2 lore raw
In reply to Paolo Rossi

Hi Chen-Li,

Quoted 8 lines

I also made a version that support kernel 2.2 and 2.4 (thanks for your work), and fixes since the version 3.21. I read that you add S/PDIF in/out in the init-module. May I remind you that they are not supported with all format, so if you only use 44k/48k then it is ok. User would need to unload and load the driver to use S/PDIF in/out and use another wave format. I don't suggest add it as general driver come with kernel. It is also explain in the cmpci file.

...I know that there are some problems with S/PDIF, in fact this is an EXPERIMENTAL feature. I've included it in the driver because I think that people may have interest on working on it.

Quoted 4 lines

The version 4.02 driver can be got at
http://members.home.net/puresoft/cmedia.html.

...yeah! I reported it on my site (http://web.tiscalinet.it/luvassu)

Bye.

-lupo

#3 lore raw
In reply to Paolo Rossi
Quoted 4 lines · Chen-Li Tien

I also made a version that support kernel 2.2 and 2.4 (thanks for your work), and fixes since the version 3.21. I read that you add S/PDIF in/out in the init-module. May I remind you that they are not supported with all format, so if you only use 44k/48k then it is ok.

Is there any documentation about that topic available? I only found some register descriptions, and used them (with some trial and error) to enable s/pdif in and out. It's clearly an experimental feature. It should not be a big problem to enable s/pdif only if compatible parameters are used, with documentation available.

But I do have problems with lost or modified data - for testing purposes I connected s/pdif out back to in, and piped a textfile through it (turn your stereo off before you try this ;-) )

Some months ago I did an interesting observation: Corruptions were worse on an idle system! As soon as I started to play music on a second sound card, I saw nearly no lost bytes any more.

I'd really like to hear if other people have similar problems. Perhaps I just got a bad sound card?

Jan

#4 lore raw
In reply to Paolo Rossi
Quoted 10 lines · Paolo Rossi

Hi Chen-Li,

Quoted 8 lines

I also made a version that support kernel 2.2 and 2.4 (thanks for your work), and fixes since the version 3.21. I read that you add S/PDIF in/out in the init-module. May I remind you that they are not supported with all format, so if you only use 44k/48k then it is ok. User would need to unload and load the driver to use S/PDIF in/out and use another wave format. I don't suggest add it as general driver come with kernel. It is also explain in the cmpci file.

Quoted 4 lines

...I know that there are some problems with S/PDIF, in fact this is an EXPERIMENTAL feature. I've included it in the driver because I think that people may have interest on working on it.

How about adding some comments in Configure.help as I do? I hope there is not too many
technical support for this flood into C-Media's web site...;-) I know many cards have S/PDIF
function and have also this format limit.

Please make sure merge my code because it fix a serious bug that cause the DMA stop when heavy
network traffic. For example, playback a mp3 with xmms and ftp a large file (100MB) in the LAN.

Did you get 8738B? They told me it is test version and not in mass production.

Quoted 10 lines
Quoted 5 lines

The version 4.02 driver can be got at
http://members.home.net/puresoft/cmedia.html.

...yeah! I reported it on my site (http://web.tiscalinet.it/luvassu)

Bye.

-lupo