Re: USB hub problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 16/08/2021 20.30, Oliver Neukum wrote:

On 15.08.21 01:32, Eyal Lebedinsky wrote:
I searched the hub model and IDs but did not find relevant information.
Is there an official list of supported hubs (or devices)?

No, any hub by implementing the hub specification is supported.

Attaching the phone does not add a device.

Just for the sake of completeness, could you post 'lsusb -v'
for that hub?

Bus 001 Device 095: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x5411 RTS5411 Hub
  bcdDevice            1.04
  iManufacturer           1 Generic
  iProduct                2 4-Port USB 2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

## plug phone:
         (no new messages)
That suggests a bug in the hub firmware. specifically that
under unknown circumstances it fails to generate events
for connection changes.

I do not know it it is of value, but when the phone is not detected, it also does not
indicate that it is connected using MTP. It thinks it is only being charged only.

Aug 15 09:07:07 e7 kernel: usb 1-5.2.1: new high-speed USB device
number 57 using xhci_hcd
Aug 15 09:07:07 e7 kernel: usb 1-5.2.1: New USB device found,
idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 15 09:07:07 e7 kernel: usb 1-5.2.1: New USB device strings: Mfr=2,
Product=3, SerialNumber=4
Aug 15 09:07:07 e7 kernel: usb 1-5.2.1: Product: SAMSUNG_Android

In other respects it does work.

Based on a hunch, could you test whether the circumstances
this device fails under is related to runtime PM?

In order to do so you boot with

usbcore.autosuspend=-1
>

on the kernel command line.

Well I can do better. I use USB TV tuners and in /etc/modprobe.d/dvb.conf I see
	options usbcore autosuspend=-1
It is a leftover from using an old tuner.

     Regards
         Oliver

Thanks

--
Eyal Lebedinsky (eyal@xxxxxxxxxxxxxx)



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux