[Line6linux-devel] POD HD500
Status: Pre-Alpha
Brought to you by:
mgrabner
From: Sébastien C. <nes...@gm...> - 2012-06-12 09:35:09
|
Hello there. First of I have to apologize for the previous spam my mail sended. That won't happen again. Then you'll find a patch for HD500. Unfortunatelly it doesn't make it fully work, but I think it get closer. There's 2 interfaces and that should work like PODXT Live : - An Isochronous interface (AUDIO): Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 3 Audio Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x002e 1x 46 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes 1 Transfer Type Isochronous Synch Type None Usage Type Data wMaxPacketSize 0x002e 1x 46 bytes bInterval 1 - A Bulk interface (VARIAX): Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 4 User Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 With this patch I think I managed to make VARIAX one to work, but as I don't have a VARIAX guitar I can't tell. By the way, for people who has a VARIAX device working with this driver , what it is supposed to do ?: Does it creates an ALSA device (look like it) or is it DATA transfer only (commands for software + MIDI )? I didn't managed to get the Isochronous (AUDIO) interface up and running for now , but I'm on it. I get an -EINVAL on the usb_submit_urb function in line6_start_listen (driver.c:134). Here's what I get in the logs : Jun 8 12:30:26 NELL kernel: line6usb 5-2:1.0: Line6 POD HD500 found Jun 8 12:30:26 NELL kernel: line6usb 5-2:1.0: line6_probe: usb_submit_urb failed Jun 8 12:30:26 NELL kernel: line6usb: probe of 5-2:1.0 failed with error -22 Jun 8 12:30:26 NELL kernel: line6usb 5-2:1.1: Line6 POD HD500 found Jun 8 12:30:26 NELL kernel: line6usb 5-2:1.1: Line6 POD HD500 now attached Jun 8 12:30:26 NELL kernel: usbcore: registered new interface driver line6usb Jun 8 17:43:17 NELL kernel: line6usb 5-2:1.1: S0000: F0 7E 7F 06 01 F7 .~.... Jun 8 17:43:17 NELL kernel: line6usb 5-2:1.1: S0000: F0 7E 7F 06 01 F7 .~.... Jun 8 17:43:17 NELL kernel: line6usb 5-2:1.1: S0000: F0 7E 7F 06 01 F7 .~.... Jun 8 17:43:17 NELL kernel: line6usb 5-2:1.1: S0000: F0 7E 7F 06 01 F7 .~.... (...) Best Regards -- CAPOU Sébastien |