Im new at USB, but am trying to get my Atmega2313 to work as a keyboard. When a push-button is pressed the controller starts to send every second 'Hi' to the computer.
When I connect the controller to the computer the computer doesnt identify my controller.
I zipped my main.c, usbconfig.h and the circuit. => [DELETED]
'dmesg' Output:
Code: Select all
[ 223.289142] usb 3-1.3: new low speed USB device using ehci_hcd and address 3
[ 223.377125] usb 3-1.3: device descriptor read/64, error -32
[ 223.569096] usb 3-1.3: device descriptor read/64, error -32
[ 223.761051] usb 3-1.3: new low speed USB device using ehci_hcd and address 4
[ 223.849046] usb 3-1.3: device descriptor read/64, error -32
[ 224.041146] usb 3-1.3: device descriptor read/64, error -32
[ 224.232976] usb 3-1.3: new low speed USB device using ehci_hcd and address 5
[ 224.640763] usb 3-1.3: device not accepting address 5, error -32
[ 224.728899] usb 3-1.3: new low speed USB device using ehci_hcd and address 6
[ 225.136668] usb 3-1.3: device not accepting address 6, error -32
I hope anyone can help.
Thanks, Heinrich