Beginning Arduino - getting user in the right groups

Hello all,

Now that I have openSuSE 12.1 running on my laptop, I wanted to get busy with my Arduino (got it a while ago but the summer got busier than expected).

So, I’m looking at the instructions from here:

Arduino playground - OpenSUSE

and here:

Arduino - openSUSE

The former says to add the user to the groups lock, uucp, and dialout. The latter discusses changing the permissions on /var/lock and /dev/ttyUSB0 to 777, which seems like a bit of a security hole?

At any rate, I did add my user to the aforementioned groups… but I still get a lot of complaints from the arduino program when I launch it from the console:


monte@suse:~> arduino
Error parsing gtk-icon-sizes string: ''
LOCKING /dev/ttyS7
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS6
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS5
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS4
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS3
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS2
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS1
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS0
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS7
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS6
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS5
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS4
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS3
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS2
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS1
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS0
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
monte@suse:~> 


Now the arduino app does launch, but I’m concerned about those error messages - especially since I am a member of group ‘lock’, and I did log out and back in - I even restarted the computer. The current (default) permissions on /var/lock look to be 755… do I really need to change them to 777, or even 775, to allow my user to be able to write to /var/lock? Is that necessary for the arduino app to work correctly?

TIA,

Monte

Hi,

there seems to be a problem with /var/lock.

Have a look at this discussion here:

/var/lock/

HTH

Lenwolf

Nuts. It’s been a known issue for over 10 months, with bug reports and everything, and still not fixed?

Thanks for the heads up.

Monte

deleted - duplicated post of someone else in error.