Altera_Forum
Honored Contributor
7 years agode0-nano-soc USB OTG Keyboard and other
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