# zcat /proc/config.gz | grep -i dwc CONFIG_USB_DWC_OTG_HCD=y # CONFIG_USB_DWC3 is not set # CONFIG_USB_DWC2 is not set # dmesg | grep dwc2 [ 2.488359] dwc_otg dwc2_b: DWC OTG Controller [ 2.492647] dwc_otg dwc2_b: new USB bus registered, assigned bus number 1 [ 2.499387] dwc_otg dwc2_b: irq 63, io mem 0x00000000 [ 2.572237] dwc_otg dwc2_a: DWC OTG Controller [ 2.576584] dwc_otg dwc2_a: new USB bus registered, assigned bus number 2 [ 2.583313] dwc_otg dwc2_a: irq 62, io mem 0x00000000 # modprobe libcomposite # lsmod | grep -i libcomposite libcomposite 46311 0 # dmesg | tail [ 119.062507] SRP: Device mode [ 119.062520] SRP Fail # ls -al /sys/kernel/config/usb_gadget/ total 0 drwxr-xr-x 2 root root 0 Sep 26 08:44 . drwxr-xr-x 3 root root 0 Sep 26 08:44 .. |
[링크 : https://forum.odroid.com/viewtopic.php?t=36602]
hid.usb0 라는걸 생성하려고 하니 생성이 불가능하다고 나온다. 왜일까 ㅠㅠ
# /usr/bin/isticktoit_usb mkdir: cannot create directory 'functions/hid.usb0': No such file or directory /usr/bin/isticktoit_usb: line 19: functions/hid.usb0/protocol: No such file or directory /usr/bin/isticktoit_usb: line 20: functions/hid.usb0/subclass: No such file or directory /usr/bin/isticktoit_usb: line 21: functions/hid.usb0/report_length: No such file or directory /usr/bin/isticktoit_usb: line 22: functions/hid.usb0/report_desc: No such file or directory ln: failed to create symbolic link 'configs/c.1/hid.usb0': No such file or directory ls: write error: Invalid argument |
[링크 : https://randomnerdtutorials.com/raspberry-pi-zero-usb-keyboard-hid/]
'embeded > odroid' 카테고리의 다른 글
odroid c2 ubuntu 18.04, 20.04 kernel 버전 정보 (0) | 2021.09.27 |
---|---|
odroid c2 usb otg, libcomposite usb hid (0) | 2021.09.26 |
odroid c2 OTG와 mass storage (0) | 2021.09.19 |
odroid c2 ADC (0) | 2021.09.19 |
odroid c2 lircd output 성공 (0) | 2021.09.18 |