Re: Question about bug lp:311481

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

 



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

> 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. 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.

> What is wrong with that as a solution if it solves the problem?

It solves fxload by working around the problem, udev is still throwing
out information which is erroneous. Other developers, other programs are
using $DEVICE when they can't really use it for usb devices.

> $DEVICE is not deprecated, it just needs to point to the place where
> usbfs is mounted, which again, seems to be distro specific these days.

Your probably right, it's probably a case of getting a distro patch in.
Yet I can't help wondering why $DEVNAME is right and $DEVICE is
incorrect. I would have thought that once wrong, always wrong.

Best Regards, Martin Owens (Canonical)

--
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