User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

how to run a keyboard on RPi Zero via OTG cable ??

Tue Feb 16, 2016 11:05 am

Hello

I am trying to run a keyboard on RaspberryPi zero via OTG cable (bought Raspberry Pi zero + essentials kit)
I have fresh jessie image on my SD card and I connect to my pi via enc28j60

Can I ask for some help?
Last edited by Onira on Tue Feb 16, 2016 11:08 am, edited 1 time in total.
Cogito ergo sum

User avatar
RaTTuS
Posts: 10108
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: how to run a keyboard on RPi Zero via OTG cable ??

Tue Feb 16, 2016 11:08 am

plug in keyboard and type - ?
what keyboard
have you got a micro usb shim ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: how to run a keyboard on RPi Zero via OTG cable ??

Tue Feb 16, 2016 11:41 am

standard keyboard like Logitech K-120 or K-250
I have USB - microUSB cable delivered with the Essential Kit
Cogito ergo sum

User avatar
RaTTuS
Posts: 10108
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: how to run a keyboard on RPi Zero via OTG cable ??

Tue Feb 16, 2016 12:36 pm

if you are ssh'ing in via the enc28j60
then type tail -f /var/log/syslog
and plug your keyboard in [plug it in the right socket]
does it recognize it ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: how to run a keyboard on RPi Zero via OTG cable ??

Thu Feb 18, 2016 6:19 pm

Code: Select all

[email protected]:~ $ tail -f /var/log/syslog
Feb 18 19:18:16 raspberrypi0 systemd[650]: Starting Timers.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Reached target Timers.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Starting Sockets.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Reached target Sockets.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Starting Basic System.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Reached target Basic System.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Starting Default.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Reached target Default.
Feb 18 19:18:16 raspberrypi0 systemd[650]: Startup finished in 61ms.
Feb 18 19:18:16 raspberrypi0 systemd[1]: Started User Manager for UID 1000.
Feb 18 19:18:47 raspberrypi0 kernel: [  206.959939] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:47 raspberrypi0 kernel: [  207.139851] usb 1-1: new low-speed USB d                                                                                                                                                             evice number 6 using dwc_otg
Feb 18 19:18:47 raspberrypi0 kernel: [  207.141407] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:47 raspberrypi0 kernel: [  207.319793] usb 1-1: device descriptor r                                                                                                                                                             ead/64, error -71
Feb 18 19:18:47 raspberrypi0 kernel: [  207.431269] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:47 raspberrypi0 kernel: [  207.609794] usb 1-1: device descriptor r                                                                                                                                                             ead/64, error -71
Feb 18 19:18:48 raspberrypi0 kernel: [  207.719909] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:48 raspberrypi0 kernel: [  207.899798] usb 1-1: new low-speed USB d                                                                                                                                                             evice number 7 using dwc_otg
Feb 18 19:18:48 raspberrypi0 kernel: [  207.901293] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:48 raspberrypi0 kernel: [  208.079786] usb 1-1: device descriptor r                                                                                                                                                             ead/64, error -71
Feb 18 19:18:48 raspberrypi0 kernel: [  208.191470] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:48 raspberrypi0 kernel: [  208.369797] usb 1-1: device descriptor r                                                                                                                                                             ead/64, error -71
Feb 18 19:18:48 raspberrypi0 kernel: [  208.479914] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:49 raspberrypi0 kernel: [  208.659808] usb 1-1: new low-speed USB d                                                                                                                                                             evice number 8 using dwc_otg
Feb 18 19:18:49 raspberrypi0 kernel: [  209.079789] usb 1-1: device not acceptin                                                                                                                                                             g address 8, error -71
Feb 18 19:18:49 raspberrypi0 kernel: [  209.079932] Indeed it is in host mode hp                                                                                                                                                             rt0 = 00041901
Feb 18 19:18:49 raspberrypi0 kernel: [  209.259798] usb 1-1: new low-speed USB d                                                                                                                                                             evice number 9 using dwc_otg
Feb 18 19:18:50 raspberrypi0 kernel: [  209.679804] usb 1-1: device not acceptin                                                                                                                                                             g address 9, error -71
Feb 18 19:18:50 raspberrypi0 kernel: [  209.679928] usb usb1-port1: unable to en                                                                                                                                                             umerate USB device
Cogito ergo sum

Return to “Troubleshooting”