[sane-devel] microtek scanmaker 4900
m. allan noah
kitno455 at gmail.com
Sat Nov 24 14:00:32 UTC 2007
i dont think that sane-find-scanner or check-usb-chip use the backend
files. they are independent programs.
it seems that the problem is this scanner uses USB_CLASS_PTP? thats
mostly used by cameras, and its not even listed in usb.h on my older
machine, so if you want to add it, you'll have to use an ifndef in
sane-find-scanner.c
there is no check for the sm3840 in check-usb-chip.c
even if you get those two programs to work, you still have to add
support to the backend, and there is still no guarantee that it will
work.
allan
On 11/23/07, Adam Sulmicki <sulmicki at gmail.com> wrote:
> hello,
>
> how do I explain to sane-scan-find that the following is an usb scanner?
>
> # lsusb
>
> Bus 004 Device 005: ID 05da:30d9 Microtek International, Inc.
>
> I tried something like this, but no go (the goal is to have the
> check-usb-chip routine to run).
>
> # cvs diff
> Index: backend/sm3840.c
> ===================================================================
> RCS file: /cvsroot/sane/sane-backends/backend/sm3840.c,v
> retrieving revision 1.4
> diff -r1.4 sm3840.c
> 620a621
> > sanei_usb_find_devices (0x05da, 0x30d9, add_sm4800_device);
> Index: backend/sm3840.conf.in
> ===================================================================
> RCS file: /cvsroot/sane/sane-backends/backend/sm3840.conf.in,v
> retrieving revision 1.1
> diff -r1.1 sm3840.conf.in
> 5a6,8
> > # Microtek ScanMaker 4900 ID
> > usb 0x05da 0x30d9
> >
> Index: backend/sm3840_scan.c
> ===================================================================
> RCS file: /cvsroot/sane/sane-backends/backend/sm3840_scan.c,v
> retrieving revision 1.3
> diff -r1.3 sm3840_scan.c
> 134a135,136
> > udev = find_device (0x05da, 0x30d9); /* 4800 */
> > if (!udev)
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list