You are not logged in.

#1 2005-10-06 14:08:39

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Problem with SANE and kernel 2.6.13

I have an Epson CX5400 which printed and scanned very happily until I did an update ...
Now the scanner is not detected (although sane-find-scanner works). Googling indicates that the problem has to do with module usblp and the function usb_set_configuration in sanei_usb.c, suggesting that it is a sane problem (http://nixdoc.net/files/forum/about81365.html). I reverted to a 2.6.12 kernel and everything seemed ok again, so I suppose I should be happy - though I don't know whether I should wait for a sane update or a kernel update!
I hope this might help somebody!

Offline

#2 2005-10-06 15:02:39

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: Problem with SANE and kernel 2.6.13

I have got the same problem with my CanonScan N670U here. When I start xsane as user the scanner isn't found even though the user is added to the group scanner and /proc/bus/usb/00x/00x is set to root:scanner. Switching to an 2.6.12 kernel didn't work for me, now I am using 2.6.14-rc3 and problem still occurs.

Posted the problem in the arch mailing-list but didn't get any replys.

Mathias

Offline

#3 2005-10-24 14:22:52

drg006
Member
Registered: 2005-01-09
Posts: 19

Re: Problem with SANE and kernel 2.6.13

I don't think the problem is udev, because (as mentioned above) downgrading fixes the problem

Offline

#4 2005-10-27 19:14:59

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: Problem with SANE and kernel 2.6.13

same problem here.
sane-find-scanner finds the scanner
found USB scanner (vendor=0x03f0, product=0x0101) at libusb:001:025
found USB scanner (vendor=0x046d, product=0x0870 [Camera]) at libusb:001:022

the first one is the scanner. scanimage -L show only my TV card
device `v4l:/dev/video0' is a Noname BT878 video (MIRO PCTV pro) virtual device

The usbscanner script and libusbscanner are ok.

mic64

Offline

#5 2005-10-27 23:29:01

drg006
Member
Registered: 2005-01-09
Posts: 19

Re: Problem with SANE and kernel 2.6.13

I am unable to scan as root.

[root@darkstar ~]# sane-find-scanner -q

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

found USB scanner (vendor=0x04b8 [EPSON], product=0x080d [USB MFP]) at libusb:001:007
[root@darkstar ~]# scanimage
scanimage: no SANE devices found
[root@darkstar ~]#

Here are my device permissions:

[root@darkstar ~]# ls -l /proc/bus/usb/001/
total 0
-rw-r--r--  1 root root    43 2005-10-27 19:25 001
-rw-r--r--  1 root root    52 2005-10-27 19:25 005
-rw-r--r--  1 root root    43 2005-10-27 19:25 006
-rw-rw----  1 root scanner 96 2005-10-27 19:25 007
[root@darkstar ~]#

Offline

#6 2005-11-06 21:00:02

sami
Member
From: Finland
Registered: 2004-10-14
Posts: 17

Re: Problem with SANE and kernel 2.6.13

phote wrote:

Update:

The problem seems to be some kind of permissions problem because the scanner works  when I login as root.

However, I don't know what the permissions problem is. My user is added to the group 'scanner' and here are the permissions on the scanner:

$ ls -l /proc/bus/usb/003/
total 0
-rw-r--r--  1 root root    43 2005-10-27 13:13 001
-rw-rw----  1 root scanner 57 2005-10-27 16:58 005

I think that since it is a permissions problem, it still suggests an issue with udev.

Can you others with this problem check to see if scanning as root works for you too?

I have same situation here . Has  anyone  found  solutions ?

Offline

#7 2005-11-06 22:55:50

killerfish
Member
Registered: 2004-11-24
Posts: 41

Re: Problem with SANE and kernel 2.6.13

I'm also having this issue for both my scanner and digital camera.  These are my last remaining issues and I'm golden.  I temporarily upgraded to kernel 2.6.14 in testing and the issue persisted...

Any ideas?  How do I go back to 2.6.12?

Offline

#8 2005-11-07 19:59:22

sami
Member
From: Finland
Registered: 2004-10-14
Posts: 17

Re: Problem with SANE and kernel 2.6.13

I downgraded kernel  from 2.6.13 to 2.6.12  , but it didn't help .

Offline

#9 2005-11-11 19:12:45

sami
Member
From: Finland
Registered: 2004-10-14
Posts: 17

Re: Problem with SANE and kernel 2.6.13

Thanks  mogherd !
That did the trick . Now i'm able to scan as a user ( i'm running kernel2.6.13) . How did you find this solution ?

Offline

#10 2005-11-12 10:35:27

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Problem with SANE and kernel 2.6.13

mogherd wrote:

when I install the sane package it sets the group number of some directories to 14. I don't know where that comes

Looking at the package, If you don't have a "uucp" group, then I guess it just takes the next free group number?

Offline

#11 2005-11-12 14:08:03

killerfish
Member
Registered: 2004-11-24
Posts: 41

Re: Problem with SANE and kernel 2.6.13

Bingo!  Worked for me too!  I'm guessing my USB camera has a similar issue..

Thanks
KF

Offline

#12 2005-11-13 10:35:15

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: Problem with SANE and kernel 2.6.13

Hi

Can someone please explain this more detailed how to fix this?
I don´t get it.

mic64

Offline

#13 2005-11-13 15:11:07

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Problem with SANE and kernel 2.6.13

mic64 wrote:

Can someone please explain this more detailed how to fix this?

as root, type in:
chown root:scanner /var/lock/sane

Offline

#14 2005-11-14 15:00:47

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: Problem with SANE and kernel 2.6.13

hmm didn´t help me.
sane-find-scanner founds it.
scanimage -L doesn´t.

Offline

#15 2005-11-14 15:18:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem with SANE and kernel 2.6.13

Has upgrade wiped out configs ?


Mr Green

Offline

#16 2005-11-14 15:25:10

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Problem with SANE and kernel 2.6.13

mic64 wrote:

sane-find-scanner founds it.
scanimage -L doesn´t.

If you have an Epson scanner, something like...

export SANE_DEBUG_DLL=128; export SANE_DEBUG_EPSON=128; scanimage -L

Use lower numbers than 128 to reduce debugging output detail.

Offline

Board footer

Powered by FluxBB