FS#42746 - [xbmc] CEC-USB adapter not working with user xbmc becouse of missing groups

Attached to Project: Community Packages
Opened by McLenin (McLenin) - Tuesday, 11 November 2014, 18:12 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 11 November 2014, 19:35 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
CEC with PulseEight USB-CEC adapter does not work for xbmc user, because of missing permissions. The adapter is presented as /dev/ttyACM0 with permissions crw-rw---- 1 root uucp . Using it also relies on /run/lock/lockdev with permissions drwxrwxr-x 2 root lock . The xbmc user belongs to groups: network, video, audio, optical, xbmc. Which means it can not use CEC until it's added to the groups uucp and lock. While not a major problem, it is a bit annoying when setting up a box that uses xbmc in stanalone mode. The problem can be fixed by adding the xbmc user to the before mentioned groups, and I believe it should be done as the package is installed (unless that causes some security or other issues I'm not aware off).

Additional info:
version xbmc-13.2-4

Erros from xbmc.log:
CecLogMessage - error opening serial port '/dev/ttyACM0'

Steps to reproduce:
-fresh install of xbmc
-plug in the CEC-USB adapter
-it will report that it can not connecnt
-add the xbmc user to groups lock and uucp
-restart
-CEC works fine


This task depends upon

Closed by  Ike Devolder (BlackEagle)
Tuesday, 11 November 2014, 19:35 GMT
Reason for closing:  Fixed
Comment by Ike Devolder (BlackEagle) - Tuesday, 11 November 2014, 18:59 GMT
xbmc user is no longer created with the package, so the correct setting of groups for the xbmc user is now completely up to the user
Comment by McLenin (McLenin) - Tuesday, 11 November 2014, 19:15 GMT
I am sorry, I have just noticed that the user is in fact made in the install part of the xbmc-standalone-service package from AUR. I will bring up the issue with the maintainer of said package. Thank you for your quick response and please close the task as solved/irrelevant.
Comment by Ike Devolder (BlackEagle) - Tuesday, 11 November 2014, 19:35 GMT
No problem

Loading...