Git Product home page Git Product logo

Comments (12)

alexpa940 avatar alexpa940 commented on July 24, 2024
do not find /dev/input0
[I/USB] Dev connect
[I/USB] New full-speed device on Hub 1, Port 1 connected
[I/USB] ep0 reconfigure USB_SPEED_FULL
[I/USB] ep0 reconfigure USB_SPEED_FULL
[I/USB] New device found,idVendor:1a2c,idProduct:4094,bcdDevice:0110
[I/USB] The device has 2 interfaces
[I/USB] Enumeration success, start loading class driver
[I/USB] Loading hid class driver
[I/USB] Ep=81 Attr=03 Mps=8 Interval=10 Mult=00
[I/USB] Register HID Class:/dev/input0
[I/USB] Loading hid class driver
[I/USB] Ep=82 Attr=03 Mps=3 Interval=10 Mult=00
[I/USB] Register HID Class:/dev/input1
[I/USB] pipe->urb is not null
0x00 0x00 0x18 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x18 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
USB_HOST_thread         2               <1%
Runtime stats           7               <1%
MainLoop                3               <1%
IDLE                    299907          99%
usbh_hub                78              <1%
Free heap 92576
[I/USB] Dev remove
[I/USB] pipe->urb is not null
[I/USB] pipe->urb is not null
[I/USB] pipe->urb is not null
[I/USB] pipe->urb is not null
[I/USB] pipe->urb is not null
[I/USB] pipe->urb is not null
[I/USB] Unregister HID Class:/dev/input0
[I/USB] Unregister HID Class:/dev/input1
do not find /dev/input0
do not find /dev/input0
[I/USB] Dev connect
[I/USB] New full-speed device on Hub 1, Port 1 connected
[I/USB] ep0 reconfigure USB_SPEED_FULL
[I/USB] ep0 reconfigure USB_SPEED_FULL
[E/USB] SETUP TIMEOUT
[E/USB] Failed to get full device descriptor,errorcode:-5
[E/USB] Port 1 enumerate fail

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

Info about connected keyboard
image

from cherryusb_wch.

sakumisu avatar sakumisu commented on July 24, 2024

I am not sure the v307 details, maybe the port speed get has some problems, the wch official has no demo in host.

from cherryusb_wch.

HaiMianBBao avatar HaiMianBBao commented on July 24, 2024

Now you can try enumerating low-speed USB devices. I have updated the code, please update your local repository before testing.

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

image
The speed is determined but the handle is not received.

Now you can try enumerating low-speed USB devices. I have updated the code, please update your local repository before testing.

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

image

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

Another full-speed keyboard is defined as low-speed.
And the usb flash drive is defined as low speed.
image

from cherryusb_wch.

HaiMianBBao avatar HaiMianBBao commented on July 24, 2024

Thanks for the test. Which usb port are you using, full or high speed? If possible, could you help me test the other usb port?

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

Last time I tested ushs.

Now usbfs.
First usbhs noname flash.
image

The second USB flash drive transcend usbhs.
image

Some full-speed devices (keyboard and mouse)
image
image

As low-speed device USBAsp
image

Old low-speed keyboard
image

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

Update for usb hs.
As low-speed device USBAsp
image

The rest is the same as in the message about usbhs - the port speed is always usbls.

from cherryusb_wch.

alexpa940 avatar alexpa940 commented on July 24, 2024

the hs usb host skips the device descriptor part of the connected device
image

from cherryusb_wch.

sakumisu avatar sakumisu commented on July 24, 2024

No more support host.

from cherryusb_wch.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.