Re: how to automatically detect and use connected usb audio devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Mgr. Janusz Chmiel [mailto:janusz.chmiel@xxxxxxxx] 
> 
> So if I understood yours well, fully automatic switching is 
> not directly 
> supported by The ALSA. And very probably, there is currently 
> no free or 
> opensource solution for ALSA Linux user than manually finding 
> name of USB 
> connected device and switching to it. It would be very interesting 
> programmers experiment to develop daemon, which would 
> automatically switch 
> between output devices if some new device will be added. But 
> very probably, 
> this is not so simple as it could seems to Me. Thank you very 
> much for yours 
> kind answer on my question.
> But ALSA is still my favourite sound server. It is true, that 
> I do not 
> manipulate with output devices so often and The fastest 
> responsiveness of 
> audio device is always The device, which is internally 
> connected to PCI not 
> to USB port.

The kernel provides notification of the appearance or disappearance of a
hot-plug device, and this is normally exposed through udev, the userspace
side of which is now incorporated into systemd. It's pretty easy to write
udev rules that cause scripts to run, and it should be pretty easy to write
scripts that do what you want.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@xxxxxxxxxxxxx



_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux