alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: nick83ola <nick83ola@gmail.com>
To: Jens Verwiebe <info@jensverwiebe.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] Line 6 Helix quirks
Date: Sun, 24 Nov 2019 23:13:59 +0000	[thread overview]
Message-ID: <CABPh3UPbn47ZrLyBXz=y=u5wZjGaMwOJzyzVmG-x=bSGENKJGA@mail.gmail.com> (raw)
In-Reply-To: <CABPh3UPYhJZu85XMRPfJqs_-yuTpxvfCogiaNTaHnJhTFaUwYQ@mail.gmail.com>

[29054.588559] usb 1-1.2.2: new high-speed USB device number 14 using
xhci_hcd
[29054.665318] usb 1-1.2.2: New USB device found, idVendor=0e41,
idProduct=4246, bcdDevice= 2.00
[29054.665320] usb 1-1.2.2: New USB device strings: Mfr=1, Product=3,
SerialNumber=2
[29054.665320] usb 1-1.2.2: Product: HX Stomp
[29054.665321] usb 1-1.2.2: Manufacturer: LINE 6
[29054.665321] usb 1-1.2.2: SerialNumber:    3021888
[29054.669712] usb 1-1.2.2: parse_audio_format_rates_v2v3(): unable to
retrieve number of sample rates: set it to a predefined value (clock 16).
[29054.671488] usb 1-1.2.2: parse_audio_format_rates_v2v3(): unable to
retrieve number of sample rates: set it to a predefined value (clock 16).


$ lsusb -v -d 0e41:4246

Bus 001 Device 014: ID 0e41:4246 Line6, Inc.
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    3021888
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0117
    bNumInterfaces          5
    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
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


On Sun, 24 Nov 2019 at 23:07, nick83ola <nick83ola@gmail.com> wrote:

> Hi Jens,
> in my hx stomp with 2.82 firmware the USB id is the same and I'm not
> experiencing any glitch.
> Also some people on line6 confirm that the patch is working for hx stomp.
> If on helix the situation is different you should submit a patch.
>
> Best Regards
> Nicola Lunghi
>
> On Sun, 24 Nov 2019 at 13:41, Jens Verwiebe <info@jensverwiebe.de> wrote:
>
>> Back to the Helix once more .....
>>
>> I already informed Nicola about latest Line6 firmware 2.8 ff changes.
>>
>> All Helix devices seem to get a new product id due to the new core
>> changes.
>>
>> Additionally we have now an endpoint 5 for HID support ( applied dump ).
>> Not sure what we can make out of this
>>
>> cause a lack of investigation time. The audio endpoint descriptors are
>> unchanged.
>>
>>
>> The problem with not working implicite feedback stays, so i still use my
>> arbitrary 48005 Hz hack.
>>
>> Without slight pop would ocure in audio, but still with this hack every
>> 20 minutes i get a slight distortion which
>>
>> is no surprise.
>>
>> Can someone shed light here if an implicite feedback device should show
>> the exact momentäry fequency ?
>>
>> Should i see also the 16.16 feedback format ?
>>
>> I looked through all code and 'am still stunned where the sync
>>
>> fails.
>>
>> Btw: i have also attached ioreg information from macOS if this helps
>> someone to dig deeper. I dumped driverless
>>
>> "usb compliant" mode here with integer outcome for a quick overlook.
>>
>>
>> This so far ... Jens
>>
>> --
>>
>> Jens Verwiebe
>> Allerskehre 44 - 22309 Hamburg
>>
>> Tel.: +49 40 68 78 50
>> mailto: info@jensverwiebe.de
>> web: https://www.jensverwiebe.de
>>
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel@alsa-project.org
>> https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2019-11-24 23:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGnrtESNwneRXqKOnp-_gfkPDu11g+-M4s5dOs+pOMD30Wp8uw@mail.gmail.com>
2019-10-20 13:50 ` [alsa-devel] Line 6 Helix quirks nick83ola
2019-11-24 13:39   ` Jens Verwiebe
2019-11-24 23:07     ` nick83ola
2019-11-24 23:13       ` nick83ola [this message]
2019-11-24 23:23         ` nick83ola
2019-11-25 18:14           ` Jens Verwiebe
2020-01-23 23:07   ` Carlo Calica
2020-01-25 10:10     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABPh3UPbn47ZrLyBXz=y=u5wZjGaMwOJzyzVmG-x=bSGENKJGA@mail.gmail.com' \
    --to=nick83ola@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=info@jensverwiebe.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).