From: Frank Peters <frank.peters@comcast.net>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: USB Scanner Problems with Newer Kernels/Libusb
Date: Sat, 9 Nov 2013 11:45:29 -0500 [thread overview]
Message-ID: <20131109114529.f29b71e10f00f6a8b170d0e8@comcast.net> (raw)
In-Reply-To: <pan$4ef9f$38432b1f$1fec27b3$76672b85@cox.net>
On Sat, 9 Nov 2013 12:29:49 +0000 (UTC)
Duncan <1i5t5.duncan@cox.net> wrote:
>
> Libusb, meanwhile, has been updated to work with the /dev/bus/usb/ tree,
> so AFAIK that's what you need to create... somehow.
>
Thanks for this synopsis. I've been slowly piecing together essentially
the same picture from many different sources but was still unsure about
how libusb fits into the scheme.
Creating, somehow, the /dev/bus/usb devices is also the conclusion I thought
would be necessary, but I don't believe that it is possible without udev.
Yet it seems that it *should* be possible. Everything, at least according
to my limited understanding, within the /dev tree is just an interface
to the kernel using major and minor numbers. The necessary modules,
namely ehci-pci and uhci-pci, are already integrated into the kernel.
Scanners used to work in the same way that USB printers or USB mass
storage devices *still* work. That is, an appropriate module is either
built or separately loaded into the kernel which will allow the use
of certain interfaces in the /dev tree (e.g. /dev/usb/lp0). My USB
modem also functions in the same way using a module, cdc-acm, and
/dev/usb/ttyACM0. These /dev interfaces could be created independently
of udev. Why not with /dev/bus/usb?
In fact, everything classed as USB on my system, i.e. keyboard, mouse,
printer, mass storage, modem, external hard drives, can be straightforwardly
controlled using this module/dev method -- with the sole exception
of USB scanners. Why this crazy distinction?
Of course I could always jump on the udev bandwagon, like most everyone
else, but I still very much enjoy the ability to control, in a simple
manner, the operation of my own system. I don't like the idea of another
system daemon doing things without my knowledge or approval.
Frank Peters
next prev parent reply other threads:[~2013-11-09 16:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-09 3:25 [gentoo-amd64] USB Scanner Problems with Newer Kernels/Libusb Frank Peters
2013-11-09 12:29 ` [gentoo-amd64] " Duncan
2013-11-09 16:45 ` Frank Peters [this message]
2013-11-09 20:40 ` Barry Schwartz
2013-11-09 21:38 ` Frank Peters
2013-11-09 22:11 ` Barry Schwartz
2013-11-09 22:57 ` Mark Knecht
2013-11-09 23:10 ` Barry Schwartz
2013-11-10 16:54 ` Tanstaafl
2013-11-10 17:08 ` Barry Schwartz
2013-11-09 23:25 ` Frank Peters
2013-11-09 23:57 ` Barry Schwartz
2013-11-10 1:30 ` [gentoo-amd64] Re: USB Scanner Problems with Newer Kernels/Libusb [Solved] Frank Peters
2013-11-10 1:53 ` Barry Schwartz
2013-11-10 2:36 ` Frank Peters
2013-11-10 4:26 ` Frank Peters
2013-11-12 0:03 ` Frank Peters
2013-11-12 23:18 ` [gentoo-amd64] " Jörg Schaible
2013-11-13 9:14 ` Paul Jewell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131109114529.f29b71e10f00f6a8b170d0e8@comcast.net \
--to=frank.peters@comcast.net \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox