StarAurryon / lpedit

GNU General Public License v2.0
29 stars 3 forks source link

HX Stomp support #5

Open StarAurryon opened 2 years ago

StarAurryon commented 2 years ago

dmesg

[  570.970671] usb 3-2.3.2.1.1: new high-speed USB device number 18 using xhci_hcd
[  571.060974] usb 3-2.3.2.1.1: New USB device found, idVendor=0e41, idProduct=4246, bcdDevice= 2.00
[  571.060982] usb 3-2.3.2.1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[  571.060986] usb 3-2.3.2.1.1: Product: HX Stomp
[  571.060989] usb 3-2.3.2.1.1: Manufacturer: LINE 6
[  571.060992] usb 3-2.3.2.1.1: SerialNumber:    3014982
[  571.076386] usb 3-2.3.2.1.1: parse_audio_format_rates_v2v3(): unable to retrieve number of sample rates: set it to a predefined value (clock 16).
[  571.081351] usb 3-2.3.2.1.1: parse_audio_format_rates_v2v3(): unable to retrieve number of sample rates: set it to a predefined value (clock 16).
[  571.088162] input: LINE 6 HX Stomp as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:04.0/0000:3d:00.0/0000:3e:02.0/0000:3f:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2.1/3-2.3.2.1.1/3-2.3.2.1.1:1.5/0003:0E41:4246.0019/input/input50
[  571.140214] hid-generic 0003:0E41:4246.0019: input,hidraw15: USB HID v1.11 Keyboard [LINE 6 HX Stomp] on usb-0000:3f:00.0-2.3.2.1.1/input5

lsusb

Bus 003 Device 018: ID 0e41:4246 Line6, Inc. HX Stomp                                                                                                                                                                                
Device Descriptor:                                                                                                                                                                                                                   
bLength                18                                                                                                                                                                                                          
bDescriptorType         1                                                                                                                                                                                                          
bcdUSB               2.00                                                                                                                                                                                                          
bDeviceClass          239 Miscellaneous Device                                                                                                                                                                                     
bDeviceSubClass         2                                                                                                                                                                                                          
bDeviceProtocol         1 Interface Association                                                                                                                                                                                    
bMaxPacketSize0        64                                                                                                                                                                                                          
idVendor           0x0e41 Line6, Inc.                                                                                                                                                                                              
idProduct          0x4246                                                                                                                                                                                                          
bcdDevice            2.00                                                                                                                                                                                                          
iManufacturer           1 LINE 6                                                                                                                                                                                                   
iProduct                3 HX Stomp                                                                                                                                                                                                 
iSerial                 2    3014982                                                                                                                                                                                               
bNumConfigurations      1                                                                                                                                                                                                          
Configuration Descriptor:                                                                                                                                                                                                          
bLength                 9                                                                                                                                                                                                        
bDescriptorType         2                                                                                                                                                                                                        
wTotalLength       0x0130                                                                                                                                                                                                        
bNumInterfaces          6                                                                                                                                                                                                        
bConfigurationValue     1                                                                                                                                                                                                        
iConfiguration          0                                                                                                                                                                                                        
bmAttributes         0xc0                                                                                                                                                                                                        
Self Powered                                                                                                                                                                                                                   
MaxPower                0mA                                                                                                                                                                                                      
Interface Descriptor:                                                                                                                                                                                                            
bLength                 9                                                                                                                                                                                                      
bDescriptorType         4                                                                                                                                                                                                      
bInterfaceNumber        0                                                                                                                                                                                                      
bAlternateSetting       0                                                                                                                                                                                                      
bNumEndpoints           2                                                                                                                                                                                                      
bInterfaceClass       255 Vendor Specific Class                                                                                                                                                                                
bInterfaceSubClass      0                                                                                                                                                                                                      
bInterfaceProtocol      0                                                                                                                                                                                                      
iInterface              0                                                                                                                                                                                                      
Endpoint Descriptor:                                                                                                                                                                                                           
bLength                 7                                                                                                                                                                                                    
bDescriptorType         5                                                                                                                                                                                                    
bEndpointAddress     0x81  EP 1 IN                                                                                                                                                                                           
bmAttributes            2                                                                                                                                                                                                    
Transfer Type            Bulk                                                                                                                                                                                              
Synch Type               None                                                                                                                                                                                              
Usage Type               Data                                                                                                                                                                                              
wMaxPacketSize     0x0200  1x 512 bytes                                                                                                                                                                                      
bInterval               0                                                                                                                                                                                                    
Endpoint Descriptor:                                                                                                                                                                                                           
bLength                 7                                                                                                                                                                                                    
bDescriptorType         5                                                                                                                                                                                                    
bEndpointAddress     0x01  EP 1 OUT                                                                                                                                                                                          
bmAttributes            2                                                                                                                                                                                                    
Transfer Type            Bulk                                                                                                                                                                                              
Synch Type               None                                                                                                                                                                                              
Usage Type               Data                                                                                                                                                                                              
wMaxPacketSize     0x0200  1x 512 bytes                                                                                                                                                                                      
bInterval               0                                                                                                                                                                                                    
Interface Association:                                                                                                                                                                                                           
bLength                 8                                                                                                                                                                                                      
bDescriptorType        11                                                                                                                                                                                                      
bFirstInterface         1                                                                                                                                                                                                      
bInterfaceCount         4                                                                                                                                                                                                      
bFunctionClass          1 Audio                                                                                                                                                                                                
bFunctionSubClass       0                                                                                                                                                                                                      
bFunctionProtocol      32                                                                                                                                                                                                      
iFunction               0                                                                                                                                                                                                      
Interface Descriptor:                                                                                                                                                                                                            
bLength                 9                                                                                                                                                                                                      
bDescriptorType         4                                                                                                                                                                                                      
bInterfaceNumber        1                                                                                                                                                                                                      
bAlternateSetting       0                                                                                                                                                                                                      
bNumEndpoints           0                                                                                                                                                                                                      
bInterfaceClass         1 Audio                                                                                                                                                                                                
bInterfaceSubClass      1 Control Device                                                                                                                                                                                       
bInterfaceProtocol     32                                                                                                                                                                                                      
iInterface              0                                                                                                                                                                                                      
AudioControl Interface Descriptor:                                                                                                                                                                                             
bLength                 9                                                                                                                                                                                                    
bDescriptorType        36
bDescriptorSubtype      1 (HEADER)
bcdADC               2.00
bCategory              10
wTotalLength       0x002e
bmControls           0x00
AudioControl Interface Descriptor:
bLength                 8
bDescriptorType        36
bDescriptorSubtype     10 (CLOCK_SOURCE)
bClockID               16
bmAttributes            1 Internal fixed clock 
bmControls           0x00
bAssocTerminal          0
iClockSource            0 
AudioControl Interface Descriptor:
bLength                17
bDescriptorType        36
bDescriptorSubtype      2 (INPUT_TERMINAL)
bTerminalID            32
wTerminalType      0x0201 Microphone
bAssocTerminal         64
bCSourceID             16
bNrChannels             8
bmChannelConfig    0x00000000
iChannelNames           0 
bmControls         0x0000
iTerminal               0 
AudioControl Interface Descriptor:
bLength                12
bDescriptorType        36
bDescriptorSubtype      3 (OUTPUT_TERMINAL)
bTerminalID            64
wTerminalType      0x0301 Speaker
bAssocTerminal         32
bSourceID              32
bCSourceID             16
bmControls         0x0000
iTerminal               0 
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        2
bAlternateSetting       0
bNumEndpoints           0
bInterfaceClass         1 Audio
bInterfaceSubClass      2 Streaming
bInterfaceProtocol     32 
iInterface              0 
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        2
bAlternateSetting       1
bNumEndpoints           1
bInterfaceClass         1 Audio
bInterfaceSubClass      2 Streaming
bInterfaceProtocol     32 
iInterface              0 
AudioStreaming Interface Descriptor:
bLength                16
bDescriptorType        36
bDescriptorSubtype      1 (AS_GENERAL)
bTerminalLink          32
bmControls           0x00
bFormatType             1
bmFormats          0x00000001
PCM                                            
bNrChannels             8
bmChannelConfig    0x00000000
iChannelNames           0 
AudioStreaming Interface Descriptor:
bLength                 6
bDescriptorType        36
bDescriptorSubtype      2 (FORMAT_TYPE)
bFormatType             1 (FORMAT_TYPE_I)
bSubslotSize            4
bBitResolution         24
Endpoint Descriptor:                               
bLength                 7
bDescriptorType         5
bEndpointAddress     0x03  EP 3 OUT
bmAttributes            5
Transfer Type            Isochronous
Synch Type               Asynchronous
Usage Type               Data
wMaxPacketSize     0x00e0  1x 224 bytes
bInterval               1
AudioStreaming Endpoint Descriptor:
bLength                 8
bDescriptorType        37
bDescriptorSubtype      1 (EP_GENERAL)
bmAttributes         0x00
bmControls           0x00
bLockDelayUnits         0 Undefined
wLockDelay         0x0000
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        3
bAlternateSetting       0
bNumEndpoints           0
bInterfaceClass         1 Audio
bInterfaceSubClass      2 Streaming
bInterfaceProtocol     32 
iInterface              0 
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        3
bAlternateSetting       1
bNumEndpoints           1
bInterfaceClass         1 Audio
bInterfaceSubClass      2 Streaming
bInterfaceProtocol     32 
iInterface              0 
AudioStreaming Interface Descriptor:
bLength                16
bDescriptorType        36
bDescriptorSubtype      1 (AS_GENERAL)
bTerminalLink          64
bmControls           0x00
bFormatType             1
bmFormats          0x00000001
PCM                                            
bNrChannels             8
bmChannelConfig    0x00000000
iChannelNames           0 
AudioStreaming Interface Descriptor:
bLength                 6
bDescriptorType        36
bDescriptorSubtype      2 (FORMAT_TYPE)
bFormatType             1 (FORMAT_TYPE_I)
bSubslotSize            4
bBitResolution         24
Endpoint Descriptor:                               
bLength                 7
bDescriptorType         5
bEndpointAddress     0x83  EP 3 IN
bmAttributes           37
Transfer Type            Isochronous
Synch Type               Asynchronous
Usage Type               Implicit feedback Data 
wMaxPacketSize     0x00e0  1x 224 bytes
bInterval               1
AudioStreaming Endpoint Descriptor:
bLength                 8
bDescriptorType        37
bDescriptorSubtype      1 (EP_GENERAL)
bmAttributes         0x00
bmControls           0x00
bLockDelayUnits         0 Undefined
wLockDelay         0x0000
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        4
bAlternateSetting       0
bNumEndpoints           2
bInterfaceClass         1 Audio
bInterfaceSubClass      3 MIDI Streaming
bInterfaceProtocol      0 
iInterface              0 
MIDIStreaming Interface Descriptor:
bLength                 7
bDescriptorType        36
bDescriptorSubtype      1 (HEADER)
bcdADC               1.00
wTotalLength       0x003d
MIDIStreaming Interface Descriptor:
bLength                 6
bDescriptorType        36
bDescriptorSubtype      2 (MIDI_IN_JACK)
bJackType               1 Embedded
bJackID                 1
iJack                   0 
MIDIStreaming Interface Descriptor:
bLength                 6
bDescriptorType        36
bDescriptorSubtype      2 (MIDI_IN_JACK)
bJackType               2 External
bJackID                 2
iJack                   0 
MIDIStreaming Interface Descriptor:
bLength                 9
bDescriptorType        36
bDescriptorSubtype      3 (MIDI_OUT_JACK)
bJackType               1 Embedded
bJackID                 3
bNrInputPins            1
baSourceID( 0)          2
BaSourcePin( 0)         1
iJack                   0 
MIDIStreaming Interface Descriptor:
bLength                 9
bDescriptorType        36
bDescriptorSubtype      3 (MIDI_OUT_JACK)
bJackType               2 External
bJackID                 4
bNrInputPins            1
baSourceID( 0)          1
BaSourcePin( 0)         1
iJack                   0 
Endpoint Descriptor:                               
bLength                 9
bDescriptorType         5
bEndpointAddress     0x02  EP 2 OUT
bmAttributes            2
Transfer Type            Bulk
Synch Type               None
Usage Type               Data
wMaxPacketSize     0x0200  1x 512 bytes
bInterval               0
bRefresh                0
bSynchAddress           0
MIDIStreaming Endpoint Descriptor:
bLength                 5
bDescriptorType        37
bDescriptorSubtype      1 (GENERAL)
bNumEmbMIDIJack         1
baAssocJackID( 0)       1
Endpoint Descriptor:                               
bLength                 9
bDescriptorType         5
bEndpointAddress     0x82  EP 2 IN
bmAttributes            2
Transfer Type            Bulk
Synch Type               None
Usage Type               Data
wMaxPacketSize     0x0200  1x 512 bytes
bInterval               0
bRefresh                0
bSynchAddress           0
MIDIStreaming Endpoint Descriptor:
bLength                 5
bDescriptorType        37
bDescriptorSubtype      1 (GENERAL)
bNumEmbMIDIJack         1
baAssocJackID( 0)       3
Interface Descriptor:                                
bLength                 9
bDescriptorType         4
bInterfaceNumber        5
bAlternateSetting       0
bNumEndpoints           1
bInterfaceClass         3 Human Interface Device
bInterfaceSubClass      0 
bInterfaceProtocol      0 
iInterface              0 
HID Device Descriptor:
bLength                 9
bDescriptorType        33
bcdHID               1.11
bCountryCode            0 Not supported
bNumDescriptors         1
bDescriptorType        34 Report
wDescriptorLength      37
Report Descriptors: 
** UNAVAILABLE **
Endpoint Descriptor:                               
bLength                 7
bDescriptorType         5
bEndpointAddress     0x84  EP 4 IN
bmAttributes            3
Transfer Type            Interrupt
Synch Type               None
Usage Type               Data
wMaxPacketSize     0x0008  1x 8 bytes
bInterval               8
Device Qualifier (for other device speed):
bLength                10                              
bDescriptorType         6                              
bcdUSB               2.00                              
bDeviceClass            0 
bDeviceSubClass         0 
bDeviceProtocol         0 
bMaxPacketSize0        64                              
bNumConfigurations      1                              
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001                                
Self Powered
StarAurryon commented 2 years ago

Need wireshark capture