hp5400backend-announce Mailing List for Scanjet HP5400 family sane backend
Status: Alpha
Brought to you by:
soumarmt
You can subscribe to this list here.
2003 |
Jan
(1) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Bertrik S. <be...@zo...> - 2003-03-04 18:07:40
|
Thomas Soumarmon wrote: >Hi everybody, > >Martijn have done more great work those days. It is still an alpha version as >it is not full featured and there are still two major bugs : >* the image goes fuzzier as the resolution increases >* 1200 and 2400 dpi images are scrambled. >Except of that, 75 and 150 dpi are working pretty well. > What do you mean by fuzzier? Is this the problem of vertical shift between separate color components (R G B)? Problems with scrambled images could be caused by an overflow of the internal data buffer (at least that's what I found with niash12/14/19 chips). In that case, you should be able to correlate this to backtracking (quickly moving back and forth of the lamp). Do the scrambled images also occur if you scan only a narrow vertical strip? Kind regards, Bertrik |
From: Thomas S. <sou...@ne...> - 2003-03-04 09:07:24
|
Hi everybody, Martijn have done more great work those days. It is still an alpha versio= n as=20 it is not full featured and there are still two major bugs :=20 * the image goes fuzzier as the resolution increases=20 * 1200 and 2400 dpi images are scrambled. Except of that, 75 and 150 dpi are working pretty well. The release is downloadable at http://sourceforge.net/projects/hp5400back= end/ The most significant modifications are : - improved calibration - implemented gamma correction - Add support for new SCANOFFSET command 0xE700. This means we can remove all the options relating to offsets in xsane itself. This might require adjustment depending on the model of scanner. - Add support for the two kinds of types of scan requests. This is what controls whether to use the scan offsets. - Add a ScanType parameter so we can distinguish between previews and nor= mal scans. In future we'll use this to control the scan speed. - Add code to protect the scanner against silly mistakes. It will restric= t your scan area to the glass and no more.=20 Have a nice day, Thomas. |
From: Thomas S. <sou...@ne...> - 2003-02-28 07:37:16
|
Hi, We did not test the direct loading of the backend. Since now we've done i= t=20 using dll.conf file redirecting to the hp5400 backend : edit dll.conf that should be in /usr/local/etc/sane.d/ or /etc/sane.d/ add the line hp5400 and try rerun the scanimage or xsane However you can do : SANE_DEBUG_HP5400=3D255 scanimage -d hp5400 to have a debug log Thank you for reporting successes and failures of the alpha releases. Le Vendredi 28 F=E9vrier 2003 03:15, vous avez =E9crit : > First I configured Makefile and hp5400.conf...sorry for my poor english= :) > root@debian:~/hp5400# make > gcc -Wall -O2 -g -DV_MAJOR=3D1 -DV_MINOR=3D0 -fPIC > -I/root/sane-backends-1.0.11/include -c -DSTANDALONE -o hp5400_scanner.= o > hp5400_scanner.c > gcc -Wall -O2 -g -DV_MAJOR=3D1 -DV_MINOR=3D0 -fPIC > -I/root/sane-backends-1.0.11/include -c -DSTANDALONE -o hp5400.o hp5400= =2Ec > gcc -lm -o hp5400 hp5400_scanner.o hp5400.o > gcc -Wall -O2 -g -DV_MAJOR=3D1 -DV_MINOR=3D0 -fPIC > -I/root/sane-backends-1.0.11/include -c -o sane-hp5400.o sane-hp5400.= c > gcc -lm -shared -fPIC -Wl,-soname -Wl,libsane.so.1 -o sane-hp5400.so > sane-hp5400.o > root@debian:~/hp5400# make install > rm -f /usr/local/lib/sane/libsane-hp5400.so.1 > ln `pwd`/sane-hp5400.so /usr/local/lib/sane/libsane-hp5400.so.1 > > root@debian:~# dpkg -l libusb-0.1-4 > Desired=3DUnknown/Install/Remove/Purge/Hold > > | Status=3DNot/Installed/Config-files/Unpacked/Failed-config/Half-insta= lled > |/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err: > > uppercase=3Dbad) > > ||/ Name Version Description > > +++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=3D=3D=3D ii libusb-0.1-4 0.1.6a-2.1 Userspace USB programming li= brary > > root@debian:~# scanimage -V > scanimage (sane-backends) 1.0.11; backend version 1.0.11 > > root@debian:~# ll /usr/local/lib/sane/libsane-hp5400.so.1 > -rwxr-xr-x 2 root root 66k Fev 27 19:54 > /usr/local/lib/sane/libsane-hp5400.so.1 > > root@debian:~# cat /proc/bus/usb/devices > T: Bus=3D04 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D12 = MxCh=3D 2 > B: Alloc=3D 0/900 us ( 0%), #Int=3D 0, #Iso=3D 0 > D: Ver=3D 1.00 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D = 1 > P: Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00 > S: Product=3DUSB UHCI-alt Root Hub > S: SerialNumber=3De000 > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D 0mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driv= er=3Dhub > E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 8 Ivl=3D255ms > T: Bus=3D04 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 2 Spd=3D12 = MxCh=3D 0 > D: Ver=3D 1.10 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D = 1 > P: Vendor=3D03f0 ProdID=3D1105 Rev=3D 0.00 > S: Manufacturer=3DHewlett-Packard > S: Product=3DHP Scanjet 5400C Series > S: SerialNumber=3DCN19R1H00YBD > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3De0 MxPwr=3D 48mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3D10(unk. ) Sub=3D01 Prot=3D00 Driv= er=3D(none) > E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms > E: Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms > E: Ad=3D83(I) Atr=3D03(Int.) MxPS=3D 1 Ivl=3D10ms > T: Bus=3D03 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D12 = MxCh=3D 2 > B: Alloc=3D 0/900 us ( 0%), #Int=3D 0, #Iso=3D 0 > D: Ver=3D 1.00 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D = 1 > P: Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00 > S: Product=3DUSB UHCI-alt Root Hub > S: SerialNumber=3De400 > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D 0mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driv= er=3Dhub > E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 8 Ivl=3D255ms > T: Bus=3D02 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D12 = MxCh=3D 2 > B: Alloc=3D 0/900 us ( 0%), #Int=3D 0, #Iso=3D 0 > D: Ver=3D 1.00 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D = 1 > P: Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00 > S: Product=3DUSB UHCI-alt Root Hub > S: SerialNumber=3De800 > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D 0mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driv= er=3Dhub > E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 8 Ivl=3D255ms > T: Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D480= MxCh=3D 6 > B: Alloc=3D 0/800 us ( 0%), #Int=3D 0, #Iso=3D 0 > D: Ver=3D 2.00 Cls=3D09(hub ) Sub=3D00 Prot=3D01 MxPS=3D 8 #Cfgs=3D = 1 > P: Vendor=3D0000 ProdID=3D0000 Rev=3D 2.04 > S: Manufacturer=3DLinux 2.4.20 ehci-hcd > S: Product=3DVIA Technologies, Inc. USB 2.0 > S: SerialNumber=3D00:10.3 > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D 0mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Driv= er=3Dhub > E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 2 Ivl=3D256ms > > root@debian:~# scanimage -d hp5400 > Segmentation fault |
From: Thomas S. <sou...@ne...> - 2003-02-27 13:11:29
|
Hello everybody, An alpha 2 version of the SANE backend for the HP5400 series scanners is available for download at http://sourceforge.net/projects/hp5400backend As it is alpha code, it is not fully featured. If developpers are interested in helping to fix the bugs and improve the backend, they are welcome !! Have a nice day, Thomas. |
From: Thomas S. <sou...@ne...> - 2003-02-25 22:00:03
|
Hello everybody, An alpha version of the SANE backend for the HP5400 series scanners is=20 available for download at http://sourceforge.net/projects/hp5400backend=20 As it is alpha code, it is not fully featured. If developpers are interested in helping to fix the bugs and improve the=20 backend, they are welcome !! Have a nice day, Thomas. |
From: Thomas S. <sou...@ne...> - 2003-01-24 12:30:41
|
Hi everybody, I have been playing around with my HP5470c scanner for some days without = any=20 good results. I tried to handwrite C code corresponding to USBSnoopy logs= I=20 got before as the logs are a bit long and tough, it never worked fully. S= o I=20 decided to replay the log with usb-robot. Logs did not fit with the expec= ted=20 syntax... annoying. So I decided to write an awk program that would write for me the C source= code=20 that replays the log, and it works. Now I'll need to add the code to write the image to a file. Could anybody= tell=20 me which format should I expect for the image (RGB pixels from top left ?= ).=20 Is there a library I should use for image saving and processing (ImageMag= ick=20 ?). Thank you for your help. I suppose that tha tool could be of interest for more people so it is=20 available for download at sourceforge : http://prdownloads.sourceforge.net/hp5400backend/USBSnoopy2CsourceCode.ta= r.gz?download Just a few notes : * This tool works with libusb. Feell free to port it to the kernel USB li= b if=20 you know how to do it. * you need awk and a C compiler to use it (if you don't have them, it is=20 probably of no use for you) Regs, Thomas. |