Handle hot-plugging and graceful recovery of controllers

Bug #667627 reported by Sean M. Pappalardo
78
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

Mixxx should:
1) gracefully handle unplugging controllers mid-set
2) be able to see new controllers plugged in mid-set (when you go to the prefs)
3) automatically re-initialize a controller that went missing and is now visible again (Mixxx should start querying for controllers every half-second or so until the missing device re-appears (or the user opens the preferences window.) When the device reappears, Mixxx should automatically open and re-initialize it without any user interaction.)

I imagine 2 could be accomplished just by calling DeviceEnumerator::queryDevices() each time the prefs is opened.

description: updated
description: updated
summary: - Handle hot-plugging controllers
+ Handle hot-plugging and graceful recovery of controllers
description: updated
tags: added: disconnect recover
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

The attached is a back trace of what happens when you unplug a controller mid-set. (In short, PortMIDI gets confused.)

RJ Skerry-Ryan (rryan)
tags: added: controllers
removed: controller
Revision history for this message
Be (be.ing) wrote :

I could see this being confusing to new users. I could see a new user trying Mixxx for the first time, starting Mixxx, plugging in their controller, not seeing it in the preferences, and thinking that Mixxx does not support their controller even if it does.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Hotplug for HID is in progress here:
https://github.com/mixxxdj/mixxx/pull/191

Revision history for this message
Be (be.ing) wrote :

As a quick hack, maybe we could rescan for controllers when the preferences dialog is opened? Or add a "Refresh" button to the Controllers preference page?

tags: removed: disconnect freeze hang hot-plug recover unplug
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5614

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.