Re: [Libusb-devel] libusb silently ignores permission errors
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 24 Sep 2007, Xiaofan Chen wrote: > I see. I have updated the firmware based on some of the bug fixes > we found for the Microchip firmware in the Microchip Forum. > http://forum.microchip.com/tm.aspx?m=275422 > > Now it gets much better in the stock Ubuntu 7.04 kernel. lsusb > can find the device most of the time and fsusb (libusb based > host application) works most of the time as well. But occassionally > it still fails. So I need to dig further fix the firmware bugs. > But it seems to me not that easy to correctly handle > suspend and resume. I will try. Good luck! > By the way, how do you like the idea of getting a console > version of usbview to replace lsusb? I think it will address the > problem of the original poster of this thread. My problem > seems a bit different -- after all is a firmware bug. It > seems to me that USBView does not use libusb. Or something > uses sysfs. I don't use USBView, so I can't say for certain. But I doubt it will replace lsusb, unless it has something like lsusb's -v option. With -v there's no way to avoid unsuspending the device, since the necessary information isn't all stored in the kernel. If all you want is a console display of the existing USB devices, you don't need either USBView or lsusb. All you have to do is "cat /proc/bus/usb/devices". Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel