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