Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing USB Scanner - HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
sidkdbl07
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 184

PostPosted: Fri Mar 11, 2005 2:28 am    Post subject: Reply with quote

I had to add myself to the usb group as well :D
Quote:

...
usb:x:85:sid
...
scanner:x:407:sid
...


Hope that helps
Back to top
View user's profile Send private message
shazow
Apprentice
Apprentice


Joined: 11 Dec 2003
Posts: 176
Location: Canada, Ontario

PostPosted: Tue Mar 15, 2005 4:45 am    Post subject: Reply with quote

Could anyone recommend a scanner for a casual artist and linux user?

My current one died (ie. it scans green lines exclusively... it was pretty cheap when I bought it... 5 years ago).

I don't need anything super-professional. Preferably decent resolution, USB capable, not too slow, works on linux, and not too expensive (<$150).

Any suggestions?

- shazow
Back to top
View user's profile Send private message
sn_invader
n00b
n00b


Joined: 01 May 2005
Posts: 1

PostPosted: Sun May 01, 2005 6:33 pm    Post subject: i have a problem Reply with quote

i am using scanjet 2300c i tried the following instruction that was posted on this ite everything worked except for the xsane part
i checked the supoorted driver by sane but my scanner is not listed at all not even on the not supported list so what should i do to use this scanner
Back to top
View user's profile Send private message
V()
n00b
n00b


Joined: 04 May 2005
Posts: 10
Location: Hamburg, Germany

PostPosted: Wed May 04, 2005 8:55 pm    Post subject: Alas, my scanner does not work ! Reply with quote

I am having trouble to set up my Epson Perfection 640U[SB] scanner under Gentoo 2005.0. The system runs on an AMD64 machine.
First I emerged libusb, then sane-backends and finally xsane. I paid attention that the usb USE-flag was included. I also applied all necessary and seemingly unnecessary changes to the files /etc/hotplug/usb.usermap, /etc/sane.d/dll.conf (i. e. commenting out all other devices) and /etc/sane.d/epson.conf.

"cat /proc/bus/usb/devices" lists the scanner:
[...]
P: Vendor=04b8 ProdID=010c Rev= 0.01
S: Manufacturer=EPSON
S: Product=Perfection640
[...]

But "sane-find-scanner -v" displays the following message:
[...]
libusb not available
[...]

"ls /usr/lib64/libusb*" lists the following files:
/usr/lib64/libusb /usr/lib64/libusb.a /usr/lib64/libusb.so.0
/usr/lib64/libusb-0.1.4 /usr/lib64/libusb.la /usr/lib64/libusb.so.0.0.0
/usr/lib64/libusb-0.1.4.4.0 /usr/lib64/libusb.so

"libusb-config --version" displays the following version number:
0.1.8

The scanner is not out of order. It worked fine on a Windows notebook a friend of mine has. I know I will burn in hell for trying that but I had to make sure there is no hardware problem.

Solved (see post by lbrtuk below)
_________________
No violence, gentlemen -- no violence, I beg of you!
Consider the furniture!
-- Sherlock Holmes


Last edited by V() on Tue May 17, 2005 7:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Jeffrey0
n00b
n00b


Joined: 31 Dec 2004
Posts: 68

PostPosted: Mon May 09, 2005 3:13 pm    Post subject: Re: i have a problem Reply with quote

sn_invader wrote:
i am using scanjet 2300c i tried the following instruction that was posted on this ite everything worked except for the xsane part
i checked the supoorted driver by sane but my scanner is not listed at all not even on the not supported list so what should i do to use this scanner
They're working on a backend for it (genesys). There's some code in CVS, but installing it is hard and it doesn't actually work yet.

I've been able to get it to do something, but it crashed before producing useful output.
Back to top
View user's profile Send private message
Gentoo-Ed
Guru
Guru


Joined: 21 Apr 2005
Posts: 442
Location: the Netherlands

PostPosted: Tue May 10, 2005 11:19 am    Post subject: Reply with quote

hey all. My installation comes to an wondering halt after sane-find-scanner for it doesn't display anything so I can't start xsane, it says no device found. I have a thread on this https://forums.gentoo.org/viewtopic-t-334553-highlight-.html with everything what I did. Maybe someone can look at it too?

[edit]
Sigh...

Did some more stuff and tried other ports. Still not working. My command "sane-find-scanner -v" gives when checking USB scanners:

checking /dev/usb... failed to open (invalid argument)
libusb not available

Maybe that's wrong??

[edit]
SOLVED my problem, see my thread


Last edited by Gentoo-Ed on Thu May 12, 2005 2:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Thu May 12, 2005 2:19 pm    Post subject: Reply with quote

I'm having the same problem as V() and Gentoo-Ed.

sane-backends does not seem to be picking up libusb at compile time no matter what my use flags are.

Edit: I managed to 'solve' this by unmerging usbutils and then remerging libusb. Then emerging sane-backends of course.
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Thu May 12, 2005 5:26 pm    Post subject: Reply with quote

I have the same problems as a few others here: the scanner works fine for root, but not for normal user
It used to work, but as I don't use the scanner often it is impossible for me to tell when it broke for users
user is member of the group scanner and of the group usb
Back to top
View user's profile Send private message
V()
n00b
n00b


Joined: 04 May 2005
Posts: 10
Location: Hamburg, Germany

PostPosted: Mon May 16, 2005 4:22 pm    Post subject: Reply with quote

lbrtuk wrote:
I managed to 'solve' this by unmerging usbutils and then remerging libusb. Then emerging sane-backends of course.


This worked for me, too. How did you come across that solution ?
_________________
No violence, gentlemen -- no violence, I beg of you!
Consider the furniture!
-- Sherlock Holmes
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Tue May 17, 2005 2:29 am    Post subject: Reply with quote

V() wrote:
This worked for me, too. How did you come across that solution ?


https://forums.gentoo.org/viewtopic-t-322237-highlight-.html

Ironically it came from someone I was trying to help get his scanner working. Came in useful a few weeks later for myself.
Back to top
View user's profile Send private message
perrito666
n00b
n00b


Joined: 19 May 2005
Posts: 1
Location: Argentina

PostPosted: Thu May 19, 2005 5:41 am    Post subject: libusbscanner Reply with quote

i had the same problem with permissions using libusb on scanning but i solved adding the line coresponding to mi scanner in /etc/hotplug/usb/libsane.usermap it's, i guess, the bes way, notoriously not all the scanners mentioned in /etc/sane.d/ are in this file so you may have to add yours
Back to top
View user's profile Send private message
eldados
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 107

PostPosted: Wed Aug 17, 2005 4:45 am    Post subject: Reply with quote

thanks for the Howto, my canoscam N670U is working! :)
Back to top
View user's profile Send private message
crys0000
n00b
n00b


Joined: 11 Jan 2006
Posts: 44
Location: Todi, Italy

PostPosted: Sat Jan 28, 2006 8:50 am    Post subject: Reply with quote

When I run sane-find-scanner I get:

Code:
# 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=0x046d, product=0x08f6 [Camera]) at libusb:002:002
found USB scanner (vendor=0x04b8 [EPSON], product=0x0813 [USB2.0 MFP(Hi-Speed)]) at libusb:001: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.


Then:
Code:
# scanimage -L
device `v4l:/dev/video0' is a Noname Logitech QuickCam USB virtual device


Sane sees my webcam as a scanner... 8O If I unplug my webcam scanimage -L gives me:

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


Why this? My scanner is identified by sane-find-scanner but not by scanimage -L. It is an Epson CX6600 and it is supported by sane.

Thanks.
Back to top
View user's profile Send private message
S3tH
n00b
n00b


Joined: 09 Dec 2005
Posts: 13

PostPosted: Mon Jan 30, 2006 2:02 pm    Post subject: Reply with quote

Quote:
Sane sees my webcam as a scanner... 8O If I unplug my webcam scanimage -L gives me:

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


Why this? My scanner is identified by sane-find-scanner but not by scanimage -L. It is an Epson CX6600 and it is supported by sane.


I'm not sure what to tell you about sane seeing your printer as a camera, but with the epson all-in-ones you have to be careful about some conflicting modules. If you have these kernel options as modules, try removing them before using scanimage -L.

Code:
rmmod usblp usb_storage


I've heard tell that using the newest unstable sane-backends will get rid of this error, but I havn't tried it. As of right now with many of the CX line, the usblp and usb_storage modules mess sane up. You will have to remove them while scanning, then add them again when you are done. Hope this helps.

Seth
Back to top
View user's profile Send private message
j4ck455
n00b
n00b


Joined: 16 Mar 2006
Posts: 7

PostPosted: Wed Aug 09, 2006 11:55 pm    Post subject: Reply with quote

I'm considering buying either an HP ScanJet or a Canon Canoscan flatbed USB2 scanner [my options are a bit limited to what retailers have available to buy - at least where I am].

After some googling I found this.

Has anyone managed to get any of these scanners to work in Gentoo? [I'm using 2006.0 amd64]:
  • CanoScan 4200F Scanner - 3200x6400 dpi, 48-bit
  • Canoscan 8400F Scanner - 3200x6400 dpi, 48-bit
  • CanoScan LiDE 25 Scanner - 1200x2400 dpi, 48-bit
  • CanoScan LiDE 60 Scanner - 1200x2400 dpi, 48-bit
  • HP Scanjet 3770 Digital Flatbed Scanner - 1200x2400 dpi, 48-bit
  • HP ScanJet 3800 Scanner - 2400x4800 dpi, 48-bit
  • HP ScanJet 4370 Scanner - 3600x7200 dpi, 48-bit
  • HP ScanJet 4890 Photo Scanner - 4800x9600 dpi, 48-bit
Back to top
View user's profile Send private message
yfh2
Apprentice
Apprentice


Joined: 20 May 2004
Posts: 242

PostPosted: Fri Aug 11, 2006 2:43 pm    Post subject: Reply with quote

I used to have my Canoscan Lide 60 working with my previous Gentoo box

However, I moved to amd64, and I'm having the very same trouble now :

Code:

fanless eb # 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=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL841) at libusb:001: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.


fanless eb # scanimage -L
device `v4l:/dev/video1' is a Noname BT878 video (AVerMedia AVerTV D virtual device
device `v4l:/dev/video0' is a Noname BT878 video (AVerMedia AVerTV D virtual device




Obviously, the /dev/sg# device is not created by udev, no idea why, though the usb connection is made :

Code:


fanless eb # dmesg
...
usb 1-10: new high speed USB device using ehci_hcd and address 4
usb 1-10: configuration #1 chosen from 1 choice

fanless eb # lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04a9:221c Canon, Inc.
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000





any idea ?
Back to top
View user's profile Send private message
nationdemon
n00b
n00b


Joined: 15 Nov 2006
Posts: 30
Location: Dresden

PostPosted: Wed Nov 22, 2006 3:38 am    Post subject: Reply with quote

Iam having trouble with my HP ScanJet 4400c... At first I used the german howto, then I've tried the english one and after that I read nearly all scanner related threads in here.

Long story short

Code:

nationdemon@kronenburg ~ $ sudo emerge sane-backends libusb -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] media-gfx/sane-backends-1.0.18-r2  USE="gphoto2 ipv6 usb v4l" 0 kB
[ebuild   R   ] dev-libs/libusb-0.1.11  USE="doc -debug" 0 kB
Total size of downloads: 0 kB


next reports as root

Code:

kronenburg ~ # lsusb
Bus 002 Device 003: ID 1267:0212 Logic3 / SpectraVideo plc
Bus 001 Device 009: ID 03f0:0705 Hewlett-Packard ScanJet 4400c
Bus 001 Device 007: ID 0409:0059 NEC Corp. HighSpeed Hub


Code:

kronenburg ~ # sane-find-scanner -q
found USB scanner (vendor=0x03f0, product=0x0705) at libusb:001:009


Code:

kronenburg ~ # 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).


nationdemon is in group scanner and usb, ls -l /proc/bus/usb/001/009 told me root:scanner
Code:

nationdemon@kronenburg ~ $ cat /proc/bus/usb/devices
T:  Bus=01 Lev=02 Prnt=07 Port=02 Cnt=01 Dev#=  9 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=0705 Rev= 1.00
S:  Manufacturer=Hewlett-Packard
S:  Product=HP ScanJet 4400c
S:  SerialNumber=CN16M1B13ZB
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 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=   1 Ivl=250ms


make.conf SANE_BACKENDS="hp" << seems to do nothing...

I've tried to set /etc/sane.d/hp.conf to 0x03f0 0x0705 but after that scanimage -L seems to do nothing for a while and breaks with no comment.

I already know that this is related with the sane_hp_rts88xx.tar.gz. I've found no hint there to copy the files included in this backendpack. I found a thread where someone said he had copied all the files to /var/tmp/portage/backend-xxxxx/work/backend/ and started sane_patch.sh. But the only way I know to get this dir is to interrupt the emergeprocess. But if I do so and copy the files to this dir and start the patch the next emerge fails without an error report (greped for "error" and for "missing").

The readme.html and sane-hp_rts88xx were not very usefull. Maybe someone gots a hint for me.

Thanks ND
Back to top
View user's profile Send private message
nationdemon
n00b
n00b


Joined: 15 Nov 2006
Posts: 30
Location: Dresden

PostPosted: Fri Nov 24, 2006 12:08 am    Post subject: Reply with quote

Hmmm, I stopped emerge sane-backends after source depacking, switched to the directory and copied the files of hp_rts8800.tar.gz in to work/backend. Then I ran patch-sane.sh (recognized it was'nt necessary to copy the files to this location) and the patch had been applied. I started configure, make && make install. Saw that I've to copy the files to the recommended dirs by myself. After all I tried scanimage -L again.

Code:

kronenburg ~ # export SANE_DEBUG_DLL=128
kronenburg ~ # scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.18
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `hp_rts88xx'
[dll] sane_get_devices
[dll] load: searching backend `hp_rts88xx' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/sane/libsane-hp_rts88xx.so.1'
[dll] load: dlopen()ing `/usr/lib64/sane/libsane-hp_rts88xx.so.1'
[dll] load: dlopen() failed (/usr/lib64/sane/libsane-hp_rts88xx.so.1: invalid ELF header)
[dll] sane_get_devices: found 0 devices

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).
[dll] sane_exit: exiting
[dll] sane_exit: finished


Humpf ... Any suggestions?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum