O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing the raw bus

In some circumstances, it can happen that a USB device lacks a dedicated device driver; in this case, a GNU/Linux system simply enumerates it, and then no driver is loaded at all. In this situation, the user cannot get access to the new USB device in any manner, except by accessing it using the raw commands directly over the bus. Simply speaking, it directly sends the USB messages to the new device and then manages the answers without using any dedicated driver at all.

You should note that if this new device has no available driver, then it cannot be seen from the system as any usual device (for example, a keyboard or a storage disk), so we have no /dev/event2 or /dev/sdb entries to use. However, even if this situation may ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required