[sane-devel] Formulardaten
cgi-mailer at kundenserver.de
cgi-mailer at kundenserver.de
Thu Feb 15 17:32:05 CET 2007
===========================================
== Neuer Eintrag
===========================================
-------------------------------------------
-- Formular: 'adddev'
-------------------------------------------
1. Your email address:
'aleksey at nedorezov.com'
2. Manufacturer (e.g. "Mustek"):
'Genius'
3. Model name (e.g. ScanExpress 1200UB):
'ColorPage Slim 1200'
4. Bus type:
'USB'
5. Vendor id (e.g. 0x001):
'0x0458'
6. Product id (e.g. 0x0002):
'0x201E'
7. Chipset (e.g. lm9831):
'gt6816'
8. Comments (e.g. similar to Mustek 1234):
'Hello,
Works with following modifications on gtxx_devices.c
Scanner looks like similar as Plustek OpticSlim 2400
static GT68xx_Model genius_colorpageslim_1200_model = {
"genius-colorpageslim-1200", /* Name */
"Genius", /* Device vendor string */
"ColorPage Slim 1200", /* Device model name */
"Cis3r5b1.fw", /* Name of the firmware file */
SANE_FALSE, /* Dynamic allocation flag */
&mustek_gt6816_command_set, /* Command set used by this scanner */
1200, /* maximum optical sensor resolution */
2400, /* maximum motor resolution */
1200, /* base x-res used to calculate geometry */
1200, /* base y-res used to calculate geometry */
1200, /* if ydpi is equal or higher, disable backtracking */
SANE_FALSE, /* Use base_ydpi for all resolutions */
{1200, 600, 300, 150, 100, 50, 0}, /* possible x-resolutions */
{2400,1200, 600, 300, 150, 100, 50, 0}, /* possible y-resolutions */
{16, 12, 8, 0}, /* possible depths in gray mode */
{16, 12, 8, 0}, /* possible depths in color mode */
SANE_FIX (0.5), /* Start of scan area in mm (x) */
SANE_FIX (8.0), /* Start of scan area in mm (y) */
SANE_FIX (218.0), /* Size of scan area in mm (x) */
SANE_FIX (299.0), /* Size of scan area in mm (y) */
SANE_FIX (0.0), /* Start of white strip in mm (y) */
SANE_FIX (9.5), /* Start of black mark in mm (x) */
SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */
SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */
SANE_FIX (0.0), /* Size of scan area in TA mode in mm (x) */
SANE_FIX (0.0), /* Size of scan area in TA mode in mm (y) */
SANE_FIX (0.0), /* Start of white strip in TA mode in mm (y) */
0, 0, 0, /* RGB CCD Line-distance correction in pixel */
0, /* CCD distcance for CCD with 6 lines) */
COLOR_ORDER_RGB, /* Order of the CCD/CIS colors */
{0x19, 0x1a, 0x18, 0x14, 0x18, 0x12}, /* Default offset/gain */
{0x548, 0x513, 0x48d}, /* Default exposure parameters */
SANE_FIX (1.5), /* Default gamma value */
SANE_TRUE, /* Is this a CIS scanner? */
GT68XX_FLAG_ALWAYS_LINEMODE | GT68XX_FLAG_SE_2400
};
'
9. Data (e.g. sane-find-scanner -v -v):
'<device descriptor of 0x0458/0x201e at 001:007 (Genius CP-Slim 1200)>
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0458
idProduct 0x201E
bcdDevice 5.01
iManufacturer 0 ()
iProduct 1 (Genius CP-Slim 1200)
iSerialNumber 0 ()
bNumConfigurations 1
<configuration 0>
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0 ()
bmAttributes 160 (Remote Wakeup)
MaxPower 500 mA
<interface 0>
<altsetting 0>
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255
bInterfaceSubClass 255
bInterfaceProtocol 255
iInterface 0 ()
<endpoint 0>
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 (in 0x01)
bmAttributes 2 (bulk)
wMaxPacketSize 64
bInterval 0 ms
bRefresh 0
bSynchAddress 0
<endpoint 1>
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 (out 0x02)
bmAttributes 2 (bulk)
wMaxPacketSize 64
bInterval 0 ms
bRefresh 0
bSynchAddress 0
<trying to find out which USB chip is used>
checking for GT-6801 ...
this is not a GT-6801 (bDeviceClass = 0)
checking for GT-6816 ...
<This USB chip looks like a GT-6816 (result from sane-backends 1.0.18)>
found USB scanner (vendor=0x0458, product=0x201e [Genius CP-Slim 1200], chip=GT-6816) at libusb:001:007
'
More information about the sane-devel
mailing list