[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412149: general: "usb:" stopped working in both gpsbabel and jpilot



Le 23.02.2007, à 17:05:45, Steve Langasek a écrit:
> On Fri, Feb 23, 2007 at 06:27:01PM -0600, Reid Priedhorsky wrote:
> > The following are the packages I upgraded between working and non-working USB:
> 
> <snip>
> 
> > 2007-02-20 21:36:47 status installed libgphoto2-port0 2.2.1-16
> > 2007-02-20 21:36:50 status installed libgphoto2-2 2.2.1-16
> 
> <snip>
> 
> > I'm not sure for which package this bug report is appropriate. libusb seems a
> > likely candidate, but I haven't upgraded that package since October and
> > haven't touched the configuration in a while.
> 
> This latest libgphoto update fixed a security hole whereby libgphoto's udev
> rules would wrongly grant access to the plugdev group on all usb devices
> instead of just those related to cameras.  An interesting possibility here
> is that your use of libusb depended on libgphoto's bug. :)
> 
> This was bug #405006.  A comment from this bug log:
> 
>  > What class of USB devices are ending up under group plugdev that
>  > shouldn't?
> 
>  It concerns the raw USB devices, in /dev/bus/usb/, used by libusb for
>  userland drivers. 
> 
> So I would say this isn't a bug at all, but that you need to set up
> additional permissions on /dev/bus/usb/* for your use.

pilot-link from testing/etch provide the file
/usr/share/pilot-link/udev/60-libpisock.rules

This file should be installed as a udev rule to set the group and
permission of the USB device used for the PDA.

Also read /usr/share/doc/pilot-link/README.libusb.gz


All this is automatic with pilot-link 0.12.2-7 (from unstable).

bye,

-- 
 Dr. Ludovic Rousseau                        Ludovic.Rousseau@free.fr
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Reply to: