Project

General

Profile

Bug #198

re-add device issue

Added by Marco Tognon 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

When unplugging and re-plugging a device, the latter is not added:

joystick: created outport joystick/device/Logitech
joystick-pocolibs: added new device: Logitech
joystick: destroyed outport device/Logitech
joystick-pocolibs: removed device: Logitech
joystick: port device name too long
joystick: port name length limited to 22 characters
joystick: port device name too long
joystick: port name length limited to 22 characters
joystick: port device name too long
joystick: port name length limited to 22 characters

Associated revisions

Revision 123e5d80 (diff)
Added by Anthony Mallet 3 months ago

Fix port->close() for ports that are "multiple out"

Properly remove and free the port handle after a port close(). The port handle
was left in a semi-open state, which would trigger segfaults whenever a new
open() with the same name would be done.

History

#1

Updated by Anthony Mallet 3 months ago

  • Status changed from New to Closed

Also available in: Atom PDF