#74 A Device Is not indicated

open
nobody
None
5
2012-07-06
2010-09-08
Manuel Kauf
No

Hi,

I use the USB Lib in the version 1.1.14-3 long since, with this i had no problems. The device is a USB Hub
(SMSC USB2513)

At least in V 1.1.14-3 it was visible in the Device list.

With the V 1.2.2.1 or V 1.2.2.0 does not find this hub any more in the list.

i made the tests with \"LibUSB-Win32\bin\testlibusb-win.exe\"

Discussion

  • Manuel Kauf
    Manuel Kauf
    2010-09-08

    Readouts from testlibusb-win.exe and ms tool usbview.exe

     
    Attachments
  • Xiaofan Chen
    Xiaofan Chen
    2010-09-10

    It is right that hubs are not listed with filter driver under 1.2.0.0 and 1.2.1.1.

    What is your use case to use the filter driver for the hub here? We do not really want to support hub for the filter.

     
  • Manuel Kauf
    Manuel Kauf
    2010-09-15

    Hi xiaofanc,

    sry for my late answer.

    This news is bad for me.
    I use these Lib to identify a device by the PID and VID. This number is that of the Hub.

    besides, I use the Lib additional to show the parametre of the hub how the power state ( Bus or Self powerd.. )

    greets
    Manuel

     
  • Manuel Kauf
    Manuel Kauf
    2010-09-15

    Hi xiaofanc,

    sry for my late answer.

    This news is bad for me.
    I use these Lib to identify a device by the PID and VID. This number is
    that of the Hub.

    besides, I use the Lib additional to show the parametre of the hub how the
    power state ( Bus or Self powerd.. )

    greets
    Manuel

     
  • Manuel Kauf
    Manuel Kauf
    2010-09-15

    Hi,

    I use the USB Lib in the version 1.1.14-3 long since, with this i had no problems. The device is a USB Hub
    (SMSC USB2513)

    At least in V 1.1.14-3 it was visible in the Device list.

    With the V 1.2.2.1 or V 1.2.2.0 does not find this hub any more in the list.

    i made the tests with \"LibUSB-Win32\bin\testlibusb-win.exe\"

     
  • Xiaofan Chen
    Xiaofan Chen
    2010-09-15

    We will revisit this in the future. There are some reasons we do not want to support hubs. But in the future, we may want to support hub again.

     
  • Manuel Kauf
    Manuel Kauf
    2010-09-16

    Hi xiaofanc,

    Hi,

    can you call to me the reason? (I am always curious g ).

    Okey thank you then I become sometimes to caretakers when I what in the release Notes reads :)

    thank you

    gruß

     
  • Hub support was dropped mainly because set configuration requests hang indefinitely. We will look into a better fix for this more over the next few releases.

    Out of curiosity, what are you using libusb-win32 with a hub for?

    It is the block of code in libusb_driver.c:155, add_device()
    // Don't attach to usb device hubs
    if (strstr(compat_id, "class_09"))

    Regards,
    Travis

     
  • Manuel Kauf
    Manuel Kauf
    2010-09-18

    so I make there nothing complicated.

    I use the filter to show the bmAtribute.

    Also for recognising whether the heave controller Is connected