Sanity & BeSane
Download
- Description:
-
BeSANE is the BeOS port of SANE , a scanners access library for Linux/Unix. There is today no BeOS graphical frontend to use this technology, only scanimage, a command line tool that let's you use BeSANE supported scanners.
Sanity is a project name for such a BeSANE graphical frontend, and it currently works under Haiku.
v0.5 ALPHA: let you select from a detected devices list, launch a scan session basic settings of scanner options (curves are not supported yet, alas), view the result image and save image as file, via your favorite translator.
For Sanity to work, you must install before BeSANE. Be warned, this package will only maybe work with old scanners pre-2002, see the below HCL.Take this HCL as is: it's an outdated incomplete HCL page I wrote circa my SANE 1.0.5 port. I can't be held responsible for nothing if your scanner don't works or starts to fire sparks when trying this old SANE port!
Hardware compatibility list:
Drivers: artec as6e avision bh canon coolscan dc210 dc240 dc25 dmc epson hp hp4200 lhii m3091 m3096g microtek microtek2 mustek mustek_pp nec net pie pint plustek pnm ricoh s9036 sharp sm3600 snapscan sp15c st400 tamarack umaxumax1212u umax_pp Legend: unsupported driver don't support this model, sorry. untested driver should support this model, but nobody report about yet. tested driver tested, but there's issue(s) with this model (see comment) works driver is reported to works with this model. Driver Model Interface Status Comment artec
v0.5.16
stableArtec Ultima A6000C PLUS scsi tested f/w <= v1.92 alpha, f/w >= v1.93 OK Artec Ultima AT3
BlackWidow BW4800SP
Artec Ultima A6000C
Artec Ultima AT6
Artec Ultima AT12
Artec Ultima AM12S
Plustek OpticPro 19200Sscsi untested All mode working Artec parallel models parallel unsupported AS6E model is supported by as6e driver Artec USB models usb unsupported as6e
v0.4.2
alphaArtec Ultima AS6E parallel unsupported avision
v0.2.1
betaAvision AV 6240
Avision AV 630 CS
Avision AV 620 CSscsi unsupported Under development bh
v1.0-4
NEW!Bell & Howell CopiScan II 6338
Bell & Howell CopiScan II 2135
Bell & Howell CopiScan II 2137(A)
Bell & Howell CopiScan II 2138A
Bell & Howell CopiScan II 3238
Bell & Howell CopiScan II 3338(A)scsi untested canon
v0.1
alphaCanon CanoScan 300
Canon CanoScan 600
Canon CanoScan 2700Fscsi untested Canon USB scanners usb unsupported coolscan
v0.4.3
alphaNikon CoolScan LS-20 scsi works Nikon CoolScan LS-30
Nikon CoolScan III ED
Nikon CoolScan LS-1000
Nikon CoolScan LS-2000scsi untested Nikon CoolScan LS-40
Nikon Coolscan IV EDusb unsupported dc210
v0.0
alphaKodak DC210 serial unsupported Check Exposure! for BeOS, a far better, native tool. dc240
v0.0
NEW!Kodak DC240 serial unsupported Check Exposure! for BeOS, a far better, native tool. dc25
v1.2
betaKodak DC20
Kodak DC25serial unsupported Check Exposure! for BeOS, a far better, native tool. dll
v1.0.5
betaDynamic loading of shared-library backends works Builtin in BeOS libsane.so dmc
v1.0
stablePolaroid DMC scsi untested epson
v0.2.08
stableEpson GT-7000
Epson Perfection 636S
Epson Perfection 1200S
Espon Expression 800scsi works Epson Perfection 636U
Epson Perfection 610U
Epson Perfection 1200Uusb works Epson GT-5000
Epson Actionscanner II
Epson ES-300C
Epson GT-6500
Epson ES-600C
Epson GT-9000
Epson ES-1200Cparallel untested Epson GT-5500
Epson GT-8000
Epson ES-8500
Epson GT-9500
Epson Perfection 636
Epson Perfection 1240
Epson Perfection 1640
Epson Expression 1600
Epson Expression 1680
Epson FilmScan 200scsi untested Epson Perfection 640U
Epson Perfection 1200 Photo
Epson Perfection 1240
Epson Perfection 1640
Epson Expression 1600
Epson Expression 1680usb untested Epson Perfection 1250 usb unsupported New commands protocol Epson Expression 1600
Epson Expression 1680ieee1394 unsupported hp
v0.94
betaHP ScanJet Plus proprietary unsupported Need a driver for HP specific parallel interface, not ported under BeOS HP ScanJet 5100C
HP ScanJet 5200C
HP OfficeJet Pro 1150C
HP OfficeJet Pro 1170C
HP OfficeJet Pro 1175C
HP OfficeJet R series
HP PSC 500
HP OfficeJet G series
HP OfficeJet K seriesparallel unsupported HP ScanJet IIc
HP ScanJet IIp
HP ScanJet IIcx
HP ScanJet 3c
HP ScanJet 3p
HP ScanJet 4c
HP ScanJet 4p
HP ScanJet 5p
HP ScanJet 6100C
HP ScanJet 6200C
HP ScanJet 6250C
HP ScanJet 6250C
HP ScanJet 6300C
HP ScanJet 6350C
HP ScanJet 6390C
HP PhotoSmart PhotoScannerscsi unsupported HP ScanJet 4100C
HP ScanJet 5200C
HP ScanJet 6200C
HP ScanJet 6250C
HP ScanJet 6250C
HP ScanJet 6300C
HP ScanJet 6350C
HP ScanJet 6390C
HP OfficeJet G series
HP OfficeJet K series
HP OfficeJet V series
HP PSC 700usb unsupported net
v1.0.5
betaNetwork access to saned served scanners unsupported Not yet ported to BeOS pnm
v1.0.1
betaReads PNM files works Used for debugging frontends snapscan
v1.2
alphaAgfa SnapScan 300
Acer 300f
Agfa SnapScan 310
Vuego 310s
Acer 310s
Guillemot MaxiScan A4 Deluxe
Agfa SnapScan 600
Acer 610s
Acer 610plus
Acer Prisa 620s
Agfa SnapScan 1236sscsi unsupported Under developpment Acer Prisa 620u
Acer Prisa 640u
Acer Prisa 640bu
Agfa SnapScan 1212u
Agfa SnapScan e40
Agfa SnapScan e50usb unsupported Under developpment - Submitted On:
- 14 Jun 2010
- Submitted By:
- Karl vom Dorff (karl)
- Submitted On:
- 14 Jun 2010
- File Size:
- 4,057.60 Kb
- Downloads:
- 105
- File Version:
- 0.1
- File Author:
- Philippe Houdoin
- File HomePage:
- Click to visit site
- Rating:
-
Total Votes:1
Top Downloads in 30 Days
Search Files
Newest Files
| May 20 |
|
| May 19 |
|
| May 12 |
|
| May 8 |
|
| May 6 |
|


Comments
I asked for permission to post the files here.
When I do a listdev I don't see the scanner or any USB devices. Does this indicate that the scanner is not connected?
No Scanners later than 2002 will work either.
I added the ones which are most likely to work here:
http://haikuware.com/hardware/scanners
If it doesn't, it means something goes wrong with USB stack (then a tail -f /var/log/syslog could show some USB stack errors. If yes, please report them to Haiku bug tracker)
If your USB device shows up in listusb output, then the next guilty one is this outdated stupid and hardcoded usb_scanner, which can recognized as scanner device only those below:
usb_support_descriptor usb_scanners[] =
{
/* Acer */
{ 0, 0, 0, 0x04a5, 0x2060 },/* Prisa Acerscan 620U & 640U (!)*/
{ 0, 0, 0, 0x04a5, 0x2040 },/* Prisa AcerScan 620U (!) */
{ 0, 0, 0, 0x04a5, 0x2022 },/* Vuego Scan Brisa 340U */
/* Agfa */
{ 0, 0, 0, 0x06bd, 0x0001 },/* SnapScan 1212U V1 */
{ 0, 0, 0, 0x06bd, 0x0002 },/* SnapScan 1236U */
{ 0, 0, 0, 0x06bd, 0x2061 },/* SnapScan 1212U ! (V2) */
{ 0, 0, 0, 0x06bd, 0x0100 },/* SnapScan Touch */
/* Colorado -- See Primax/Colorado below */
/* Epson -- See Seiko/Epson below */
/* Genius */
{ 0, 0, 0, 0x0458, 0x2001 },/* ColorPage-Vivid Pro */
/* Hewlett Packard */
{ 0, 0, 0, 0x03f0, 0x0205 },/* 3300C */
{ 0, 0, 0, 0x03f0, 0x0101 },/* 4100C */
{ 0, 0, 0, 0x03f0, 0x0105 },/* 4200C */
{ 0, 0, 0, 0x03f0, 0x0102 },/* PhotoSmart S20 */
{ 0, 0, 0, 0x03f0, 0x0401 },/* 5200C */
{ 0, 0, 0, 0x03f0, 0x0701 },/* 5300C */
{ 0, 0, 0, 0x03f0, 0x0201 },/* 6200C */
{ 0, 0, 0, 0x03f0, 0x0601 },/* 6300C */
/* iVina */
{ 0, 0, 0, 0x0638, 0x0268 }, /* 1200U */
/* Microtek */
{ 0, 0, 0, 0x05da, 0x0099 },/* ScanMaker X6 - X6U */
{ 0, 0, 0, 0x05da, 0x0094 },/* Phantom 336CX - C3 */
{ 0, 0, 0, 0x05da, 0x00a0 },/* Phantom 336CX - C3 #2 */
{ 0, 0, 0, 0x05da, 0x009a },/* Phantom C6 */
{ 0, 0, 0, 0x05da, 0x00a3 },/* ScanMaker V6USL */
{ 0, 0, 0, 0x05da, 0x80a3 },/* ScanMaker V6USL #2 */
{ 0, 0, 0, 0x05da, 0x80ac },/* ScanMaker V6UL - SpicyU */
/* Mustek */
{ 0, 0, 0, 0x055f, 0x0001 },/* 1200 CU */
{ 0, 0, 0, 0x0400, 0x1000 },/* BearPaw 1200 */
{ 0, 0, 0, 0x055f, 0x0002 },/* 600 CU */
{ 0, 0, 0, 0x055f, 0x0003 },/* 1200 USB */
{ 0, 0, 0, 0x055f, 0x0006 },/* 1200 UB */
{ 0, 0, 0, 0x0400, 0x1001 }, /* BearPaw 2400 */
{ 0, 0, 0, 0x055f, 0x0008 }, /* 1200 CU Plus */
{ 0, 0, 0, 0x0ff5, 0x0010 }, /* BearPaw 1200F */
/* Primax/Colorado */
{ 0, 0, 0, 0x0461, 0x0300 },/* G2-300 #1 */
{ 0, 0, 0, 0x0461, 0x0380 },/* G2-600 #1 */
{ 0, 0, 0, 0x0461, 0x0301 },/* G2E-300 #1 */
{ 0, 0, 0, 0x0461, 0x0381 },/* ReadyScan 636i */
{ 0, 0, 0, 0x0461, 0x0302 },/* G2-300 #2 */
{ 0, 0, 0, 0x0461, 0x0382 },/* G2-600 #2 */
{ 0, 0, 0, 0x0461, 0x0303 },/* G2E-300 #2 */
{ 0, 0, 0, 0x0461, 0x0383 },/* G2E-600 */
{ 0, 0, 0, 0x0461, 0x0340 },/* Colorado USB 9600 */
{ 0, 0, 0, 0x0461, 0x0360 },/* Colorado USB 19200 */
{ 0, 0, 0, 0x0461, 0x0341 },/* Colorado 600u */
{ 0, 0, 0, 0x0461, 0x0361 },/* Colorado 1200u */
/* Seiko/Epson Corp. */
{ 0, 0, 0, 0x04b8, 0x0101 },/* Perfection 636U and 636Photo */
{ 0, 0, 0, 0x04b8, 0x0103 },/* Perfection 610 */
{ 0, 0, 0, 0x04b8, 0x0104 },/* Perfection 1200U and 1200Photo*/
{ 0, 0, 0, 0x04b8, 0x0106 },/* Stylus Scan 2500 */
{ 0, 0, 0, 0x04b8, 0x0107 },/* Expression 1600 */
{ 0, 0, 0, 0x04b8, 0x010b }, /* Perfection 1240U */
/* Umax */
{ 0, 0, 0, 0x1606, 0x0010 },/* Astra 1220U */
{ 0, 0, 0, 0x1606, 0x0030 },/* Astra 2000U */
{ 0, 0, 0, 0x1606, 0x0230 },/* Astra 2200U */
/* Visioneer */
{ 0, 0, 0, 0x04a7, 0x0221 },/* OneTouch 5300 USB */
{ 0, 0, 0, 0x04a7, 0x0211 },/* OneTouch 7600 USB */
{ 0, 0, 0, 0x04a7, 0x0231 },/* 6100 USB */
{ 0, 0, 0, 0x04a7, 0x0311 },/* 6200 EPP/USB */
{ 0, 0, 0, 0x04a7, 0x0321 },/* OneTouch 8100 EPP/USB */
{ 0, 0, 0, 0x04a7, 0x0331 },/* OneTouch 8600 EPP/USB */
{ 0, 0, 0, 0, 0 }// null termination
};
One trick is to add your vendor/device ids to this hardcoded list, recompile usb_scanner and install the new one over the old one.
Then, if it doesn't work, the SANE 1.0.5 backend either don't support your device, or the command protocol is not supported.
Or I just help you breaking your device, which I will never take responsability for
More seriously, for those with more recent device, have some patience, I'll try to re-motivate myself to port libusb to Haiku, which would give all the latest SANE drivers for USB devices for free (as in beer *and* speech).
For the others, I have a net backend driver I've never released, which allow to use scanner remotely. This requires another computer with Linux or MacOS X on it, though.
Good to hear you may continue work on this!
No wonder your device is not supported.
Sorry about that. Here is the source *and* x86 binary of this driver:
http://philippe.houdoin.free.fr/phil/beos/besane/usb_scanner.zip
Copy the usb_scanner binary under /boot/home/config/add-ons/kernel/drivers/bin.
Plug your scanner, verify that listusb list it, then check a new /dev/scanner/usb/0 entry was created. If not, fall to my tricky solution above...
Also, not every scanner has a year stamped on the side
Uhmm, yes, I guess you need to create under /boot/home/config/settings/SANE a .conf file with one single line in it:
usb /dev/scanner/usb/0
At this time, backends supporting USB connection were opening directly the device. Later on, SANE introduce a shared API to access USB device, and recently drop it to switch completely to libusb. Which bring auto-detection.
But at this time, it was still .conf files "paradigm". Sorry about that.
So, to resume, you should be lucky if:
1) usb_scanner publish a /dev/scanner/usb/* entry because your device IDs is in the short list of hardcoded supported devices.
2) your wrote this small .conf file named after the backend you suspect that it could support your scanner and place it under /boot/home/config/settings/SANE folder (uppercase mandatory, create the folder if needed)
3) the expected backend actually open the right /dev/scanner/usb/0 entry and works fine with it, publishing a new SANE_Device for it.
4) Sanity (or scanimage --list for that matter) lists this SANE_Device
5) Selecting it don't crash
6) The backend actually works as one would expect!
See why I never released those outdated packages!?
Thanks
As your best hope is that the SANE v1.0.5 "umax" backend will support your astra 1220U, the conf file should be name /boot/home/config/settings/SANE/umax.conf
2) if yes, try to replace "usb /dev/scanner/usb/0" line by "usb 0x1606"
3) yes, it's a mess.
Under /dev there is no scanner folder. So I created /dev/scanner/usb/0, and changed umax.conf to hold usb 0x1606. Rebooted (old Windows habit
Device list is empty.
RSS feed for comments to this post