I have a USB serial adapter I am trying to use as a seial console device for putty. It is identified and works like a champ for root but will not work for any other user.
For anyone other than root putty returns "Unable to Open Port". I have checked proc/bus/usb/devices and can find nothing that would restrict use.
Is there somewhere else I should be looking?
Thanks
On 04/30/2011 09:20 AM, Mike Dwiggins wrote:
I have a USB serial adapter I am trying to use as a seial console device for putty. It is identified and works like a champ for root but will not work for any other user.
For anyone other than root putty returns "Unable to Open Port". I have checked proc/bus/usb/devices and can find nothing that would restrict use.
Is there somewhere else I should be looking?
Thanks
Try adding the user to group tty
On 4/29/2011 4:25 PM, Brendan Jones wrote:
On 04/30/2011 09:20 AM, Mike Dwiggins wrote:
I have a USB serial adapter I am trying to use as a seial console device for putty. It is identified and works like a champ for root but will not work for any other user.
For anyone other than root putty returns "Unable to Open Port". I have checked proc/bus/usb/devices and can find nothing that would restrict use.
Is there somewhere else I should be looking?
Thanks
Try adding the user to group tty
Same Result.
On 04/30/2011 09:38 AM, Mike Dwiggins wrote:
Try adding the user to group tty
Same Result.
Ensure that the user can read/write your device /dev/ttySX
You might want to consider writing a udev rule so these permissions persist after reboot.
Plenty of docco out there - one such example: http://www.libelle-systems.com/free/wine/serial_port_access.html
On Fri, 2011-04-29 at 16:20 -0700, Mike Dwiggins wrote:
I have a USB serial adapter I am trying to use as a seial console device for putty. It is identified and works like a champ for root but will not work for any other user.
For anyone other than root putty returns "Unable to Open Port". I have checked proc/bus/usb/devices and can find nothing that would restrict use.
Are you logging in twice, simultaneously? The first login gets to own the unsharable hardware, to the exclusion of subsequent logins at the same time as the first login is still logged it. The first login has to logout before someone else could use the same hardware.
On 4/29/2011 4:47 PM, Brendan Jones wrote:
On 04/30/2011 09:38 AM, Mike Dwiggins wrote:
Try adding the user to group tty
Same Result.
Ensure that the user can read/write your device /dev/ttySX
You might want to consider writing a udev rule so these permissions persist after reboot.
Plenty of docco out there - one such example: http://www.libelle-systems.com/free/wine/serial_port_access.html
That got it. The udev rule fixed the problem!
Thanks again!
Check the permissions on the created port - usually /dev/ttyUSBsomething or /dev/ttyACMsomething depending upon the interface
Alan