* CMedia 8738 - problems running Jack
@ 2005-10-24 16:24 Mark Knecht
2005-10-24 16:32 ` Mark Knecht
0 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2005-10-24 16:24 UTC (permalink / raw)
To: alsa-devel
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.
I have a machine with 3 sound devices in it:
mark@gigastudio ~ $ cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xa400, irq 10
1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
mark@gigastudio ~ $
Jack is installed and runs fine on the AP2496 and the Hammerfall.
Jack does not run correctly on the 8738. I first saw this on
2.6.12-gentoo-r10 so I updated to 2.6.14-rc5-rt5 and see the same
problem. The problem is independent of JAck timings. It's as bad with
1024/2 as it is with 128/2.
1) If I use QJackCtl to start Jack it fails immediately:
09:07:02.736 JACK is starting...
09:07:02.737 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2
09:07:02.752 JACK was started with PID=6191 (0x182f).
jackd 0.100.5
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:2|hw:2|128|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for capture
Note: audio device hw:2 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for playback
09:07:04.844 Server configuration saved to "/home/mark/.jackdrc".
09:07:04.845 Statistics reset.
09:07:04.965 Client activated.
09:07:04.966 Audio connection change.
09:07:04.973 Audio connection graph change.
09:07:04.974 XRUN callback (1).
09:07:06.977 XRUN callback (342 skipped).
jackd watchdog: timeout - killing jackd
zombified - calling shutdown handler
09:07:07.952 Shutdown notification.
09:07:07.953 Client deactivated.
09:07:07.954 JACK was stopped successfully.
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
2) If I change the settings to support capture only it seems to work.
I have not tested that I can actually receive audio as it isn;t
important in my application:
09:07:53.784 JACK is starting...
09:07:53.786 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2 -C
09:07:53.793 JACK was started with PID=6198 (0x1836).
jackd 0.100.5
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... -|hw:2|128|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for capture
09:07:55.902 Server configuration saved to "/home/mark/.jackdrc".
09:07:55.904 Statistics reset.
09:07:55.909 Client activated.
09:07:55.911 Audio connection change.
09:07:55.921 Audio connection graph change.
3) If I set it for playback only it fails with lots of xruns:
09:08:36.228 JACK is starting...
09:08:36.230 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2 -P
09:08:36.248 JACK was started with PID=6205 (0x183d).
jackd 0.100.5
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:2|-|128|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK
will try a 16bit format instead
nperiods = 2 for playback
09:08:38.388 Server configuration saved to "/home/mark/.jackdrc".
09:08:38.390 Statistics reset.
09:08:38.395 Client activated.
09:08:38.397 Audio connection change.
09:08:38.404 Audio connection graph change.
09:08:41.458 XRUN callback (1).
delay of 5809.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5697.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5675.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5675.000 usecs exceeds estimated spare time of 2872.000; restart ...
<SNIP>
delay of 5660.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5665.000 usecs exceeds estimated spare time of 2872.000; restart ...
09:08:42.322 Client deactivated.
09:08:42.323 JACK is stopping...
delay of 5667.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5641.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5734.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5743.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5758.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5683.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5750.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5739.000 usecs exceeds estimated spare time of 2872.000; restart ...
delay of 5769.000 usecs exceeds estimated spare time of 2872.000; restart ...
jack main caught signal 15
delay of 5656.000 usecs exceeds estimated spare time of 2872.000; restart ...
no message buffer overruns
09:08:42.392 JACK was stopped successfully.
The hardware is pretty generic:
gigastudio ~ # lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333 AGP]
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc
CM8738 (rev 10)
0000:00:06.0 Mass storage controller: Promise Technology, Inc.
PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
0000:00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23
IEEE-1394 Controller
0000:00:0d.0 Ethernet controller: Intel Corporation 82557/8/9
[Ethernet Pro 100] (rev 05)
0000:00:0f.0 Multimedia audio controller: Xilinx Corporation RME
Digi9652 (Hammerfall) (rev 08)
0000:00:10.0 Multimedia audio controller: VIA Technologies Inc.
ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 1b)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 1b)
0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 1b)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18
[GeForce4 MX 4000 AGP 8x] (rev c1)
gigastudio ~ #
It runs fine with the Hammerfall:
09:13:57.183 JACK is starting...
09:13:57.185 /usr/bin/jackd -R -P80 -dalsa -dhw:1 -r44100 -p128 -n2
09:13:57.218 JACK was started with PID=6240 (0x1860).
jackd 0.100.5
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:1|hw:1|128|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:1
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
09:13:59.375 Server configuration saved to "/home/mark/.jackdrc".
09:13:59.377 Statistics reset.
09:13:59.500 Client activated.
09:13:59.503 Audio connection change.
09:13:59.510 Audio connection graph change.
It runs fine with the AP2496:
09:14:41.826 JACK is starting...
09:14:41.828 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p128 -n2
09:14:41.845 JACK was started with PID=6247 (0x1867).
jackd 0.100.5
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|128|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
09:14:43.933 Server configuration saved to "/home/mark/.jackdrc".
09:14:43.935 Statistics reset.
09:14:43.941 Client activated.
09:14:43.943 Audio connection change.
09:14:43.951 Audio connection graph change.
Thanks in advance. I hope a developer will look into this sooner
vs. later as this information is likely to get pretty stale not being
in the bug reporting system.
Thanks,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: CMedia 8738 - problems running Jack
2005-10-24 16:24 CMedia 8738 - problems running Jack Mark Knecht
@ 2005-10-24 16:32 ` Mark Knecht
2005-10-24 20:21 ` Dave Cunningham
0 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2005-10-24 16:32 UTC (permalink / raw)
To: alsa-devel
On 10/24/05, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
> I am unable to file any bug reports with the Alsa bug system so I'm
> bringing the info here. Thanks in advance.
>
Thanks to James and Lee this is now files as bug # 1496
https://85.132.177.35/alsa-bug/view.php?id=1496
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-24 16:32 ` Mark Knecht
@ 2005-10-24 20:21 ` Dave Cunningham
2005-10-24 21:55 ` Mark Knecht
0 siblings, 1 reply; 13+ messages in thread
From: Dave Cunningham @ 2005-10-24 20:21 UTC (permalink / raw)
To: alsa-devel; +Cc: Mark Knecht
On Mon, Oct 24, 2005 at 09:32:24AM -0700, Mark Knecht wrote:
>On 10/24/05, Mark Knecht <markknecht@gmail.com> wrote:
>> Hi,
>> I am unable to file any bug reports with the Alsa bug system so I'm
>> bringing the info here. Thanks in advance.
>>
>
>Thanks to James and Lee this is now files as bug # 1496
>
>https://85.132.177.35/alsa-bug/view.php?id=1496
I had and worked-around this problem, see
http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
i.e. run jack with the -o 2 parameter
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-24 20:21 ` Dave Cunningham
@ 2005-10-24 21:55 ` Mark Knecht
2005-10-24 22:38 ` Dave Cunningham
0 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2005-10-24 21:55 UTC (permalink / raw)
To: Dave Cunningham; +Cc: alsa-devel
On 10/24/05, Dave Cunningham <spark@xdev.net> wrote:
> On Mon, Oct 24, 2005 at 09:32:24AM -0700, Mark Knecht wrote:
> >On 10/24/05, Mark Knecht <markknecht@gmail.com> wrote:
> >> Hi,
> >> I am unable to file any bug reports with the Alsa bug system so I'm
> >> bringing the info here. Thanks in advance.
> >>
> >
> >Thanks to James and Lee this is now files as bug # 1496
> >
> >https://85.132.177.35/alsa-bug/view.php?id=1496
>
>
> I had and worked-around this problem, see
>
> http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
>
> i.e. run jack with the -o 2 parameter
>
Dave,
Thanks very much. This does allow Jack to run in duplex mode
without crashing.
Now, as things would have it, I cannot locate a cable to see if the
beast makes noise. Off to the store to buy one I guess.
I'm not sure, in this case, how having more than 2 outputs would
serve me. As far as I can tell the machine only has a stereo output
jack. I have no idea where the other four would be used. Possibly
other machines provide a 5.1 output?
Anyway, thanks.
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-24 21:55 ` Mark Knecht
@ 2005-10-24 22:38 ` Dave Cunningham
2005-10-24 22:46 ` Lee Revell
0 siblings, 1 reply; 13+ messages in thread
From: Dave Cunningham @ 2005-10-24 22:38 UTC (permalink / raw)
To: Mark Knecht; +Cc: alsa-devel
On Mon, Oct 24, 2005 at 02:55:23PM -0700, Mark Knecht wrote:
>On 10/24/05, Dave Cunningham <spark@xdev.net> wrote:
>> On Mon, Oct 24, 2005 at 09:32:24AM -0700, Mark Knecht wrote:
>> >On 10/24/05, Mark Knecht <markknecht@gmail.com> wrote:
>> >> Hi,
>> >> I am unable to file any bug reports with the Alsa bug system so I'm
>> >> bringing the info here. Thanks in advance.
>> >>
>> >
>> >Thanks to James and Lee this is now files as bug # 1496
>> >
>> >https://85.132.177.35/alsa-bug/view.php?id=1496
>>
>>
>> I had and worked-around this problem, see
>>
>> http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
>>
>> i.e. run jack with the -o 2 parameter
>>
>
>Dave,
> Thanks very much. This does allow Jack to run in duplex mode
>without crashing.
No probs, took me weeks to find a solution to this, I tried
every alsa version available on the site to find the point where
it broke, and then diffed the code before i figured that it
might be channel-related :)
> Now, as things would have it, I cannot locate a cable to see if the
>beast makes noise. Off to the store to buy one I guess.
>
> I'm not sure, in this case, how having more than 2 outputs would
>serve me. As far as I can tell the machine only has a stereo output
>jack. I have no idea where the other four would be used. Possibly
>other machines provide a 5.1 output?
Mine has plugs for front / rear / bass+centre, as well as
optical ports that i've never tried
heres a pic of something very similar from the net
http://www.microdirect.co.uk/ProductInfo.aspx?ProductID=8462
and here is lspci -v ouput
0000:03:04.0 Multimedia audio controller: C-Media Electronics
Inc CM8738 (rev 10)
Subsystem: TERRATEC Electronic GmbH: Unknown device 1144
Flags: bus master, medium devsel, latency 32, IRQ 18
I/O ports at b000 [size=256]
Capabilities: [c0] Power Management version 2
I imagine the issue is the number of cards that look very
similar but have different capabilities, and changing the driver
to add support for features of one kind of card will break
others...
It's also pretty confusing why sometimes there are several
stereo pcm devices to access different channels, and sometimes a
single pcm device with multiple alsa "channels". Especially
since this confusion is presented to the user.
You should probably augment the bug report with a link to my
archived jackit-devel post and the work-around, and also provide
more information about exactly what kind of card you have.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-24 22:38 ` Dave Cunningham
@ 2005-10-24 22:46 ` Lee Revell
2005-10-25 0:24 ` Dave Cunningham
0 siblings, 1 reply; 13+ messages in thread
From: Lee Revell @ 2005-10-24 22:46 UTC (permalink / raw)
To: Dave Cunningham; +Cc: Mark Knecht, alsa-devel
On Mon, 2005-10-24 at 23:38 +0100, Dave Cunningham wrote:
> It's also pretty confusing why sometimes there are several
> stereo pcm devices to access different channels, and sometimes a
> single pcm device with multiple alsa "channels". Especially
> since this confusion is presented to the user.
>
It's not confusing at all, it makes perfect sense. If you want to play
stereo out the front speakers use the "front" device. If you want to
play stereo out the rear speakers use the "rear" device. Etc. If you
want to play 5.1 surround out of all 6 speakers use the "surround51"
device.
What could be simpler?
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-24 22:46 ` Lee Revell
@ 2005-10-25 0:24 ` Dave Cunningham
2005-10-25 1:51 ` Lee Revell
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Dave Cunningham @ 2005-10-25 0:24 UTC (permalink / raw)
To: alsa-devel
On Mon, Oct 24, 2005 at 06:46:27PM -0400, Lee Revell wrote:
>On Mon, 2005-10-24 at 23:38 +0100, Dave Cunningham wrote:
>> It's also pretty confusing why sometimes there are several
>> stereo pcm devices to access different channels, and sometimes a
>> single pcm device with multiple alsa "channels". Especially
>> since this confusion is presented to the user.
>>
>
>It's not confusing at all, it makes perfect sense. If you want to play
>stereo out the front speakers use the "front" device. If you want to
>play stereo out the rear speakers use the "rear" device. Etc. If you
>want to play 5.1 surround out of all 6 speakers use the "surround51"
>device.
>
>What could be simpler?
>
>Lee
It would be great if it were like that, but this is how it
appears to me:
name: C-Media PCI DAC/ADC
has 6 channels, only 2 of which seem to work, whereas
name: C-Media PCI 2nd DAC
seems to have 2 channels.
There is another device for IEC958 as well, and there is also a
bunch of mixer controls relating to "four channel mode" and "mic
as rear" etc. It's *very* confusing.
The card is 5.1 and has 3 analogue output jacks, and a pair of
optical ports around the back.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 0:24 ` Dave Cunningham
@ 2005-10-25 1:51 ` Lee Revell
2005-10-25 2:09 ` Mark Knecht
2005-10-25 9:55 ` Takashi Iwai
2 siblings, 0 replies; 13+ messages in thread
From: Lee Revell @ 2005-10-25 1:51 UTC (permalink / raw)
To: Dave Cunningham; +Cc: alsa-devel
On Tue, 2005-10-25 at 01:24 +0100, Dave Cunningham wrote:
> On Mon, Oct 24, 2005 at 06:46:27PM -0400, Lee Revell wrote:
> >On Mon, 2005-10-24 at 23:38 +0100, Dave Cunningham wrote:
> >> It's also pretty confusing why sometimes there are several
> >> stereo pcm devices to access different channels, and sometimes a
> >> single pcm device with multiple alsa "channels". Especially
> >> since this confusion is presented to the user.
> >>
> >
> >It's not confusing at all, it makes perfect sense. If you want to play
> >stereo out the front speakers use the "front" device. If you want to
> >play stereo out the rear speakers use the "rear" device. Etc. If you
> >want to play 5.1 surround out of all 6 speakers use the "surround51"
> >device.
> >
> >What could be simpler?
> >
> >Lee
>
> It would be great if it were like that, but this is how it
> appears to me:
>
> name: C-Media PCI DAC/ADC
>
> has 6 channels, only 2 of which seem to work, whereas
>
> name: C-Media PCI 2nd DAC
>
> seems to have 2 channels.
Tell us how you think the mixer should look then file a feature request.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 0:24 ` Dave Cunningham
2005-10-25 1:51 ` Lee Revell
@ 2005-10-25 2:09 ` Mark Knecht
2005-10-25 2:14 ` Lee Revell
2005-10-25 9:55 ` Takashi Iwai
2 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2005-10-25 2:09 UTC (permalink / raw)
To: Dave Cunningham; +Cc: alsa-devel
On 10/24/05, Dave Cunningham <spark@xdev.net> wrote:
> On Mon, Oct 24, 2005 at 06:46:27PM -0400, Lee Revell wrote:
> >On Mon, 2005-10-24 at 23:38 +0100, Dave Cunningham wrote:
> >> It's also pretty confusing why sometimes there are several
> >> stereo pcm devices to access different channels, and sometimes a
> >> single pcm device with multiple alsa "channels". Especially
> >> since this confusion is presented to the user.
> >>
> >
> >It's not confusing at all, it makes perfect sense. If you want to play
> >stereo out the front speakers use the "front" device. If you want to
> >play stereo out the rear speakers use the "rear" device. Etc. If you
> >want to play 5.1 surround out of all 6 speakers use the "surround51"
> >device.
> >
> >What could be simpler?
> >
> >Lee
>
> It would be great if it were like that, but this is how it
> appears to me:
>
> name: C-Media PCI DAC/ADC
>
> has 6 channels, only 2 of which seem to work, whereas
>
> name: C-Media PCI 2nd DAC
>
> seems to have 2 channels.
>
> There is another device for IEC958 as well, and there is also a
> bunch of mixer controls relating to "four channel mode" and "mic
> as rear" etc. It's *very* confusing.
>
> The card is 5.1 and has 3 analogue output jacks, and a pair of
> optical ports around the back.
>
>
In my case it's a sound chip on an older Asus A7V-266E Motherboard
http://www.mbreview.com/a7v266e.php
The link above says it's a 6-channel sound solution but on my system I
have only a stereo output. I'm guessing that there might have been a
dongle card to get the other outputs out but I've long since lost that
I suppose.
Anyway, after getting some cables this afternoon it appears that on my
system only the left output is working at all, and then it's only
working under Jack. I get no sound (so far) trying to run aplay or
alsaplayer targeted at this device, but I may be doing something wrong
there.
Before you jump at the 'only hte left side' item, the only reason I
even turned this device on after all these years of not using it was
because someone on the PlanetCCRMA list was lookign for help. He also
only gets sound on the left side, so this looks semi-real to me.
Can someone check out and let me know how to run aplay to card #2?
gigastudio ~ # cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xa400, irq 10
1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
gigastudio ~ #
It appears that Dave gets at least stereo from his card. Is this true?
We're not in such (relatively) good shape.
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 2:09 ` Mark Knecht
@ 2005-10-25 2:14 ` Lee Revell
2005-10-25 2:30 ` Mark Knecht
0 siblings, 1 reply; 13+ messages in thread
From: Lee Revell @ 2005-10-25 2:14 UTC (permalink / raw)
To: Mark Knecht; +Cc: Dave Cunningham, alsa-devel
On Mon, 2005-10-24 at 19:09 -0700, Mark Knecht wrote:
> Can someone check out and let me know how to run aplay to card #2?
>
> gigastudio ~ # cat /proc/asound/cards
> 0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
> M Audio Audiophile 24/96 at 0xa400, irq 10
> 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
> RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
> 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
> C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
aplay -D plughw:2,0 file.wav
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 2:14 ` Lee Revell
@ 2005-10-25 2:30 ` Mark Knecht
2005-10-25 3:35 ` Lee Revell
0 siblings, 1 reply; 13+ messages in thread
From: Mark Knecht @ 2005-10-25 2:30 UTC (permalink / raw)
To: Lee Revell; +Cc: Dave Cunningham, alsa-devel
On 10/24/05, Lee Revell <rlrevell@joe-job.com> wrote:
> On Mon, 2005-10-24 at 19:09 -0700, Mark Knecht wrote:
> > Can someone check out and let me know how to run aplay to card #2?
> >
> > gigastudio ~ # cat /proc/asound/cards
> > 0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
> > M Audio Audiophile 24/96 at 0xa400, irq 10
> > 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
> > RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
> > 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
> > C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
>
> aplay -D plughw:2,0 file.wav
>
> Lee
Thanks. I thought plughw went through some processing - for resampling
or something. Is that not true? And if so, how do I go to the device
directly? (aplay -D hw:2,0?)
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 2:30 ` Mark Knecht
@ 2005-10-25 3:35 ` Lee Revell
0 siblings, 0 replies; 13+ messages in thread
From: Lee Revell @ 2005-10-25 3:35 UTC (permalink / raw)
To: Mark Knecht; +Cc: Dave Cunningham, alsa-devel
On Mon, 2005-10-24 at 19:30 -0700, Mark Knecht wrote:
> On 10/24/05, Lee Revell <rlrevell@joe-job.com> wrote:
> > On Mon, 2005-10-24 at 19:09 -0700, Mark Knecht wrote:
> > > Can someone check out and let me know how to run aplay to card #2?
> > >
> > > gigastudio ~ # cat /proc/asound/cards
> > > 0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
> > > M Audio Audiophile 24/96 at 0xa400, irq 10
> > > 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
> > > RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
> > > 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
> > > C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
> >
> > aplay -D plughw:2,0 file.wav
> >
> > Lee
>
> Thanks. I thought plughw went through some processing - for resampling
> or something. Is that not true? And if so, how do I go to the device
> directly? (aplay -D hw:2,0?)
It does. I recommended hw:2,0 because most of the .wav files people
have sitting around are 44100 Hz, and some cheap onboard hardware can
only do 48000Hz.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: CMedia 8738 - problems running Jack
2005-10-25 0:24 ` Dave Cunningham
2005-10-25 1:51 ` Lee Revell
2005-10-25 2:09 ` Mark Knecht
@ 2005-10-25 9:55 ` Takashi Iwai
2 siblings, 0 replies; 13+ messages in thread
From: Takashi Iwai @ 2005-10-25 9:55 UTC (permalink / raw)
To: Dave Cunningham; +Cc: alsa-devel
At Tue, 25 Oct 2005 01:24:20 +0100,
Dave Cunningham wrote:
>
> On Mon, Oct 24, 2005 at 06:46:27PM -0400, Lee Revell wrote:
> >On Mon, 2005-10-24 at 23:38 +0100, Dave Cunningham wrote:
> >> It's also pretty confusing why sometimes there are several
> >> stereo pcm devices to access different channels, and sometimes a
> >> single pcm device with multiple alsa "channels". Especially
> >> since this confusion is presented to the user.
> >>
> >
> >It's not confusing at all, it makes perfect sense. If you want to play
> >stereo out the front speakers use the "front" device. If you want to
> >play stereo out the rear speakers use the "rear" device. Etc. If you
> >want to play 5.1 surround out of all 6 speakers use the "surround51"
> >device.
> >
> >What could be simpler?
> >
> >Lee
>
> It would be great if it were like that, but this is how it
> appears to me:
>
> name: C-Media PCI DAC/ADC
>
> has 6 channels, only 2 of which seem to work,
Hmm, it may depend on the chip model.
There are quite many models of CMIPCI...
> whereas
>
> name: C-Media PCI 2nd DAC
>
> seems to have 2 channels.
It's a rear DAC shared with ADC, i.e. if you use this DAC, you cannot
record at the same time.
> There is another device for IEC958 as well, and there is also a
> bunch of mixer controls relating to "four channel mode" and "mic
> as rear" etc. It's *very* confusing.
"Mic As Rear" etc are deprecated and replaced with "Line-In Mode" and
"Mic-In Mode" controls. See CMIPCI.txt for details.
"Four Channel Mode" switch is to turn on the signal duplication from
front to rear.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-10-25 9:55 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 16:24 CMedia 8738 - problems running Jack Mark Knecht
2005-10-24 16:32 ` Mark Knecht
2005-10-24 20:21 ` Dave Cunningham
2005-10-24 21:55 ` Mark Knecht
2005-10-24 22:38 ` Dave Cunningham
2005-10-24 22:46 ` Lee Revell
2005-10-25 0:24 ` Dave Cunningham
2005-10-25 1:51 ` Lee Revell
2005-10-25 2:09 ` Mark Knecht
2005-10-25 2:14 ` Lee Revell
2005-10-25 2:30 ` Mark Knecht
2005-10-25 3:35 ` Lee Revell
2005-10-25 9:55 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.