Ticket #292 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Need Better Docs re Dynamic Device Configuration

Reported by: jrush Owned by: lennart
Milestone: 0.9.16 Component: daemon
Keywords: Cc:

Description

The docs are unclear on how to support a pluggable USB audio device and be able configure its settings and sink/source name. Approaches tried are:

1. Use of load-module fails if the device is not yet plugged in. 2. Use of add-autoload-* fails to enumerate device in drop-down lists until it is explicitly accessed, even though the device is indeed plugged in. 3. Use of module-hal-detect correctly detects and adds the device upon plug-in, but sacrifices any configurability of that device, especially giving it a user-meaningful name.

My choice would be to have module-hal-detect bump any ghost sinks/sources already defined for that device, making them non-ghosted now. But that would require some algorithm for matching up what HAL found with ghost definitions.

Change History

Changed 4 years ago by lennart

  • type changed from task to enhancement

Yes, indeed. If you want hotplug and automagic configuration you lose the ability to seperately configure devices.

I am trying to get things to work in a way that as many things as possible are configured automatically, and the few things that require manual config can be done via a GUI.

Thus implementing what you request is not really on my list. But I will always consider good patches! ;-)

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9.16

We now allow a good dea of reconfiguration during runtime via the ports/profile mechanism. I think this can be closed now.

Note: See TracTickets for help on using tickets.