hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.11k stars 384 forks source link

Serial device detection broken on Linux #865

Closed oCanna closed 4 years ago

oCanna commented 4 years ago

Bug report

[hyperiond LEDDEVICE] LedDevice 'adalight' found. [hyperiond LEDDEVICE] Opening UART: /dev/ttyACM0 [hyperiond LEDDEVICE] Device disabled, device 'adalight' signals error: 'Invalid serial device name: [/dev/ttyACM0]!' [hyperiond LEDDEVICE] Device disabled, device 'adalight' signals error: 'Error opening device!'

The serial device detection was working prior this commit: e365a2839d327c9f6e3836e7f4c5e552522df425

Steps to reproduce

On a linux system, try to connect led hardware through a serial interface.

What is expected?

A working serial device detection.

What is actually happening?

ping @heikobihr

System

Hyperion Server:

Hyperion Server OS:

Lord-Grey commented 4 years ago

Duplicate to #859, Fix is part of #855. Immediate workaround is just using the portable without /dev/, i.e. ttyACM0 only.