Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
Opened by McLenin (McLenin) - Tuesday, 11 November 2014, 18:12 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 11 November 2014, 19:35 GMT
|
DetailsDescription:
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
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