Re: [linux-audio-user] yamaha rp-u200 usb-audio and jack

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] yamaha rp-u200 usb-audio and jack
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Tue Feb 17 2004 - 12:38:04 EET


jaap wrote:
> cat /proc/asound/card0/stream0:
>
> YAMAHA Corporation YAMAHA RP-U200 USB Audio at usb-00:04.2-1.4 : USB Audio
>
> Playback:
> Status: Stop
> Interface 1
> Altset 1
> Format: S16_LE
> Channels: 4
> Endpoint: 1 OUT (ADAPTIVE)
> Rates: 44100, 48000

Four channels output, and no input.

> cat /proc/asound/card0/stream1:
>
> YAMAHA Corporation YAMAHA RP-U200 USB Audio at usb-00:04.2-1.4 : USB Audio #1
>
> Playback:
> Status: Stop
> Interface 1
> Altset 2
> Format: U8
> Channels: 1
> Endpoint: 1 OUT (ADAPTIVE)
> Rates: 48000

mono 8-bit data? I guess this one isn't PCM format, otherwise ALSA
wouldn't have put it into a separate PCM device.

> Capture:
> Status: Stop
> Interface 2
> Altset 1
> Format: S16_LE
> Channels: 2
> Endpoint: 1 IN (ASYNC)
> Rates: 44100, 48000
> Interface 2
> Altset 2
> Format: S24_3LE
> Channels: 2
> Endpoint: 1 IN (ASYNC)
> Rates: 44100, 48000

16-bit or 24-bit stereo.

> jackstart -Rv -d alsa -d hw:0,0 : #for hw:0,0
> ...
> creating alsa driver ... hw:0,0|hw:0,0|1024|2|48000|0|0|nomon|swmeter|rt|32bit
> ALSA lib pcm_hw.c:1078:(snd_pcm_hw_open) open /dev/snd/pcmC0D0c failed: No such file or directory

hw:0,0 doesn't have capture, and playback has 4 channels.

> jackstart -Rv -d alsa -d hw:0,1 : #for hw:0,1
> ...
> creating alsa driver ... hw:0,1|hw:0,1|1024|2|48000|0|0|nomon|swmeter|rt|32bit
> Couldn't open hw:0,1 for 32bit samples trying 24bit instead
> Couldn't open hw:0,1 for 32bit samples trying 24bit instead
> Couldn't open hw:0,1 for 24bit samples trying 16bit instead
> Sorry. The audio interface "hw:0,1" doesn't support any of the
> hardware sample formats that JACK's alsa-driver can use.

8 bit samples aren't supported by jack.

You have to use hw:0,0 for playback and hw:0,1 for capture.

HTH
Clemens


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Feb 17 2004 - 12:36:38 EET