bitfocus / companion-pi

Bitfocus Companion enables the reasonably priced Elgato Streamdeck to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
MIT License
29 stars 8 forks source link

Add surface (streamdeck) autorescan when device is plugged in #4

Closed john-bednar closed 1 year ago

john-bednar commented 1 year ago

This patch is adding useful funcionality of rescanning USB surfaces when Streamdeck devices are connected. We have replicated already existing PIDs so it should react at least for already defined devices. We have tested it with Streamdeck XL (0fd9:006c).

We hope, using udev notify based on KERNEL=="hidraw*" is the most reliable.

We have tried and successfully built image with packer. For use before merge you only need to switch repo to this fork on the line 60 in packer file.

john-bednar commented 1 year ago

@Julusian is there any problem / planned featureset, why this cannot be merged?

Julusian commented 1 year ago

sorry, I didn't notice this.

Thanks for the PR, but the next release of Companion will be 3.0 which has this functionality builtin