Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396571 - app-misc/cwiid - udev-rule for uinput use non exitsting group plugdev
Summary: app-misc/cwiid - udev-rule for uinput use non exitsting group plugdev
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2018-04-17
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2011-12-31 07:57 UTC by Michael Lange
Modified: 2018-04-29 18:00 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lange 2011-12-31 07:57:29 UTC
the udev-rule installed with app-misc/cwiid will create the device uinput as group plugdev, but the group plugdev doesn't exist
i think, is gone with hal (?)

so here ist the original rule from package:
/lib/udev/rules.d/60-cwiid.rules
# make possible to use cwiid device as user
KERNEL=="uinput", MODE="0660", GROUP="plugdev"

device uinput after start of udev
crw-rw----  1 root root 10, 223 Dec 31 08:54 uinput

start wminput from package app-misc/cwiid as normal user results in:
$ wminput
unable to open uinput

so i changed the rule /lib/udev/rules.d/60-cwiid.rules to a group the user is in:
KERNEL=="uinput", MODE="0660", GROUP="usb"

after restart of udev:
crw-rw----  1 root usb  10, 223 Dec 31 08:54 uinput

now it works:
$ wminput
Put Wiimote in discoverable mode now (press 1+2)...


... or should a seperate group (for example uinput) created

Reproducible: Always

Steps to Reproduce:
1. emerge -av app-misc/cwiid
2. start wminput as normal user
Comment 1 BT 2014-09-09 07:41:49 UTC
The plugdev group is still created by some ebuilds e.g. net-wireless/bluez. So depending on which packages you have installed you may or may not have the plugdev group.

I'm writing an ebuild (ds4drv) which installs a uinput udev rule. I wasn't sure which group to use. I think it would be better to have a dedicated uinput group since there are at least two packages that install conflicting uinput udev rules. app-misc/cwiid uses the plugdev group and sys-auth/thinkfinger uses the fingerprint group.
Comment 2 Pacho Ramos gentoo-dev 2018-04-29 18:00:28 UTC
removed