[sane-devel] LiDE 35 question

2005-01-28 Thread Luke Campagnola
On January 21 2005 00:46, Gerhard Jaeger wrote:
 [ . . . ] in general I suggest first to snoop the USB
 traffic on the windoze box, analyse it and figure out the basic chip
 settings for this scanner, then you should be save. It's some odd kinda
 work, but I'm pretty sure there's no way without it :(

 Gerhard

I did a USB snoop for a few different situations--preview, scan, and 
calibrate, but I've run into a snag- there are some USB control messages I 
don't understand, and their values are not listed in genesys_low.h. They seem 
to be fairly important messages because there are very many of them, and 
their data strings change constantly. Furthermore, the gl841 spec doesn't 
appear to have the USB protocol listed, so I'm at a loss here.. Where did you 
find the control message values that are listed in genesys_low.h?

Luke



[sane-devel] LiDE 35 question

2005-01-21 Thread Luke Campagnola
On January 18 2005 00:29, you wrote:
 On Tuesday 18 January 2005 03:23, Luke Campagnola wrote:
  I got a Canon LiDE 35 a while back without checking to see if it was
  supported (I cleverly assumed that LiDE 30 support was good enough), and
  rather than sending it back, I'm giving a go at writing the backend. I'm
  most of the way finished sorting out the differences between the gl646
  and the gl841, but I'm worried about damaging the scanner. Does anybody
  know what things I should look out for, and whether this scanner has any
  built-in protection?

 Hi,

 what protection you're looking for? These devices are so cheap, that
 there's nothing inside which can protect them in any way. But in general,
 if you take some care nothing will happen.

Mostly I'm worried about moving the scan head too far and applying too much 
power to the lamps (there's a register that controls the lamp power by PWM). 

It seems like the Genesys chip will automatically stop the motor when the home 
sensor is triggered, but that would only work if there does indeed exist a 
home sensor.

Luke







[sane-devel] LiDE 35 question

2005-01-21 Thread Gerhard Jaeger
On Friday 21 January 2005 08:08, Luke Campagnola wrote:
 On January 18 2005 00:29, you wrote:
  On Tuesday 18 January 2005 03:23, Luke Campagnola wrote:
   I got a Canon LiDE 35 a while back without checking to see if it was
   supported (I cleverly assumed that LiDE 30 support was good enough), and
   rather than sending it back, I'm giving a go at writing the backend. I'm
   most of the way finished sorting out the differences between the gl646
   and the gl841, but I'm worried about damaging the scanner. Does anybody
   know what things I should look out for, and whether this scanner has any
   built-in protection?
 
  Hi,
 
  what protection you're looking for? These devices are so cheap, that
  there's nothing inside which can protect them in any way. But in general,
  if you take some care nothing will happen.
 
 Mostly I'm worried about moving the scan head too far and applying too much 
 power to the lamps (there's a register that controls the lamp power by PWM). 
 
 It seems like the Genesys chip will automatically stop the motor when the 
 home 
 sensor is triggered, but that would only work if there does indeed exist a 
 home sensor.

Yes, you're right there, but in general I suggest first to snoop the USB traffic
on the windoze box, analyse it and figure out the basic chip settings for this
scanner, then you should be save. It's some odd kinda work, but I'm pretty
sure there's no way without it :(

Gerhard




[sane-devel] LiDE 35 question

2005-01-18 Thread Gerhard Jaeger
On Tuesday 18 January 2005 03:23, Luke Campagnola wrote:
 I got a Canon LiDE 35 a while back without checking to see if it was 
 supported 
 (I cleverly assumed that LiDE 30 support was good enough), and rather than 
 sending it back, I'm giving a go at writing the backend. I'm most of the way 
 finished sorting out the differences between the gl646 and the gl841, but I'm 
 worried about damaging the scanner. Does anybody know what things I should 
 look out for, and whether this scanner has any built-in protection?

Hi,

what protection you're looking for? These devices are so cheap, that there's
nothing inside which can protect them in any way. But in general, if you take 
some
care nothing will happen.
To proceed your work, you should download the genesys stuff from our CVS 
experimental,
and extend the stuff there by the settings required for your device.
The settings (or at least some of them) can be gathered via usb-snoop.

Ciao,
Gerhard




[sane-devel] LiDE 35 question

2005-01-17 Thread Luke Campagnola
I got a Canon LiDE 35 a while back without checking to see if it was supported 
(I cleverly assumed that LiDE 30 support was good enough), and rather than 
sending it back, I'm giving a go at writing the backend. I'm most of the way 
finished sorting out the differences between the gl646 and the gl841, but I'm 
worried about damaging the scanner. Does anybody know what things I should 
look out for, and whether this scanner has any built-in protection?

Luke