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

Udev rules related docs update #60

Merged
merged 3 commits into from
Jan 12, 2019
Merged

Conversation

szszszsz
Copy link
Contributor

@szszszsz szszszsz commented Jan 7, 2019

A couple of corrections regarding Udev rules documentation.
Added an Udev rule to symlink to the serial port.

Work in progress - testing connection to serial to be exact.

@szszszsz
Copy link
Contributor Author

szszszsz commented Jan 8, 2019

For some reason with this Udev rules I still cannot access the symlinked serial as an user.

@szszszsz szszszsz changed the title [WIP] Udev rules related docs update Udev rules related docs update Jan 8, 2019
@szszszsz
Copy link
Contributor Author

szszszsz commented Jan 8, 2019

Please review the changes.

@yparitcher
Copy link
Contributor

please add this to the udev rule this instead of stopping ModemManager:

ACTION!="add|change|move", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
ENV{DEVTYPE}!="usb_device",  GOTO="mm_usb_device_blacklist_end"

ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", ENV{ID_MM_DEVICE_IGNORE}="1"

LABEL="mm_usb_device_blacklist_end"

Signed-off-by: Szczepan Zalega <[email protected]>
This Udev rule marks the device to be ignored by the MM.
Otherwise using the CDC ACM serial port interface will not be
possible, while its service is running.

Tested on Fedora 29, with ModemManager enabled, using:
$ solotool.py monitor /dev/solokey-serial
Fixes solokeys#62

As provided by @yparitcher in:
solokeys#60 (comment)

Signed-off-by: Szczepan Zalega <[email protected]>
@szszszsz
Copy link
Contributor Author

szszszsz commented Jan 9, 2019

Corrected as suggested.

Edit: now I can access the serial port using user privileges, great!

@szszszsz
Copy link
Contributor Author

Connected: #45

@conorpp
Copy link
Member

conorpp commented Jan 12, 2019

Everything looks great, sorry for delay. Thank you!!

@conorpp conorpp merged commit 178c257 into solokeys:master Jan 12, 2019
@szszszsz szszszsz deleted the doc_update branch January 30, 2019 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants