| Summary: | Udev rule missing in libticables2 to allow users access to handhelds | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | José Jorge <lists.jjorge> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, herman.viaene, lewyssmith, lists.jjorge, sysadmin-bugs, tarazed25, tmb |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK MGA6-32-OK | ||
| Source RPM: | libticables2 | CVE: | |
| Status comment: | |||
|
José Jorge
2017-09-17 12:05:08 CEST
CC:
(none) =>
lists.jjorge I am sorry, one needs a TI USB handhelp to test this update. I just had one, this is why I pushed this fix. Status:
NEW =>
ASSIGNED At least, I could test on a MGA6 i586 laptop, it is Ok. Whiteboard:
(none) =>
MGA6-32-OK Testing M6/64 clean update only. BEFORE: lib64ticables2_7-1.3.5-2.mga6 (which pulled in libticables2-i18n-1.3.5-2.mga6). AFTER: lib64ticables2_7-1.3.5-2.1.mga6 libticables2-i18n-1.3.5-2.1.mga6 So no problems at this level. CC:
(none) =>
lewyssmith This is another one which looks like a hopeless case if the specific hardware is not available. If nobody pops up with such a thing then we have no choice but to send it on as a clean install. CC:
(none) =>
tarazed25 Looking at tilp and the updates on mga6 for x86_64. Installed tilp2 packages and preupdate lib64 packages. $ tilp shows the gui and probes for ticables and does not find any devices, as expected. Looking for config files just now. [root@hodgins ~]# rpm -q -i lib64ticables2_7|grep ^Source Source RPM : libticables2-1.3.5-2.1.mga6.src.rpm [root@hodgins ~]# rpm -q -l lib64ticables2_7 /usr/lib64/libticables2.so.7 /usr/lib64/libticables2.so.7.0.0 No rules added to /lib/udev/rules.d, or existing rules modified. Removing the ok for Mageia 6 32 bit. CC:
(none) =>
davidwhodgins Yeah, it's added, but in wrong package ... rpm -qlp updates_testing/lib64ticables2-devel-1.3.5-2.1.mga6.x86_64.rpm |grep rules /usr/lib/udev/rules.d/69-libticables.rules CC:
(none) =>
tmb After the update 69-libticables.rules appears in /lib/udev/rules.d
$ pwd
/lib/udev/rules.d
$ cat 69-libticables.rules
ACTION!="add", GOTO="libticables_end"
# serial device (assume TI calculator)
KERNEL=="ttyS[0-3]", ENV{ID_PDA}="1"
# parallel device (assume TI calculator)
SUBSYSTEM=="ppdev", ENV{ID_PDA}="1"
# SilverLink
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e001", ENV{ID_PDA}="1"
# TI-84+ DirectLink
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e003", ENV{ID_PDA}="1"
# TI-89 Titanium DirectLink
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e004", ENV{ID_PDA}="1"
# TI-84+ SE DirectLink
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e008", ENV{ID_PDA}="1"
# TI-Nspire DirectLink
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e012", ENV{ID_PDA}="1"
LABEL="libticables_end"
So, it is there if you install the development package. (In reply to Len Lawrence from comment #9) > So, it is there if you install the development package. yeah, but by default we try to not force end-users to install devel packages for stuff to work.... so the rules file shoud be moved to proper package OK. So this one might come back one more time. Oh sorry sorry for the mess. I have submitted version 1.3.5-2.1 that simply puts the udev file in the lib package.
José Jorge
2017-09-22 17:37:57 CEST
Keywords:
feedback =>
(none) Tested this again on mga6::x86_64. 69-libticables.rules now present in /lib/udev/rules.d. OK for 64-bits.
Len Lawrence
2017-09-23 10:35:41 CEST
Whiteboard:
(none) =>
MGA6-64-OK MGA6-32 on Asus A6000VM MATE Installed version 1.3.5-2.2 (not the devel): no problems AFAIK is "handhelds" another term for GSM/mobile phone/smartphone - ref "ein handi" in Germany. So I connected my Acer V370 smartphone with a USB cable to the laptop, and the phone appeared - as a normal user - in caja as MT65xx Android phone, and I could browse its SD card. OK for me. Whiteboard:
MGA6-64-OK =>
MGA6-64-OK MGA-6-32-OK
Herman Viaene
2017-09-26 10:52:28 CEST
Whiteboard:
MGA6-64-OK MGA-6-32-OK =>
MGA6-64-OK MGA6-32-OK Advisory updated to SRPM version libticables2-1.3.5-2.2.mga6. Validated. Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0089.html Resolution:
(none) =>
FIXED |
Suggested advisory Tilp2 application which was new in Mageia 6 only allowed root to access to USB handhelds. This update brings an udev rule to allow connected user to access them. RPMS: libticables2-2.1.srpm lib{64}ticables2_7-1.3.5-2.1.mga7.x86_64.rpm lib{64}ticables2-devel-1.3.5-2.1.mga7.x86_64.rpm