[LAD] USB device dmesg error

From: <tom@email-addr-hidden>
Date: Mon Sep 02 2013 - 05:49:25 EEST

Good morning

i'm trying to use a Roland R-26 as audio interface (USB).

I saw it is now officially supported in the alsa-driver repo log:

commit aa47d6014f7011b335345ce14836efe358b0cfe5
Author: Clemens Ladisch <clemens@email-addr-hidden>
Date: Sun Mar 31 23:43:12 2013 +0200

    ALSA: usb-audio: add support for many Roland/Yamaha devices

    Add quirks to detect the various vendor-specific descriptors used by
    Roland and Yamaha in most of their recent USB audio and MIDI devices.

...
...
 - Roland R-26 Recorder

So i cloned the alsa-driver repo (branch release) and run ./gitcompile.
Everything looks good and alsa force-reload worked.

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.25.
Compiled on Sep 2 2013 for kernel 3.2.0-39-lowlatency (SMP).

When the device is plugged in and selected to act as an audio interface,
dmesg says (debug=verbose):

[ 5642.186130] usb 1-5.1: new high-speed USB device number 8 using ehci_hcd
[ 5642.391666] snd-usb-audio: probe of 1-5.1:1.0 failed with error -5
[ 5642.392403] ALSA stream.c:711 >8:1:1: add audio endpoint 0xd
[ 5642.392775] ALSA stream.c:711 >8:2:1: add audio endpoint 0x8e
[ 5642.394385] usbcore: registered new interface driver snd-usb-audio

$ lsusb | grep Roland
Bus 001 Device 008: ID 0582:013e Roland Corp.

$ cat /proc/asound/cards
 0 [R26AUDIO ]: USB-Audio - R-26(AUDIO)
                      Roland R-26(AUDIO) at usb-0000:00:0b.1-5.1, high speed

After compile, there is a clear warning:
WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.

-> alsamixer says "This sound device does not have any controls." so i
can't unmute anything there.

$ aplay a.wav
Playing WAVE 'rabe_babe.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo

-> there are no errors, but it stays like this (a.wav is a few seconds)
forever and there is no volume indication "from PC" on the device.

$ arecord -f cd b.wav
Recording WAVE 'b.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

-> no errors but the file is empty (44 bytes), the device shows active mic
level "to PC"

It doesn't work for input or output but i guess it's near working. The
only error is in dmesg (error -5 ?). Were could i go from here? Any hint
is welcome

Best regards,
Thomas

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Sep 2 16:15:03 2013

This archive was generated by hypermail 2.1.8 : Mon Sep 02 2013 - 16:15:04 EEST