Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Critical: [(null)] evdevmouse: could not read from input device (no such device)
Forum Updated to NodeBB v4.3 + New Features

Critical: [(null)] evdevmouse: could not read from input device (no such device)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 578 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    getgo
    wrote on last edited by
    #1

    Hi,

    My application suddenly somehow in random occassion print Critical: [(null)] evdevmouse: could not read from input device (no such device) and resistive touch screen that behave as mouse in /dev/input/event0 couldn't work anymore unless i restart the application.

    I have 3 questions :

    • Why QT can't reload the input?
    • How QT and evdev works? Based on what i know, QT only receive whatever evdev give, so it's not QT problem, but why if i restart the application it work again?
    • Is there some way i can get the signal so the application able to restart it self?

    Please kindly advise. thank you!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you check the kernel messages to see why the device disappear ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        getgo
        wrote on last edited by
        #3

        Hi,

        [167139.543452] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [167139.543552] usb 1-1.2: Product: LG TS2009F-USB
        [167139.543561] usb 1-1.2: Manufacturer: Edamak
        [167139.550276] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.0056/input/input85
        [167139.551077] hid-generic 0003:16FD:D091.0056: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [167779.752593] usb 1-1.2: USB disconnect, device number 89
        [167780.222048] usb 1-1.2: new full-speed USB device number 90 using dwc_otg
        [167780.361938] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [167780.361954] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [167780.362039] usb 1-1.2: Product: LG TS2009F-USB
        [167780.362048] usb 1-1.2: Manufacturer: Edamak
        [167780.368588] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.0057/input/input86
        [167780.369349] hid-generic 0003:16FD:D091.0057: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [167949.480568] usb 1-1.2: USB disconnect, device number 90
        [167950.005785] usb 1-1.2: new full-speed USB device number 91 using dwc_otg
        [167950.145691] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [167950.145755] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [167950.145765] usb 1-1.2: Product: LG TS2009F-USB
        [167950.145774] usb 1-1.2: Manufacturer: Edamak
        [167950.150931] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.0058/input/input87
        [167950.151647] hid-generic 0003:16FD:D091.0058: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [168592.552690] usb 1-1.2: USB disconnect, device number 91
        [168592.990538] usb 1-1.2: new full-speed USB device number 92 using dwc_otg
        [168593.130510] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [168593.130524] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [168593.130534] usb 1-1.2: Product: LG TS2009F-USB
        [168593.130543] usb 1-1.2: Manufacturer: Edamak
        [168593.136974] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.0059/input/input88
        [168593.137714] hid-generic 0003:16FD:D091.0059: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [168789.160592] usb 1-1.2: USB disconnect, device number 92
        [168789.633985] usb 1-1.2: new full-speed USB device number 93 using dwc_otg
        [168789.772695] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [168789.772712] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [168789.772722] usb 1-1.2: Product: LG TS2009F-USB
        [168789.772731] usb 1-1.2: Manufacturer: Edamak
        [168789.778173] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.005A/input/input89
        [168789.778931] hid-generic 0003:16FD:D091.005A: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [169470.120568] usb 1-1.2: USB disconnect, device number 93
        [169470.544676] usb 1-1.2: new full-speed USB device number 94 using dwc_otg
        [169470.684565] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [169470.684580] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [169470.684675] usb 1-1.2: Product: LG TS2009F-USB
        [169470.684685] usb 1-1.2: Manufacturer: Edamak
        [169470.691307] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.005B/input/input90
        [169470.692048] hid-generic 0003:16FD:D091.005B: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [170297.976148] usb 1-1.2: reset full-speed USB device number 94 using dwc_otg
        [170471.875602] usb 1-1.2: reset full-speed USB device number 94 using dwc_otg
        [171142.628230] usb 1-1.2: reset full-speed USB device number 94 using dwc_otg
        [171334.568600] usb 1-1.2: USB disconnect, device number 94
        [171335.119664] usb 1-1.2: new full-speed USB device number 95 using dwc_otg
        [171335.259575] usb 1-1.2: New USB device found, idVendor=16fd, idProduct=d091, bcdDevice= 4.04
        [171335.259645] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
        [171335.259655] usb 1-1.2: Product: LG TS2009F-USB
        [171335.259665] usb 1-1.2: Manufacturer: Edamak
        [171335.267232] input: Edamak LG TS2009F-USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:16FD:D091.005C/input/input91
        [171335.267982] hid-generic 0003:16FD:D091.005C: input,hidraw0: USB HID v1.11 Mouse [Edamak LG TS2009F-USB] on usb-3f980000.usb-1.2/input0
        [172217.529649] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [172910.829316] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [173080.891400] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [173750.519339] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [173942.721566] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [175531.215080] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [175702.796790] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [176562.443670] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [177250.205941] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [178343.752958] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [178911.073268] usb 1-1.3: reset high-speed USB device number 5 using dwc_otg
        [178994.530648] Modules linked in: tun xt_conntrack ipt_MASQUERADE nf_conntrack_netlink nft_counter xt_addrtype nft_compat nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink br_netfilter bridge overlay bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc brcmfmac brcmutil joydev snd_usb_audio snd_hwdep sha256_generic uvcvideo snd_usbmidi_lib snd_rawmidi snd_seq_device cfg80211 rfkill snd_bcm2835(C) raspberrypi_hwmon hwmon snd_pcm snd_timer snd bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem i2c_bcm2835 bcm2835_mmal_vchiq(C) videobuf2_dma_contig v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common vc_sm_cma(C) videodev media evdev uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
        [179219.388016] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        [179901.528151] usb 1-1.2: reset full-speed USB device number 95 using dwc_otg
        

        There's no why the device disconnected. Is there any way QT able to get the signal or re read from /dev/input/event0 again?

        Thanks!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Looks like there's a bug somewhere in the lower levels of your system.

          Do you get the same result if you plug your mouse in another port ?
          Do you get the same result if you plug a different mouse in the same port ?

          You likely don't have that file available anymore when the device restarts, do you ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved