Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Warning if user has insufficient rights to connect to device #119

Open
danbim opened this issue May 2, 2012 · 0 comments
Open

Warning if user has insufficient rights to connect to device #119

danbim opened this issue May 2, 2012 · 0 comments
Labels
Milestone

Comments

@danbim
Copy link
Member

danbim commented May 2, 2012

From the logs:

2012-05-02 13:34:43,125 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,236 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,345 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,457 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,583 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,692 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,805 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:43,917 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:44,027 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.
2012-05-02 13:34:44,137 | DeviceObserver-Thread 0        | AbstractSerialPortConnection   | WARN  | Port /dev/ttyUSB3 not found.

If a user is not part of group "dialout" he will only get the error messages displayed above which is not really helping to find the root cause. It might be possible to check for the file rights in order to determine if the users rights are sufficient before actually trying to connect.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant