Bug 8874

Summary: midi ports unusable
Product: Drivers Reporter: David Griffith (dgriffi)
Component: Input DevicesAssignee: Jaroslav Kysela (perex)
Status: CLOSED OBSOLETE    
Severity: normal CC: alan, dmitry.torokhov, protasnb
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.18 and on Subsystem:
Regression: Yes Bisected commit-id:

Description David Griffith 2007-08-10 00:30:02 UTC
Most recent kernel where this bug did not occur: 2.6.17-10
Distribution: Ubuntu, Fedora, Dynebolic, Gentoo
Hardware Environment: IBM Thinkpad T42, desktop with Ensoniq AudioPCI ES1371, MOTU Fastlane USB midi interface
Software Environment: awmidi, rosegarden
Problem Description:
A midi interface is recognized by the system.  awmidi(1), rosegarden(1) and other midi-using programs report its presence, but cannot receive or send data through it.  

Steps to reproduce:
1) Hook up a MIDI keyboard to the joystick/MIDI port or a USB MIDI adapter such as a MOTU Fastlane.  This particular USB MIDI adapter does not require its firmware to be uploaded when it's plugged in.

2)
$ amidi -l
Dir Device    Name
IO  hw:0,0    ES1371
IO hw:1,0,0  Fastlane MIDI A
IO hw:1,0,1  Fastlane MIDI B

This shows available MIDI ports.  ES1371 appears on the joystick port.  Curiously, with kernels 2.6.17 and prior, the "Dir" column is missing.

3)
$ amidi -d -p hw:1,0,0

Now press some keys on the MIDI keyboard.  If the kernel is 2.6.18 or higher, nothing will be output.  If the kernel is 2.6.17 or earlier, hex numbers will be printed for each keypress.
Comment 1 Natalie Protasevich 2008-02-20 01:19:08 UTC
David, how does is sound with the latest kernels, any improvement?
Thanks.
Comment 2 David Griffith 2008-03-14 23:08:16 UTC
I tried with 2.6.24.3 with no luck.  The E-MU Xmidi-2x2 works despite this bug, but I really prefer the MOTU unit. 
Comment 3 Natalie Protasevich 2008-03-15 00:44:09 UTC
Since joystick, keyboard, and all this input stuff is involved, copying to Dmitry.
Dmitry, please re-assign to appropriate module if this is wrong... Thanks.
Comment 4 Alan 2012-05-17 14:41:24 UTC
Closing as obolete, if this is incorrect please re-open giving a modern kernel version it fails with