PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > trying to get a Benq4300U USB scanner working .....
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

trying to get a Benq4300U USB scanner working .....

Réponse
 
LinkBack Outils de la discussion
Vieux 01/12/2006, 15h50   #1 (permalink)
Michael Fothergill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut trying to get a Benq4300U USB scanner working .....

Dear Debian people,


I have tried to get my scanner to work a number of times under Fedora Core 6
on my machine (1200 MHz Athlon) but have not succeeded.

I am now trying with Debian on the same machine on a second drive.

It is pretty recalcitrant and it may still not work but I will post some of
my efforts here and if you would make suggestions I would be grateful.

What is REALLY sad is that if I can't succeed I will have to wipe Fedora off
and reinstall Windows 98 just so I can scan images.

Yikes....

The other alternative is to go to the library and use the scanner there. I
would still be using Windows but at least not on my own machine.

OK. Here goes.

As you can see I have edited the snapscan.conf file that lives in
/etc/sane.d and bunged in the driver for the scanner I use and the device
directory /dev/usb/scanner0.

more snapscan.conf
#------------------------------ General -----------------------------------

# Change to the fully qualified filename of your firmware file, if
# firmware upload is needed by the scanner
firmware /home/mikef/benq4300/u222v067.bin

# If not automatically found you may manuaully specify a device name.

# For USB scanners also specify bus=usb, e.g.
# /dev/usb/scanner0 bus=usb

# For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
# /dev/sg0

#---------------------------------------------------------------------------
# No changes should be necessary below this line
#---------------------------------------------------------------------------

#-------------------------- SCSI scanners ----------------------------------
# These SCSI devices will be probed automatically
scsi AGFA * Scanner
scsi COLOR * Scanner
scsi Color * Scanner
scsi ACERPERI * Scanner

#--------------------------- USB scanners
-----------------------------------
# These USB devices will be probed automatically
# (This will currently work only on Linux)

# Benq/Acer/Vuego 310U
usb 0x04a5 0x1a20
usb 0x04a5 0x1a26

# Benq/Acer/Vuego 320U
usb 0x04a5 0x2022

# Benq/Acer/Vuego 620U / 620UT
usb 0x04a5 0x1a2a
usb 0x04a5 0x2040

# Benq/Acer/Vuego 640U
usb 0x04a5 0x2060

# Benq/Acer/Vuego 640BU
usb 0x04a5 0x207e

# Benq/Acer/Vuego 640BT
usb 0x04a5 0x20be

# Benq/Acer/Vuego 1240U
usb 0x04a5 0x20c0

# Benq/Acer/Vuego 3300 / 4300
usb 0x04a5 0x20b0

# Benq/Acer/Vuego 4300
usb 0x04a5 0x20de

# Benq/Acer/Vuego 5000
usb 0x04a5 0x20fc

# Benq/Acer/Vuego 5300
usb 0x04a5 0x20fe

# Agfa 1236U
usb 0x06bd 0x0002

# Agfa 1212U
usb 0x06bd 0x0001
usb 0x06bd 0x2061

# Agfa Snapscan e10
usb 0x06bd 0x2093

# Agfa Snapscan e20
usb 0x06bd 0x2091

# Agfa Snapscan e25
usb 0x06bd 0x2095

# Agfa Snapscan e26
usb 0x06bd 0x2097

# Agfa Snapscan e40
usb 0x06bd 0x208d

# Agfa Snapscan e42
usb 0x06bd 0x20ff

# Agfa Snapscan e50
usb 0x06bd 0x208f

# Agfa Snapscan e52
usb 0x06bd 0x20fd

# Epson Perfection 660
usb 0x04b8 0x0114

# Epson Perfection 1670
usb 0x04b8 0x011f

# Epson Perfection 2480
usb 0x04b8 0x0121
mikef@spc2-burn3-0-0-cust329:/etc/sane.d$

OK, now let's try to detect it. I have changed my user group to include the
scanner group.

Apparently you are supposed to do this.

But I am logged in as root at the terminal I am showing now to ease
things.



spc2-burn3-0-0-cust329:/proc/bus/usb/002# sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure
that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".

found USB scanner (vendor=0x04a5, product=0x20b0) at libusb:002:002
# 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.


It looks like it has found it. But don't get too excited.

Let's try something else;

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).

Hmmm.. It can't find it now. I think if it is a USB device I once read
somewhere that scanimage -L might not work so easily c.f. SCSI in this
situation.

Comments please.

OK, let's rock the joint and run cat /proc/bus/usb/devices:

spc2-burn3-0-0-cust329:/proc/bus/usb/002# cat /proc/bus/usb/devices


T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=cf902000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1

Don't get too excited nbut I think this line here is the scanner stuff but
it doesn't say scanner found so maybe there is still a problem here comments
please....

P: Vendor=04a5 ProdID=20b0 Rev= 1.20

C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=cf879000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04b8 ProdID=0005 Rev= 1.00
S: Manufacturer=EPSON
S: Product=USB Printer
S: SerialNumber=HU22T0511260429380
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
spc2-burn3-0-0-cust329:/proc/bus/usb/002#

OK, now what about all that libusb stuff?

Here goes:
spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
total 1
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
-rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
spc2-burn3-0-0-cust329:/proc/bus/usb/002# pwd
/proc/bus/usb/002
spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd ../001
spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
total 1
-rw-r--r-- 1 root root 18 2006-12-02 03:23 001
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd 003
bash: cd: 003: Not a directory
spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
total 1
-rw-r--r-- 1 root root 18 2006-12-02 03:23 001
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd 001
bash: cd: 001: Not a directory
spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd ..
spc2-burn3-0-0-cust329:/proc/bus/usb# ls
001 002 devices drivers
spc2-burn3-0-0-cust329:/proc/bus/usb# cd 002
spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
total 1
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
-rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd 002
bash: cd: 002: Not a directory
spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
total 1
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
-rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd ..
spc2-burn3-0-0-cust329:/proc/bus/usb# ls
001 002 devices drivers
spc2-burn3-0-0-cust329:/proc/bus/usb# cd 001
spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
total 1
-rw-r--r-- 1 root root 18 2006-12-02 03:23 001
-rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
spc2-burn3-0-0-cust329:/proc/bus/usb/001# pwd
/proc/bus/usb/001


I seem to go round in circles with those directories because they all look
the same. I am always paranoid I haven't speared every one of them.

Is this good enough?

What about changing the ownership and groups from root to user?

I am root now so shouldn't this be OK?

OK. Now for the grand finale.


Let's try to run xsane and fail miserably.

Here goes:

spc2-burn3-0-0-cust329:/proc/bus/usb/001# /usr/bin/xsane
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(xsane:8980): Gtk-WARNING **: cannot open display:
spc2-burn3-0-0-cust329:/proc/bus/usb/001#

Terrible. It won't even start? Any suggestions?

Let's try running xsane as a user now:

It dies.

The error message says no devices available.

But I think I can play with the scanner detection commands to make the xsane
see the scanner as a user but then crash at the end I think with a libusb
problem. Let's see if I can tweak it to do this.

Here goes.

I tried but I can't seem to get any further with it. I just get the no
devices error again.

Suggestions on getting further with it appreciated.


Michael Fothergill

__________________________________________________ _______________
Windows Live™ Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 02/12/2006, 21h40   #2 (permalink)
Freddy Freeloader
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: trying to get a Benq4300U USB scanner working .....

Michael Fothergill wrote:
> Dear Debian people,
>
>
> I have tried to get my scanner to work a number of times under Fedora
> Core 6 on my machine (1200 MHz Athlon) but have not succeeded.
>
> I am now trying with Debian on the same machine on a second drive.
>
> It is pretty recalcitrant and it may still not work but I will post
> some of my efforts here and if you would make suggestions I would be
> grateful.
>
> What is REALLY sad is that if I can't succeed I will have to wipe
> Fedora off and reinstall Windows 98 just so I can scan images.
>
> Yikes....
>
> The other alternative is to go to the library and use the scanner
> there. I would still be using Windows but at least not on my own machine.
>
> OK. Here goes.
>
> As you can see I have edited the snapscan.conf file that lives in
> /etc/sane.d and bunged in the driver for the scanner I use and the
> device directory /dev/usb/scanner0.
>
> more snapscan.conf
> #------------------------------ General
> -----------------------------------
>
> # Change to the fully qualified filename of your firmware file, if
> # firmware upload is needed by the scanner
> firmware /home/mikef/benq4300/u222v067.bin
>
> # If not automatically found you may manuaully specify a device name.
>
> # For USB scanners also specify bus=usb, e.g.
> # /dev/usb/scanner0 bus=usb
>
> # For SCSI scanners specify the generic device, e.g. /dev/sg0 on Linux.
> # /dev/sg0
>
> #---------------------------------------------------------------------------
>
> # No changes should be necessary below this line
> #---------------------------------------------------------------------------
>
>
> #-------------------------- SCSI scanners
> ----------------------------------
> # These SCSI devices will be probed automatically
> scsi AGFA * Scanner
> scsi COLOR * Scanner
> scsi Color * Scanner
> scsi ACERPERI * Scanner
>
> #--------------------------- USB scanners
> -----------------------------------
> # These USB devices will be probed automatically
> # (This will currently work only on Linux)
>
> # Benq/Acer/Vuego 310U
> usb 0x04a5 0x1a20
> usb 0x04a5 0x1a26
>
> # Benq/Acer/Vuego 320U
> usb 0x04a5 0x2022
>
> # Benq/Acer/Vuego 620U / 620UT
> usb 0x04a5 0x1a2a
> usb 0x04a5 0x2040
>
> # Benq/Acer/Vuego 640U
> usb 0x04a5 0x2060
>
> # Benq/Acer/Vuego 640BU
> usb 0x04a5 0x207e
>
> # Benq/Acer/Vuego 640BT
> usb 0x04a5 0x20be
>
> # Benq/Acer/Vuego 1240U
> usb 0x04a5 0x20c0
>
> # Benq/Acer/Vuego 3300 / 4300
> usb 0x04a5 0x20b0
>
> # Benq/Acer/Vuego 4300
> usb 0x04a5 0x20de
>
> # Benq/Acer/Vuego 5000
> usb 0x04a5 0x20fc
>
> # Benq/Acer/Vuego 5300
> usb 0x04a5 0x20fe
>
> # Agfa 1236U
> usb 0x06bd 0x0002
>
> # Agfa 1212U
> usb 0x06bd 0x0001
> usb 0x06bd 0x2061
>
> # Agfa Snapscan e10
> usb 0x06bd 0x2093
>
> # Agfa Snapscan e20
> usb 0x06bd 0x2091
>
> # Agfa Snapscan e25
> usb 0x06bd 0x2095
>
> # Agfa Snapscan e26
> usb 0x06bd 0x2097
>
> # Agfa Snapscan e40
> usb 0x06bd 0x208d
>
> # Agfa Snapscan e42
> usb 0x06bd 0x20ff
>
> # Agfa Snapscan e50
> usb 0x06bd 0x208f
>
> # Agfa Snapscan e52
> usb 0x06bd 0x20fd
>
> # Epson Perfection 660
> usb 0x04b8 0x0114
>
> # Epson Perfection 1670
> usb 0x04b8 0x011f
>
> # Epson Perfection 2480
> usb 0x04b8 0x0121
> mikef@spc2-burn3-0-0-cust329:/etc/sane.d$
>
> OK, now let's try to detect it. I have changed my user group to
> include the scanner group.
>
> Apparently you are supposed to do this.
>
> But I am logged in as root at the terminal I am showing now to
> ease things.
>
>
>
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# sane-find-scanner
>
> # sane-find-scanner will now attempt to detect your scanner. If the
> # result is different from what you expected, first make sure your
> # scanner is powered up and properly connected to your computer.
>
> # No SCSI scanners found. If you expected something different, make
> sure that
> # you have loaded a SCSI driver for your SCSI adapter.
> # Also you need support for SCSI Generic (sg) in your operating system.
> # If using Linux, try "modprobe sg".
>
> found USB scanner (vendor=0x04a5, product=0x20b0) at libusb:002:002
> # 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.
>
>
> It looks like it has found it. But don't get too excited.
>
> Let's try something else;
>
> 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).
>
> Hmmm.. It can't find it now. I think if it is a USB device I once read
> somewhere that scanimage -L might not work so easily c.f. SCSI in this
> situation.
>
> Comments please.
>
> OK, let's rock the joint and run cat /proc/bus/usb/devices:
>
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# cat /proc/bus/usb/devices
>
>
> T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB OHCI Root Hub
> S: SerialNumber=cf902000
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
> T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
>
> Don't get too excited nbut I think this line here is the scanner stuff
> but it doesn't say scanner found so maybe there is still a problem
> here comments please....
>
> P: Vendor=04a5 ProdID=20b0 Rev= 1.20
>
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB OHCI Root Hub
> S: SerialNumber=cf879000
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=04b8 ProdID=0005 Rev= 1.00
> S: Manufacturer=EPSON
> S: Product=USB Printer
> S: SerialNumber=HU22T0511260429380
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> spc2-burn3-0-0-cust329:/proc/bus/usb/002#
>
> OK, now what about all that libusb stuff?
>
> Here goes:
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
> total 1
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
> -rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# pwd
> /proc/bus/usb/002
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd ../001
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
> total 1
> -rw-r--r-- 1 root root 18 2006-12-02 03:23 001
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd 003
> bash: cd: 003: Not a directory
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
> total 1
> -rw-r--r-- 1 root root 18 2006-12-02 03:23 001
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd 001
> bash: cd: 001: Not a directory
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# cd ..
> spc2-burn3-0-0-cust329:/proc/bus/usb# ls
> 001 002 devices drivers
> spc2-burn3-0-0-cust329:/proc/bus/usb# cd 002
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
> total 1
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
> -rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd 002
> bash: cd: 002: Not a directory
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# ls -l
> total 1
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 001
> -rw-rw---- 1 root scanner 18 2006-12-02 02:46 002
> spc2-burn3-0-0-cust329:/proc/bus/usb/002# cd ..
> spc2-burn3-0-0-cust329:/proc/bus/usb# ls
> 001 002 devices drivers
> spc2-burn3-0-0-cust329:/proc/bus/usb# cd 001
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# ls -l
> total 1
> -rw-r--r-- 1 root root 18 2006-12-02 03:23 001
> -rw-rw-rw- 1 root root 18 2006-12-02 03:23 003
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# pwd
> /proc/bus/usb/001
>
>
> I seem to go round in circles with those directories because they all
> look the same. I am always paranoid I haven't speared every one of them.
>
> Is this good enough?
>
> What about changing the ownership and groups from root to user?
>
> I am root now so shouldn't this be OK?
>
> OK. Now for the grand finale.
>
>
> Let's try to run xsane and fail miserably.
>
> Here goes:
>
> spc2-burn3-0-0-cust329:/proc/bus/usb/001# /usr/bin/xsane
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
>
> (xsane:8980): Gtk-WARNING **: cannot open display:
> spc2-burn3-0-0-cust329:/proc/bus/usb/001#
>
> Terrible. It won't even start? Any suggestions?
>
> Let's try running xsane as a user now:
>
> It dies.
>
> The error message says no devices available.
>
> But I think I can play with the scanner detection commands to make the
> xsane see the scanner as a user but then crash at the end I think with
> a libusb problem. Let's see if I can tweak it to do this.
>
> Here goes.
>
> I tried but I can't seem to get any further with it. I just get the no
> devices error again.
>
> Suggestions on getting further with it appreciated.
>
>
> Michael Fothergill
>
> __________________________________________________ _______________
> Windows Live™ Messenger has arrived. Click here to download it for
> free! http://imagine-msn.com/messenger/launch80/?locale=en-gb
>
>

Try taking a look at the following link. It has some pretty good info on
setting that scanner up.

http://snapscan.sourceforge.net/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h49.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18988 seconds with 10 queries