Re: [Line6linux-devel] line6 out of staging
Status: Pre-Alpha
Brought to you by:
mgrabner
From: Stefan H. <ste...@gm...> - 2012-11-28 07:35:05
|
On Tue, Nov 27, 2012 at 9:54 PM, L. Alberto Giménez <agi...@sy...> wrote: > On Tue, Nov 27, 2012 at 06:26:42AM +0100, Stefan Hajnoczi wrote: >> On Mon, Nov 26, 2012 at 9:39 PM, L. Alberto Giménez >> <agi...@sy...> wrote: >> > I'm currently compiling the drop-sysfs branch. I have an HD 500 device, so I will >> > give feedback about if it works 'out of the box' or not. >> >> Thanks for trying it out. On the HD 500 there should be no change in >> behavior from before. > > OK, so I compiled the cleanup branch, enabled the staging line6 driver (not the debug > options since I saw in the mailing list messages that the kernel/user space apps > already have debugging capabilities). > > The module loads fine, but the device won't work: > > [ 333.697431] usb 1-2.4: new full-speed USB device number 4 using ohci_hcd > [ 333.795169] usb 1-2.4: not running at top speed; connect to a high speed hub > [ 333.805144] usb 1-2.4: New USB device found, idVendor=0e41, idProduct=414d > [ 333.805147] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [ 333.805149] usb 1-2.4: Product: POD HD500 > [ 333.805151] usb 1-2.4: Manufacturer: Line 6 > [ 334.284407] line6usb: module is from the staging directory, the quality is > unknown, you have been warned. > [ 334.284986] line6usb 1-2.4:1.0: Line6 POD HD500 found > [ 334.284989] usb 1-2.4: selecting invalid altsetting 1 > [ 334.284991] line6usb 1-2.4:1.0: set_interface failed > [ 334.284996] line6usb: probe of 1-2.4:1.0 failed with error -22 > > aplay -l doesn't show anything but my regular sound card information and alsamixer > won't show any POD related control. > > usb-devices output: > T: Bus=01 Lev=02 Prnt=03 Port=03 Cnt=01 Dev#= 7 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > P: Vendor=0e41 ProdID=414d Rev=00.00 > S: Manufacturer=Line 6 > S: Product=POD HD500 > C: #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > > Any idea? Has the HD 500 ever worked with the driver? AFAIK support for HD 500 is incomplete. Please post the output of "lsusb -d 0e41:414d -v" while the device is attached. This will provide the USB capabilities of the device so we can try to find the correct interface, altsetting, and endpoints. If you want to play with this yourself, try editing the switch statements in driver.c:line6_probe() to use the interface, altsetting, and endpoint information from the lsusb output. This is just guesswork, if you want to be sure then you need to capture USB traffic from the Line6 Edit software to see how the Windows driver talks to the device. Stefan |