From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Tue, 20 Oct 2009 12:07:11 +0000 Subject: Re: group is not set properly for usb printer for older kernels Message-Id: <200910201407.12258.zzam@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-00=_wfa3KY4CB6442iW" List-Id: References: <20091008191201.19276c15@workstation64.home> In-Reply-To: <20091008191201.19276c15@workstation64.home> To: linux-hotplug@vger.kernel.org --Boundary-00=_wfa3KY4CB6442iW Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Dienstag, 20. Oktober 2009, Evangelos Foutras wrote: > Matthias Schwarzott wrote: > > On Donnerstag, 15. Oktober 2009, Evangelos Foutras wrote: > > > > So adding this rule anywhere before line 69 will help? > > SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", > > WAIT_FOR_SYSFS="descriptors" > > > > If yes, I am going to add it to the gentoo ruleset. > > Hi Kay! Please commit this patch. Matthias --Boundary-00=_wfa3KY4CB6442iW Content-Type: text/x-diff; charset="iso 8859-15"; name="udev-147-fix-libusb-lp-group-older-kernels.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="udev-147-fix-libusb-lp-group-older-kernels.patch" --- a/rules/gentoo/30-kernel-compat.rules +++ b/rules/gentoo/30-kernel-compat.rules @@ -3,6 +3,13 @@ ACTION!="add|change", GOTO="kernel_compat_end" # +# sysfs timing rules +# + +# needed for kernels <2.6.30 +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", WAIT_FOR_SYSFS="descriptors" + +# # naming device rules # --Boundary-00=_wfa3KY4CB6442iW--