[sane-devel] Plustek OpticFilm 7200 : first investigations

2008-08-24 Thread Matthew
I have a plustek scanner. I have just given Windows XP the boot and
installed Ubuntu. I love it, but now my Plustec 7200 is not supported.

I found this info on the disk supplied.
; DeviceId=USB ID,[USB ID],..

; PortIF = Hardware Port I/F
;   1: INSTEPP
;   2: INSTUSB

; ButtonOrder = Hardware Button Order
;   1: Album-Copy-Mail-Web  Button Id = 5,6,4,3
;   2: Album-Fax-Copy-Mail  Button Id = 5,6,4,3
;   3: PC_Fax-Mail-Scan-PC_Copy Button Id = 5,6,4,3default
;   4: MGI-Mail-Scan-PC_Fax-PC_Copy Button Id = 4,3,2,6,5
;   5: copy-Ocr-Custom-Mail-Power Save  Button Id = 4,3,2,6,5
;   6: copy-Mail-Album-WEB-OCR  Button Id = 4,3,2,6,5
;   7: custom   Button Id =
;   8: copy-OCR-Mail-Custom-ScanButton Id = 6,5,3,4,2
;   9: copy-OCR-PowerSve-Mail-CustomButton Id = 1,2,3,4,5
;   

; AsicID = Main DSP ASIC ID
;   #define ASIC_P98003 98003
;   #define ASIC_P99002 99002
;   #define ASIC_PO9831 983x
;   Bit0:Button
;   Bit1:TPA
;   Bit2:1=9832,0=9831
;   Bit3:ADF
;   #define ASIC_PO6801 6801

; HWGuide =
;   A3 Guide
;   Slim Guide 
; AutoCrop =
;   0: No
;   1: Yes
;   2: Invalid

;OEMName=   for guide used
;   NB ScanTrack
;   Plustek
;   FounderScan
;   Legend
;   Obm

;FolderName =for TARGETDIR FOLDER  ICON

[DefaultProductCode]
;UPDATE_ADDRESS=http://home.kimo.com.tw/linfrankkimo/update/scanner.vbs
OEMName=
TitleName=Plustek OpticFilm 7200 Setup
CaptionName=
;SetupBmp???w???e,?]?w?? .BMP
SetupBmp=Ms.bmp
;X ?b???k(???I)?_?V?I??
SetupBmpnx=0
;Y ?b???U(???I)?_?V?W???I??
SetupBmpny=30   
;Y ???J , N ???~?W??
MultiProduct=N  
CD_Version=3.0.0

[SelectProduct]
;???h 9?? for OEM 
Item0=A11


[A11]
;Film Scanner
Model= OpticFilm 7200
DeviceId=USB\VID_07B3PID_0807
PortIF = 2
AsicID = GL842
HWGuide = Slim Guide
AutoCrop=1
ButtonOrder = 0
FolderName = Plustek OpticFilm 7200
TPA = 1
ADF=0



I did notice the bit about the AsicID which is GL842. I was wondering if
anybody got this scanner working on Linux. Do you know anything about
this.

Oh yeah, I found your email on a discussion about this scanner. I hope
you do not mind my enquiry.

Matthew Ridgeway.

PO Box 3
Pakenham
Victoria
Australia
3810




[sane-devel] Plustek OpticFilm 7200 : first investigations

2008-08-24 Thread Gerard Klaver
On Sun, 2008-08-24 at 00:20 +1000, Matthew wrote:
 I have a plustek scanner. I have just given Windows XP the boot and
 installed Ubuntu. I love it, but now my Plustec 7200 is not supported.
 
 I found this info on the disk supplied.
 ; DeviceId=USB ID,[USB ID],..
 
 ; PortIF = Hardware Port I/F
 ; 1: INSTEPP
 ; 2: INSTUSB
 
 ; ButtonOrder = Hardware Button Order
 ; 1: Album-Copy-Mail-Web  Button Id = 5,6,4,3
 ; 2: Album-Fax-Copy-Mail  Button Id = 5,6,4,3
 ; 3: PC_Fax-Mail-Scan-PC_Copy Button Id = 5,6,4,3default
 ; 4: MGI-Mail-Scan-PC_Fax-PC_Copy Button Id = 4,3,2,6,5
 ; 5: copy-Ocr-Custom-Mail-Power Save  Button Id = 4,3,2,6,5
 ; 6: copy-Mail-Album-WEB-OCR  Button Id = 4,3,2,6,5
 ; 7: custom   Button Id =
 ; 8: copy-OCR-Mail-Custom-ScanButton Id = 6,5,3,4,2
 ; 9: copy-OCR-PowerSve-Mail-CustomButton Id = 1,2,3,4,5
 ; 
 
 ; AsicID = Main DSP ASIC ID
 ; #define ASIC_P98003 98003
 ; #define ASIC_P99002 99002
 ; #define ASIC_PO9831 983x
 ; Bit0:Button
 ; Bit1:TPA
 ; Bit2:1=9832,0=9831
 ; Bit3:ADF
 ; #define ASIC_PO6801 6801
 
 ; HWGuide =
 ; A3 Guide
 ; Slim Guide 
 ; AutoCrop =
 ; 0: No
 ; 1: Yes
 ; 2: Invalid
 
 ;OEMName= for guide used
 ; NB ScanTrack
 ; Plustek
 ; FounderScan
 ; Legend
 ; Obm
 
 ;FolderName =for TARGETDIR FOLDER  ICON
 
 [DefaultProductCode]
 ;UPDATE_ADDRESS=http://home.kimo.com.tw/linfrankkimo/update/scanner.vbs
 OEMName=
 TitleName=Plustek OpticFilm 7200 Setup
 CaptionName=
 ;SetupBmp???w???e,?]?w?? .BMP
 SetupBmp=Ms.bmp
 ;X ?b???k(???I)?_?V?I??
 SetupBmpnx=0
 ;Y ?b???U(???I)?_?V?W???I??
 SetupBmpny=30 
 ;Y ???J , N ???~?W??
 MultiProduct=N
 CD_Version=3.0.0
 
 [SelectProduct]
 ;???h 9?? for OEM 
 Item0=A11
 
 
 [A11]
 ;Film Scanner
 Model= OpticFilm 7200
 DeviceId=USB\VID_07B3PID_0807
 PortIF = 2
 AsicID = GL842
 HWGuide = Slim Guide
 AutoCrop=1
 ButtonOrder = 0
 FolderName = Plustek OpticFilm 7200
 TPA = 1
 ADF=0
 
 
 I did notice the bit about the AsicID which is GL842. I was wondering if
 anybody got this scanner working on Linux. Do you know anything about
 this.
 
 Oh yeah, I found your email on a discussion about this scanner. I hope
 you do not mind my enquiry.
 
 Matthew Ridgeway.
 
 PO Box 3
 Pakenham
 Victoria
 Australia
 3810
 
 

See this page
http://www.sane-project.org/unsupported/plustek-opticfilm-7200.html

Maybe in future this scanner will be supported by the genesys backend
when somebody adds support for it.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Plustek OpticFilm 7200 : first investigations

2006-01-28 Thread Jean-Baka Domelevo
Hi all !
About the OpticFilm 7200 (see my previous message), I have some more info...
First, let me just paste the related content of my /proc/bus/usb/devices :

/proc/bus/usb/devices--
T:  Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=07b3 ProdID=0807 Rev= 3.06
S:  Manufacturer=PLUSTEK INC
S:  Product=USB2.0 SCANNER
S:  SerialNumber=1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 10mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
--

Apart from the speed value of 480, the MaxPacketSize of 512 and the
interval of 16ms in the last of the above lines, this is very much the
same as on the webpage at
http://www.sane-project.org/unsupported/plustek-opticfilm-7200.html

Let's continue with the result of a sane-find-scanner -v -v :
---sane-find-scanner -v -v--
This is sane-find-scanner from sane-backends 1.0.17

trying libusb:

device descriptor of 0x07b3/0x0807 at 004:002
bLength   18
bDescriptorType   1
bcdUSB2.00
bDeviceClass  255
bDeviceSubClass   255
bDeviceProtocol   255
bMaxPacketSize0   64
idVendor  0x07B3
idProduct 0x0807
bcdDevice 3.06
iManufacturer 10 ((null))
iProduct  11 ((null))
iSerialNumber 12 ((null))
bNumConfigurations1
 configuration 0
 bLength  9
 bDescriptorType  2
 wTotalLength 39
 bNumInterfaces   1
 bConfigurationValue  1
 iConfiguration   0 ()
 bmAttributes 192 (Self-powered)
 MaxPower 10 mA
  interface 0
   altsetting 0
   bLength9
   bDescriptorType4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints  3
   bInterfaceClass255
   bInterfaceSubClass 255
   bInterfaceProtocol 255
   iInterface 0 ()
endpoint 0
bLength   7
bDescriptorType   5
bEndpointAddress  0x81 (in 0x01)
bmAttributes  2 (bulk)
wMaxPacketSize512
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 1
bLength   7
bDescriptorType   5
bEndpointAddress  0x02 (out 0x02)
bmAttributes  2 (bulk)
wMaxPacketSize512
bInterval 0 ms
bRefresh  0
bSynchAddress 0
endpoint 2
bLength   7
bDescriptorType   5
bEndpointAddress  0x83 (in 0x03)
bmAttributes  3 (interrupt)
wMaxPacketSize1
bInterval 8 ms
bRefresh  0
bSynchAddress 0

trying to find out which USB chip is used
checking for GT-6801 ...
this is not a GT-6801 (bcdUSB = 0x200)
checking for GT-6816 ...
this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
checking for GT-8911 ...
this is not a GT-8911 (check 1, bDeviceClass = 255, bInterfaceClass = 255)
checking for MA-1017 ...
this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255)
checking for MA-1015 ...
this is not a MA-1015 (bcdUSB = 0x200)
checking for MA-1509 ...
this is not a MA-1509 (bcdUSB = 0x200)
checking for LM983[1,2,3] ...
this is not a LM983x (bcdUSB = 0x200)
checking for GL646 ...
this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
checking for GL646_HP ...
this is not a GL646_HP (bcdUSB = 0x200)
checking for GL660+GL646 ...
this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255)
checking for GL841 ...
  Couldn't set configuration: could not set config 1: Operation not permitted
This USB chip looks like a GL841?

found USB scanner (vendor=0x07b3, product=0x0807, chip=GL841?) at libusb:004:002
---

Okay, I don't like the question mark after the name of the chip. On
the sane-project webpage listing the unsupported devices, it is said
probably a GL841, based upon a trial by sane-find-scanner, probably.
To make sure, the first thing I did after unpacking my brand new
scanner was to open it (carefully!) and check for the chipset used.
And it IS a GL842, not 841. As trustworthy as my eyes can be.
It's all for today, I'm starting to have a look at the genesys backend
and go through the GL841 and GL842 datasheets to make out where
exactly is the difference between them.

JB

P.S. Henning, I've just sent you the form reporting for an unsupported
device with the above information...


[sane-devel] Plustek OpticFilm 7200 : first investigations

2006-01-28 Thread Pierre Willenbrock
Jean-Baka Domelevo schrieb:
[...]
 Okay, I don't like the question mark after the name of the chip. On
 the sane-project webpage listing the unsupported devices, it is said
 probably a GL841, based upon a trial by sane-find-scanner, probably.
 To make sure, the first thing I did after unpacking my brand new
 scanner was to open it (carefully!) and check for the chipset used.
 And it IS a GL842, not 841. As trustworthy as my eyes can be.
 It's all for today, I'm starting to have a look at the genesys backend
 and go through the GL841 and GL842 datasheets to make out where
 exactly is the difference between them.
 
gl841 and gl842 are identical from the driver side. The genesys backend
works for my scanner which is a gl842 based Canon LiDE 35.

Regards,
  Pierre


[sane-devel] Plustek OpticFilm 7200 : first investigations

2006-01-28 Thread Jean-Baka Domelevo
On 1/28/06, Pierre Willenbrock pie...@pirsoft.dnsalias.org wrote:
 gl841 and gl842 are identical from the driver side. The genesys backend
 works for my scanner which is a gl842 based Canon LiDE 35.


Hi Pierre,
I've downloaded the genesys files from the CVS, and I've seen you're
the main contributor to the genesys backend nowadays... Thanks very
much for your work.
You say gl841 and 842 are to be driven the exact same way... Great
news, so the only thing I have to do is to work out a Genesys_Model
struct for the OpticFilm 7200 to be but in genesys_devices.c ? And
also ad something in Sensor[] and Motor[] ? I guess I will have to dig
out what's the exact CCD in my box, right ?
And also, it is said that the GL842 can handle 600, 1200 or 2400 dpi
resolutions, nothing more? But Plustek repeatedly state that their
scanner is a 7200 * 7200 dpi _in hardware_... What does it mean ?
Thanks!

JB


[sane-devel] Plustek OpticFilm 7200 : first investigations

2006-01-28 Thread Pierre Willenbrock
Jean-Baka Domelevo schrieb:
 On 1/28/06, Pierre Willenbrock pie...@pirsoft.dnsalias.org wrote:
 
gl841 and gl842 are identical from the driver side. The genesys backend
works for my scanner which is a gl842 based Canon LiDE 35.

 
 
 Hi Pierre,
 I've downloaded the genesys files from the CVS, and I've seen you're
 the main contributor to the genesys backend nowadays... Thanks very
 much for your work.
 You say gl841 and 842 are to be driven the exact same way... Great
 news, so the only thing I have to do is to work out a Genesys_Model
 struct for the OpticFilm 7200 to be but in genesys_devices.c ? And
 also ad something in Sensor[] and Motor[] ? I guess I will have to dig
 out what's the exact CCD in my box, right ?

Well, there is essentially no working support for the ccd of
ccd-scanners. You will need to add that. The only scanners currently
supported by the gl841 part use a cis sensor.

The Motor struct is pretty simple to fill. You could default to 1
for maximum speed, and it should already be working, but be slow.
Getting a fast scan is a bit harder. You need to look at a log from
windows, and find the maximum final and starting speeds for each
stepping mode. The Sensor struct contains mainly the same values as
windows uses.

 And also, it is said that the GL842 can handle 600, 1200 or 2400 dpi
 resolutions, nothing more? But Plustek repeatedly state that their
 scanner is a 7200 * 7200 dpi _in hardware_... What does it mean ?

The 600, 1200 and 2400dpi dpihw modes are actually used to select a
specific memory model. Apart from that it is only used to calculate how
many of the input pixels are sent to the host.

For example, if the scanner has a 7200dpi sensor, and the chip is in
2400dpi mode, you would set dpiset to 1200 to get an 3600dpi image.

Regards,
  Pierre