[PlanetCCRMA] Turtle Beach USB MIDI cable not recognized in Jack

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Feb 1 12:22:00 2005


On Tue, 2005-02-01 at 10:05, David Hill wrote:
> Hello all,
> 
> 	I have been lurking for some time now and seeing as this is my first
> post I would like to thank all of you for doing such a great job of
> supporting audio under Linux. In the short time I have been on the list
> I have learned quite a lot. Kudo's to all! The problem I am having is
> that the USB MIDI cable is not being seen on my main FC3 box in jack. I
> can use the cable on my laptop without issue. I have spent several days
> surfing to try and figure this out to no avail. I am not sure what
> information will be useful in figuring this out so I will give you what
> I have so far.
> 
> Thanks in advance,
> Dave
> 
> [root@shock ~]# dmesg | grep -i usb
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> usbcore: registered new driver hiddev
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.0:USB HID core driver
> TANA P0P3 AC97 USB0 USB1 USB2 USB3 USB7 UAR1 SLPB
> SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
> ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
> ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 26 Oct
> 2004
> hub 1-0:1.0: USB hub found
> USB Universal Host Controller Interface driver v2.2
> uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
> hub 2-0:1.0: USB hub found
> uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
> hub 3-0:1.0: USB hub found
> uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
> hub 4-0:1.0: USB hub found
> uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
> hub 5-0:1.0: USB hub found
> usb 5-2: new full speed USB device using uhci_hcd and address 2
> usbhid: probe of 5-2:1.1 failed with error -5
> usb-midi: Found MIDISTREAMING on dev 10f5:0003, iface 0
> usb-midi: Found MIDIStreaming device corresponding to Release 1.00 of
> spec.
> usb-midi: Found IN Jack 0x01 EMBEDDED
> usb-midi: Found IN Jack 0x02 EXTERNAL
> usb-midi: Found OUT Jack 0x03 EMBEDDED, 1 pins
> usb-midi: Found OUT Jack 0x04 EXTERNAL, 1 pins
> usb-midi: fetchString(2)
> usb-midi: fetchString = 25

The following lines are suspect, looks like that is the usbmidi oss
kernel module:

> usbmidi: found [ Turtle Beach USB MIDI 1x1 ] (0x10f5:0x0003), attached:
> usbmidi: /dev/midi00: in (ep:81 cid: 0 bufsiz:64) out (ep:01 cid: 0
> bufsiz:64)

Again, /dev/midi00 is oss. Which kernel are you booting at this point?
Anyway, you probably want to disable the usbmidi kernel from loading, if
it is being loaded (and that seems to be the case) it will monopolize
the device and then the alsa snd-usb-audio module will not be able to
use it. 

Add "usb-midi" to the list of exceptions in /etc/hotplug/blacklist (that
is, add one line at the end with "usb-midi" in it). 

That should prevent hotplug from loading the oss module. 

-- Fernando

> usbcore: registered new driver midi
> usbcore: registered new driver snd-usb-audio
> 
> [root@shock ~]# lsmod
> Module                  Size  Used by
> snd_seq                64144  3
> nvidia               3473692  12
> realtime                9096  0
> commoncap              12160  1 realtime
> nfsd                  210080  9
> exportfs               10112  1 nfsd
> lockd                  68008  2 nfsd
> parport_pc             31940  1
> lp                     16012  0
> parport                40008  2 parport_pc,lp
> autofs4                23300  0
> sunrpc                149988  19 nfsd,lockd
> ipt_limit               6400  7
> iptable_mangle          6656  0
> ipt_LOG                10752  7
> ipt_MASQUERADE          7552  0
> iptable_nat            29860  1 ipt_MASQUERADE
> ipt_TOS                 6400  0
> ipt_REJECT             11136  0
> ip_conntrack_irc       75440  0
> ip_conntrack_ftp       76464  0
> ipt_state               5760  4
> ip_conntrack           49476  6
> ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp,ipt_state
> iptable_filter          7552  1
> ip_tables              23168  9
> ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,iptable_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_filter
> nls_utf8                6016  2
> ntfs                  109680  2
> video                  19332  0
> button                 10384  0
> battery                13188  0
> ac                      8708  0
> snd_usb_audio          72256  0
> snd_usb_lib            17792  1 snd_usb_audio
> snd_rawmidi            30624  1 snd_usb_lib
> snd_seq_device         13324  2 snd_seq,snd_rawmidi
> usb_midi               27780  0
> uhci_hcd               37008  0
> ehci_hcd               37380  0
> hw_random               9364  0
> i2c_i801               12300  0
> i2c_core               26368  1 i2c_i801
> snd_intel8x0           37056  5
> snd_ac97_codec         78200  1 snd_intel8x0
> snd_pcm_oss            67232  0
> snd_mixer_oss          25344  2 snd_pcm_oss
> snd_pcm               111236  6
> snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> snd_timer              32132  2 snd_seq,snd_pcm
> snd                    71812  18
> snd_seq,snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore              13792  3 usb_midi,snd
> snd_page_alloc         14724  2 snd_intel8x0,snd_pcm
> e100                   39808  0
> mii                     9088  1 e100
> floppy                 63088  0
> dm_snapshot            22176  0
> dm_zero                 6400  0
> dm_mirror              27352  2
> ext3                  133640  2
> jbd                    66072  1 ext3
> dm_mod                 64128  6 dm_snapshot,dm_zero,dm_mirror
> ata_piix               12932  0
> libata                 50180  1 ata_piix
> sd_mod                 22144  0
> scsi_mod              125312  2 libata,sd_mod
> 
> 
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma