Re,

On Thu, Jul 08, 2010 at 04:36:42PM +0700, Diwakoe wrote:

> > We now already upgraded from ltsp 4.2.2 to fedora 12 ltsp5 and all
> > client running well. Problem is scanner device canon lide series
> > which attached on client not recognize by system

What means "Not recognize by system" ?

By udev or by the SANE layer ?


>  when we use 4.2.2 version all scanner function well.

I see no reason *because of LTSP 5* for a scanner not to work... At
least, I can report that two scanners here are working successfully on
an LTSP 5 client (the two ones are on the same client, working at the
same time, through the network of course).


> > Is there any setting howto activate scanner device on ltsp 5?

>From brain dump :

1. make sure the scanner is recognized by udev at pluging/powering
   on ;

2. install libsane, libsane-extras and sane-utils in the chroot (on
   Debian, substitue as apropriate for your OS) ;

3. configure the SANE layer in the chroot :

   * comment all backends in /etc/saned.d/dll.conf ;

   * uncomment the net backend and the needed backend for your
     scanner ;

4. locally on the booted TC (i.e. you have to ssh to it, or login
   locally), test with the sane-find-scanner tool. It should report
   your(s) scanner(s).

     For example (comments striped) :

     futro4:/etc/sane.d# sane-find-scanner 

     [...]

     found SCSI scanner "AVISION AV8000S 1.17" at /dev/sg0

     [...]

     found USB scanner (vendor=0x04a7 [XEROX], product=0x044c [DocuMate262]) at 
libusb:003:003

     [...] 
     
     => from here, we know the scanners are recognized.

5. configure the network access :

   * add 'localhost' in /etc/saned.d/net.conf (also for testing
     purpose) ;

   * add a '+' in saned.conf to allow all hosts from the lan to talk
     to the scanner (warning: this has security implications) ;
   
6. test network 'visibility' of the scanner :

   From the TC, but now in 'TC mode' (i.e. in the intended mode of
   operation of the TC, which means from the LTSP server, through the
   network), issues one of theses commands :

   j...@hermes:~$ scanimage -L
   device `net:futro4.jfs.dt:avision:libusb:003:003' is a Xerox DocuMate262 
sheetfed scanner
   device `net:futro4.jfs.dt:avision:/dev/sg0' is a Avision AV8000S flatbed 
scanner

   or 

   j...@hermes:~$ scanadf -L
   device `net:futro4.jfs.dt:avision:libusb:003:003' is a Xerox DocuMate262 
sheetfed scanner
   device `net:futro4.jfs.dt:avision:/dev/sg0' is a Avision AV8000S flatbed 
scanner
   
   => from here, we know the scanners are recognized and usable through the 
network

7. finaly, on the server, point the applications to the 'scanner
   server', which is the TC :

   In /etc/sane.d/net.conf, put the name (or IP) of the TC :

j...@hermes:/etc/sane.d$ cat net.conf
# This is the net backend config file.

## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60

## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost

futro4.jfs.dt
j...@hermes:/etc/sane.d$

8. it should work ;)

   Test it with with some frontend, e.g. :

j...@hermes:~$ xerox
scanadf: rounded value of brightness from -30 to -30
Scanned document 20100708-164828-xerox--001.pnm
Scanned document 20100708-164828-xerox--002.pnm
Scanned 2 pages

Traitement en cours:
        -> Création du PDF...
        -> Destruction des fichiers temporaires...

Fichier 20100708-164828-xerox.pdf créé. Terminé.

    and :

j...@hermes:~$ avision
Scanning -1 pages, incrementing by 1, numbering from 1
Place document no. 1 on the scanner.
Press <RETURN> to continue.
Press Ctrl + D to terminate.

Scanning page 1
Scanned page 1. (scanner status = 5)
Place document no. 2 on the scanner.
Press <RETURN> to continue.
Press Ctrl + D to terminate.
Batch terminated, 1 pages scanned

Traitement en cours:
        -> Rotation et conversion des images...
        -> Création du PDF...

Fichier 20100708-165236-avision.pdf créé. Terminé


(N.B. 'xerox' and 'avision' here are just in house wrappers around
scanadf and scanimage respectively).

I hope it helps a bit, but feel free to report any problem to the
list.

A+


-- 

JFS.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to