Thanks for this great script. I wasn't able to use a USB keyboard after getting the SD card booted on my TK1.
Using ssh, I was able to read dmesg:
I 4.160198] hid-generic 0003:04D9:0006.0001: input: USB HID v1.11 Keyboard [ RPI Wired Keyboard 4] on usb-7d008000.usb-1.1/input0
[ 4.181064] usb 2-1: clear tt 1 (0030) error -71
[ 4.193934] usb 2-1: clear tt 1 (8030) error -71
[ 4.202023] mmc1: new high speed SDHC card at address 0007
[ 4.209721] mmcblk1: mmc1:0007 SD32G 29.0 GiB
[ 4.218144] mmcblk1: p1
[ 4.220853] usb 2-1: clear tt 1 (8030) error -71
[ 4.233686] usb 2-1: clear tt 1 (8030) error -71
[ 4.242449] usbhid 2-1.1:1.1: can't add hid device: -71
[ 4.247737] usbhid: probe of 2-1.1:1.1 failed with error -71
[ 4.257691] usb 2-1: clear tt 1 (8030) error -71
[ 5.219821] usb 2-1-port1: cannot reset (err = -71)
[ 5.228817] usb 2-1-port1: cannot reset (err = -71)
[ 5.237835] usb 2-1-port1: cannot reset (err = -71)
[ 5.246808] usb 2-1-port1: cannot reset (err = -71)
[ 5.255845] usb 2-1-port1: cannot reset (err = -71)
[ 5.260774] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 5.271325] usb 2-1-port1: cannot disable (err = -71)
[ 5.280449] usb 2-1-port1: cannot reset (err = -71)
[ 5.289447] usb 2-1-port1: cannot reset (err = -71)
[ 5.298439] usb 2-1-port1: cannot reset (err = -71)
[ 5.307448] usb 2-1-port1: cannot reset (err = -71)
[ 5.316448] usb 2-1-port1: cannot reset (err = -71)
[ 5.321369] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 5.331959] usb 2-1-port1: cannot disable (err = -71)
[ 5.341182] usb 2-1-port1: cannot reset (err = -71)
[ 5.350177] usb 2-1-port1: cannot reset (err = -71)
[ 5.359179] usb 2-1-port1: cannot reset (err = -71)
[ 5.368189] usb 2-1-port1: cannot reset (err = -71)
[ 5.377197] usb 2-1-port1: cannot reset (err = -71)
[ 5.382120] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 5.392707] usb 2-1-port1: cannot disable (err = -71)
[ 5.401932] usb 2-1-port1: cannot reset (err = -71)
[ 5.410934] usb 2-1-port1: cannot reset (err = -71)
[ 5.419926] usb 2-1-port1: cannot reset (err = -71)
[ 5.428929] usb 2-1-port1: cannot reset (err = -71)
[ 5.437937] usb 2-1-port1: cannot reset (err = -71)
[ 5.442851] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 5.453430] usb 2-1-port1: cannot disable (err = -71)
[ 5.462572] usb 2-1-port1: cannot disable (err = -71)
The cable is fine. This keyboard works on my PC, three different raspberry Pis and my smart TV. I'm not sure if there is anything to be done about it on your side of things, but I thought I'd let you know about this issue.
Thanks for this great script. I wasn't able to use a USB keyboard after getting the SD card booted on my TK1.
Using
ssh
, I was able to read dmesg:I 4.160198] hid-generic 0003:04D9:0006.0001: input: USB HID v1.11 Keyboard [ RPI Wired Keyboard 4] on usb-7d008000.usb-1.1/input0 [ 4.181064] usb 2-1: clear tt 1 (0030) error -71 [ 4.193934] usb 2-1: clear tt 1 (8030) error -71 [ 4.202023] mmc1: new high speed SDHC card at address 0007 [ 4.209721] mmcblk1: mmc1:0007 SD32G 29.0 GiB [ 4.218144] mmcblk1: p1 [ 4.220853] usb 2-1: clear tt 1 (8030) error -71 [ 4.233686] usb 2-1: clear tt 1 (8030) error -71 [ 4.242449] usbhid 2-1.1:1.1: can't add hid device: -71 [ 4.247737] usbhid: probe of 2-1.1:1.1 failed with error -71 [ 4.257691] usb 2-1: clear tt 1 (8030) error -71 [ 5.219821] usb 2-1-port1: cannot reset (err = -71) [ 5.228817] usb 2-1-port1: cannot reset (err = -71) [ 5.237835] usb 2-1-port1: cannot reset (err = -71) [ 5.246808] usb 2-1-port1: cannot reset (err = -71) [ 5.255845] usb 2-1-port1: cannot reset (err = -71) [ 5.260774] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad? [ 5.271325] usb 2-1-port1: cannot disable (err = -71) [ 5.280449] usb 2-1-port1: cannot reset (err = -71) [ 5.289447] usb 2-1-port1: cannot reset (err = -71) [ 5.298439] usb 2-1-port1: cannot reset (err = -71) [ 5.307448] usb 2-1-port1: cannot reset (err = -71) [ 5.316448] usb 2-1-port1: cannot reset (err = -71) [ 5.321369] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad? [ 5.331959] usb 2-1-port1: cannot disable (err = -71) [ 5.341182] usb 2-1-port1: cannot reset (err = -71) [ 5.350177] usb 2-1-port1: cannot reset (err = -71) [ 5.359179] usb 2-1-port1: cannot reset (err = -71) [ 5.368189] usb 2-1-port1: cannot reset (err = -71) [ 5.377197] usb 2-1-port1: cannot reset (err = -71) [ 5.382120] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad? [ 5.392707] usb 2-1-port1: cannot disable (err = -71) [ 5.401932] usb 2-1-port1: cannot reset (err = -71) [ 5.410934] usb 2-1-port1: cannot reset (err = -71) [ 5.419926] usb 2-1-port1: cannot reset (err = -71) [ 5.428929] usb 2-1-port1: cannot reset (err = -71) [ 5.437937] usb 2-1-port1: cannot reset (err = -71) [ 5.442851] usb 2-1-port1: Cannot enable. Maybe the USB cable is bad? [ 5.453430] usb 2-1-port1: cannot disable (err = -71) [ 5.462572] usb 2-1-port1: cannot disable (err = -71)
The cable is fine. This keyboard works on my PC, three different raspberry Pis and my smart TV. I'm not sure if there is anything to be done about it on your side of things, but I thought I'd let you know about this issue.