Menu

#7 snapscan e25 not recognised

closed
nobody
None
5
2001-11-16
2001-11-09
Anonymous
No

I have just bought a scaner agfa snapscan e25 with usb connectors. I started by loading the module with the definition given by the /proc subsystem. So I added

options scanner vendor=0x06bd product=0x2095 to modules.conf

I loaded the module and it seems to work (the lignt turn on) and i

get a

usb device 2 (vend/prod 0x6bd/0x2095) is not claim by any active driver while loading the usb modules

and

it tells in /var/log messages that i have successfully loaded an user

specified usb scanner.

I have sane 1.0.5 and xsane 0.80 and snapscan-20011012.tar.gz

. I have removed v4l config because i have a tv card conflicting with sane detection.

other info

ls -al /dev/scanner

lrwxrwxrwx 1 root root 15 nov 2 14:21 /dev/scanner -> /dev/usbscanner

ls -al /dev/usbscanner

lrwxrwxrwx 1 root root 17 nov 2 14:25 /dev/usbscanner -> /dev/usb/scanner0

ls -al /dev/usb/scanner0

crw------- 1 step root 180, 48 mar 24 2001 /dev/usb/scanner0

step it s me.

and snapscan config defining /dev/scanner as scanner device

so i launch xsane it wrote that it search for devices and ... that s

all.

The process is said dead quite quicly.
in /var/log/message i have
usb_control/bulk_msg: Timeout
scanner.c: write_scanner: NAK received
usb_control/bulk_msg: Timeout
scanner.c: write_scanner: NAK received
usb_control/bulk_msg: Timeout
scanner.c: write_scanner: NAK received ......
and so and so .
And when I want to remove the modules i can not
i have the same errors messages.

So Does a solution exist . Perhaps i can help ?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hei it works

    i found that with Google
    http://www.mostang.com/pipermail/sane-devel/2001-September/001053.html

    i've added
    { USB_DEVICE(0x06bd, 0x2095) }, /* SnapScan e25 */
    in linux/drivers/usb/scanner.h after the line
    ...
    /* Agfa */
    ..........
    { USB_DEVICE(0x06bd, 0x2091) }, /* SnapScan e20 */

    recompiled the modules
    and then modprobe scanner

    it recognised the scanner
    but it complaied about missing firmware
    got the firmware
    and now it works

    SANE-1.0.6-cvs( 2 days ago ) linux-2.4.15-pre3-xfs-cvs
    Mandrake Cooker

    i should try it with devfs mounted
    i disabled it while i was trying to find out,
    why it doesn't work
    my mail galia@st-peter.stw.uni-erlangen.de

     
  • Oliver Schwartz

    Oliver Schwartz - 2001-11-16
    • status: open --> closed
     
  • Oliver Schwartz

    Oliver Schwartz - 2001-11-16

    Logged In: YES
    user_id=89371

    Hm - I don't quite understand this. Specifying the vendor
    and product ID in modules.conf should work as well (no
    need to recompile the kernel). Maybe you have to run
    "depmod -a" after that.

    Regards,

    Oliver

     
  • Nobody/Anonymous

    Logged In: NO

    e25 works . no pb. The only odd thing is that there is sometimes
    long timeouts while activating scanner.
    The other pb is that you can not rmmod the module. In that
    case , you get the error messages of timeout . the command
    hangs while the module is written unloaded.
    With modprobe -k the module scanner never unload .
    This behaviour do not prevent us from using the scanner but
    perhaps some modification in the module scanner can ease
    it use.

    Thank you for supporting snapscan scanners . You are doing a
    great work.

     

Log in to post a comment.