- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I have a de0-nano-soc, according to the manual, everything worked fine, but I need to try to connect the keyboard or mouse to the USB OTG. What was done for this: 1) in soc_system.dts - added in usb1: status = "okay" dr_mode = "host" 2) in settings kernel: - Device Drivers-> [*]USB Support - Device Drivers-> [*]USB Support-> [*] Support for Host-side USB - Device Drivers-> [*]USB Support-> [*] USB Announce new devices - device drivers->[*]usb support->
[*] usb attached scsi - Device Drivers-> [*]USB Support-> [*] EHCI HCD (USB2.0) support - Device Drivers-> [*]USB Support-> [*] EHCI HCD (USB2.0) support-> [*] Root Hub Transaction Translators - Device Drivers-> [*]USB Support-> [*] EHCI HCD (USB2.0) support-> [*] Improved Transaction Translator scheduling - Device Drivers-> [*]USB Support-> [*] USB Mass Storage support - Device Drivers-> [*]USB Support-> [*] DesignWare USB2 DRD Core Support (Host only mode) - Device Drivers-> [*]USB Support-> [*] USB Physical Layer Drivers - Device Drivers-> [*]USB Support-> [*] USB Physical Layer Drivers-> [*] NOP USB Transceiver Driver - Device Drivers-> [*] SCSI Device Support - Device Drivers-> [*] legacy /proc/scsi/ support - Device Drivers-> [*] SCSI disk support But I could not get input from the keyboard. Here's what it produces when connected: usb 1-1: new low-speed USB device number 4 using dwc2 usb 1-1: New USB device found, idVendor=046a, idProduct=0001 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 input: HID 046a:0001 as /devices/platform/sopc@0/ffb40000.usb/usb1/1-1/1-1:1.0/0003:046A:0001.0003/input/input2 hid-generic 0003:046A:0001.0003: input,hidraw0: USB HID v1.11 Keyboard [HID 046a:0001] on usb-ffb40000.usb-1/input0
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I went another way. Loaded the ready Linux LXDE for de0-nano-soc, launched X11.
When I connect the keyboard, I see that it is defined, but the text is also not entered. But I see that, the input is with the process: cat /dev/input/event1 I understand that he uses the keyboard from the computer itself, which is connected to the SSH ttyS0. How do I now start the input with event1?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
showkey --scancodes
nice worked. How to connect to X11?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page