Recent content by EB0

  1. E

    Writing to timerfd

    Hello. I recently asked the question on the SO, which, to the other users' opinion, can not be asked (and thus answered) in their Q&A platform. Here is the post text: Hopefully anyone has an idea or history why timerfd can't be used like eventfd? Someone with knowledge of internals? Thanks!
  2. E

    How to find related /dev/ device file given DEVPATH in event handler

    When keyboard is installed and system issues events, there're two devices being discovered: ACTION='add' DEVICENAME='2-1' DEVNAME='bus/usb/002/006' DEVNUM='006' DEVPATH='/devices/soc0/80080000.ahb/80080000.usb/ci_hdrc.0/usb2/2-1' DEVTYPE='usb_device' MAJOR='189' MINOR='133' PRODUCT='4f3/103/107'...
  3. E

    How to find related /dev/ device file given DEVPATH in event handler

    Thank you, that would be super, what I see in the environment (displayed using set in the hotplug event handler) ACTION='bind' DEVICENAME='2-1:1.0' DEVPATH='/devices/soc0/80080000.ahb/80080000.usb/ci_hdrc.0/usb2/2-1/2-1:1.0' DEVTYPE='usb_interface' DRIVER='usbhid'...
  4. E

    How to find related /dev/ device file given DEVPATH in event handler

    I am running openwrt, have minimum software installed. When I plug keyboard device into the router, it launches hotplug event, executing the script for add/bind. I can know usbhid device is being attached, and its DEVPATH. The keyboard must have /dev/hidraw* device for it, which then I can...
Top