Skip to contentSkip to conversation

via82xx + 4 cs4297 audio codec

DISCUSSION Carl Lee 3 participants 3 messages May 14, 2003 – May 16, 2003 1 message not in the archive

lore
Share & tools
lore

Carl Lee

author
#0 lore raw

Hello Alsa-Community,

I have a custom audio card with the Via 8233 controller and 4 CS4297 codecs. I want each of the 4 codecs to be a seperate "player." So I want the ability to play 4 different files at the same time, one file per codec. My question is does the alsa Via 8233 driver already support this or do I have to make some code modifications? Using alsa.rc6 (an older library) I was able to play a file (using mpg123) on the first codec no problem. Any ideas on how to play files on the remaining 3 codecs? Is there some module parameters I need to supply? If I need to change the code, no problem, I have to do it..please send me some ideas and how long you think it would take for a novice like myself.

Thanks in advance.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Re: [Alsa-user] HDSP + multiface + PCMCIA

At this point in my limited understanding of it, you run hdsploader and hope for the best. Let me know if running hdsploader works for you.

Good luck!

Quoted 77 lines · Iain Kennedy

Hello,

I've got a PCMCIA HDSP multiface card from RME... I'm running a debian (testing) system, with a custom kernel, 2.4.20 with alan cox's low latency patches applied. I am using the built in kernel PCMCIA support, which works fine for the wireless network cards that I am using. I have ALSA 0.9.3a installed on the machine and this talks fine to the built in soundcard. I have disabled the internal soundcard on the board and configured the beasty to use snd-hdsp, following the instructions on the alsa website. On boot, the driver states there is no multiface connected... I get the following messages in my /var/log/syslog file:

May 15 11:36:06 plinth kernel: Hammerfall memory allocator: buffers allocated fo
r 1 cards
May 15 11:36:06 plinth kernel: PCI: Setting latency timer of device 02:00.0 to 6
4
May 15 11:36:06 plinth kernel: ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:508: Ha
mmerfall-DSP: no Digiface or Multiface connected!
May 15 11:36:06 plinth kernel: ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:4095: c

ard initialization pending : waiting for firmware

I've changed the firmware from 10 to 11, I've checked the cable and box on a Mac + Windows machine and all is fine....

Here are the messages from the cardmgr:

May 15 11:36:11 plinth cardmgr[287]: starting, version is 3.1.33
May 15 11:36:11 plinth cardmgr[287]: watching 1 sockets
May 15 11:36:11 plinth cardmgr[287]: Card Services release does not match
May 15 11:36:11 plinth kernel: cs: IO port probe 0x0c00-0x0cff: clean.
May 15 11:36:11 plinth kernel: cs: IO port probe 0x0800-0x08ff: clean.
May 15 11:36:11 plinth kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-
0x37f 0x400-0x47f 0x4d0-0x4d7
May 15 11:36:11 plinth kernel: cs: IO port probe 0x0a00-0x0aff: clean.
May 15 11:36:11 plinth cardmgr[287]: socket 0: CardBus hotplug device

Here is the output of lsmod:

nelf@plinth:~$ lsmod
Module                  Size  Used by    Not tainted
snd-seq-oss            26944   0 (unused)
snd-seq-midi-event      3528   0 [snd-seq-oss]
snd-seq                37296   2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            37732   0 (unused)
snd-mixer-oss          12184   0 [snd-pcm-oss]
snd-hdsp               30412   0
snd-rawmidi            13888   0 [snd-hdsp]
snd-seq-device          4148   0 [snd-seq-oss snd-seq snd-rawmidi]
snd-pcm                61440   0 [snd-pcm-oss snd-hdsp]
snd-timer              14920   0 [snd-seq snd-pcm]
snd-page-alloc          5248   0 [snd-pcm]
snd-hwdep               4832   0 [snd-hdsp]
snd                    31076   0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-hdsp snd-rawmidi snd-seq-device snd-pcm snd-timer snd-hwdep]
soundcore               3716   3 [snd]
snd-hammerfall-mem      1920   0 [snd-hdsp]
iptable_filter          1612   0 (autoclean) (unused)
ip_tables              11704   1 [iptable_filter]
via-rhine              12432   1
rtc                     6908   0 (autoclean)

Any help would be greatly appreciated...

Technical Director, Psand Ltd.
http://www.psand.net -- Tel: 0044 (0)7773 291256

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Signature · 8 lines
(jfm3  2838 BCBA 93BA 3058 ED95  A42C 37DB 66D1 B43C 9FD0)



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
#3 lore raw
In reply to Carl Lee

At Wed, 14 May 2003 15:48:45 -0700 (PDT),

Quoted 8 lines · Carl Lee

Hello Alsa-Community,

I have a custom audio card with the Via 8233 controller and 4 CS4297 codecs. I want each of the 4 codecs to be a seperate "player." So I want the ability to play 4 different files at the same time, one file per codec.

i'm afraid that it's difficult to do that with via8233 chip. the multiple codecs are supposed to be used as a surround system. you cannot specify the destination codec of each stream.

Takashi

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com