Hi Niyazi,

Niyazi Sırt wrote:
> I had kernel-3.4.52, libusb-0.1.12 and usbutils-0.71
> on my centos and lsusb command was working properly.
> After I upgraded kernel-3.14.9 and also upgraded
> libusb-static-1.0.9, libusb-1.0.9, libusb-devel-1.0.9
> and usbutils-006 rpm packages, lsusb command stopped
> working and I started getting an output like this:
>
> libusb: 0.000000 error [op_init] could not find usbfs
> unable to initialize libusb: -99

Ouch. Sorry to hear about that.


> I know that there is no CONFIG_USB_DEVICEFS parameter
> in kernel parameters newer than 3.5 kernels. So what
> should I do? Should I compile the kernel with new
> parameters or write codes for libusb-1.0. Can you
> offer a solution?

What is your hotplug/udev situation like?

udevd is supposed to create /dev/bus/usb/*/* which libusb-1.0.9 finds.

Maybe your centos udev is too old to create those?


> Note: I have compiled kernel-3.14.9 so I put kernel
> parameters about usb config below:

This looks fine, although there are some unneccessary modules.


//Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to