You are not logged in.

#1 2009-02-15 11:06:17

Joenas
Member
Registered: 2009-01-11
Posts: 14

XSANE no devices available

Hi,
I used XSANE for scanning for a couple of months, but couple of days ago, it started to tell me that no devices are available.
I have HP Photosmart C3180.
I added my user to scanner group.
I ran sane-find-scanner under my user, gave back no scanners.
I ran sane-find-scanner under root, gave back this:

...
found USB scanner (vendor=0x03f0 [HP], product=0x5611 [Photosmart C3100 series]) 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.
...

tried scanimage -L, which gave me:

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 reinstalled xsane, I tried deleting xsane from .sane at ~, I tried switching it on before the PC. Nothing worked.
I had some problems with my external harddrives (connected via USB 2) because of HAL update (policikit conf editing solved this). Couldn't the HAL cause this problem 2?
Any sugestions?
Thanks. Joenas

Offline

#2 2009-02-15 11:09:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,478
Website

Re: XSANE no devices available

Sounds weird, but try adding yourself to the "lp" group.   This will be detected as a printer instead of a scanner.

Offline

#3 2009-02-15 12:46:34

Joenas
Member
Registered: 2009-01-11
Posts: 14

Re: XSANE no devices available

Adding myself to lp group made my user to see the scanner through the sane-find-scanner, but scanimage -L and starting xsane gives back the same results as before...no device available O_o

Offline

#4 2009-02-15 14:24:54

ploub
Member
Registered: 2007-05-16
Posts: 134

Re: XSANE no devices available

According to the sane website your scanner isn't supported http://www.sane-project.org/unsupported … -3180.html. Maybe you can get it to work in a VM in windows?

Offline

#5 2009-02-16 15:50:20

Joenas
Member
Registered: 2009-01-11
Posts: 14

Re: XSANE no devices available

ok, so XSANE doesnt support it...so what should I do for scanning, any1 scanning with something else then XSANE?
Anyway its strange that it just stopped working... isnt there anyway to tell XSANE that my C3180 is some C3100, that is actually supported (some related scanner) to make it work?
Thx. Joenas

Offline

#6 2009-02-22 13:14:32

alterego
Member
Registered: 2009-02-22
Posts: 5

Re: XSANE no devices available

I just had the same problem and "lp" group fixed it. That's the group that owns /dev/bus/usb/<hp psc here>/ with rw rights. Didn't have that problem before. Seems it has something to do with a recent hplip update. sane backend I got was installed almost a year ago and hplip was updated few days ago. Also, neither that sane-project page nor the hplip page list my psc1600 as supported and I've been using it with these libraries for a long time now O.o So I guess yours should work too. Just fiddle with it till it works again hmm

Offline

#7 2009-02-28 18:45:45

Joenas
Member
Registered: 2009-01-11
Posts: 14

Re: XSANE no devices available

Hi guys,I returned from holiday, and while in relaxed and good mood I thought I would give my scanner a try, nad guess what: I just scanned a page with no problems. I got no idea why it didnt work before and now works, 'cause on the sane-project pages my printer is still "unsupported". Thx for your advice.
JOenas

Offline

#8 2009-03-03 21:44:07

BlueThumb
Member
From: Denmark
Registered: 2006-02-05
Posts: 12

Re: XSANE no devices available

I had the same problem with my epson 1640su, I could only scan as root with xsane not as normal user !!?. I did found a solution.
here:
http://kerneltrap.org/node/3048
so I wrote in my custom udev/rules.d/xxx.rules file:
"SUBSYSTEM=="usb_device", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010a", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0666" "

and it worked :-))

It  seems that the scanner detects /dev/bus/usb/x/y with "0644" premission ! But it needs "0666" to work with xsane as normal user ?

Be sure to make your xxx.rules file "read" last ( call it something "99-xxx.rules") because udev reads the rules from the top down and I find archs rules overwrites my custom rules !?. 

Maybe a bug some where ? :..

-

Last edited by BlueThumb (2009-03-04 12:32:24)


If you can't crack it then hack it !!

Offline

#9 2009-03-05 01:32:33

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: XSANE no devices available

I'm having the same problem with my HP Deskjet F4140, except scanimage -L detects it and scanimage works as root.

Offline

#10 2010-03-11 22:16:22

commodore256
Member
Registered: 2009-08-29
Posts: 24

Re: XSANE no devices available

Joenas wrote:

ok, so XSANE doesnt support it...so what should I do for scanning, any1 scanning with something else then XSANE?
Anyway its strange that it just stopped working... isnt there anyway to tell XSANE that my C3180 is some C3100, that is actually supported (some related scanner) to make it work?
Thx. Joenas

Yeah, It worked with xsane.

I bought the same exact Printer from salvation army for $10 (I think they got it from circuit city when they close all of their stores) and it worked in ubuntu out of the box. (Or at least the scanning function. No ink) But I'm having the same problem with arch and I don't know how ubuntu gets that to work so I can do the same in arch.

Edit: I installed hplip, Did what the post install message said, installed the optional dependencies, edited the /etc/user file and put my name under lp and scanner and ran hp-setup as root and bob's my uncle. (no, really he is wink, lol)

Last edited by commodore256 (2010-03-11 23:21:12)

Offline

#11 2010-03-13 03:43:52

onyx.nz
Member
Registered: 2009-09-26
Posts: 11

Re: XSANE no devices available

yikes Same issue today.
Epson Stylus TX400, was working sweetly in Xsane, now nothing.

sane-find-scanner:
found USB scanner (vendor=0x04b8, product=0x084a) at libusb:001:003

but scanimage -L says no scanners were identified (user and root the same)

lsusb:
Bus 001 Device 003: ID 04b8:084a Seiko Epson Corp.

ls -la /dev/bus/usb/001/003:
crw-rw-rw- 1 root lp   189, 2 Mar 13 16:22

/etc/udev/rules.d/99-usbprinter.rules:
ATTR{idVendor}=="04b8", ATTR{idProduct}=="084a", MODE:="0666", GROUP:="lp"

the user is in both scanner and lp group

Tried a pacman -Syu too...no difference, except I had to remove and reinstall the printer side of the device, and roll-back ghostscript to avoid solid-black pages!

ANY IDEAS?

Offline

#12 2010-03-13 05:11:06

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: XSANE no devices available

Probably related to you recently upgrading CUPS... I could never get scanner working with the new CUPS so I continue building myself the old 1.3.11


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#13 2010-03-17 01:19:18

onyx.nz
Member
Registered: 2009-09-26
Posts: 11

Re: XSANE no devices available

Turns out I needed to reinstall iScan ; Epson's driver...like so...

yaourt iscan
choose option 2

Offline

#14 2010-03-25 19:57:35

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 157

Re: XSANE no devices available

I have the same problem. Printing works perfect but not scanning. User is in both scanner and lp group

*Printer Samsung scx-4500
*cups  1.4.2-4
*sane 1.0.20-5
*splix 2.0.0-2

lsusb > Bus 002 Device 006: ID 04e8:3426 Samsung Electronics Co., Ltd 
sane-find-scanner >  found USB scanner (vendor=0x04e8 [Samsung], product=0x3426 [SCX-4500 Series]) at libusb:002:006
scanimage -L > No scanners were identified...

Also tested scanimage -L as root.

Any info on how to solve this problem would be great.


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#15 2010-03-25 20:19:33

onyx.nz
Member
Registered: 2009-09-26
Posts: 11

Re: XSANE no devices available

Offline

#16 2010-03-25 20:31:14

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 157

Re: XSANE no devices available

onyx.nz wrote:

Copied the libsane-smfp.so.* and made the symlink. Still no luck.

Last edited by Larsson (2010-03-25 20:33:12)


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#17 2010-03-26 05:10:57

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 157

Re: XSANE no devices available

Edit, my problem is solved. Updated to latest sane-dev from AUR and now scanner works fine.


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

Board footer

Powered by FluxBB