Bug 21723 - Udev rule missing in libticables2 to allow users access to handhelds
Summary: Udev rule missing in libticables2 to allow users access to handhelds
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK MGA6-32-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-09-17 12:04 CEST by José Jorge
Modified: 2017-10-05 22:09 CEST (History)
7 users (show)

See Also:
Source RPM: libticables2
CVE:
Status comment:


Attachments

Description José Jorge 2017-09-17 12:04:51 CEST
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
José Jorge 2017-09-17 12:05:08 CEST

CC: (none) => lists.jjorge

Comment 1 José Jorge 2017-09-17 12:06:56 CEST
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

Comment 2 José Jorge 2017-09-19 22:13:39 CEST
At least, I could test on a MGA6 i586 laptop, it is Ok.

Whiteboard: (none) => MGA6-32-OK

Comment 3 Lewis Smith 2017-09-21 10:26:16 CEST
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
Keywords: (none) => advisory

Comment 4 Len Lawrence 2017-09-21 19:45:59 CEST
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

Comment 5 Len Lawrence 2017-09-21 21:59:27 CEST
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.
Comment 6 Dave Hodgins 2017-09-21 22:02:39 CEST
[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
Whiteboard: MGA6-32-OK => (none)
Keywords: (none) => feedback

Comment 7 Thomas Backlund 2017-09-21 22:06:13 CEST
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

Comment 8 Len Lawrence 2017-09-21 22:13:57 CEST
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"
Comment 9 Len Lawrence 2017-09-21 22:18:58 CEST
So, it is there if you install the development package.
Comment 10 Thomas Backlund 2017-09-21 22:24:32 CEST
(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
Comment 11 Len Lawrence 2017-09-22 01:19:09 CEST
OK.  So this one might come back one more time.
Comment 12 José Jorge 2017-09-22 17:37:45 CEST
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)

Comment 13 Len Lawrence 2017-09-23 10:35:24 CEST
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

Comment 14 Herman Viaene 2017-09-26 10:51:41 CEST
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
CC: (none) => herman.viaene

Herman Viaene 2017-09-26 10:52:28 CEST

Whiteboard: MGA6-64-OK MGA-6-32-OK => MGA6-64-OK MGA6-32-OK

Comment 15 Lewis Smith 2017-09-26 13:16:43 CEST
Advisory updated to SRPM version libticables2-1.3.5-2.2.mga6.
Validated.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 16 Mageia Robot 2017-10-05 22:09:40 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0089.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.