Re: Question about bug lp:311481

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

 



On Sun, Dec 28, 2008 at 08:51:16PM -0500, Martin Owens wrote:
> Hello Greg,
> 
> Thanks for getting back to me,
> 
> > 
> > /proc/bus/usb/ is only "deprecated" by your distro, odds are you still
> > mount usbfs somewhere else, right?
> 
> It's mounted to /dev/bus/usb

Then do a simple s/proc/dev/ on $DEVICE in fxload and you will be fine,
right?

> > And, if you just tweak fxload to use libusb, you should be fine, as it
> > always knows where the distro mounted usbfs, right?
> 
> Nope, fxload knows nothing of mount points. It's taking a full path from
> $DEVICE which points at /proc/bus/usb.

Then it needs to be changed, because your distro changed where usbfs was
originally intended to be mounted.

> If the distro (ubuntu and fedora) have moved it; then some part of the
> kernel code also needs patching so $DEVICE no longer reports an
> incorrect usbfs path for it's devices when running things in udev.

No, if it moved it, then it also just needs to patch fxload, like they
already did for libusb.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux