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)

Reply via email to