-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Troubleshooting
First, check if your cable is all right or just try other cable.
Believe me. Not negligible number of people had trouble with bad USB cable and they tend to suspect their cable at the last for some reason.
TMK firmware uses 0xFEED
as USB Vendor id(VID) by default. It is not registered with official USB.org or other usb device databases.
Product id(PID)s are assigned arbitrarily by project authors.
Ids are defined with VENDOR_ID
and PRODUCT_ID
macros in config.h
.
TMK device can have some USB HID interfaces(keyboard, mouse, consumer/media keys and system keys), its number varies according to you configuration.
You should find some devices under "Human Interface Devices" tree in Device Manager and their names are "USB Input Device" and "USB Compliant ...".
When placing the device into programming mode(bootloader) by pressing program button Device Manager shows as follows.
If you don't have driver it is located under 'Other devices'.
After proper driver is installed it should look this.
See Driver-install-on-Windows for driver installation.
You can find TMK devices with command lsusb -dFEED:
,
Bus 005 Device 007: ID feed:caaa
Bus 005 Device 008: ID feed:4707
and lsusb -dFEED: -v
shows more details of the devices.
To see HID report descriptor check this wiki page.
-62
means "Timer expired" according to errno.h.
You will see this error in /var/log/kern.log when slow startup prevents USB enumeration process. It is important to make control endpoint responsive to packets form host in early stage.
- if
INTERRUPT_CONTROL_ENDPOINT
is defined you have to enable interrupt bysei()
earlier as possible - otherwise
USB_USBTask()
should be called earlier and more frequently