mikepurvis / joystick_sdl

A cross-platform joystick library/node for ROS.
http://wiki.ros.org/joystick_sdl
6 stars 3 forks source link

No joystick found #1

Open bgromov opened 7 years ago

bgromov commented 7 years ago

Periodically I am having "No joystick found" issue on macOS with Logitech F710, usually after the dongle is replugged. The OS definitely sees it, but the node is not able to connect. Sometimes I have to wait or replug the dongle many times until the node finally connects. The joystick is in Direct Input mode (D).

Here is the output of ioreg -p IOUSB -l -w 0:

    +-o Wireless Gamepad F710@14200000  <class AppleUSBDevice, id 0x1000cdd64, registered, matched, active, busy 0 (2 ms), retain 12>
    |   {
    |     "sessionID" = 1193682448245557
    |     "iManufacturer" = 1
    |     "bNumConfigurations" = 1
    |     "idProduct" = 49695
    |     "bcdDevice" = 773
    |     "Bus Power Available" = 250
    |     "USB Address" = 29
    |     "bMaxPacketSize0" = 8
    |     "iProduct" = 2
    |     "iSerialNumber" = 3
    |     "bDeviceClass" = 255
    |     "Built-In" = No
    |     "locationID" = 337641472
    |     "bDeviceSubClass" = 255
    |     "bcdUSB" = 512
    |     "USB Product Name" = "Wireless Gamepad F710"
    |     "PortNum" = 2
    |     "non-removable" = "no"
    |     "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
    |     "bDeviceProtocol" = 255
    |     "IOUserClientClass" = "IOUSBDeviceUserClientV2"
    |     "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
    |     "Device Speed" = 1
    |     "USB Vendor Name" = "Logitech"
    |     "idVendor" = 1133
    |     "IOGeneralInterest" = "IOCommand is not serializable"
    |     "IOClassNameOverride" = "IOUSBDevice"
    |   }

The SDL was installed with the homebrew.

mikepurvis commented 7 years ago

Hi! Thanks for trying this out--unfortunately the package is abandonware. So you're welcome to adopt/fork it and figure out what is wrong, but I'm unlikely to look further at the moment.