Boss Micro BR-80

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

Moderators: MattKingUSA, khz

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

Re: Boss Micro BR-80

Post by neilnardlenoo »

oh and ignore the duplicated ".data = (const struct snd_usb_audio_quirk[]) {" line in the my_quirk file - bad copy/paste that I sorted when I tried it for real.
singforme
Established Member
Posts: 127
Joined: Sat Dec 31, 2016 1:58 pm
Contact:

Re: Boss Micro BR-80

Post by singforme »

Thank you neilnardlenoo!
I think I'm not quite ready yet to work on these files myself. My current "strategy": i've installed a double boot with Ubuntu studio 12.04 which supports the device. Not very elegant but my hope would be to kick it out as soon as the kernel is ready again for the boss :mrgreen:
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss Micro BR-80

Post by neilnardlenoo »

singforme,

In case it's still of any interest, thanks to Drumfix, I've now got my BR80 working on the new kernel.

The details so far are on the the similar thread for the Boss RC-300 .....

https://www.linuxmusicians.com/viewtopi ... 958#p83958

but basically he identified some erroneous behaviour in the device initiation and offered a teak to the pcm.c code to stop it.

Neil
singforme
Established Member
Posts: 127
Joined: Sat Dec 31, 2016 1:58 pm
Contact:

Re: Boss Micro BR-80

Post by singforme »

Neil, that's pretty cool! It's it easy enough to do for a non hacker like me :wink: ?
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss Micro BR-80

Post by neilnardlenoo »

Singforme, yep, not too tricky - it's basically the same steps as you did last time to compile a new version of the snd-usb-audio kernel module (the ones on http://org0ne.livejournal.com/29979.html ), but instead of changing the quirks-table.h file (I left mine completely alone this time), you need to change the pcm.c file that lives in the same directory and add the lines that drumfix suggested (though you can skip the rc-300 line unless you have one of those too).

I don't have a lot of experience with compiling kernels/modules myself and hit a few problems around the kernel version I was running versus the version the module thought it was for, but it sounds like you have that side sorted, since you managed to compile it previously.

If you want me to share the step-by-step instructions I scribbled down while I was doing it, let me know.
dormirj
Established Member
Posts: 59
Joined: Thu Jul 20, 2017 9:13 am

Re: Boss Micro BR-80

Post by dormirj »

hello from the other thread,

since recently my rc300 kind-of works i've been starting to use it, but now i have the issue of some clicks/crackles/pops through jack, i've started this thread over in system tuning (viewtopic.php?f=27&t=17422), since this might be one of the alleys i'm looking to solve this, but possibly it still is some hardware issue. that's why i wanted to ask if someone who has a working br-80 through the recent pcm.c breakthrough has experienced anything similar?
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss Micro BR-80

Post by neilnardlenoo »

Had a (very) few more clicks than I used to but then I'm also on a new os/kernel/DRAW/jack version, plus using a rather temperamental guitar and even with all that it's only been the odd one - not enough for me to even fully look into whether it's getting recorded yet or if it's just a playback/monitoring thing - it doesn't seem to be on the tracks I've been messing with since getting the br-80 working though and it's not been creating any ardour xruns. Certainly no crackles or pops (or snaps for that matter). Could it be the jack settings you use?
singforme
Established Member
Posts: 127
Joined: Sat Dec 31, 2016 1:58 pm
Contact:

Re: Boss Micro BR-80

Post by singforme »

Hi Neil, that's very cool!

sorry for replying so late, I moved to a different country meanwhile...

your approach seems really promising!

close to the end I get an error though:

Code: Select all

 insmod ../build/sound/usb/snd-usb-audio.ko

insmod: ERROR: could not insert module ../build/sound/usb/snd-usb-audio.ko: Unknown symbol in module
Does anyone know what do do with that?
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Boss Micro BR-80

Post by Drumfix »

i think you need to insmod snd-usbmidi-lib.ko first, because snd-usb-audio depends on that one
singforme
Established Member
Posts: 127
Joined: Sat Dec 31, 2016 1:58 pm
Contact:

Re: Boss Micro BR-80

Post by singforme »

I get the same error message with snd-usbmidi-lib.ko
Drumfix wrote:i think you need to insmod snd-usbmidi-lib.ko first, because snd-usb-audio depends on that one
Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: Boss Micro BR-80

Post by Jack Winter »

Try modprobe instead, it's likely that there are dependencies. If that doesn't help, check the output of dmesg for the missing symbol and check the kernel source to see if that symbol is exported.
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
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss Micro BR-80

Post by neilnardlenoo »

Singforme,

Not sure if I had that symbol error myself. If I did it was probably when I used the wrong Module.symvers file... are you definitely using the one from the kernel source you're compiling for? Did you get no errors at compilation time?

I'd definitely look at dmesg and/or /var/log/messages immediately after trying to do the load - I got some pointers from there when mine failed to load for kernel version mismatch type errors.

For what it's worth I use insmod when trying a new module, but perhaps I have different initial modules loaded so don't hit dependency issues. I've never needed to compile or loaded the midi module myself.
singforme
Established Member
Posts: 127
Joined: Sat Dec 31, 2016 1:58 pm
Contact:

Re: Boss Micro BR-80

Post by singforme »

Thank you everybody!
dmesg gives me quite a few symbol problems:

Code: Select all

[ 4221.765831] snd_usb_audio: disagrees about version of symbol snd_ctl_add
[ 4221.765837] snd_usb_audio: Unknown symbol snd_ctl_add (err -22)
[ 4221.765861] snd_usb_audio: disagrees about version of symbol snd_pcm_lib_free_vmalloc_buffer
[ 4221.765863] snd_usb_audio: Unknown symbol snd_pcm_lib_free_vmalloc_buffer (err -22)
[ 4221.765874] snd_usb_audio: disagrees about version of symbol snd_pcm_new
[ 4221.765876] snd_usb_audio: Unknown symbol snd_pcm_new (err -22)
[ 4221.765900] snd_usb_audio: disagrees about version of symbol snd_pcm_add_chmap_ctls
[ 4221.765901] snd_usb_audio: Unknown symbol snd_pcm_add_chmap_ctls (err -22)
[ 4221.765912] snd_usb_audio: disagrees about version of symbol snd_card_register
[ 4221.765913] snd_usb_audio: Unknown symbol snd_card_register (err -22)
[ 4221.765925] snd_usb_audio: disagrees about version of symbol snd_card_free
[ 4221.765927] snd_usb_audio: Unknown symbol snd_card_free (err -22)
[ 4221.765956] snd_usb_audio: disagrees about version of symbol snd_pcm_hw_constraint_minmax
[ 4221.765957] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax (err -22)
[ 4221.766039] snd_usb_audio: disagrees about version of symbol snd_ctl_find_id
[ 4221.766041] snd_usb_audio: Unknown symbol snd_ctl_find_id (err -22)
[ 4221.766072] snd_usb_audio: disagrees about version of symbol snd_ctl_new1
[ 4221.766073] snd_usb_audio: Unknown symbol snd_ctl_new1 (err -22)
[ 4221.766105] snd_usb_audio: disagrees about version of symbol _snd_pcm_lib_alloc_vmalloc_buffer
[ 4221.766106] snd_usb_audio: Unknown symbol _snd_pcm_lib_alloc_vmalloc_buffer (err -22)
[ 4221.766117] snd_usb_audio: disagrees about version of symbol snd_component_add
[ 4221.766118] snd_usb_audio: Unknown symbol snd_component_add (err -22)
[ 4221.766129] snd_usb_audio: disagrees about version of symbol snd_pcm_hw_rule_add
[ 4221.766130] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add (err -22)
[ 4221.766168] snd_usb_audio: disagrees about version of symbol snd_card_new
[ 4221.766169] snd_usb_audio: Unknown symbol snd_card_new (err -22)
[ 4221.766172] snd_usb_audio: disagrees about version of symbol __snd_usbmidi_create
[ 4221.766173] snd_usb_audio: Unknown symbol __snd_usbmidi_create (err -22)
[ 4221.766184] snd_usb_audio: disagrees about version of symbol snd_ctl_boolean_mono_info
[ 4221.766185] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info (err -22)
[ 4221.766212] snd_usb_audio: disagrees about version of symbol snd_pcm_lib_ioctl
[ 4221.766214] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl (err -22)
[ 4221.766222] snd_usb_audio: disagrees about version of symbol snd_hwdep_new
[ 4221.766223] snd_usb_audio: Unknown symbol snd_hwdep_new (err -22)
[ 4221.766246] snd_usb_audio: Unknown symbol mutex_lock (err 0)
[ 4221.766259] snd_usb_audio: disagrees about version of symbol snd_pcm_new_stream
[ 4221.766260] snd_usb_audio: Unknown symbol snd_pcm_new_stream (err -22)
[ 4221.766298] snd_usb_audio: disagrees about version of symbol snd_pcm_lib_get_vmalloc_page
[ 4221.766299] snd_usb_audio: Unknown symbol snd_pcm_lib_get_vmalloc_page (err -22)
[ 4221.766308] snd_usb_audio: disagrees about version of symbol snd_card_free_when_closed
[ 4221.766309] snd_usb_audio: Unknown symbol snd_card_free_when_closed (err -22)
[ 4221.766319] snd_usb_audio: disagrees about version of symbol snd_ctl_notify
[ 4221.766320] snd_usb_audio: Unknown symbol snd_ctl_notify (err -22)
[ 4221.766342] snd_usb_audio: disagrees about version of symbol snd_pcm_set_ops
[ 4221.766343] snd_usb_audio: Unknown symbol snd_pcm_set_ops (err -22)
[ 4221.766366] snd_usb_audio: Unknown symbol __mutex_init (err 0)
[ 4221.766389] snd_usb_audio: disagrees about version of symbol snd_pcm_hw_constraint_list
[ 4221.766391] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list (err -22)
[ 4221.766415] snd_usb_audio: disagrees about version of symbol snd_device_new
[ 4221.766416] snd_usb_audio: Unknown symbol snd_device_new (err -22)
[ 4221.766452] snd_usb_audio: disagrees about version of symbol snd_pcm_suspend_all
[ 4221.766453] snd_usb_audio: Unknown symbol snd_pcm_suspend_all (err -22)
[ 4221.766463] snd_usb_audio: disagrees about version of symbol snd_card_disconnect
[ 4221.766464] snd_usb_audio: Unknown symbol snd_card_disconnect (err -22)
[ 4221.766494] snd_usb_audio: Unknown symbol mutex_unlock (err 0)
[ 4221.770779] snd_usb_audio: disagrees about version of symbol snd_pcm_stop_xrun
[ 4221.770783] snd_usb_audio: Unknown symbol snd_pcm_stop_xrun (err -22)
[ 4221.770794] snd_usb_audio: disagrees about version of symbol snd_info_create_card_entry
[ 4221.770795] snd_usb_audio: Unknown symbol snd_info_create_card_entry (err -22)
[ 4221.770817] snd_usb_audio: disagrees about version of symbol snd_pcm_period_elapsed
[ 4221.770818] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed (err -22)
[ 4221.770866] snd_usb_audio: Unknown symbol _raw_spin_unlock (err 0)
neilnardlenoo
Established Member
Posts: 20
Joined: Mon Jul 10, 2017 7:31 pm

Re: Boss Micro BR-80

Post by neilnardlenoo »

That's a lot of missing stuff. Still looks like a mismatch of some source/header file or something to me. Did you check the symvers file was for the right kernel?
Post Reply