TzuWen_Chang
-
Content Count
3 -
Joined
-
Last visited
Posts posted by TzuWen_Chang
-
-
Hi,
Please check your devpath. You can use "dmesg" or "udevadm monitor" command to get more information.
root@linaro-alip:/dev/input/by-id# udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent [ 458.189823] usb 5-1.3: new low-speed USB device number 4 using xhci-hcd [ 458.298912] usb 5-1.3: New USB device found, idVendor=0461, idProduct=4e84 [ 458.305868] usb 5-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 458.313467] usb 5-1.3: Product: USB Optical Mouse [ 458.318335] usb 5-1.3: Manufacturer: PixArt [ 458.324909] usb 5-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes KERNEL[458.005759] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3 (usb) KERNEL[458.047247] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0 (usb) KERNEL[458.054557] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002 (hid) [ 458.383211] input: PixArt USB Optical Mouse as /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/input/input5 KERNEL[458.063876] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/input/input5 (input) KERNEL[458.090385] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/input/input5/event3 (input) [ 458.453946] hid-generic 0003:0461:4E84.0002: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-xhci-hcd.11.auto-1.3/input0 KERNEL[458.134852] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/hidraw/hidraw0 (hidraw) UDEV [458.165723] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3 (usb) UDEV [458.190489] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0 (usb) UDEV [458.202123] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002 (hid) UDEV [458.215344] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/hidraw/hidraw0 (hidraw) UDEV [458.223512] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/input/input5 (input) UDEV [458.298266] add /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb5/5-1/5-1.3/5-1.3:1.0/0003:0461:4E84.0002/input/input5/event3 (input) root@linaro-alip:/dev/input# ls by-id by-path event0 event1 event2 event3
-
On 4/29/2021 at 8:38 PM, gc986 said:Hey! I need to be root to restart "tcpip" (adb tcpip 5555) from my application. How can i do this?
I am using tinkerboard R as a kiosk terminal and I need to control it over a TCP connection after a system reboot (after reboot "tcpip" is off).
Hi gc986,
If you want do the following command on boot.
Quotesu
setprop service.adb.tcp.port 5555
stop adbd
start adbdYou can modify init.usb.configfs.rc by "remount"
Quoteadb root
adb shell remount
adb pull /init.usb.configfs.rcAdd "
setprop service.adb.tcp.port 5555" before "start adbd"
adb push init.usb.configfs.rc /init.usb.configfs.rc
Then reboot to check property has been set.
CH341 USB to Serial Read & Write Error!
in Software
Posted
Hi Ken,
You can use this patch file to update ch341.c to the newest version.
This patch will be included in the next OS image release.
@ken
ch341.7z