|
Bugzilla – Full Text Bug Listing |
| Summary: | KDE USB info module uses /proc/bus/usb/, which is no longer available | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Felix Sevenrock <zaphod777> |
| Component: | KDE | Assignee: | E-mail List <kde-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dev, suse-beta, timon |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Screenshot of usbview warning
sysfs parsing code |
||
|
Description
Felix Sevenrock
2006-05-29 17:55:32 UTC
I have similar problems on x86_64. 1) The KDE USB info module shows nothing. See also bug #160754. 2) The program usbview also shows nothing, but it shows a warning message: "Can not open the file /prod/usb/devices" (See attached screenshot also). 3) The file /prod/usb/devices really don't exist. This may be the reason for the KDE info module and usbview problems. Btw. lsusb and the Yast Hardware info module works and shows all attached usb devices. Created attachment 87056 [details]
Screenshot of usbview warning
/proc/bus/usb/ does no longer exist. The program needs to be converted to use libusb. porting guide somewhere? Not really. Official doc is here: http://libusb.sourceforge.net/doc/ But lsusb.c in the usbutils package should be a better example and contain all the logic needed to query the device information. (In the longer run, HAL may be a better source of that information anyway, cause it can classify devices and provide a more meaningful context, which is more useful than the simple numbers the kernel provides.) Just for the records, in case someone else had the same problems as I had: usbdevfs is deprecated, udev's "emulation" can be found in /dev/bus/usb. Important for tools like fxload, for instance. VMware < 5 can't find devices there, needs mounting of legacy usbfs to /proc/bus/usb. Since I only own a VMware 4.5 license, that's the only way to get USB in VMware running. Created attachment 90741 [details]
sysfs parsing code
*** Bug 160754 has been marked as a duplicate of this bug. *** submitted update released for sles10 |