Hi Michael, I'm afraid we misunderstood each other. I don't need the scsi data when scanning with SANE. What I need is the SCSI data of the windows driver and I did this for my scanner with the windows emulator 'wine' (www.winehq.com). I installed a windows scanning program (IrfanView) and the Microtek Scanwizard for windows using this 'wine. Wine is able to log the data that are send between scanner and computer.
Regards, Karsten Michael Thomson schrieb: > Hi Karsten & others > > I've been playing around trying to get the SCSI data > trace you need to debug > this problem, and I'm wondering if someone else can pick > up where I must > stop (I'm going on holiday for a couple of weeks). > > I took a look in /usr/src/linux/drivers/scsi/sg.c and in > the comments, there > are instructions on how to start logging inside the > /dev/sg driver code by: > > Compiling the kernel with SCSI DEBUG set (can't remember > the exact name, but > it's obvious when you see it) > > echo "scsi log timeout 7" > /proc/scsi/scsi > ^-- starts logging to /var/log/messages & console) > <run the thing you want to look at> > echo "scsi log timeout 0" > /proc/scsi/scsi > ^-- stops logging to /var/log/messages & console) > > I recompiled my kernel, and turned on the logging, but > modprobe complained > that it couldn't find char-major-21 (the sg driver) even > though I compiled > it into my kernel, not as a module! > > Arrgh. It's 02h00 so I'm going to bed. Hope one of you > can see if this is a > track worth following to get Karsten the info he needs. > > Cheers > Mike Thomson > -- > \\|||// > (@ @) Michael Thomson <mthom...@iee.org> > *---oOO-(_)-OOo-----------------------------------------* > * * > * Discovery consists of seeing what everybody * > * has seen and thinking what nobody has thought. * > * * > * .oooO Oooo. (Albert Szent-Gyorgyi) * > *--( )---( )----------------------------------------* > \ ( ) / > \_) (_/ > > _______________________________________________ > Sane-devel mailing list > sane-de...@www.mostang.com > http://www.mostang.com/mailman/listinfo/sane-devel > >