Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 29 & 30 problems with RXTX #263

Open
bengtmartensson opened this issue Nov 4, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@bengtmartensson
Copy link
Owner

commented Nov 4, 2018

While Fedora 28 and earlier are working fine, Fedora 29 has some quirks related RXTX (i.e. the serial port access). First, the lock directory comes with useless permissions:

$ ls -ld /var/run/lock
drwxr-xr-x. 7 root root 160 Nov  4 13:07 /var/run/lock/

so only root can create lock files there... (Kinda defeats the purpose of locking...) Temporary fix is

$ sudo chgrp lock   /var/run/lock
$ sudo chmod g+w   /var/run/lock

but this is reset by the system at boot, and possibly after some time. So it needs to be redone... (There is probably a better way...)

Secondly, /usr/lib64/rxtx/librxtxSerial.so for some reason does not work with IrScrutinizer. (Loading fails,) Workaround is to instead use the one distributed with IrScrutinizer.

The AppImage version is affected by the first quirk, but not the second.

The long time fix is to replace RXTX. A short time work-around was presented above.

This is not a bug of IrScrutinizer, it is a bug of Fedora 29. Listing it here anyhow. (Really, it should go to HarcHardware, but probably no-one is looking there...)

@bengtmartensson

This comment has been minimized.

Copy link
Owner Author

commented May 5, 2019

Same problem on Fedora 30.

@bengtmartensson

This comment has been minimized.

Copy link
Owner Author

commented Jun 30, 2019

Did some research:

(There is probably a better way...)

The better, and intended, way is to use /var/lock/lockdev -> /run/lock/lockdev Will upload a version using that lock directory.

Secondly, /usr/lib64/rxtx/librxtxSerial.so for some reason does not work with IrScrutinizer. (Loading fails,)

This is a known bug in Fedora. Despite of being opened 2018-11-04 12:13 UTC and being "Severity: urgent" still open. Grrr. However, as I wrote

Workaround is to instead use the one distributed with IrScrutinizer.

bengtmartensson added a commit that referenced this issue Jun 30, 2019

bengtmartensson added a commit that referenced this issue Jun 30, 2019

@bengtmartensson bengtmartensson changed the title Fedora 29 problems with RXTX Fedora 29 & 30 problems with RXTX Jun 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.