On 04/07/2013 06:52 PM, Scott Talbert wrote: > On Sun, 7 Apr 2013, Phil Dibowitz wrote: > >>> Well, it sounds like xdm doesn't have ConsoleKit support, so that is >>> probably the problem: >>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615020 >>> >>> So, maybe for your case, the recommended approach would be to use the >>> "old" udev rules? >> >> The old one didn't work for me either. This may be a reason for me to move to >> lightdm or something. But we should have SOMETHING that works for this case. >> >> I think the reason the old udev rules don't work is because they use SYSFS >> instead of ATTR. I'll test that today. That would give use 3 generations of >> udev to support: >> >> * really old (requires SYSFS) >> * old (requires ATTR, but no ConsoleKit) >> * new (supports ConsoleKit). >> >> Which means I would say we'd just drop really old. > > And just to check, when you tested the "old" rules, you had your user as a > member of group 'dialout'?
Yeah, but also: [phil@rider ~]$ ls -l /dev/bus/usb/001/029 crw-rw-r-T 1 root root 189, 28 Apr 8 09:20 /dev/bus/usb/001/029 And also: Apr 8 09:19:28 rider udevd[21864]: unknown key 'SYSFS{idVendor}' in /lib/udev/rules.d/60-libconcord.rules:38 Apr 8 09:19:28 rider udevd[21864]: invalid rule '/lib/udev/rules.d/60-libconcord.rules:38' If I change the udev rules to be ATTR then: [phil@rider ~]$ ls -l /dev/bus/usb/001/030 crw-rw-r-T 1 root dialout 189, 29 Apr 8 09:21 /dev/bus/usb/001/030 And then it works. Changing that file to: SUBSYSTEM=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c1[1-4][0-9a-f]", MODE="0660", GROUP="dialout" Also works wonderfully. So after a night to think this over, I'm actually going to purpose this: * Change current udev to use the glob syntax instead of the list. * Add a new generic-udev rule which uses MODE/GROUP instead of REMOTE_CONTROL * Leave old-dev as-is -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel