From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 25 Jun 2006 03:09:34 +0000 Subject: Re: fxload and udev 094? Message-Id: <20060625030934.GA5790@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Jun 25, 2006 at 01:19:55AM +0000, Robert Kennedy wrote: > > >On Sat, Jun 24, 2006 at 05:52:26PM +0000, Robert Kennedy wrote: > >> I have found the bug but don't know the solution. > >> > >> For some reason the latest kernel 2.6.17 is NOT creating any entries in > >> /proc/bus/usb. > > > >Are you sure usbfs is mounted at /proc/bus/usb? A lot of the newer > >distros do not even mount the thing anymore, now that we have sysfs and > >/dev/bus/usb/ for the usbfs devices. > > > >What distro are you using? > > > > I am using Arch Linux. I think you are right. I did some more digging. > fxload was written and designed to use devfs. It typically uses the DEVICE > environment (set by thr kernel during hotplugging) for the address of the > external USB device. e.g. /proc/bus/usb/001. No, DEVICE is not for devfs, it's for udevfs. > I will ask the gurus of the arch distro how I can implment usbfs. (I don't > see a module that I can load. Perhaps I will have to roll my own kernel). Just do: mount -t usbfs none /proc/bus/usb and you should be fine. It should already be in your kernel. > Since it looks like usbfs is on the way out, are there any plans to update > the old fxload program to use /dev/bus/usb paths instead? Does it use libusb? If so, it should work just fine as is. If not, it's a one line change to get it to work. good luck, greg k-h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel