Embedded Linux system, LSUSB appears unable to initialize LIBUSB:-99 Solution "Turn"

Source: Internet
Author: User

Transferred from: http://cpbest.blog.163.com/blog/static/41241519201111575726966/

LIBUSB is a Linux system that provides user-space access to the USB device's API to get or set USB device information from the Linux kernel. LSUSB This user space program, it is also relies on the interface API provided by LIBUSB to implement the current USB bus scanning system, so as to display the current system of USB devices.

In embedded Linux, the input LSUSB name, unable to initialize LIBUSB: 99 or no output (this is a fix to the previous bug), the main reason is that when building an embedded Linux system, The system initialization is not set up, causing the USBFS to not mount during startup. The solution is to mount the USBFS during system startup.

The following command can be done:

Mount-t Usbfs none/proc/bus/usb/

A better way to write the above command into a startup script, such as/etc/inittab or/etc/init.d/rcs.

Embedded Linux system, LSUSB appears unable to initialize LIBUSB:-99 Solution "Turn"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.