[sane-devel] Scanner Basics
Karl F. Larsen
k5di at zianet.com
Sun Nov 17 18:41:18 GMT 2002
Hi Karl, I looked at the usb.distmap and it has over a hundred entries
most of which are all zeros. In Red Hat 8 there are 18 scanner entries.
They are also all zeros. So I have no way to know how to start. I will
stay with rc.local which is easy to do. I will use the entry in
/etc/modules.conf that works fine after you use depmod -a. Without that
it doesn't work.
Time for Football. My Cowboys are not good this year.
On Sat, 16 Nov 2002, Karl Heinz Kremer wrote:
> The man page will probably not help. It does not talk about the
> format of the entry. Just open the file /etc/hotplug/usb.distmap.
> You will see lots of entries, every record starts with the
> driver name (e.g. scanner), followed a number of numeric values.
> I only know what the vendor and product ID are, the others I
> just copy from other entries. When you start with a scanner
> entry and just replace the vendor and product ID with the data
> for your scanner, it will work. That's all you need to know. That's
> all I know.
>
> Karl Heinz
>
> On Sat, Nov 16, 2002 at 07:22:01PM -0700, Karl F. Larsen wrote:
> >
> > Hi Karl, I will need to read a man page for hotplug. I really don't
> > understand your example.
> >
> >
> > On Sat, 16 Nov 2002, Karl Heinz Kremer wrote:
> >
> > > On Sat, Nov 16, 2002 at 01:55:41PM -0700, Karl F. Larsen wrote:
> > > [ ... ]
> > > > Hi Karl, I find to get scanner into the kernel I must have something in
> > > > /etc/rc.d/rc.local file, and that something can include the vendor and
> > > > product. If you can tell me how to load the scanner module alone some
> > > > other way I'm listening. I could read
> > > > /usr/src/linux/documentation/modules again but I'm tired of all that
> > > > today...:-)
> > >
> > > Put a line like this into the file /etc/hotplug/usb.distmap. The second numeric
> > > argument is the vendor ID, the third is the product ID. The whole thing is
> > > one line. It's probably easier to just copy one line that starts with the
> > > driver name "scanner" and duplicate it, and then modify the vendor and
> > > product IDs.
> > > scanner 0x0003 0x04b8 0x010f 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
> > >
> > > Red Hat 8.0 does have hotplug support, as does SuSE 8.x. I would assume
> > > that pretty much all modern Linux distributions also come with hotplug
> > > enabled.
> > >
> > > Karl Heinz
> > >
> >
> > --
> >
> > - Karl Larsen k5di Las Cruces,NM Az ScQRPions -
> >
>
>
--
- Karl Larsen k5di Las Cruces,NM Az ScQRPions -
More information about the sane-devel
mailing list