Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
minref
Posts: 1
Joined: 10 Jun 2024, 16:12

Get Adafruit Board switched from Audio device to flash memory device

Post by minref » 10 Jun 2024, 16:26

Hey,
I need some help with an Adafruit Audio FX Sound Board which is not showing up as flash memory but as USB sound device as I described it here: https://forums.adafruit.com/viewtopic.php?t=211335
lsusb gives me the device with IDs:

Code: Select all

Bus 001 Device 006: ID 19fb:0101 VLSI VS1000B
But then tried it twice... what am I doing wrong here? Thank you!

Code: Select all

bbh@bbhx1:/usr/lib/udev$ sudo usb_modeswitch -v 0x19fb -p 0x0101 -u 2
Look for default devices ...
 Found devices in default mode (1)
Access device 006 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 1
Change configuration to 2 ...
Looking for active drivers ...
 OK, driver detached
 OK, driver detached
 Configuration was reset
 Changing the configuration failed (error -5). Try to continue
-> Run lsusb to note any changes. Bye!
or

Code: Select all

bbh@bbhx1:/usr/lib/udev$ sudo usb_modeswitch -v 0x19fb -p 0x0101 -u 1
Look for default devices ...
 Found devices in default mode (1)
Access device 006 on bus 001
Get the current device configuration ...
 Determining the active configuration failed (error -5). Abort
modprobe usbserial gives me this at the end:

Code: Select all

[  139.165964] usb 1-1: new full-speed USB device number 6 using xhci_hcd
[  139.314896] usb 1-1: New USB device found, idVendor=19fb, idProduct=0101, bcdDevice= 1.00
[  139.314917] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  139.314925] usb 1-1: Product: VS1000B
[  139.314932] usb 1-1: Manufacturer: VLSI
[  139.396378] usbcore: registered new interface driver snd-usb-audio
[  151.049834] workqueue: delayed_fput hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
[  191.035256] workqueue: delayed_fput hogged CPU for >10000us 8 times, consider switching to WQ_UNBOUND
[  295.017248] workqueue: delayed_fput hogged CPU for >10000us 16 times, consider switching to WQ_UNBOUND
[  653.015446] workqueue: delayed_fput hogged CPU for >10000us 32 times, consider switching to WQ_UNBOUND
[ 1245.093955] workqueue: delayed_fput hogged CPU for >10000us 64 times, consider switching to WQ_UNBOUND
[ 1340.807762] usbcore: registered new interface driver usbserial_generic
[ 1340.807776] usbserial: USB Serial support registered for generic
Full dump of device with lsusb:

Code: Select all

Bus 001 Device 006: ID 19fb:0101 VLSI VS1000B
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x19fb 
  idProduct          0x0101 
  bcdDevice            1.00
  iManufacturer           1 VLSI
  iProduct                2 VS1000B
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0064
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x001e
        bInCollection           1
        baInterfaceNr(0)        1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0304 Desktop Speaker
        bAssocTerminal          0
        bSourceID               1
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                 12 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x03ff  1x 1023 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000

Post Reply