Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

HP 3400c and SUSE 9.2 PRO

Help!
2005-01-23
2013-04-09
  • I installed SUSE 9.2 Pro on my system that had an HP Scanjet 3400c scanner.
    But the scanner doesn't work: my system doesn't see it.

    I installed SANE backends 1.0.15 RPM and XSANE 0.97.

    Any suggestions?

     
    • Bertrik Sikken
      Bertrik Sikken
      2005-01-23

      What does 'lsusb' say?
      What does 'sane-find-scanner' say?
      What does 'scanimage -L' say?
      Is there an dll.conf file somewhere in your system? It should contain a line with 'niash' on it.

       
    • Output from lsusb:
      Bus 005 Device 004: ID 046d:c032 Logitech, Inc. MouseMan iFeel
      Bus 005 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
      Bus 005 Device 001: ID 0000:0000
      Bus 004 Device 001: ID 0000:0000
      Bus 003 Device 004: ID 047b:1002 Silitek Corp. HP ScanJet 4300c Parallel Port
      Bus 003 Device 001: ID 0000:0000
      Bus 002 Device 001: ID 0000:0000
      Bus 001 Device 001: ID 0000:0000

      Output from sane-find-scanner:
        # No SCSI scanners found. If you expected something different, make sure that
        # you have loaded a SCSI driver for your SCSI adapter.

      found USB scanner (vendor=0x047b, product=0x1002) at libusb:003:004
        # Your USB scanner was (probably) detected. It may or may not be supported by
        # SANE. Try scanimage -L and read the backend's manpage.

        # Not checking for parallel port scanners.

        # Most Scanners connected to the parallel port or other proprietary ports
        # can't be detected by this program.

      Output from scanimage -L:
      No scanners were identified. If you were expecting something different,
      check that the scanner is plugged in, turned on and detected by the
      sane-find-scanner tool (if appropriate). Please read the documentation
      which came with this software (README, FAQ, manpages).

      I have that file and it contains a niash line too, but there's non niash-conf file in the same directory.

       
    • Uhm... reading again my post I saw "Parallel port" on lsusb output. I think it's beacause first time I installed my SUSE 9.2 the scanner was connected by parallel port due to the fact that Win'XP cannot see this fax by USB port.

      Maybe this can generate problems?

       
    • Uhm... reading again my post I saw "Parallel port" on lsusb output. I think it's beacause first time I installed my SUSE 9.2 the scanner was connected by parallel port due to the fact that Win'XP cannot see this fax by USB port.

      Maybe this can generate problems?

       
    • I will take care of the issue within the next days.
      When the test with the (ID 047b:1002) would be successful, I will synchronize the SANE CVS.

      Perhaps, it might be a good idea to implement a mechanism that allows to add IDs in niash.conf and map them to the according devices?

      Regards

      Ullrich

       
      • Bertrik Sikken
        Bertrik Sikken
        2005-01-31

        Ullrich, thanks a lot for taking care of getting this scanner supported!

        I don't think that if will be very useful to add a mechanism as you describe, because I don't expect any more new IDs and I rather have only IDs of devices for which we are sure they will work with the backend. On the other hand, I'm  not very strongly against this, so if you want to add it, it's OK with me.

         
    • Thanks Ullrich. I'll wait the new version with trepidation :-)

      How will I be able to know when the new release will be online?

       
    • Hi,
      The new release is done.

      - log in as root
      - unpack the tar.gz with: tar -xzvf backend_.....
      - change into the directory "backend": cd backend
      - invoke: make

      then invoke

        ./testtool -v
      (mind the dot & slash in front !!)

      If your scanner is detected, call

      ./testool -s ./test.pic

      and monitor your scanner, if it is taking the picture properly.
      In case you have got a successful scan and you click on test.pic within the KDE konqueror you should see your scan.

      If this works, you are half way through

      Regards

      Ullrich

       
    • This is the result of ./testtool -v:

      Initializing scanner
      Matching USB device 0x046D-0xC032 ... nothing found
      Matching USB device 0x0409-0x0058 ... nothing found
      Matching USB device 0x0000-0x0000 ... nothing found
      Matching USB device 0x0000-0x0000 ... nothing found
      Matching USB device 0x047B-0x1002 ... nothing found
      Matching USB device 0x0000-0x0000 ... nothing found
      Matching USB device 0x0000-0x0000 ... nothing found
      Matching USB device 0x0000-0x0000 ... nothing found
      No LibUSB niash-scanner devices found
      NiashXferOpen ''
      probing
      NiashXferOpen failed for ''
      NiashOpen failed

      How is it possible? Why this scanner doesn't work?? :-/

       
      • Bertrik Sikken
        Bertrik Sikken
        2005-01-28

        I think something went wrong compiling the testtool. Looks like you built an unpatched testtool.

         
    • Hello,

      I sincerely regret ...
      but it is my fault.

      I patched the "SANE" part, but forgot the testtool.

      It is quite an easy issue, to correct that.

      Find the following lines in testtool_xfer.c

      STATIC TScannerModel ScannerModels[] = {
        {"Hewlett-Packard", "ScanJet 3300C", 0x3F0, 0x205, eHp3300c},
        {"Hewlett-Packard", "ScanJet 3400C", 0x3F0, 0x405, eHp3400c},
        {"Hewlett-Packard", "ScanJet 4300C", 0x3F0, 0x305, eHp4300c},
        {"Agfa", "Snapscan Touch", 0x6BD, 0x100, eAgfaTouch},
      /* last entry all zeros */
        {0, 0, 0, 0, 0}
      };

      and change them and call "make" again. (just copy from this post and paste into testtool_xfer.c) After the change the ScannerModels[] array should read:

      STATIC TScannerModel ScannerModels[] = {
        {"Hewlett-Packard", "ScanJet 3300C", 0x3F0, 0x205, eHp3300c},
        {"Hewlett-Packard", "ScanJet 3400C", 0x3F0, 0x405, eHp3400c},
        {"Hewlett-Packard", "ScanJet 4300C", 0x3F0, 0x305, eHp4300c},
        {"Silitek Corp.", "HP ScanJet 4300c", 0x47b, 0x1002, eHp3400c},
        {"Agfa", "Snapscan Touch", 0x6BD, 0x100, eAgfaTouch},
      /* last entry all zeros */
        {0, 0, 0, 0, 0}
      };

      Again, I deeply regret that I forgot the more important part.

      Bertrik:
      I will hide the current release and generate a new one on occasion. Sorry for the inconveniences

      Regards

      Ullrich

       
    • IT WORKS!!!!
      Yeah!!! :-)))

      I'm so so so happy.
      It was 1 week that I didn't sleep thinking how to let my scanner work under Linux and finally I got it!
      Thanks, Ullrich :-))))