[sane-devel] USB to parallel port converters

2007-12-08 Thread Julian Stacey
Reference:
 From: Neil Youngman ny at youngman.org.uk 
 Date: Sat, 8 Dec 2007 14:20:20 + 
 Message-id:   200712081420.20137.ny at youngman.org.uk 

Neil Youngman wrote:
 On Tuesday 27 November 2007 13:05, Neil Youngman wrote:
  I have a Mustek 1200CP parallel scanner, which appears to be supported by
  SANE, but no parallel port on my system. I do have a USB to parallel port
  converter, which works fine with my printer, but I can't get it to
  recognise my scanner.
 
  sane-find-scanner -p -vv /dev/usb/lp0 doesn't find any scanners. Is there
  something else I should try, or won't it work with a converter?
 
 No answer to this so far. Should I just give up?

I'm no scanner/sane specialist, but do remember a printer will even
work with a unidirectional parallel port, data just going computer
to printer, whereas a scanner feeds a lot of data back, (PC BIOSes
have various EPP/ECP etc modes, some modes support nibble mode too,
ie 4 bits each way for a PL-IP connection etc),  So maybe your USB
to parallel device may need to support bidirectional (if it can), 
may need to be told to configure itself in bidirectional mode etc.
How you might set about doing that I cound't advise, but 
would depend on your device manufacturer  which Unix you are using,
 whatever it's USB control vagaries might be.  Good Luck !

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.



[sane-devel] Formulardaten

2007-08-31 Thread Julian Stacey
As robots attack the sane web page form that dumps on list,
seen Message-id: tincas-30763098/-20070831T050235-xbhgzFMV at 
infong100.kundenserver.de

I suggest whoever maintains that form page, should add
a trick similar to (but please not the same as) I use on my ski
booking web form here http://www.berklix.org/ski/form.html

That will prevent attack robots,  leave it only open to human abuse.

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.



[sane-devel] Avision Backend

2007-05-07 Thread Julian Stacey
Robin Stewart wrote:
 Allan
 
 When I run su and put in my login password it is rejected as an 
 authentication failure. When I use the same password in sudo, it works! 
 Do you have a work around?

Maybe sudo doesnt check if your UID is in group 0 in /etc/group.
whereas su does check  bounce you.

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz.  Dump cigs: Try snuff.


[sane-devel] patch for sane-backends-1.0.18 ScanJet 4400C

2007-01-08 Thread Julian Stacey
Here's diff -c patches for sane-backends-1.0.1[78]

*** tools/hotplug/libsane.usermap.orig  Mon Jul  3 00:29:29 2006
--- tools/hotplug/libsane.usermap   Mon Jan  8 00:18:01 2007
***
*** 29,34 
--- 29,36 
  libusbscanner 0x0003 0x03f0 0x0205 0x 0x 0x00 0x00 0x00 0x00 0x00 
0x00 0x
  # Hewlett-Packard ScanJet 4300c
  libusbscanner 0x0003 0x03f0 0x0305 0x 0x 0x00 0x00 0x00 0x00 0x00 
0x00 0x
+ # Hewlett-Packard|ScanJet 4400C
+ libusbscanner 0x0003 0x03f0 0x0705 0x 0x 0x00 0x00 0x00 0x00 0x00 
0x00 0x
  # Hewlett-Packard ScanJet 5200C
  libusbscanner 0x0003 0x03f0 0x0401 0x 0x 0x00 0x00 0x00 0x00 0x00 
0x00 0x
  # Hewlett-Packard ScanJet 3400c

I found the numbers using usbd -d -v on FreeBSD-RELEASE-6.1 ( 6.2 Pre.)

Julian
-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
http://berklix.org/free-software