[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 03/26/2010 11:53 AM: >> btw, isn't sane-backends licensed under GPL? how can mustek provide a >> package without the source? > 3. They ship scanimage, sane-find-scanner, conf files etc, which are > covered only under the GPL, and do not provide source. This is a clear > violation. Can you please contact the Software Freedom Law Center[1] regarding the violation of your license? i would appreciate it. thanks. 1. http://www.softwarefreedom.org/ -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvPWXMACgkQXhfCJNu98qDGyQCggJ33NHoZWCTx+MELs3sJJnKL z8AAn31cVfueM9ieUvpXL2LAetu8quVN =BqOb -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gernot Hassenpflug @ 04/30/2010 11:39 PM: > On Sat, May 1, 2010 at 3:13 PM, scar wrote: >> i've got one of these multifunction devices, debian lenny, and libsane >> 1.0.19. > > Try installing newest SANE. Yours is more than 2 years old and does > not correspond with the online databases anymore. > If you distribution does not have it (yet) use these instructions to > install into a non-conflicting location /usr/local : > [snip] thanks, i'll give it a shot. i thought debian would have kept things up to date. i see in the 1.0.20 changelog, "adapted the pixma backend to add support for Canon ImageCLASS series" so hopefully this will do the trick. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvb3uEACgkQXhfCJNu98qBXiACfVYyEtRqAopnBT0f5ef6ko0VO ZvsAoL4p5PH5T2Fw++JGO2i2tjDQ+7uN =6vmO -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 05/01/2010 04:31 AM: > it should not be required to run autoconf or automake. The various .in > files are committed to the git checkout. > > Another option is just to build 1.0.21 which was just released, and > use it to overwrite the existing copy on the system. Having two copies > on the box always leads to confusion. i need to leave the 'libsane' package installed, though, since xsane depends on it, so i guess overwriting is the best way. i think i'll try that so --prefix=/usr ? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvdtdwACgkQXhfCJNu98qAb9ACgortjCynXHH4zBLuDv8NMHCjL 4k0AnihAuCWRajNPUsfkYT7NZVSUjCP3 =yxZ2 -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 05/02/2010 11:16 AM: > ./configure --prefix=/usr --sysconfdir=/etc > > then make sure to remove /etc/sane.d before you make install, > sane-backends wont overwrite it. finished with that. now, i am getting this error when i start xsane: Failed to open device 'pixma:04A926EE': Access to the resource has been denied. 'scanimage -L' returns: device `pixma:04A926EE' is a CANON Canon imageCLASS MF4320 multi-function peripheral -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvd8c0ACgkQXhfCJNu98qAkZgCbBuAZBMquYHVrkwYqWctYjKPX McgAn1ZFwWkaHkfiMhBlUbyC+bQzVgmR =Z2mn -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 05/02/2010 03:15 PM: > and what does scanimage > image.pnm do? scanimage: open of device pixma:04A926EE failed: Access to resource has been denied > did you try it as root? yes, that works. but how to make it work without root access? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkveCTgACgkQXhfCJNu98qDX7gCcDKbjAuRslXizHPG1E4SniEiA qPAAn0lDLF2bn9VlND3gasuVjEzBBuZU =hnyo -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 05/02/2010 04:49 PM: > depends on the distro. You have to edit hotplug, hotplug-ng, udev, or > hal rules. Probably one of the last two. Look in /usr/share/hal/fdi, > or /etc/udev/rules.d for a file with sane in it's name, and make sure > your machine is listed with the same format as the other entries. it's debian lenny. i looked in the two directories you mentioned, two matching files in each: /usr/share/hal/fdi$ find . -name '*sane*' ./preprobe/10osvendor/20-libsane.fdi ./preprobe/10osvendor/20-libsane-extras.fdi /usr/share/hal/fdi$ cd /etc/udev/rules.d /etc/udev/rules.d$ find . -name '*sane*' ./z60_libsane.rules ./z60_libsane-extras.rules /etc/udev/rules.d$ i looked through all files for "pixma", "imageCLASS", and "MF4320" but there were no instances are you saying i should add an entry for my machine? which file should i edit? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkveK24ACgkQXhfCJNu98qCzkwCgmrtN3LWuJKcEfgZzIRV613Wz 4mMAmgMydXLagxqLstd7upNCgOARbeIv =Mz9t -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 05/02/2010 06:48 PM: > m. allan noah @ 05/02/2010 04:49 PM: >> depends on the distro. You have to edit hotplug, hotplug-ng, udev, or >> hal rules. Probably one of the last two. Look in /usr/share/hal/fdi, >> or /etc/udev/rules.d for a file with sane in it's name, and make sure >> your machine is listed with the same format as the other entries. > > it's debian lenny. > > i looked in the two directories you mentioned, two matching files in each: > > /usr/share/hal/fdi$ find . -name '*sane*' > ./preprobe/10osvendor/20-libsane.fdi > ./preprobe/10osvendor/20-libsane-extras.fdi > /usr/share/hal/fdi$ cd /etc/udev/rules.d > /etc/udev/rules.d$ find . -name '*sane*' > ./z60_libsane.rules > ./z60_libsane-extras.rules > /etc/udev/rules.d$ > > > i looked through all files for "pixma", "imageCLASS", and "MF4320" but > there were no instances > > are you saying i should add an entry for my machine? which file should > i edit? anyone? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvhmKUACgkQXhfCJNu98qAAbgCeLdjPG0JSFBkDG21Sf/o3YggH WYQAnAyZCsRtMrT8AB9BuWZ9RtCfB01h =u6it -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 05/05/2010 09:18 AM: > do the 'non-extras' file in both dirs. cool! it worked! i used 'lsusb' to get the vendor/product ID's, and to /usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi i added the following: scanner proprietary i put it after the Canon ImageRunner iR1018 to retain the order of the vendor/product ID's. and to /etc/udev/rules.d/z60_libsane.rules i added: # Canon imageCLASS MF4320-4350 SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="26ee", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes" then i restarted udev and hal: # /etc/init.d/udev restart # /etc/init.d/udev-mtab restart # /etc/init.d/hal restart re-plugged in the USB cable and xsane started up fine, scanner is working good so far. only issue i see is there is no option to use the "Lineart" mode, only Gray and Color. if that a limitation of the scanner, is there a way to convert something to lineart and save as PDF? maybe GIMP can do that -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvkgtkACgkQXhfCJNu98qC7DQCgoC22xVdnXOTLHX/yPrE/pfcN GN0AniM9MJAzqGH5g+MTLrZiONRug+ud =9af9 -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 05/07/2010 02:15 PM: > only issue i see is there is no option to use the "Lineart" mode, only > Gray and Color. if that a limitation of the scanner, is there a way to > convert something to lineart and save as PDF? maybe GIMP can do that i tried using 'scanimage --mode Lineart' and got some error back about an invalid mode, i think. so i guess the scanner really is limited. i can't believe scanners are still manufactured without the ability to scan lineart. we have a ton of text documents that need to be scanned, and lineart is the best option. the ADF works well and i can easily create multi-page PDF's with xsane, too. does anyone know of an easy/batch method to convert PNG and PDF files to lineart? thanks. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvu/HIACgkQXhfCJNu98qC62gCg+z4plf+lb3n1H9LuGkMr0Taz MNMAnRK0TlBSuS9vum9lUYoHPSJlrQqu =mnM8 -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 05/15/2010 12:56 PM: > we have a ton of text documents that need to be scanned, and lineart is > the best option. the ADF works well and i can easily create multi-page > PDF's with xsane, too. does anyone know of an easy/batch method to > convert PNG and PDF files to lineart? so far, i've found imagemagick. scan everything to PNG and then i run: convert -verbose -threshold 50% -quality 100 -type bilevel -adjoin *.png out.pdf it worked well, about 45 MB of grayscale images to 2.5 MB PDF file. but, it's dog slow and takes a ton of memory, for just 30 images it took about 30 minutes and all kinds of swap memory.. brought my system to it's knees (it's a six year old laptop though). it would be nice if there was a way to force the backend to offer lineart, maybe by making some changes in the source? i'd like to see if it's possible. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkv4jb0ACgkQXhfCJNu98qCvAQCgo8EKkMjaN2DGu+UtGOOWxthe k8sAoKLPSHe6sBA+rSQ4bunG68YjTNTA =OeqF -END PGP SIGNATURE-
[sane-devel] Canon MF4320-4350
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 hi, i've got one of these multifunction devices, debian lenny, and libsane 1.0.19. i'm not sure which device it is exactly (there's no model number on it) but, the system detects it as MF4320-4350. i checked MF4320 and MF4350 in sane's database and the status for both is "complete". however, when i start xsane, it tells me it cannot find any supported devices. $ sane-find-scanner found USB scanner (vendor=0x054c, product=0x0107) at libusb:003:008 found USB scanner (vendor=0x04a9, product=0x26ee) at libusb:001:011 $ scanimage -L A3IIIU2 Spicall: hello? A3IIIU2 Spicall: Init the data link No scanners were identified. [...] $ as root: # sane-find-scanner found USB scanner (vendor=0x054c, product=0x0107) at libusb:003:008 found USB scanner (vendor=0x04a9 [Canon Inc.], product=0x26ee [MF4320-4350]) at libusb:001:011 # scanimage -L A3IIIU2 Spicall: hello? A3IIIU2 Spicall: Init the data link No scanners were identified. [...] # i'm not sure why two devices are being detected; i only have one plugged in. maybe the proprietary mustek driver is interfering? those messages from "A3IIIU2 Spicall" are from the proprietary Mustek driver i manually installed. i don't think it could be interfering since i only copied the usr/lib/sane/libsane-mustek_usb2.* files from Mustek's deb package. although it is strange that it is producing messages even though i don't have the Mustek plugged in. i wonder if it always does that any ideas? thanks -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkvbxm4ACgkQXhfCJNu98qBg+wCeIEUfkluxteKdX0J/DfWyVgpC hGQAniAWvqa+uxeYaDMtwUjVUwGzCfgc =FJgJ -END PGP SIGNATURE-
[sane-devel] A3 Scanner on Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan Hipkiss @ 04/21/2005 06:01 AM: > Hi, > > I'm looking for an A3 scanner, that is still available to buy, that > works under Linux. > > Nothing under 600dpi and preferably more. > > A USB interface would be best. i am looking for one as well. the cheaper the better. all i have found so far is the Mustek line, which appears to still not yet be working, is that still the case? I wrote to Mustek also to check in. i couldn't find any Avision's. Any other suggestions? thanks. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAks/+xgACgkQXhfCJNu98qDnqQCePR2uz/ZQRMq9HaTXYYjBSmSd k1gAnjsQENxOCdXghMWJTEuDkUpoleiy =8Dlz -END PGP SIGNATURE-
[sane-devel] Working Mustek ScanExpress A3 USB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Henning Meier-Geinitz @ 06/02/2005 10:22 AM: > Hi, > > On Thu, Jun 02, 2005 at 04:56:13PM +0100, Jonathan Hipkiss wrote: >> I only ever see complaints or questions of scanners that aren't working >> on this list, so I thought I'd send a message of thanks to all concerned >> for the fact that my Mustek ScanExpress A3 USB works fine under Mepis >> (Debian) with very little configuration! > > Thanks for your report! > > As this scanner is "a bit different" (it has a CIS sensor and an > additional lamp) it needed quite some dirty hacks. However I'm still > not absolutely satisfied with its calibration. I get vertical lines > beacuse of bad calibration sometimes. Maybe it only happens with my > scanner... > hi, yes it is good to hear it is working for you jonathan. can you explain what "little configuration" was involved? i am concerned though about these vertical stripes, do they exist or not? we have reports of both. does anyone have scans which show these lines? the price of the scanner is good, maybe i can pick one up and try it out -BEGIN PGP SIGNATURE- iEYEAREIAAYFAktAAwMACgkQXhfCJNu98qCIDgCeM6VDZKOUxMHIztBC3WKIwuDF fqIAoOeHS0Y1oHEpsueiMk61/UapDYfT =p/LW -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jay Anderson @ 09/08/2008 08:53 PM: > I'm trying to get this scanner to work. [snip] hi, i don't understand how this scanner has gone from working back in 2005 for jonathan (he created many scanned images of maps) to not working in 2008. what happened? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAktACTgACgkQXhfCJNu98qCmOgCg4wrXX6Hbrv6kRActxGYKKw8N Vk0AoJIvjce2JfXRzxdInaXyMTLfOOi9 =GeFJ -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 01/03/2010 06:38 AM: > On Sat, Jan 2, 2010 at 10:04 PM, scar wrote: >> Jay Anderson @ 09/08/2008 08:53 PM: >>> I'm trying to get this scanner to work. [snip] >>> >> hi, i don't understand how this scanner has gone from working back in >> 2005 for jonathan (he created many scanned images of maps) to not >> working in 2008. what happened? >> > perhaps the A3 USB and A3 USB 1200 models are not the same? > thank you for the clarification! i did not catch that. pity that it is not working, although that was back more than a year ago. does anyone have more recent information? thanks -BEGIN PGP SIGNATURE- iEYEAREIAAYFAktBEvgACgkQXhfCJNu98qAVFwCfaaoL1bkvISNvOH84u+NFFZIy udQAmgKXF7fm8Gqfh8n+IjHnGQznBbjk =+Yu/ -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 m. allan noah @ 01/03/2010 03:03 PM: > There is clearly a need for an inexpensive A3 sized scanner which > works with sane. It seems that so far, no one with the development > skills has stepped up to do the needed reverse engineering and > programming. I suppose a group of users could get together a bounty to > spur development. The only problem is that cheap scanners often have > very expensive drivers :( since i require an inexpensive A3 scanner, i plan on purchasing one of these soon, i have not found any other options. Mustek appears to have a linux driver on their Taiwanese website, although i read reports here of it not working. if all else fails i will attempt to install Windows XP in a virtual machine and use the scanner through there, which was also a possible solution i read on this list. naturally i would want to help develop a working sane driver. i do not program but i have a degree in computer engineering so my background should be adequate enough to provide some help, given there is someone to provide me with suitable advice on how precisely to help. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAktSGkAACgkQXhfCJNu98qCDzACgsOSTiqqXlJz1FHPNlM5jvq6v m4UAmgKPLK9QnZou1oUry6vR6CFRJDg9 =B/c9 -END PGP SIGNATURE-
[sane-devel] scanner photography/ howto adapt sane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jo Dierickx @ 01/18/2010 09:01 AM: > Hi, > my name is jo, i live in Belgium, and I'm a photographer. > I attached a canoscan lide 30 to my cambo technical camera. Pictures of > and by this project can be seen here: > http://picasaweb.google.be/dierickxjo/ScannerProject# . very cool project! i'm sorry i can't offer any help for your technical questions, but i do enjoy the results of your setup. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAktX4MgACgkQXhfCJNu98qDd4gCfZeiMVcynEK0Oo6WCEiWUhAXh kqAAoNNgjf3yPdrr3jhYOtZD8Nb9yg2B =1ZzN -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ille @ 01/26/2010 04:48 AM: > > Hi, I did not investigate much, but it really looks like sq113 ship. In > my opinion, you should try the mustek_usb2 backend. i have finally purchased the a3 usb 1200 pro. but when i start xsane (0.996-1ubuntu2) it just says it cannot find any devices. 'lsusb' indicates it is detected. and, in fact, i was able to get a winxp virtual machine to detect the scanner and install the drivers. unfortunately, when i go to actually acquire an image, i get a BSOD. how can i try to use the mustek_usb2 backend? if we can't make any progress soon, i would gladly put money towards the development of sane support for this device, so please provide more information on how i might do that. -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkuoEuUACgkQXhfCJNu98qDz+QCgvktwo0VygpbxQJyZPplLeg1Q 7gwAn1wYjw33T1dC0kLK8fpZWLrIdAF3 =vCeR -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gernot Hassenpflug @ 03/22/2010 07:42 PM: > See if as root you can get a result from: > scanimage -L even as root, it doesn't detect any scanners. sane-find-scanner does detect it though: found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b [USB2.0 Scanner], chip=SQ113) at libusb:001:009 -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkuoOkMACgkQXhfCJNu98qAEjwCfajousNaEo4nMsqlLY+E3SOdr TywAoKH9zjd5C0QKVmpHKPI2GLMUaep2 =uKeU -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gernot Hassenpflug @ 03/22/2010 09:07 PM: > On Tue, Mar 23, 2010 at 12:49 PM, scar wrote: >> Gernot Hassenpflug @ 03/22/2010 07:42 PM: >>> See if as root you can get a result from: >>> scanimage -L >> even as root, it doesn't detect any scanners. >> >> sane-find-scanner does detect it though: >> >> found USB scanner (vendor=0x055f [Hewlett-Packard.], >> product=0x040b [USB2.0 Scanner], chip=SQ113) at libusb:001:009 >> > > Yes, in order for the backend to detect it you would need to register > the Vendor ID and Product ID with that backend, if I understand > correctly. That means editing the recommended backend code (preferably > in a CVS version of SANE) and recompiling it (goes into /usr/local so > no interference with system SANE). Then scanimage -L should find the > scanner with whatever backend the Vid/Pid was registered with, and try > to work with it. from what i've read, i just need to add a line like 'usb 0x055f 0x040b' to the configuration file. i already have a bunch of config files in /etc/sane.d. however, mustek_usb2 doesn't seem to have a configuration file according to the man page[1]. just mustek_usb does (mustek_usb.conf). i did try putting 'usb 0x055f 0x040b' in there for the heck of it but scanimage -L still isn't detecting it. is there something i need to run to reload the config files? i did also try clone'ing the sane-backends git repository, but i can't get past the configure script: sane-backends$ export BACKENDS="mustek_usb2" sane-backends$ ./configure [...] *** mustek_usb2 backend requires pthread library - aborting libpthread-stubs0-dev is already the newest version (0.1-2). 1. http://www.sane-project.org/man/sane-mustek_usb2.5.html -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkuoag4ACgkQXhfCJNu98qB5eACg9ZLyPpJOJlIDL4/nVd3RW8ub 2nwAn1leQDtYbkvqiHMx1Ncgnm2nmxOU =XK/6 -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 thank you all so much for the assistance. i did change the lines in mustek_usb2_asic.c around line 3520 to: static unsigned short ProductID = 0x040b; static unsigned short VendorID = 0x055f; and i changed in mustek_usb2.c the x_range and y_range to this: static SANE_Range x_range = { SANE_FIX (0.0), /* minimum */ SANE_FIX (11.7 * MM_PER_INCH),/* maximum */ SANE_FIX (0.0)/* quantization */ }; static SANE_Range y_range = { SANE_FIX (0.0), /* minimum */ SANE_FIX (16.5 * MM_PER_INCH),/* maximum */ SANE_FIX (0.0)/* quantization */ }; finally, i just had to run ./configure --enable-pthread :P make and sudo make install... indeed everything is already put into /usr/local (the configure script told me it would too). i re-plugged the USB cable and tried /usr/local/bin/sane-find-scanner and it detects the scanner like before (thinking it is an HP, etc.) but still 'sudo /usr/local/bin/scanimage -L' doesn't detect anything -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkupBEYACgkQXhfCJNu98qA86wCg35E/v5Fad+XfTMq+zxLqyEA1 tzwAoOYC4mk7in2T6ZJIR8tExTY2CVrE =/QpB -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 surely there is something we can learn from the linux packages mustek provides[1]? i know there were reports of them not working, but still i downloaded and extracted the deb package. it contains a few files: ./usr: bin/ etc/ lib/ ./usr/bin: gamma4scanimage* sane-config* sane-find-scanner* scanimage* ./usr/etc: sane.d/ ./usr/etc/sane.d: dll.conf* ./usr/lib: libsane.la* libsane.so@ libsane.so.1@ libsane.so.1.0.19* sane/ ./usr/lib/sane: libsane-mustek_usb2.la* libsane-mustek_usb2.so.1@ libsane-mustek_usb2.so@ libsane-mustek_usb2.so.1.0.19* they put dll.conf in /usr/etc/sane.d but on my system it resides in just /etc/sane.d. if i installed it, i would have to use --force-architecture. also, it will overwrite the files i currently have installed. if, i want to remove it will it what will happen? will it just delete the files or does dpkg make backups or something so it will revert to the previous files? maybe it's possible to manually backup some of the current files i have and copy over the files from this package? 1. http://www.mustek.com.tw/apprg/showdriverinfo?LID=2&PRODUCTID=SE_A3USB1200Pro&LSID=8 -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkupF6kACgkQXhfCJNu98qAs1ACcDH5JIgzLYp+ppzlw3LSZWX2N q4gAoPcFKk80aDqGAdfVZ6jF7/GGv4q2 =pGh2 -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ille @ 03/24/2010 12:39 AM: > Le Tue, 23 Mar 2010 11:11:18 -0700, > scar a ?crit : > >> i re-plugged the USB cable and tried /usr/local/bin/sane-find-scanner >> and it detects the scanner like before (thinking it is an HP, etc.) >> but still 'sudo /usr/local/bin/scanimage -L' doesn't detect >> anything >> >> > > Do you still have the unmodified backend in /usr? > If yes, it would be better to remove the package. > i found that the package 'libsane' is where all the backends are contained. but, several things depend on it, like hplip and hpjis, which appears something i need for my HP printer to function. ok i'll remove it all for now in order to troubleshoot this > Try to run scanimage in DEBUG mode, the mustek_usb2 backend is > relatively verbose, so you can trace the operations and see where the > failure occurs. the failure was due to permission denied, so i'll re-run as root. how to avoid running as root, though? $ sudo su - # export SANE_DEBUG=255 # export SANE_DEBUG_SANEI=255 # export SANE_DEBUG_DLL=255 # export SANE_DEBUG_MUSTEK_USB2=255 # sane-find-scanner [...] found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b [USB2.0 Scanner]) at libusb:001:010 [...] $ scanimage -L [sanei_debug] Setting debug level of dll to 255. [dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.21cvs [dll] sane_init/read_dlld: processing /usr/local/etc/sane.d/dll.d ... [dll] sane_init/read_dlld: done. [dll] sane_init/read_config: reading dll.conf [...adding a bunch of backends...] [dll] add_backend: adding backend `mustek_usb2' [...adding more backends...] [dll] sane_get_devices [dll] load: searching backend `xerox_mfp' in `/usr/local/lib/sane' [dll] load: trying to load `/usr/local/lib/sane/libsane-xerox_mfp.so.1' [dll] load: couldn't open `/usr/local/lib/sane/libsane-xerox_mfp.so.1' (No such file or directory) [dll] load: couldn't find backend `xerox_mfp' (No such file or directory) [...etc, etc... i only built mustek_usb2...] [dll] load: searching backend `mustek_usb2' in `/usr/local/lib/sane' [dll] load: trying to load `/usr/local/lib/sane/libsane-mustek_usb2.so.1' [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-mustek_usb2.so.1' [dll] init: initializing backend `mustek_usb2' [sanei_debug] Setting debug level of mustek_usb2 to 255. [mustek_usb2] sane_init: start [mustek_usb2] SANE Mustek USB2 backend version 1.0 build 10 from sane-backends 1.0.21cvs [mustek_usb2] sane_init: authorize != null [mustek_usb2] sane_init: exit [dll] init: backend `mustek_usb2' is version 1.0.10 [mustek_usb2] sane_get_devices: start: local_only = false [mustek_usb2] GetDeviceStatus: start [mustek_usb2] Asic_Open: Enter [mustek_usb2] attach_one_scanner: enter [mustek_usb2] attach_one_scanner: devname = libusb:001:010 [mustek_usb2] OpenScanChip:Enter [mustek_usb2] OpenScanChip: Exit [mustek_usb2] Mustek_SendData: Enter. reg=94,data=27 [mustek_usb2] RegisterBankStatus=255 [mustek_usb2] RegisterBankStatus=0 [mustek_usb2] Mustek_SendData: Enter. reg=86,data=0 [mustek_usb2] Mustek_SendData: Enter. reg=79,data=60 [mustek_usb2] Mustek_SendData: Enter. reg=87,data=f1 [mustek_usb2] Mustek_SendData: Enter. reg=87,data=a5 [mustek_usb2] Mustek_SendData: Enter. reg=87,data=91 [mustek_usb2] Mustek_SendData: Enter. reg=87,data=81 [mustek_usb2] Mustek_SendData: Enter. reg=87,data=f0 [mustek_usb2] Asic_WaitUnitReady:Enter [mustek_usb2] GetChipStatus:Enter [mustek_usb2] Mustek_SendData: Enter. reg=8b,data=1 [mustek_usb2] Mustek_WriteAddressLineForRegister: Enter [mustek_usb2] Mustek_WriteAddressLineForRegister: Exit [mustek_usb2] Mustek_ReceiveData [mustek_usb2] GetChipStatus:Exit [mustek_usb2] Wait 0 s [mustek_usb2] Mustek_SendData: Enter. reg=f4,data=0 [mustek_usb2] Asic_WaitUnitReady: Exit [mustek_usb2] Asic_WaitUnitReady [mustek_usb2] SafeInitialChip:Enter [mustek_usb2] Mustek_SendData: Enter. reg=f3,data=0 [mustek_usb2] Mustek_SendData: Enter. reg=86,data=0 [mustek_usb2] Mustek_SendData: Enter. reg=f4,data=0 [mustek_usb2] Asic_WaitUnitReady:Enter [mustek_usb2] GetChipStatus:Enter [mustek_usb2] Mustek_SendData: Enter. reg=8b,data=1 [mustek_usb2] Mustek_WriteAddressLineForRegister: Enter [mustek_usb2] Mustek_WriteAddressLineForRegister: Exit [mustek_usb2] Mustek_ReceiveData [mustek_usb2] GetChipStatus:Exit [mustek_usb2] Wait 0 s [mustek_usb2] Mustek_SendData: Enter. reg=f4,data=0 [mustek_usb2] Asic_WaitUnitReady: Exit [mustek_usb2] isFirstOpenChip=0 [mustek_usb2] SafeInitialChip: exit [mustek_usb2] Asic_Open: device libusb:001:010 successfully opened [mustek_usb2] Asic_Open: Exit [mustek_usb2] Asic_Close: Enter [mustek_usb2] Mustek_SendData: Enter. reg=86,data=1 [mustek_usb2] CloseScanChip:Enter [mustek_usb2] CloseScanChip: Exit [mustek_usb2] Asic_Close: Exit [mus
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gernot Hassenpflug @ 03/24/2010 09:15 PM: > On Thu, Mar 25, 2010 at 1:06 PM, scar wrote: >> secondly, how can i save all of the debug output of 'scanimage> >> test.pnm' for you all to see? > > add2> to your command line. Then the error output > goes to the outfile. scanimage.log: http://pastebin.com/tFrSs2Rn i tried to set the y_range to 16.0 and reinstalled, but still the light went all the way to the end of the glass and didn't stop (it is accompanied by a grinding sound as well), so i pushed ^C again the moment it got to the end. the command exits with a "Segmentation fault", too. > The stripes you see are the RGB data not properly overlaid to give you > combined colors. test.pnm: http://www.sendspace.com/file/xv6e0g -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkurBrUACgkQXhfCJNu98qBiUgCg0ABylJp0VuzyAXLqq0UU8ens zdcAnjG0OYt6dDWdKN/vvMHtD/67wxHB =hVG/ -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gernot Hassenpflug @ 03/25/2010 12:21 AM: > On Thu, Mar 25, 2010 at 3:46 PM, scar wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Gernot Hassenpflug @ 03/24/2010 09:15 PM: >>> On Thu, Mar 25, 2010 at 1:06 PM, scar wrote: > >> i tried to set the y_range to 16.0 and reinstalled, but still the light >> went all the way to the end of the glass and didn't stop (it is >> accompanied by a grinding sound as well), so i pushed ^C again the >> moment it got to the end. the command exits with a "Segmentation >> fault", too. > > Note there are (at least) 2 places to set this: the y_range and then > the scanner structure a few lines below that. Maybe change both, > and/or add debug lines in the code to output what is being used in the > scan command function(s). regardless, there is still no usable image. so where are we at getting this scanner to work? who can i pay to catalyze development? ;) -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkurk3MACgkQXhfCJNu98qBCOACgv0wIX/GCKnFgNtwUuLwlYkH6 Q7QAoJbeKieHhwteuJy/OyqZNtRBftHP =f+lQ -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 03/23/2010 12:34 PM: > surely there is something we can learn from the linux packages mustek > provides[1]? actually, i am surprised to find that these drivers actually work, contrary to what i previously read! guess we should give mustek more credit. i ran a 'make uninstall' for the sane-backends that were currently installed. now there was nothing sane* installed on my system. then i ran 'sudo dpkg -i --force-architecture libsane_1.0.19-1_i386.deb' followed by 'sudo scanimage > test.pnm' and indeed the test.pnm looks just fine. now, if we could just get this to work with xsane in the meantime and perhaps eventually packaged with sane-backends... or with ubuntu's libsane package or whatever (if the licensing allows)... > 1. > http://www.mustek.com.tw/apprg/showdriverinfo?LID=2&PRODUCTID=SE_A3USB1200Pro&LSID=8 -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkusVpUACgkQXhfCJNu98qApOQCgjkYamNzs6Pk60PvEbpTUAAfi Cq8AoORADLSBl5MAaOGRE4XzIocUSXTW =htNe -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 03/25/2010 11:39 PM: > 'sudo scanimage > test.pnm' and indeed the test.pnm looks > just fine. # export SANE_DEBUG=255 # export SANE_DEBUG_SANEI=255 # export SANE_DEBUG_DLL=255 # export SANE_DEBUG_MUSTEK_USB2=255 # scanimage > test.pnm 2>scanimage.log test.pnm: http://www.sendspace.com/file/g1vio5 (didn't have anything on the glass this time) scanimage.log: http://pastebin.com/HQ0BKm0T (view. rather large) http://pastebin.com/download.php?i=HQ0BKm0T (download) hope that is helpful -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkusWgsACgkQXhfCJNu98qB2swCgtoZK0QpoazLUL4PUBTeIb7gf nqYAn0ISIYAfkXt8f18ra+cv0q1dGes6 =Tb/M -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ille @ 03/26/2010 02:10 AM: > Le Thu, 25 Mar 2010 23:39:17 -0700, > scar a ?crit : > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> scar @ 03/23/2010 12:34 PM: >>> surely there is something we can learn from the linux packages >>> mustek provides[1]? >> actually, i am surprised to find that these drivers actually work, >> contrary to what i previously read! guess we should give mustek more >> credit. >> >> i ran a 'make uninstall' for the sane-backends that were currently >> installed. now there was nothing sane* installed on my system. then >> i ran 'sudo dpkg -i --force-architecture libsane_1.0.19-1_i386.deb' >> followed by 'sudo scanimage > test.pnm' and indeed the test.pnm looks >> just fine. >> > > So all you did was changing the Vendor- and ProductID, the y_ and > x_range and the scanner struct, right? i did not modify anything, nor could i since mustek just provides the binaries. all i did was install mustek's driver, like anyone else might have when they obtain a new piece of hardware. beforehand, i removed the system's installation of libsane package. > >> now, if we could just get this to work with xsane in the meantime and >> perhaps eventually packaged with sane-backends... or with ubuntu's >> libsane package or whatever (if the licensing allows)... >> > > Doesn't it work with xsane? when i try to install xsane, it wants to install libsane, which appears that it might overwrite the drivers installed by mustek's package. i think i will try my earlier suggestion of installing the official libsane, xsane, etc. packages, then copy over the library files from mustek's driver and see how it goes. btw, isn't sane-backends licensed under GPL? how can mustek provide a package without the source? -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkus9/wACgkQXhfCJNu98qDXigCeMiY73UnSRHhK6RHtk94DyG1Z LVUAniitbFNaPOw0otzmZgEOiDGsF8HQ =7jpp -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 03/23/2010 12:34 PM: > linux packages mustek > provides[1]? > [snip] > > if i installed it, i would have to use --force-architecture. so, as long as i don't have anything else installed, their driver works... only on the command line with scanimage, so far. the problem i have is my HP printer doesn't work any longer, since hplip/hpijs depends on libsane. their driver installs itself as libsane but, for some reason, it isn't recognized: when i go to install hpijs, it still wants to install libsane from the repositories. doubtful it would work anyway, as their driver probably doesn't provide whatever hpijs/hplip need. > maybe it's possible to manually backup some of the current files i have > and copy over the files from this package? i tried doing this but couldn't get xsane to work: $ pwd /home/scar/src/libsane_1.0.19-1_i386 $ sudo cp -r usr/lib/* /usr/lib $ scanimage -L scanimage: error while loading shared libraries: libsane.so.1: wrong ELF class: ELFCLASS32 $ usr/bin/scanimage -L A3IIIU2 Spicall: hello? A3IIIU2 Spicall: Init the data link A3IIIU2 Spicall: 1. > http://www.mustek.com.tw/apprg/showdriverinfo?LID=2&PRODUCTID=SE_A3USB1200Pro&LSID=8 -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkutkZkACgkQXhfCJNu98qC0BQCfRZXSEejqiG0Kke4WqEsW6nwI st0An3gKTA9fApuuV5filHZVu4WXd0U6 =A5Z3 -END PGP SIGNATURE-
[sane-devel] Mustek ScanExpress A3 USB 1200 PRO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 scar @ 03/26/2010 10:03 PM: > scar @ 03/23/2010 12:34 PM: >> linux packages mustek >> provides[1]? >> [snip] > >> if i installed it, i would have to use --force-architecture. > > so, as long as i don't have anything else installed, their driver > works... only on the command line with scanimage, so far. the best scenario i've come up with is to use an i386 system, thus avoiding the use of --force-architecture in this situation, all i had to do was copy usr/lib/sane/* from the libsane_1.0.19-1_i386.deb to /usr/lib/sane. SANE's scanimage, xsane, etc. all work in this case. i am now going to purse the possible violation of the GPL by Mustek, starting with the legal at lists.gpl-violations.org mailing list. best of luck >> 1. >> http://www.mustek.com.tw/apprg/showdriverinfo?LID=2&PRODUCTID=SE_A3USB1200Pro&LSID=8 - -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request at lists.alioth.debian.org -BEGIN PGP SIGNATURE- iEYEAREIAAYFAkuvsDQACgkQXhfCJNu98qBNpACgo6EGSEUorTkWaquSAU0OK/Ps jIYAoOys/ICl70YWR61xzOsAUsVqfMTk =59Oo -END PGP SIGNATURE-