From: Xiaofan C. <xia...@gm...> - 2012-04-24 15:00:12
|
On Tue, Apr 24, 2012 at 10:45 PM, Xiaofan Chen <xia...@gm...> wrote: > On Tue, Apr 24, 2012 at 10:24 PM, Hans Petter Selasky <hse...@c2...> wrote: >> Could you join me at #bsdusb on EF-net? > > I sent the debug log to you. > > I remember I had similar problems under Linux before, > also for device with Microchip USB Stack codes. Therefore > I will try it out under Linux as well to see if it is okay > under Linux or not. Same problem! mcuee@mcuee-VirtualBox:~/Desktop/build/hidapi/hidapi/linux$ sudo ./hidtest-libusb [sudo] password for mcuee: Device Found type: 80ee 0021 path: 0002:0002:00 serial_number: (null) Manufacturer: VirtualBox Product: USB Tablet Release: 100 Interface: 0 Device Found type: 04d8 003f path: 0002:0007:00 serial_number: (null) Manufacturer: Microchip Technology Inc. Product: Simple HID Device Demo Release: 2 Interface: 0 Manufacturer String: Microchip Technology Inc. Product String: Simple HID Device Demo Serial Number String: (1033) Indexed String 1: Microchip Technology Inc. Toggle LED success waiting... Data read: 81 01 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c 3c Button not pressed mcuee@mcuee-VirtualBox:~/Desktop/build/hidapi/hidapi/linux$ sudo ./hidtest-libusb Device Found type: 80ee 0021 path: 0002:0002:00 serial_number: (null) Manufacturer: (null) Product: (null) Release: 100 Interface: 0 Device Found type: 04d8 003f path: 0002:0007:00 serial_number: (null) Manufacturer: (null) Product: (null) Release: 2 Interface: 0 Manufacturer String: Microchip Technology Inc. Product String: Simple HID Device Demo Serial Number String: (1033) Indexed String 1: Microchip Technology Inc. Toggle LED success waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... waiting... Now I found the old thread here. Apparently there is a firmware bug but the bug only appears under libusb (Linux and now FreeBSD). It does not appear with native HID API for Mac OS X and Windows. http://libusb.6.n5.nabble.com/Testing-the-Lakeview-Research-Generic-WinUSB-Firmware-with-libusb-1-0-td6529.html -- Xiaofan |