1 |
On Sat, 9 Nov 2013 12:29:49 +0000 (UTC) |
2 |
Duncan <1i5t5.duncan@×××.net> wrote: |
3 |
|
4 |
> |
5 |
> Libusb, meanwhile, has been updated to work with the /dev/bus/usb/ tree, |
6 |
> so AFAIK that's what you need to create... somehow. |
7 |
> |
8 |
|
9 |
Thanks for this synopsis. I've been slowly piecing together essentially |
10 |
the same picture from many different sources but was still unsure about |
11 |
how libusb fits into the scheme. |
12 |
|
13 |
Creating, somehow, the /dev/bus/usb devices is also the conclusion I thought |
14 |
would be necessary, but I don't believe that it is possible without udev. |
15 |
Yet it seems that it *should* be possible. Everything, at least according |
16 |
to my limited understanding, within the /dev tree is just an interface |
17 |
to the kernel using major and minor numbers. The necessary modules, |
18 |
namely ehci-pci and uhci-pci, are already integrated into the kernel. |
19 |
|
20 |
Scanners used to work in the same way that USB printers or USB mass |
21 |
storage devices *still* work. That is, an appropriate module is either |
22 |
built or separately loaded into the kernel which will allow the use |
23 |
of certain interfaces in the /dev tree (e.g. /dev/usb/lp0). My USB |
24 |
modem also functions in the same way using a module, cdc-acm, and |
25 |
/dev/usb/ttyACM0. These /dev interfaces could be created independently |
26 |
of udev. Why not with /dev/bus/usb? |
27 |
|
28 |
In fact, everything classed as USB on my system, i.e. keyboard, mouse, |
29 |
printer, mass storage, modem, external hard drives, can be straightforwardly |
30 |
controlled using this module/dev method -- with the sole exception |
31 |
of USB scanners. Why this crazy distinction? |
32 |
|
33 |
Of course I could always jump on the udev bandwagon, like most everyone |
34 |
else, but I still very much enjoy the ability to control, in a simple |
35 |
manner, the operation of my own system. I don't like the idea of another |
36 |
system daemon doing things without my knowledge or approval. |
37 |
|
38 |
Frank Peters |