Bug 650849
Summary: | Arduino can't create lock files for accessing the serial port | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jacques <Jacques.Basson> |
Component: | rxtx | Assignee: | Levente Farkas <lfarkas> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | lfarkas, marc.bruggeman, maurizio.antillon, mavit, nicola.gatti90, valent.turkovic |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rxtx-2.2-0.3.20100211.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-06 20:04:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jacques
2010-11-08 07:30:44 UTC
I meant /var/lock and /var/lock/lockdev, not /dev/lock and /dev/lock/lockdev The lock directory has changed for security reasons (see bug #581884). Locking is handled by RXTX, and the directory used is defined in SerialImp.h. rxtx-2.2-0.3.20100211.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rxtx-2.2-0.3.20100211.fc14 rxtx-2.2-0.3.20100211.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rxtx'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rxtx-2.2-0.3.20100211.fc14 Seems to be fixed. The fix was out incredibly fast. Thanks very much! rxtx-2.2-0.3.20100211.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. I just installed the arduino package on Fedora 14 and am using an Arduino UNO device. When I check installed packages I get : # yum list installed rxtx rxtx.i686 2.2-0.3.20100211.fc14 @updates # yum list installed arduino arduino.noarch 0021-1.fc14 @fedora When launching arduino GUI and trying to upload an arduino sketch to the arduino board I always get an Arduino error message saying that there is an invalid device signature. Starting arduino from the commandline I get : [mb0606 ~]$ arduino WARNING: RXTX Version mismatch Jar version = RXTX-2.2 native lib Version = RXTX-2.2pre2 Could this version mismatch be the root cause for this error ?? I've installed Arduino1.0 on Fedora16 with rxtx 2.2-0.5.20100211 and I've got the same problem. (In reply to comment #8) > I've installed Arduino1.0 on Fedora16 with rxtx 2.2-0.5.20100211 and I've got > the same problem. When you say Arduino 1.0, do you mean that you downloaded a copy from the arduino.cc website? They bundle their own version of rxtx, which won't include these fixes. You could try Fedora's arduino 1.0 packages from rawhide. See http://arduino.cc/playground/Linux/Fedora. Yes, I downloaded it from the arduino.cc website because the update's link of my old version points there. Thank you very much Peter Oliver, this runs!! I downloaded latest Arduino 1.0.4 (because Fedora package is too old for some Arduino boards) and I still get this error: check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file. My user is Administrator type and is in dialout group. And I'm also in "lock" group also... After changing permissions I got arduino to work because /run/lock had this permissions: drwxr-xr-x. 6 root lock 120 May 17 10:49 lock So even if I was in "lock" group I had only "read" permission. After changing permissios arduino works: sudo chmod 775 /run/lock Hope this helps others. |