make Roland Cakewalk UA-1G USB soundcard

I’ve just bought a Roland Cakewalk UA-1G USB soundcard and I’m trying to get it to work. I don’t understand much about the sound system in Linux so I’ve just been poking things at random to see what works, but without much success. So here’s the state of play and I’d I’d welcome any suggestions on how to get it working.

I’m running opensuse 11.3 with kernel 2.6.34.7-0.7-desktop.

I’ve plugged a mic and phones into it and when I plug it into a USB port on my Linux box, the red USB light on the device comes on and I can hear the mic using the phones. So I think the hardware is working. I have it switched to advanced mode.

lsusb -v shows:


Bus 002 Device 002: ID 0582:00e9 Roland Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0         8
  idVendor           0x0582 Roland Corp.
  idProduct          0x00e9 
  bcdDevice            1.00
  iManufacturer           1 Roland
  iProduct                2 UA-1G
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          115
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      2 
      iInterface              0 
      ** UNRECOGNIZED:  06 24 f1 01 00 00
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      2 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 01 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 03 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0120  1x 288 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      1 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      1 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 07 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 03 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0120  1x 288 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)

/proc/asound has this:


# ls -l /proc/asound/
total 0
dr-xr-xr-x 7 root root 0 2011-02-20 16:48 card0
dr-xr-xr-x 2 root root 0 2011-02-20 16:48 card1
-r--r--r-- 1 root root 0 2011-02-20 16:48 cards
-r--r--r-- 1 root root 0 2011-02-20 16:48 devices
-r--r--r-- 1 root root 0 2011-02-20 16:48 hwdep
-r--r--r-- 1 root root 0 2011-02-20 16:48 modules
dr-xr-xr-x 2 root root 0 2011-02-20 16:48 oss
-r--r--r-- 1 root root 0 2011-02-20 16:48 pcm
dr-xr-xr-x 2 root root 0 2011-02-20 16:48 seq
-r--r--r-- 1 root root 0 2011-02-20 16:48 timers
lrwxrwxrwx 1 root root 5 2011-02-20 16:48 UA1G -> card1
lrwxrwxrwx 1 root root 5 2011-02-20 16:48 V8237 -> card0
-r--r--r-- 1 root root 0 2011-02-20 16:48 version

# ls -l /proc/asound/card*
-r--r--r-- 1 root root 0 2011-02-20 16:48 /proc/asound/cards

/proc/asound/card0:
total 0
dr-xr-xr-x 2 root root 0 2011-02-20 16:48 codec97#0
-r--r--r-- 1 root root 0 2011-02-20 16:48 id
-rw-r--r-- 1 root root 0 2011-02-20 16:48 oss_mixer
dr-xr-xr-x 3 root root 0 2011-02-20 16:48 pcm0c
dr-xr-xr-x 6 root root 0 2011-02-20 16:48 pcm0p
dr-xr-xr-x 3 root root 0 2011-02-20 16:48 pcm1c
dr-xr-xr-x 3 root root 0 2011-02-20 16:48 pcm1p
-r--r--r-- 1 root root 0 2011-02-20 16:48 via82xx

/proc/asound/card1:
total 0
-r--r--r-- 1 root root 0 2011-02-20 16:48 id
-rw-r--r-- 1 root root 0 2011-02-20 16:48 oss_mixer
-r--r--r-- 1 root root 0 2011-02-20 16:48 usbbus
-r--r--r-- 1 root root 0 2011-02-20 16:48 usbid

I don’t really understand what any of that information means. I can’t seem to find the device with any GUI applications. It doesn’t show up in audacity or in the YaST Sound tool or in banshee. It does show up in alsamixer but I haven’t figured out any meaningful use for that.

Thanks for any help.

There was an old wiki that gave advice on USB sound devices here: USB headphones - openSUSE but it has not been maintained by anyone with a USB sound device.

Note that dependant on whether one boots the PC with the USB sound device already plugged in (before the boot) or plugs in the USB sound device AFTER the PC has booted, will result in different behaviour.

IMHO a superior source of diagnostic information, than what you provided, for audio devices, is to run the diagnostic script that is included with alsa (when the USB device is plugged in):

/usr/sbin/alsa-info.sh 

I’m a bit surprised that when plugged in, the device is not recognized under YaST > Hardware > Sound.

Well, maybe not so surprised now after reading this on the alsa website: Cakewalk UA-1G - ALSA wiki where it states:

The Roland Cakewalk UA-1G is not yet supported by Alsa.

It appears to me this could be a challenge and not a simply point and click solution.

I do note when searching for cakewalk on the alsa web page, a hit on the update list when going from 1.0.23 of alsa to 1.0.24 of alsa: Detailed changes v1.0.23 v1.0.24 - AlsaProject where the update says:

Add a quirk for the Roland/Cakewalk A-300PRO/A-500PRO/A-800PRO keyboards. 
- ALSA: usb-audio: add Edirol PCR-1 PCM support 

and based on that it suggests to me that you could consider updating to the latest version of alsa, where there is an out of date guide as to how to update here: SDB:Alsa-update - openSUSE (where I am guilty of not updating that guide). Still, the general philosophy as to how to update that guide can be done.

WRT Audacity, for example are you looking under Edit>Preferences>Devices>Playback? That’s where I would pick up my usb connected effects processor.

It should show up there under both Devices>Playback and >Recording dropdown lists.

In any case, I might expect your usb connected device to show up in KDE System Settings>Multimedia>Device Preferences tab, listed under both Audio Output and Audio Capture. That is also where my usb connected guitar effects processor shows.

Anserwing this first because it’s quicker :slight_smile:

No It doesn’t show up. The shorter list, and the one I’m most interested in, is Recording and the entries in that list are VIA8237 twice, pulse and default. And FWIW, I’m running Gnome rather than KDE, sorry.

Hm, the forum quoting is not showing what you quoted. WTF? Anyway, I was relying on Re: Roland(Edirol) Cakewalk UA-1G ALSA support – Linux Audio Users which indicates kernel 2.6.33 is what I needed, but I guess that shows how much I know. Thanks for that reference; it’ll take me a while to read it carefully.

It appears to me this could be a challenge and not a simply point and click solution.

Oh, dear :frowning:

I do note when searching for cakewalk on the alsa web page, a hit on the update list when going from 1.0.23 of alsa to 1.0.24 of alsa

I may well try that after I’ve digested the alsa page. I’d found Matrix:Vendor-Roland Edirol - AlsaProject but I wonder why that doesn’t link to the page you indicated. Ah well.

Big thanks to you and consused for your help. I’ll let you know how I get on.

I ran this. If it helps, the output is at http://www.alsa-project.org/db/?f=3a3fdb59091197a1a7b7c90b47daa45a8cb9c1b2

Cheers, Dave

Ok I have Gnome elsewhere, but was on KDE at the time and now on 11.4-RC1 where that usb device of mine also shows up in Yast>Hardware>Sound, but is unconfigured as a soundcard (it isn’t one). Although it offers to configure it as such I’ve never needed to do that to use it for recording/playback. Assume it will also show on 11.3 in Yast. It looks to me that your problem is as oldcpu suggested. :slight_smile:

The alsa package on 11.4 RC1 is at

alsa-1.0.24.1-2.1.x86_64

.
Could be worth a go (Gnome liveCD). :wink:

The script tells me a little. … your USB sound card is recognized as the second card …

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with ALC655 at 0xac00, irq 22
 1 [UA1G           ]: USB-Audio - UA-1G
                      Roland UA-1G at usb-0000:00:10.0-1, full speed

but the software mixer controls look pretty crippled


!!-------Mixer controls for card 1 [UA1G]

Card hw:1 'UA1G'/'Roland UA-1G at usb-0000:00:10.0-1, full speed'
  Mixer name	: ''
  Components	: 'USB0582:00e9'
  Controls      : 0
  Simple ctrls  : 0

I don’t know anything about this device. Are all controls supposed to be hardware only (ie on the device) ?

You could try the openSUSE 11.4 RC1 Gnome liveCD and see if it provides superior behaviour. If it does , then try updating your openSUSE-11.3 to 1.0.24 of alsa (which is the same version on the 11.4 RC1 liveCD).

oldcpu wrote:
> djh-novell;2292864 Wrote:
>> I ran this. If it helps, the output is at http://tinyurl.com/4zrbcm6
>>
> The script tells me a little. … your USB sound card is recognized as
> the second card …
> but the software mixer controls look pretty crippled
>
> I don’t know anything about this device. Are all controls supposed to
> be hardware only (ie on the device) ?

Yes, that’s right. It’s basically a high-quality (24-bit 96 kHz) stereo
A/D & D/A with various I/O sockets and analogue level controls (i.e.
pots) and a USB interface. I care about the audio quality and price, but
not about software control.

> You could try the openSUSE 11.4 RC1 Gnome liveCD and see if it provides
> superior behaviour. If it does , then try updating your openSUSE-11.3
> to 1.0.24 of alsa (which is the same version on the 11.4 RC1 liveCD).

Yes, I might do that. A preliminary skim through various docs,
especially that one you pointed to, make me think I might get away wth
tweaking some settings at least for starters. That page is a year old,
BTW, so things may have changed. More later … :slight_smile:

I wrote:
> More later … :slight_smile:

Just a quick update. Last night I switched the UA-1G into standard mode
(i.e. 16 bits, <= 48 kHz) and it worked out of the box. I can at least
record to CD or DAT standard. So that gives me a better basis to
investigate advanced mode now …

Cheers, Dave

Dave Howorth wrote:
> Just a quick update. Last night I switched the UA-1G into standard mode
> (i.e. 16 bits, <= 48 kHz) and it worked out of the box. I can at least
> record to CD or DAT standard. So that gives me a better basis to
> investigate advanced mode now …

OK, SOLVED, it all works under Knoppix 6.4.3 or 6.4.4

I’ll try it under opensuse 11.4 as and when I upgrade to that.

Hmmmm … if I had to lay money I would say the odds would be improved it you tested the openSUSE-11.4 RC2 liveCD to see if it works there, and if it does not work, raise a bug report on openSUSE-11.4.

The sound packager for SuSE-GmbH is an alsa developer, and hence bug reports on component sound on openSUSE help all Linux versions.