[sane-devel] sane on linux 2.6

2004-01-22 Thread Joseph M. Maher
I have a hp 2110, and I'm running debian unstable on a vanilla 2.6.1
kernel.

Printing works, but scanning doesn't.

I guess this is a bug, but I'm not sure which package to report it
against...

>ariadne:/home/maher# scanimage --list 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).

Running sane-find-scanner (which I know isn't meant to work for hpoj)
gives me a kernel oops:

Jan 22 23:17:33 ariadne kernel: Unable to handle kernel NULL pointer
dereference at virtual address 0003
Jan 22 23:17:33 ariadne kernel:  printing eip:
Jan 22 23:17:33 ariadne kernel: c01565c0
Jan 22 23:17:33 ariadne kernel: *pde = 
Jan 22 23:17:33 ariadne kernel: Oops:  [#1]
Jan 22 23:17:33 ariadne kernel: CPU:0
Jan 22 23:17:33 ariadne kernel: EIP:0060:[chrdev_open+80/320]Not
tainted
Jan 22 23:17:33 ariadne kernel: EFLAGS: 00010206
Jan 22 23:17:33 ariadne kernel: EIP is at chrdev_open+0x50/0x140
Jan 22 23:17:33 ariadne kernel: eax: 0003   ebx: d6366a00   ecx:
d6366a3c   edx: d17b2a1c
Jan 22 23:17:33 ariadne kernel: esi:    edi:    ebp:
d17b2914   esp: d1ab3f20
Jan 22 23:17:33 ariadne kernel: ds: 007b   es: 007b   ss: 0068
Jan 22 23:17:33 ariadne kernel: Process sane-find-scann (pid: 1117,
threadinfo=d1ab2000 task=d241a6a0)
Jan 22 23:17:33 ariadne kernel: Stack:  0150 d1ab3f2c 
d1e2c480 d17b2914  d7ff41c0
Jan 22 23:17:33 ariadne kernel:c014d530 d17b2914 d1e2c480 0882
0002 d40b7000 d1ab2000 c014d418
Jan 22 23:17:33 ariadne kernel:d17cc880 d7ff41c0 0882 d1ab3f70
d17cc880 d7ff41c0 fff4 d40b7000
Jan 22 23:17:33 ariadne kernel: Call Trace:
Jan 22 23:17:33 ariadne kernel:  [dentry_open+272/416]
dentry_open+0x110/0x1a0
Jan 22 23:17:33 ariadne kernel:  [filp_open+104/112] filp_open+0x68/0x70
Jan 22 23:17:33 ariadne kernel:  [sys_open+91/144] sys_open+0x5b/0x90
Jan 22 23:17:33 ariadne kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jan 22 23:17:33 ariadne kernel:
Jan 22 23:17:33 ariadne kernel: Code: 8b 00 85 c0 74 0b 83 38 02 74 60 ff
80 00 01 00 00 8b 43 38
Jan 22 23:17:38 ariadne kernel:  spurious 8259A interrupt: IRQ7.
Jan 22 23:39:56 ariadne kernel: request_module: failed /sbin/modprobe --
char-major-81-0. error = 256


I'd be happy to supply any more information if it would be useful.

Yours

Joseph




[sane-devel] Timeout problems with HP ScanJet 4100C

2004-01-22 Thread Noel Llopis
Hello,

I have recently bought a scanner HP ScanJet 4100C USB specifically because I 
saw it as one of the ones that had complete support in the SANE web site: 
http://www.sane-project.org/sane-supported-devices.html

I'm running Mandrake 9.2 with the 2.4.22 kernel.

I plugged it in and it was automatically mounted on dev/usb/scanner0. I was 
able to use it with Kooka and with The Gimp plugin directly. So I was very 
pleased.

However, there's something weird going on. If I leave the scanner plugged in 
and I reboot my computer, it will sit for about one minute at the "Checking 
for new hardware" step and eventually continue. When I check dmesg I see all 
these warnings:

usb.c: registered new driver usbscanner
scanner.c: USB scanner device (0x03f0/0x0101) now attached to scanner0
scanner.c: 0.4.14:USB Scanner Driver
[...snip...]
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb-uhci.c: interrupt, status 2, frame# 1962
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb-uhci.c: interrupt, status 2, frame# 2039
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110
usb_control/bulk_msg: timeout


The problem isn't just that. If I type cat /proc/bus/usb/devices, I will get a 
similar pause, and the same thing will happen when I try to run the Mandrake 
Control Center or HardDrake.

Incidentally, here's the output of my usb/devices with only the scanner 
plugged in: 

T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor= ProdID= Rev= 2.04
S: Manufacturer=Linux 2.4.22-21mdksmpcustom ehci_hcd
S: Product=Intel Corp. 82801EB USB2
S: SerialNumber=00:1d.7
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=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor= ProdID= Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ff20
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= 8 Ivl=255ms
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0101 Rev= 1.00
S: SerialNumber=00MY8B5534VD
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor= ProdID= Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ff40
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= 8 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor= ProdID= Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ff60
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= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor= ProdID= Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ff80
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= 8 Ivl=255ms


And sane-find-scanner reports the following:

found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0
found USB scanner (vendor=0x03f0, product=0x0101) at libusb:004:006


Any idea what is going on? Everything seems to work fine except for those 
delays. Is there anything I can check or change to try to diagnose the 
problem a bit better? I'm willing to try anything.

Thanks in advance.


--Noel 




[sane-devel] Unsupported: Mustek BearPaw 4800TA Pro II

2004-01-22 Thread joerg...@olivfabric.de
J=F6rg Preisend=F6rfer  |  http://www.olivfabric.de

Berlin, Jan. 22nd 2004





Hi there,



I've just encountered the following unsupported scanner:



MUSTEK Be@rPaw 4800TA Pro II



Pls note it reports to be manufactured by Hewlett-Packard.



--

emtry in /proc/bus/usb/devices:



T:  Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D01 Cnt=3D01 Dev#=3D  2 Spd=3D12  MxCh=
=3D 0

D:  Ver=3D 2.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D  1

P:  Vendor=3D055f ProdID=3D040a Rev=3D 1.00

S:  Manufacturer=3DHewlett-Packard.

S:  Product=3DUSB2.0 Scanner

C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D100mA

I:  If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Driver=3D=
usbscanner

E:  Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms

E:  Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms

E:  Ad=3D83(I) Atr=3D03(Int.) MxPS=3D   1 Ivl=3D3ms



--

chipset (in order of increasing size):



1.

SQ [brand]

SQ100A

A335-9901

---

2.

UTC QGOB

L6219

TB

[O in 1st line may be a Zero]

---

3.

ISSI [brand]

IS42S16100A1-7T

X11882000D 0336



4.

SQ [brand]

SQ113C

0335-1408

D0KNS-013

[Zeroes may be O]





Any ideas?



Cheers,



J=F6rg (=3D Georg)




[sane-devel] xsane and Gimp 2.0

2004-01-22 Thread Oliver Rauch
Hello Julien,

Thanks for the new patch. I will take a look at it when I have some more =
time.=20
It will take some time to do the tests with different gimp and gtk versio=
ns=20
and disabling gimp, forcing it to use a special version, etc.

Oliver


Am Mittwoch, 21. Januar 2004 22:35 schrieb Julien BLACHE:
> Julien BLACHE  wrote:
>
> Hi,
>
> > 
> >
> > Apply to a clean source tree with patch -p1, run configure, build. It
> > defaults to GTK2+GIMP2.0. (you don't need to run autoconf)
>
> I updated the patch, as GIMP 2.0pre2 got fixed with regard to the
> version string. 2.0pre2 outputs 1.3.25 as its version string, so the
> autoconf works fine.
>
> Also, gimptool-1.3 was renamed to gimptool-2.0 and the gimp-1.3.pc
> file was renamed to gimp-2.0.pc, so the macro for the autoconf test
> had to be updated.
>
> Oliver, please apply this patch instead of the previous one.
>
> JB.

--=20
http://www.xsane.org
http://www.rauch-domain.de
http://www.sane-project.org



[sane-devel] HP Scanjet 3690 support

2004-01-22 Thread Mickael Profeta
Hi

> Did you try sniff-usb 1.8
> See http://benoit.papillault.free.fr/usbsnoop/index.en.php

Great Idea!!
This works perfectly and I can get all the transaction even during and 
after the previsualisation scan

I put here the log (in ascii format this time) of the initialisation of 
the scanner : usbsnoop_init.log
and of a session from initialisation to the and of the preview scan 
usbsnoop_preview.log.gz (careful, it is 5Mo compressed)

I also try to play with sane-find scanner

log_sane_find_scanner is the original output
log_sane_find_scanner_modify is a bad hack where I remove the return 0; 
lines in check-usb-chip for the check_gl646 function
Don't know if it can give information but it does not seems to say it 
can not read or write the registers

If you have any idea or comments...

Mike




[sane-devel] HP 5500c scanner support?

2004-01-22 Thread Stewart Midwinter
Has anyone done any work on getting the HP 5500c scanner supported?  I know 
it's not on the compatibility list, but...

Seeing as how I have one, is there anything I could could do to help this 
along? run some tools? generate a log/debug file?

thanks
Stewart in Calgary