Port devel/arduino serial port problems [SOLVED]
Warren Block
wblock at wonkity.com
Thu Mar 14 13:08:34 UTC 2013
On Thu, 14 Mar 2013, Polytropon wrote:
> On Thu, 14 Mar 2013 08:48:22 +0000, Arthur Chance wrote:
>> On 03/13/13 21:56, Arthur Chance wrote:
>>> I'm trying to get devel/arduino working.[snip]
>>
>> I shouldn't work 13 hour days. Now I've had some sleep, I've spotted
>> what I missed last night. The underlying code from comms/rxtx is trying
>> to create a lock file in /var/spool/lock and that is only writeable by
>> user uucp and group dialer. Given that I have absolutely no serial
>> devices (or ports) on this box apart from the Arduino when it's plugged
>> in, can anyone see any problems with making the lock directory world
>> writeable?
>
> Simply add your user (or the account the program is running
> under) to the "dialer" group. This has been a common method
> to allow users to access dialing programs (which were reserved
> for root use without this group addition).
This is also mentioned when the Arduino port is installed:
To allow serial port locking, add your user to the dialer group:
pw usermod myuser -G dialer
More information about the freebsd-questions
mailing list