[linux-audio-user] midisport2x2 [WAS m-audio / midiman / oxygen8 USB MIDI?]

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

 



>  after:
> 
> rmmod usb-midi
> modprobe snd-usb-midi
> 
> lsmod reports:
> 
> root 19:16:02> lsmod
> Module                  Size  Used by    Not tainted
> snd-usb-audio          47232   0  (unused)
> snd-hdsp               41292   0
> snd-hwdep               5472   0  [snd-hdsp]
> snd-intel8x0           20388   0
> snd-ac97-codec         49388   0  [snd-intel8x0]
> snd-mpu401-uart         4304   0  [snd-intel8x0]
> ohci1394               27272   0  (unused)
> ieee1394               52292   0  [ohci1394]
> snd-rawmidi            15552   0  (autoclean) [snd-usb-audio snd-hdsp
> snd-mpu401-uart]
> snd-seq-device          4452   0  (autoclean) [snd-rawmidi]
> snd-pcm                69088   0  (autoclean) [snd-usb-audio snd-hdsp
> snd-intel8x0]
> snd-page-alloc          7380   0  (autoclean) [snd-hdsp snd-intel8x0
> snd-pcm]
> snd-timer              17380   0  (autoclean) [snd-pcm]
> snd                    37252   0  (autoclean) [snd-usb-audio snd-hdsp
> snd-hwdep snd-intel8x0 snd-ac97-codec snd-mpu401-uart snd-rawmidi
> snd-seq-device snd-pcm snd-timer]
> soundcore               4548   4  (autoclean) [snd]

Looks good. I also have usbcore loaded (using snd-usb-audio), not sure if that
is relevant. Maybe try loading usbcore before you plug in the midisport?

> and the log reports the same when plugging in the 2x2:
> 
> Mar 22 19:14:08 umatic1 hub.c: new USB device 00:1d.0-1, assigned address 36
> Mar 22 19:14:08 umatic1 usb.c: USB device 36 (vend/prod 0x763/0x1001) is
> not claimed by any active driver.
> Mar 22 19:14:11 umatic1 /etc/hotplug/usb/ezusbmidi: load
> /usr/share/usb/ezusbmidi/ezusbmidi2x2.ihx for 763/1001/1 to

OK, nearly there! I think your midisport 2x2 is missing from modules.usbmap.
Go to /lib/modules/`uname -r`/
and grep 763 modules.usbmap. You'll probably won't have a line for 0x1001
(in the 4th column). You can add it here. Best copy one of the other lines, like
snd-usb-audio        0x0083      0x0763   0x1002    0x0000       0x0000       0x00         0x00            0x00            0xff            0x00               0x00               0x0
Take care with the tabs! (I moused this one in).

I'm on a 2.6 kernel here, but I don't think this was different in 2.4.

FYI, myself I use some slightly different tools from http://usb-midi-fw.sf.net.
Look like you can also create /etc/hotplug/usb/midisport_fw.usermap with:
midisport_fw 0x0003 0x0763 0x1001 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
in it (no tabs here).

If that all doesn't do it, it must be related to usbcore. My modules.dep has:
/lib/modules/2.6.3-mph1/kernel/sound/usb/snd-usb-audio.ko: /lib/modules/2.6.3-mph1/kernel/drivers/usb/core/usbcore.ko /lib/modules/2.6.3-mph1/kernel/sound/core/snd-rawmidi.ko /lib/modules/2.6.3-mph1/kernel/sound/core/seq/snd-seq-device.ko /lib/modules/2.6.3-mph1/kernel/sound/core/snd-pcm.ko /lib/modules/2.6.3-mph1/kernel/sound/core/snd-page-alloc.ko /lib/modules/2.6.3-mph1/kernel/sound/core/snd-timer.ko
But that could very well be different in 2.4.

Martin

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux