LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2004, 04:26 PM   #1
Whiskers
Member
 
Registered: Jan 2004
Location: Lacey, WA
Distribution: SUSE 9.2
Posts: 102

Rep: Reputation: 15
Epson 4180 Photo Scanner, "can not connect" using libusb w/ epkowa backend


This scanner is driving me inSANE with SANE.

included in my /etc/sand.d/dll
is epkowa

epkowa.conf

# epkowa.conf
#
# examples for how to configure the SANE EPSON KOWA Backend
#
# SCSI scanner:
# scsi EPSON
#
# Parallel port scanner:
#pio 0x278
#pio 0x378
#pio 0x3BC
#
# USB scanner - only enable this if you have an EPSON scanner. It could
# otherwise block your non-EPSON scanner from being
# recognized.
#usb /dev/usb/scanner0
usb 0x04b8 0x0118

I've used this page and followed the instructions

EPSON scanner with libusb and hotplugging

http://www.freecolormanagement.com/sane/libusb.html

Scanner is not known by the backend

If you just go the latest and greates scanner from EPSON, chances are that I've not yet added it's product ID to the backend. This means that you have to tell the backend what vendor/product IDs to look for. This is done by usign the standard Sane syntax for libusb support: "usb " - you have to replace the and strings with the data from your scanner. The new Perfection 3200 for example would use this command in epson.conf: "usb 0x4b8 0x11c".

Have tried this, however the backend is epkowa , have tried useing this with epson.conf, but it ended up showing 2 scanners, , 1 epson, 1 epkowa, , i have had more luck with epkowa (the programs would open with epkowa, so i have been usign epkowa instead of epson)

Getting the permissing right

did this

epson_scanner 0x0003 0x04b8 0x0118 0x0000 0x0000
0x00 0x00 0x00 0x00 0x00
0x00 0x00000000

#!/bin/bash

if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chown root "${DEVICE}"
chgrp scanner "${DEVICE}"
chmod 660 "${DEVICE}"
fi

becomes

#!/bin/bash

if [ "${ACTION}" = "add" ] && [ -f "${usb 0x04b8 0x0118}" ]
then
chown root "${usb 0x04b8 0x0118}"
chgrp scanner "${usb 0x04b8 0x0118}"
chmod 660 "${usb 0x04b8 0x0118}"
fi

next did

This script assumes that your computer knows about a group named "scanner", add this to the file /etc/group, give it a unique group id (the number after the password entry). It looks like this:

scanner:x:102:root,khk


I did this, 102 was taken so i gave it 108

scanner:x:108:root,khk:

Documenttation forgot the : <---------- i added this to mine after notices that everything iin the /etc/group file ended with :

Normal user can do iscan or xsane or ximagescan, however each program produces errors relating too, "cannot connect to the device"

I have even tried it as root, still no work, everythign seems right as far as permissions


My device is detected though in sane-find-scanner

found USB scanner (vendor=0x04b8 [EPSON], product=0x0118 [EPSON Scanner]) at libusb:003:002

As well as scanimage -- list

finds my scanner epkowa:libusb:003:002




This has been driving me batty for 2 days now, what am missing, doing wrong, etc?
 
Old 03-05-2009, 01:04 AM   #2
measekite
Member
 
Registered: Aug 2007
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 16
Lightbulb Epson 4180 Working With XSane

I read an old post where someone is having a problem with the Epson 4180 working with XSane.

Here is how I got mine to work. This scanner is an oddball and it is not really the driver that is the issue.

[SOLVED]

I found a solution to the problem. My Epson Perfection 4180 Photo Scanner ()aka Epson GT600) now works with both XSane and Quiteinsane great. I prefer XSane since I can create mutiple image PDFs in a breeze.

You may not need to do everything.

I went to the Epson AvaSys site and downloaded 2 rpm files. I converted them to DEBs.
Ubuntu

I attatched the plugin file. You can download the other file (imagescan) if you need it.

If the attachement did not upload
goto http://www.avasys.jp/english/linux_e/dl_scan.html

and download
iscan-plugin-gt-f600-1.0.0-1.c2.i386.rpm
and use alien to convert it to a deb and then install it
or install it from the rpm using

alien -1 iscan-plugin-gt-f600-1.0.0-1.c2.i386.rpm


I first used alien to install the imagescan file and got some overwrite errors so I am really not sure if any important part got installed. The scanner did not work upon doing this.

After executing the plugin file (I attached it as a deb) I then found the epkowa.conf file in the sane.d folder (Ubuntu Feisty) and it did this:
Code:
/etc/sane.d/epkowa.conf
# epkowa.conf -- sample configuration for the EPKOWA SANE backend
# Copyright (C) 2004  Olaf Meeuwissen
#
# See sane-epkowa(5), sane-scsi(5) and sane-usb(5) for details.
# On systems with libusb, the following line is sufficient to get the
# backend to recognise your USB scanners.  It presumes, however, that
# the scanner---more precisely, it's USB product ID---is known to the
# backend.
# For all USB scanners that are officially supported by this backend,
# this presumption is true.  A list of such scanners can be found in
# sane-epkowa(5).
#
#usb
# For any USB scanner not known to the backend (yet), you may, at your
# own peril(!!), force the backend to recognise and use it via libusb.
# You can do so by the following configuration command:
# 
#   usb <USB vendor ID> <USB product ID>  added JHL 10-29-2007 LinuxUbuntu
usb 0x04b8 0x0118

You may or may not have to edit the file
. Make sure everything else is commented out.
I also edited epson.conf in the same folder and commented everything out.

XSane was executed from the menu and found the scanner. It works great.

You can even access it from The Gimp and the scans will go directly into The Gimp editor it you access it that way.

All the features of the scanner works with XSane.

Once you know what to do and where to get the driver it is a 10 minute job and is easy.

Sorry this is so long but I wanted to make sure anybody who has this scanner will not have to endure the aggravation I did to get the job done.


Last edited by measekite; October 31st, 2007 at 05:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup Epson Perfection 1660 Photo scanner in SUSE 10.0beta4 riba43 SUSE / openSUSE 2 09-08-2005 06:15 AM
Epson Perfection 1250/Photo USB flatbed scanner ggtux Linux - Hardware 1 08-22-2005 01:53 PM
Epson stylus photo RX425 scanner not found pag Mandriva 1 08-10-2005 03:17 AM
Epson Perfection 3170 Photo Scanner !? FreakboY Linux - Hardware 0 06-13-2004 10:47 AM
Slack 9.1, kernel 2.6.3-r3, Epson Scanner and libusb no worky for Joe user. finegan Slackware 1 02-16-2004 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration