Python Forum
Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyusb freeze when using Dev.read(nr,nr,timeout=1000)
#4
Heres the output from python about the device:

INTERFACE 0: Human Interface Device ====================
    bLength            :    0x9 (9 bytes)
    bDescriptorType    :    0x4 Interface
    bInterfaceNumber   :    0x0
    bAlternateSetting  :    0x0
    bNumEndpoints      :    0x2
    bInterfaceClass    :    0x3 Human Interface Device
    bInterfaceSubClass :    0x0
    bInterfaceProtocol :    0x0
    iInterface         :    0x0
     ENDPOINT 0x81: Interrupt IN ==========================
      bLength          :    0x7 (7 bytes)
      bDescriptorType  :    0x5 Endpoint
      bEndpointAddress :   0x81 IN
      bmAttributes     :    0x3 Interrupt
      wMaxPacketSize   :   0x40 (64 bytes)
      bInterval        :   0x20
     ENDPOINT 0x1: Interrupt OUT ==========================
      bLength          :    0x7 (7 bytes)
      bDescriptorType  :    0x5 Endpoint
      bEndpointAddress :    0x1 OUT
      bmAttributes     :    0x3 Interrupt
      wMaxPacketSize   :   0x40 (64 bytes)
      bInterval        :   0x20
Reply


Messages In This Thread
RE: Pyusb freeze when using Dev.read(nr,nr,timeout=1000) - by bojane - Jan-11-2017, 10:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I calculate a ratio from 2 numbers and return an equivalent list of about 1000 Pleiades 8 21,626 Jan-05-2024, 08:30 PM
Last Post: sgrey
  How to timeout a task using the ThreadpoolExecutor? lowercase00 2 5,809 Feb-07-2023, 05:44 PM
Last Post: deanhystad
  Tkinter + Multiprocessing startmap makes UI Freeze sunny9495 4 2,691 Nov-13-2022, 12:49 PM
Last Post: sunny9495
  TimeOut a function in a class ? Armandito 1 2,597 Apr-25-2022, 04:51 PM
Last Post: Gribouillis
  FTp timeout except korenron 2 5,549 Feb-01-2022, 06:51 AM
Last Post: korenron
  Found input variables with inconsistent numbers of samples: [1000, 200] jenya56 2 4,487 Sep-15-2021, 12:48 PM
Last Post: jenya56
  printing contents of Jar on timeout Rakshan 1 2,395 Jul-30-2021, 07:48 AM
Last Post: buran
  Python Pandas: How do I average ONLY the data >1000 from several columns? JaneTan 0 2,060 Jul-17-2021, 01:34 PM
Last Post: JaneTan
  Python Pandas: How do I extract all the >1000 data from a certain column? JaneTan 0 2,188 Jul-17-2021, 09:09 AM
Last Post: JaneTan
  mpv window freeze before video end rfeyer 18 11,155 Mar-09-2021, 06:12 PM
Last Post: rfeyer

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020