Boss RC-300 loopstation (no audio)

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

digikwondo
Established Member
Posts: 10
Joined: Wed Jun 07, 2017 11:06 pm

Boss RC-300 loopstation (no audio)

Post by digikwondo »

Hi All

so i got myself a Boss RC-300 loop station, its amazingly fun and totally worth going through
June almost broke ass ;P

i was hoping to be able to record whatever flows through it when its used .
unable to accomplish this is looked arround and found a older post in a different
part of this forum. viewtopic.php?f=4&t=16499

but its gone cold so i decided to try to ask here in the hardware thread.

actually did not know what to expect in terms of audio interface capability terms, maby i will dwell into that at a later point. but for now my mission is to simply see if there is a "MAIN" out over usb into linux to facilitate live recording.

My System
distro: Arch Linux
Kernel* : 4.9.31-1-lts #1 x86_64 GNU/Linux
RAM: 4GB
CPU: intel dual core @ 2.53GHz
HDD: 250GB SSD

(EDIT)Boss RC-300 reference
windows/mac drivers : https://www.boss.info/us/support/by_pro ... s_drivers/
Manuall : https://www.boss.info/us/support/by_pro ... s_manuals/

* i also compiled and installed the "4.9.30-rt20-1-rt" kernel last night.
my trusty 10 year old weather beaten laptop made it in only 5 hours this time ;P

output bellow is with the linux-rt kernel

when i plug in the RC-300 i get these outputs

dmesg

Code: Select all

usb 2-4: new high-speed USB device number 3 using ehci-pci
[39171.936366] usb 2-4: Unable to change format on ep #8e: already in use
[39171.936463] usb 2-4: Unable to change format on ep #8e: already in use
[39171.936492] usb 2-4: Unable to change format on ep #8e: already in use
[39171.936786] usb 2-4: Unable to change format on ep #8e: already in use
[39171.937049] usb 2-4: Unable to change format on ep #8e: already in use
[39171.937858] usb 2-4: Unable to change format on ep #8e: already in use
[39171.937889] usb 2-4: Unable to change format on ep #8e: already in use
cat /proc/asound/cards

Code: Select all

                                                                                                                    
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc620000 irq 29
 1 [RC300          ]: USB-Audio - RC-300
                      BOSS RC-300 at usb-0000:00:1d.7-4, high speed
aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: RC300 [RC-300], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lsusb -v

Code: Select all



Bus 002 Device 002: ID 0582:0138 Roland Corp. Boss RC-300 (Audio mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0        64
  idVendor           0x0582 Roland Corp.
  idProduct          0x0138 Boss RC-300 (Audio mode)
  bcdDevice            0.00
  iManufacturer           1 BOSS
  iProduct                2 RC-300
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          176
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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        1
      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 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0d  EP 13 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      1 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      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 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  06 24 f1 02 01 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEcan't get debug descriptor: Resource temporarily unavailable
ndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered


in the gnome sounds settings i can see 2 RC-300 devices popping up
i try the following configuration. with no sound from my rc300 with either option.

Image
Image

since it dosent work i select the stadard mic input (witch is muted)

and instead try to run jack (through cadence) with the RC-300 as Alsa input. and
my i get this in messages

Code: Select all

Sun Jun 11 12:26:04 2017: Starting jack server...
Sun Jun 11 12:26:04 2017: JACK server starting in realtime mode with priority 10
Sun Jun 11 12:26:04 2017: self-connect-mode is "Don't restrict self connect requests"
Sun Jun 11 12:26:05 2017: Acquired audio card Audio1
Sun Jun 11 12:26:05 2017: Acquired audio card Audio0
Sun Jun 11 12:26:05 2017: creating alsa driver ... hw:Intel,0|hw:RC300,0|1024|2|96000|2|2|nomon|swmeter|-|32bit
Sun Jun 11 12:26:05 2017: configuring for 96000Hz, period = 1024 frames (10.7 ms), buffer = 2 periods
Sun Jun 11 12:26:05 2017: ALSA: final selected sample format for capture: 32bit integer little-endian
Sun Jun 11 12:26:05 2017: ALSA: use 2 periods for capture
Sun Jun 11 12:26:05 2017: ALSA: final selected sample format for playback: 32bit integer little-endian
Sun Jun 11 12:26:05 2017: ALSA: use 2 periods for playback
Sun Jun 11 12:26:10 2017: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Sun Jun 11 12:26:10 2017: ERROR: Driver is not running
Sun Jun 11 12:26:10 2017: ERROR: Cannot open client name = dbusapi
Sun Jun 11 12:26:10 2017: ERROR: failed to create dbusapi jack client
Sun Jun 11 12:26:10 2017: ERROR: Unknown request 4294967295
Sun Jun 11 12:26:10 2017: ERROR: CheckSize error size = 0 Size() = 12
Sun Jun 11 12:26:10 2017: ERROR: CheckRead error
i suspect its a "driver" issue and would like to try do some wireshark usb debugging
but as i nither have a Mac or a windows box where i can run the official drivers
and i doubt this pc can handle a windows vm.

but before i go buy a better laptop i would hope to check if someone else
had solved this problem before. any input is greatly appreciated!

Peace
Digikwondo
Last edited by digikwondo on Mon Jun 12, 2017 7:57 pm, edited 1 time in total.
Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Boss RC-300 loopstation (no audio)

Post by Jack Winter »

I'm the maintainer of the rt kernel on aur. I must admit that I've had some problems lately and I think they are due to some conflict in the kernel with userland. Problems have ranged from KDE not starting and having several threads racing, to having to cold boot both my computer and my multiface to get the multiface working. Am running the 4.4-rt-lts kernel right now, and problems have appear to have disappeared (though I don't boot often).

Maybe worth first to check if the soundcard works with the main distro kernel, and if so try the -rt-lts kernel.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
digikwondo
Established Member
Posts: 10
Joined: Wed Jun 07, 2017 11:06 pm

Re: Boss RC-300 loopstation (no audio)

Post by digikwondo »

Thanks for the reply Jack . il go ahead and try the rt-lts next .
will get back with a update when time allow.

peace
Digikwondo
digikwondo
Established Member
Posts: 10
Joined: Wed Jun 07, 2017 11:06 pm

Re: Boss RC-300 loopstation (no audio)

Post by digikwondo »

hello again, so have now tried the following Arch Linux kernels

linux 4.11.3-1
linux-lts 4.9.31-1 (what i usually use)
linux-rt 4.9.30_rt20-1
linux-rt-lts 4.4.70_rt83-1

so i am definitely more convinced the issue is that the linux Kernels dont support
this specific interface. (apart from midi witch shows up in catarina with kernel linux-lts 4.9.31-1 )

here is lsusb -v with linux-rt-lts 4.4.70_rt83-1

Code: Select all



Bus 002 Device 002: ID 0582:0138 Roland Corp. Boss RC-300 (Audio mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0        64
  idVendor           0x0582 Roland Corp.
  idProduct          0x0138 Boss RC-300 (Audio mode)
  bcdDevice            0.00
  iManufacturer           1 BOSS
  iProduct                2 RC-300
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          176
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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        1
      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 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0d  EP 13 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      1 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      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 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  06 24 f1 02 01 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEcan't get debug descriptor: Resource temporarily unavailable
ndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol       255 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered


i belive these errors are the cause

(turncated from the lsusb output above (lsusb -v | grep "*"))

Code: Select all

 ** UNRECOGNIZED:  06 24 f1 01 00 00
      ** UNRECOGNIZED:  07 24 01 01 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 04 18 01 44 ac 00
      ** UNRECOGNIZED:  07 24 01 07 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 04 18 01 44 ac 00
      ** UNRECOGNIZED:  06 24 f1 02 01 01
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
so i guess only way to fix this is to write some code . (kernel usb driver?)
but feel free to prove me wrong :)

anyone out there with any other Boss usb product that works ?

Peace
Digikwondo
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss RC-300 loopstation (no audio)

Post by neilnardlenoo »

Digikwondo,

Good news and bad from me! I just posted (viewtopic.php?f=6&t=17248) on the Boss Micro BR-80. Good news was, yes, I've had it working as a USB audio interface. Bad news... since I upgraded my OS (from fedora 17 (kernel 3...) to 25 (kernel 4), I've not been able to get a peep out of it, or record anything. I'm thinking, for me too, it must be the Linux kernel version. If I figure anything out I'll post, in case it helps you too.

thanks.
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Boss RC-300 loopstation (no audio)

Post by Drumfix »

The RC-300 runs at 16bit/44100 only.

Use samplerate 44100 and probably the option "force 16-bit"
The endpoint descriptors are for 44100 only (ac44). Running jack with 96000 won't work.
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss RC-300 loopstation (no audio)

Post by dormirj »

hello there,

facing the same issue on a lenovo x200 tablet, running ubuntu studio with 4.8.0-36-lowlatency kernel. so from the other thread i assume i somehow have to re-add a few quirks to the kernel that were removed a while ago? i wrote an email to clemens ladisch, but he hasnt replied yet.

greetings-
dormir/
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss RC-300 loopstation (no audio)

Post by dormirj »

okay, what i tried now is the following:

replaced the quirks-table from my current kernel (~4.8.1) with one from a kernel before the presumed 'breaking change' (somewhere around 3.10-3.12) and build the kernel. but alas, now it does not even recognize the device in alsa... so either this was not what actually broke the functionality or i did something wrong - although i'm not sure what this could've been since i used my current conf with my current kernel, so...

anyway, now i'd like to test out drumfix' personal patch method, but i'm not quite sure what i'd need to change in the jdxi-patch file other than the name, so what am i looking for specifically?

greetings and thanks to all involved so far;
Attachments
lsusbv.txt
(6.02 KiB) Downloaded 118 times
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss RC-300 loopstation (no audio)

Post by neilnardlenoo »

dormirj,

Not claiming any expertise (especially given I'm still failing to get my BOSSBR-80 working!) but I think that, other than the text name bits, you should just need to change the vendor id and product id to match the values in your lsusb output... looking at your file, it would be the 0x0582 (which should already be there in the patch file as that's the "Boss" bit) and 0x0138 instead of drumfix's 0x0181. So....

USB_DEVICE(0x0582, 0x0138),
instead of
USB_DEVICE(0x0582, 0x0181),

I'm guessing some of the other details are product specific and that might be why this hasn't worked for me, especially given the differences in the patch against the settings in the quirk file from my old (working) kernel (which also still doesn't work when I use it in this kernel), but at this point I don't know what other settings I'd try - more research required.

If those changes still don't work for you, then rather than using your old quirks file or the patch, a third option (again it didn't work for me!) might be finding just the section of the original quirks file that relates to your device and adding that to the new one (i.e. patching it manually with the details that used to work, rather than using the details for a different product or the whole, old file). The most annoying bit it having to recompile the whole kernel to try one quirk change, but I've not managed to successfully get just the driver compiled and loaded on its own yet.

Anyway - I'm going to try drumfix's midi suggestion next - hope you have better luck than me !
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss RC-300 loopstation (no audio)

Post by dormirj »

thanks a lot for your reply!

i'm going to have a stab at your suggestions, the last things i tried was "guessing" my own quirks table entry from the lsusb output, but it seems like a fools errand, since all of the interfaces on the rc-300 are just recognized as "Vendor Specific Class" currently. i don't believe that a carbon copy of drumfix' patch will work since the rc-300 seems to have for once a different number of interfaces and i assume a different layout, but i will try it tonight.

i've also naturally taken a look at the old quirks file and there doesnt seem to be an entry for the rc-300 at all, so i don't know if it, too, like the br-80 worked at some point out of the box, what i did find though was this obscure post on the gmane alsa development newsgroup concerning someone having written a patch that made audio work, but not midi. i have no idea though if there is a way to access this supposed attachment, so maybe someone with newsgroup experience knows a way to get this myth enshrouded file?

http://thread.gmane.org/gmane.linux.alsa.devel/104190

anyway, i'll keep posting if i find out anything interesting or make useful progress.
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Boss RC-300 loopstation (no audio)

Post by Drumfix »

I've attached a patch for the RC-300 based on the output of your lsusb -v output above.

I'm not sure about the channels (1 or 2 ?) and the format (SNDRV_PCM_FMTBIT_S16_LE or SNDRV_PCM_FMTBIT_S32_LE ?)
Attachments
boss-rc-300.txt
(1.79 KiB) Downloaded 122 times
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss RC-300 loopstation (no audio)

Post by dormirj »

thanks for your writeup drumfix! my approach was going in a similar direction, but it was a lot less thorough, still i must sadly say that it did not change the situation, it still produces the "Unable to change format on ep #8e: already in use" message and does not produce sound and of course jack still crashes when you try to run it, so hopefully this just needs some tweaking...

now what's left to guess-
- any idea what interface0 actually is?
- i would assume 16bit to be correct since it is stated in the manual to be the format for recording and playback
- did you guess 2 channels because of stereo?
- why did you choose the altsetting for both interface 1 and 2

i'll keep on trying, but it takes a lot of time to build the kernel on my machine sadly, so progress is slow.

greetings;;
-dormir
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Boss RC-300 loopstation (no audio)

Post by Drumfix »

My patch is based on the information of the lsusb -v output.

Just read the file top to bottom.


interface 1, altsetting 0, num endpoints 0
interface 1, altsetting 1, num endpoints 1 isochronous

same for interface 2

On the JD-Xi the wMaxPacketSize is 112 bytes with format SNDRV_PCM_FMTBIT_S32_LE and 2 channels.
The Boss uses only 56 bytes, so my guess is 2 channels (=stereo) at 16 bits (SNDRV_PCM_FMTBIT_S16_LE),
but could as well be 1 channel at SNDRV_PCM_FMTBIT_S32_LE.

Caution, if it uses 16 bit then in jack the "force 16 bits" must be set.

As a start you could remove the .formats and .channels parts of the patch.

And then there is the MIDI IN that always must be read. Otherwise the JD-Xi is completely unusable (frozen).

The simple way to force the midi in to be read is to use midi driver = seq in jack.

BTW with the JD-Xi the "unable to change format on ep ..." stops as soon as the midi in is active.
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss RC-300 loopstation (no audio)

Post by dormirj »

okay... i feel like slowly running out of things to test.

from your experience with the midiport on the jd-xi i've had the idea that maybe devices with both midi and audio-ports block each other if they arent addressed in a very specific way, so i tried your suggestions with feeding the midi-in and also tried out a quirk entry where i just told alsa to ignore the midi port and only take in the audioports, but in both situations it all seems to stay the same, just with a lack of the midiport.

but now i've also found an instance of someone with a roland device that doesnt have midi ports with a similar problem (roland r-26) and also the br-80 doesnt have a midiport i think? so maybe this was the wrong path to go for the rc-300, so i'm not sure why this is happening with the jd-xi... i've been in contact with the person who wrote that patch on the gmane newsgroup, i'll attach his patch just for reference, but it's basically in the same vein that we are working on it now.

on to the topic at hand now, i find it curious that for me (i dont know about the other rc-300 users) the "unable to change format"-message pops up a bunch of times when i boot up the rc-300 and i think #8e is the audio out interface, but then stops, does this mean that linux stops trying or that the usb-part of the device locks up? the device itself seems to work as usual with/ or without usb plugged in, so i dont think its the latter?

on a completely different note, i wonder what firmware versions of the rc-300 the other people here might have, for me its:
ver 1.10 / 1840 / uver 1.01 (strangely enough that is actually newer than what you can get on the official boss site?).

greetings;;
dormir/-
Attachments
rc-300_js_reynaud.diff.txt
(1 KiB) Downloaded 108 times
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Boss RC-300 loopstation (no audio)

Post by Drumfix »

This looks strange. I start to suspect that you have pulseaudio running in the background and that is preventing you from using your device...
Post Reply