Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. USB Hotplug

USB Hotplug

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 5.5k 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.
  • S Offline
    S Offline
    sreeram
    wrote on last edited by
    #1

    Hi All

    I am working on Linux Qt application for handling usb devices.I am calling Libusb API (libusb_get_device_list) for getting usb enumerated device list .For doing every operation on usb devices I am calling Libusb API to get new enumerated usb device list(connected while running application).

    Is there any other way to call it (libusb_get_device_list) while usb connecting and removing instead of calling before every operation.

    Thanks
    Sreeram

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      What about to use dbus usb events to detect plug/unplug of usb devices?

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sreeram
        wrote on last edited by
        #3

        Hi AcerExtensa,

        I have just started working with Qt , dont know about QtDbus.

        Can you please explain me what is its functionality??? Or perhaps some useful Links..

        Thanks
        Sreeram

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcerExtensa
          wrote on last edited by
          #4

          Here it is: http://stackoverflow.com/questions/8604081/can-linux-signal-my-qt-program-when-a-particular-usb-device-is-connected

          There is an link to dbus tutorial and working code sample.

          God is Real unless explicitly declared as Integer.

          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