[sane-devel] Microtek 3700 USB and sane 1.0.8 / libusb 1.5

Jonathan Cowherd jonathan.cowherd@genscape.com
Fri, 24 Jan 2003 11:00:06 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2C3C1.A9875BC0
Content-Type: text/plain

Hello,    
 
    I've been trying to get my Microtek 3700 to work with SuSE Linux for
about a year.  It's the only think my wife can point to a say we need
windows currently.
 
    I feel like I am closer now that ever.  I added the hotpluggable
information in /etc/hotplug/usb.usermap:
 
# usb module         match_flags idVendor idProduct bcdDevice_lo
bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass
bInterfaceSubClass bInterfaceProtocol driver_info
sm3600  0x0003  0x05da  0x40b3  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40ca  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40ff  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40b8  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40cb  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
#vendor 0xd7d product 0x100 module scsi_mod, usb-storage
membar  0x0003  0x0d7d  0x0110  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    scsi_mod, usb-storage

    And I created the files sm3600.usermap and sm3600 script in
/etc/hotplug/usb :
 
<sm3600>
#!/bin/sh
cd /etc/hotplug
. hotplug.functions
mesg setting permissions of $DEVICE
chown myaccount $DEVICE
</sm3600>
 
<sm3600.usermap>
# usb module         match_flags idVendor idProduct bcdDevice_lo
bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass
bInterfaceSubClass bInterfaceProtocol driver_info
sm3600  0x0003  0x05da  0x40b3  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40ca  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40ff  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40b8  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
sm3600  0x0003  0x05da  0x40cb  0x0000  0x0000  0x00    0x00    0x00    0x00
0x00    0x00    0x000000000
</sm3600.usermap>

When I run xsane as a user, I get "'sm3600:1/2' : Error during device I/O ."
I wish this was more specific.  I talked with Oliver Rauch regarding it and
he suggested I post to this list.

Any help would be appreciated.

Jonathan Paul Cowherd
Linux and Java Administrator
Genscape, Inc.
Email:  jonathan.cowherd@genscape.com
Office: (502) 583-3730
Mobile: (502) 314-0444



 

------_=_NextPart_001_01C2C3C1.A9875BC0
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 5.50.4922.900" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2>Hello,&nbsp;&nbsp;&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203541115-24012003>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
size=2>I've been trying to get my Microtek 3700 to work with SuSE Linux for 
about a year.&nbsp; It's the only think my wife can point to a say we need 
windows currently.</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203541115-24012003>&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>I 
feel like I am closer now that ever.&nbsp; I added the hotpluggable information 
in /etc/hotplug/usb.usermap:</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial size=2># usb 
module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; match_flags idVendor 
idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol 
bInterfaceClass bInterfaceSubClass bInterfaceProtocol 
driver_info<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 0x40b3&nbsp; 0x0000&nbsp; 
0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 
0x40ca&nbsp; 0x0000&nbsp; 0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 
0x0003&nbsp; 0x05da&nbsp; 0x40ff&nbsp; 0x0000&nbsp; 0x0000&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 0x40b8&nbsp; 0x0000&nbsp; 
0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 
0x40cb&nbsp; 0x0000&nbsp; 0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>#vendor 0xd7d 
product 0x100 module scsi_mod, usb-storage<BR>membar&nbsp; 0x0003&nbsp; 
0x0d7d&nbsp; 0x0110&nbsp; 0x0000&nbsp; 0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; scsi_mod, 
usb-storage<BR></FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
And I created&nbsp;the files&nbsp;sm3600.usermap and sm3600 script in 
/etc/hotplug/usb :</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2>&lt;sm3600&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial size=2>#!/bin/sh<BR>cd 
/etc/hotplug<BR>. hotplug.functions<BR>mesg setting permissions of 
$DEVICE<BR>chown myaccount $DEVICE</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2>&lt;/sm3600&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial 
size=2>&lt;sm3600.usermap&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=203541115-24012003><FONT face=Arial size=2># usb 
module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; match_flags idVendor 
idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol 
bInterfaceClass bInterfaceSubClass bInterfaceProtocol 
driver_info<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 0x40b3&nbsp; 0x0000&nbsp; 
0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 
0x40ca&nbsp; 0x0000&nbsp; 0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 
0x0003&nbsp; 0x05da&nbsp; 0x40ff&nbsp; 0x0000&nbsp; 0x0000&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 0x40b8&nbsp; 0x0000&nbsp; 
0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR>sm3600&nbsp; 0x0003&nbsp; 0x05da&nbsp; 
0x40cb&nbsp; 0x0000&nbsp; 0x0000&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 
0x00&nbsp;&nbsp;&nbsp; 0x00&nbsp;&nbsp;&nbsp; 0x000000000<BR></FONT></SPAN><SPAN 
class=203541115-24012003><FONT face=Arial 
size=2>&lt;/sm3600.usermap&gt;</DIV></FONT></SPAN><!-- Converted from text/plain format -->
<P><SPAN class=203541115-24012003><FONT size=2>When I run xsane as a user, I get 
<FONT size=2>"'sm3600:1/2' : Error during device I/O ."&nbsp; I wish this was 
more specific.&nbsp; I talked with Oliver Rauch regarding it and he suggested I 
post to this list.</FONT></FONT></SPAN></P>
<P><SPAN class=203541115-24012003><FONT size=2><FONT size=2><FONT face=Arial>Any 
help would be appreciated.</FONT></P></FONT></FONT></SPAN>
<P><FONT size=2>Jonathan Paul Cowherd<BR>Linux and Java 
Administrator<BR>Genscape, Inc.<BR>Email:&nbsp; 
jonathan.cowherd@genscape.com<BR>Office: (502) 583-3730<BR>Mobile: (502) 
314-0444<BR><BR></P></FONT>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C2C3C1.A9875BC0--