Trying to make Boss ME-80 work on alsa.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,

I'm pretty new to this, so I may have made something dumb... but, let's go.

I'm trying to make my Boss ME-80 work with Linux. It has an USB port
that allows for audio and midi in/out. Since ME-25 is supported by
ALSA and provides the same functionalities on its USB port, I tried
this...

1) I downloaded the linux source from the Ubuntu repository:
$ uname -r
3.2.0-58-generic-pae
$ sudo apt-get source linux-image-3.2.0-58-generic-pae
[...]

2) Edited the quirks-table.h file, duplicated the ME-25 portion and
changed it to be compatible with ME-80...
$ lsusb | grep Roland
Bus 002 Device 005: ID 0582:0178 Roland Corp.
$ vi linux-3.2.0/sound/usb/quirks-table.h
----------------------------------------------------------------------
{
        USB_DEVICE(0x0582, 0x0178), /* Changed from
"USB_DEVICE(0x0582, 0x0113)," */
        .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
                /* .vendor_name = "BOSS", */
                /* .product_name = "ME-80", */
                .ifnum = QUIRK_ANY_INTERFACE,
                .type = QUIRK_COMPOSITE,
                .data = (const struct snd_usb_audio_quirk[]) {
                        {
                                .ifnum = 0,
                                .type = QUIRK_AUDIO_STANDARD_INTERFACE
                        },
                        {
                                .ifnum = 1,
                                .type = QUIRK_AUDIO_STANDARD_INTERFACE
                        },
                        {
                                .ifnum = 2,
                                .type = QUIRK_MIDI_FIXED_ENDPOINT,
                                .data = & (const struct
snd_usb_midi_endpoint_info) {
                                        .out_cables = 0x0001,
                                        .in_cables  = 0x0001
                                }
                        },
                        {
                                .ifnum = -1
                        }
                }
        }
},
----------------------------------------------------------------------

3) Compiled the code and stuff...
$ cd linux-3.2.0/sound/usb/
$ sudo make -C /usr/src/linux-headers-3.2.0-58-generic-pae/ M=`pwd` modules
[sudo] password for miguel:
make: Entrando no diretório `/usr/src/linux-headers-3.2.0-58-generic-pae'
  Building modules, stage 2.
  MODPOST 7 modules
make: Saindo do diretório `/usr/src/linux-headers-3.2.0-58-generic-pae'
$ sudo make -C /usr/src/linux-headers-3.2.0-58-generic-pae/ M=`pwd`
modules_install
make: Entrando no diretório `/usr/src/linux-headers-3.2.0-58-generic-pae'
  INSTALL /home/miguel/linux-3.2.0/sound/usb/6fire/snd-usb-6fire.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/caiaq/snd-usb-caiaq.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/misc/snd-ua101.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/snd-usb-audio.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/snd-usbmidi-lib.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/usx2y/snd-usb-us122l.ko
  INSTALL /home/miguel/linux-3.2.0/sound/usb/usx2y/snd-usb-usx2y.ko
  DEPMOD  3.2.0-58-generic-pae
make: Saindo do diretório `/usr/src/linux-headers-3.2.0-58-generic-pae'
$ sudo depmod -a
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.2.0-58-generic-pae

Well, after that, it did not show on the /proc/asound/cards file... :(
Then I found the following message 3 times on the dmesg:
snd-usb-audio: probe of 2-1.2:1.0 failed with error -5

I tried editing the /etc/modprobe.d/alsa-base.conf and adding these lines:
alias snd-card-2 snd-usb-audio
alias sound-slot-2 snd-usb-audio
options snd-usb-audio index=2

It is still not working. Anybody has a clue?


Thanks,

Miguel Degrossoli.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux