|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Canoscan 4400F driver - updateHi folks,
I've been busy working on a driver for the Canoscan 4400F for a good while and thought it best to come out with an update in case someone wonders whether I dropped off the planet. Yesterday, I received some unexpected help from Wim Brul, (Thanks again!) and was finally able to get the damned contraption to send images properly! The attached image should give you an idea how far along it is. (Or isn't.) Basically, I have a good grasp of how the scanner works, but there's still a lot of work to be done on the actual driver. The curious can visit http://github.com/andr345/gl843driver where I'm dumping my code at irregular intervals. (The interesting files are gl843_*.c) It is a standalone test driver, where I've experimented with accessing the scanner registers by name, instead of by I/O address and bit number. It's *very* convenient, but so different from the current Genesys driver that I'm doubting whether it can ever be merged with it. Anyhow, back to work! If you have questions or opinions, I'll be happy to answer them. Cheers, Andreas -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Unknown SANE status code -1081075667Hi,
could anybody mention what is the reason for this?? Sane: scanimage -L WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed scanner XSane: Unknown SANE status code -1081075667 I am using a Epson all-in-one RX520 and the sane-backends optware package. Regards Oliver -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667network endianness mangling? does it happen if you scan with scanimage?
allan On Sat, Oct 17, 2009 at 3:15 AM, <carterbueford@...> wrote: > Hi, > > could anybody mention what is the reason for this?? > > Sane: > scanimage -L > WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, > path=/, member=Introspect > device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed > scanner > > XSane: > Unknown SANE status code -1081075667 > > I am using a Epson all-in-one RX520 and the sane-backends optware package. > > Regards > Oliver > > > > > -- > sane-devel mailing list: sane-devel@... > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request@... > -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Canoscan 4400F driver - updatesounds good. the first time you get image data is really a rush!
allan On Fri, Oct 16, 2009 at 6:47 PM, Andreas Robinson <andr345@...> wrote: > Hi folks, > > I've been busy working on a driver for the Canoscan 4400F for a good > while and thought it best to come out with an update in case someone > wonders whether I dropped off the planet. > > Yesterday, I received some unexpected help from Wim Brul, (Thanks > again!) and was finally able to get the damned contraption to send > images properly! > > The attached image should give you an idea how far along it is. (Or isn't.) > > Basically, I have a good grasp of how the scanner works, but there's > still a lot of work to be done on the actual driver. > > The curious can visit http://github.com/andr345/gl843driver where I'm > dumping my code at irregular intervals. > (The interesting files are gl843_*.c) > > It is a standalone test driver, where I've experimented with accessing > the scanner registers by name, instead of by I/O address and bit > number. It's *very* convenient, but so different from the current > Genesys driver that I'm doubting whether it can ever be merged with > it. > > Anyhow, back to work! If you have questions or opinions, I'll be happy > to answer them. > > Cheers, > Andreas > > -- > sane-devel mailing list: sane-devel@... > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request@... > -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667<carterbueford@...> writes:
> Hi, > > could anybody mention what is the reason for this?? > > Sane: > scanimage -L > WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, > path=/, member=Introspect > device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed > scanner > > XSane: > Unknown SANE status code -1081075667 Not initialising the status variable before returning it, most likely. Meaning that this is probably a minor bug in the epson2 backend. > I am using a Epson all-in-one RX520 and the sane-backends optware package. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667Hi,
thanks for the reply. "Not initialising the status variable before returning it, most likely. Meaning that this is probably a minor bug in the epson2 backend." How can I solve this? Regards Oliver -----Ursprüngliche Nachricht----- Von: Olaf Meeuwissen [mailto:olaf.meeuwissen@...] Gesendet: Montag, 19. Oktober 2009 01:48 An: carterbueford@... Cc: sane-devel@... Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 <carterbueford@...> writes: > Hi, > > could anybody mention what is the reason for this?? > > Sane: > scanimage -L > WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, > path=/, member=Introspect > device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed > scanner > > XSane: > Unknown SANE status code -1081075667 Not initialising the status variable before returning it, most likely. Meaning that this is probably a minor bug in the epson2 backend. > I am using a Epson all-in-one RX520 and the sane-backends optware package. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667I had a similar problem with the fujitsu backend when I built 1.0.20
on the slug a few months ago. The cross-compiler does not init vars to 0. Get a log of the problem occurring, so we can track down which function is being called: SANE_DEBUG_NET=10 xsane... 2>net.log Also, does it happen with scanimage too, or does it happen on the slug if you scan there with scanimage directly? allan On Mon, Oct 19, 2009 at 12:52 PM, <carterbueford@...> wrote: > Hi, > > thanks for the reply. > > "Not initialising the status variable before returning it, most likely. > Meaning that this is probably a minor bug in the epson2 backend." > > How can I solve this? > > Regards > Oliver > > > -----Ursprüngliche Nachricht----- > Von: Olaf Meeuwissen [mailto:olaf.meeuwissen@...] > Gesendet: Montag, 19. Oktober 2009 01:48 > An: carterbueford@... > Cc: sane-devel@... > Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 > > <carterbueford@...> writes: > >> Hi, >> >> could anybody mention what is the reason for this?? >> >> Sane: >> scanimage -L >> WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, >> path=/, member=Introspect >> device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed >> scanner >> >> XSane: >> Unknown SANE status code -1081075667 > > Not initialising the status variable before returning it, most likely. > Meaning that this is probably a minor bug in the epson2 backend. > >> I am using a Epson all-in-one RX520 and the sane-backends optware package. > > Hope this helps, > -- > Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation > FSF Associate Member #1962 Help support software freedom > http://www.fsf.org/jf?referrer=1962 > > > -- > sane-devel mailing list: sane-devel@... > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request@... > -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667"m. allan noah" <kitno455@...> writes:
> I had a similar problem with the fujitsu backend when I built 1.0.20 > on the slug a few months ago. The cross-compiler does not init vars to > 0. Eh, if you don't tell it to do so, yes. Using variables before initialisation has been undefined behaviour since as long as I know. > Get a log of the problem occurring, so we can track down which > function is being called: Compile the backend with gcc -Wall -Werror should give a cluebat. > SANE_DEBUG_NET=10 xsane... 2>net.log > > Also, does it happen with scanimage too, or does it happen on the slug > if you scan there with scanimage directly? > > allan > > On Mon, Oct 19, 2009 at 12:52 PM, <carterbueford@...> wrote: >> Hi, >> >> thanks for the reply. >> >> "Not initialising the status variable before returning it, most likely. >> Meaning that this is probably a minor bug in the epson2 backend." >> >> How can I solve this? >> >> Regards >> Oliver >> >> >> -----Ursprüngliche Nachricht----- >> Von: Olaf Meeuwissen [mailto:olaf.meeuwissen@...] >> Gesendet: Montag, 19. Oktober 2009 01:48 >> An: carterbueford@... >> Cc: sane-devel@... >> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 >> >> <carterbueford@...> writes: >> >>> Hi, >>> >>> could anybody mention what is the reason for this?? >>> >>> Sane: >>> scanimage -L >>> WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, >>> path=/, member=Introspect >>> device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed >>> scanner >>> >>> XSane: >>> Unknown SANE status code -1081075667 >> >> Not initialising the status variable before returning it, most likely. >> Meaning that this is probably a minor bug in the epson2 backend. >> >>> I am using a Epson all-in-one RX520 and the sane-backends optware package. >> >> Hope this helps, >> -- >> Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation >> FSF Associate Member #1962 Help support software freedom >> http://www.fsf.org/jf?referrer=1962 >> >> >> -- >> sane-devel mailing list: sane-devel@... >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to sane-devel-request@... >> -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667Hi,
@allan: I do not run xsane on the same mashine like the sane-server, so I do not understand how to write the log you want me to. "xsane... 2>net.log" sanimage on the mashine where the sane-server runs, works fine. @Olaf:"Compile the backend with gcc -Wall -Werror should give a cluebat." What is meant by that? I'm using the optware package, so it is not compiled on my router. I am maintainer of the package, so I can patch it to be compiled in a different way, but how? Regards Oliver -----Ursprüngliche Nachricht----- Von: Olaf Meeuwissen [mailto:olaf.meeuwissen@...] Gesendet: Dienstag, 20. Oktober 2009 01:05 An: m. allan noah Cc: carterbueford@...; sane-devel@... Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 "m. allan noah" <kitno455@...> writes: > I had a similar problem with the fujitsu backend when I built 1.0.20 > on the slug a few months ago. The cross-compiler does not init vars to > 0. Eh, if you don't tell it to do so, yes. Using variables before initialisation has been undefined behaviour since as long as I know. > Get a log of the problem occurring, so we can track down which > function is being called: Compile the backend with gcc -Wall -Werror should give a cluebat. > SANE_DEBUG_NET=10 xsane... 2>net.log > > Also, does it happen with scanimage too, or does it happen on the slug > if you scan there with scanimage directly? > > allan > > On Mon, Oct 19, 2009 at 12:52 PM, <carterbueford@...> wrote: >> Hi, >> >> thanks for the reply. >> >> "Not initialising the status variable before returning it, most likely. >> Meaning that this is probably a minor bug in the epson2 backend." >> >> How can I solve this? >> >> Regards >> Oliver >> >> >> -----Ursprüngliche Nachricht----- >> Von: Olaf Meeuwissen [mailto:olaf.meeuwissen@...] >> Gesendet: Montag, 19. Oktober 2009 01:48 >> An: carterbueford@... >> Cc: sane-devel@... >> Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 >> >> <carterbueford@...> writes: >> >>> Hi, >>> >>> could anybody mention what is the reason for this?? >>> >>> Sane: >>> scanimage -L >>> WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, >>> path=/, member=Introspect >>> device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed >>> scanner >>> >>> XSane: >>> Unknown SANE status code -1081075667 >> >> Not initialising the status variable before returning it, most likely. >> Meaning that this is probably a minor bug in the epson2 backend. >> >>> I am using a Epson all-in-one RX520 and the sane-backends optware package. >> >> Hope this helps, >> -- >> Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation >> FSF Associate Member #1962 Help support software freedom >> http://www.fsf.org/jf?referrer=1962 >> >> >> -- >> sane-devel mailing list: sane-devel@... >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to sane-devel-request@... >> -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667On Tue, Oct 20, 2009 at 2:49 AM, <carterbueford@...> wrote:
> Hi, > > @allan: I do not run xsane on the same mashine like the sane-server, so I do not understand how to write the log you want me to. > "xsane... 2>net.log" easy, open a terminal window on the scanning client, and run the command i gave you. > sanimage on the mashine where the sane-server runs, works fine. what about scanimage on the client machine? Tthere are three likely sources for this error: 1. xsane makes different API calls than scanimage, and triggers a bug in epson2 2. net backend munges the data 3. saned munges the data > @Olaf:"Compile the backend with gcc -Wall -Werror should give a cluebat." What is meant by that? > I'm using the optware package, so it is not compiled on my router. I am maintainer of the package, so I can patch it to be compiled in a different way, but how? if you maintain the package, you should know how to modify the .bb file to add arguments to the gcc call. Something like CFLAGS="-Wall -Werror" bitbake puts its compilation output someplace funny, you'll have to look for the log... allan -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667Hi,
"easy, open a terminal window on the scanning client, and run the command i gave you." Does not work. I am using Windows XP and after executing the command, the log is empty. Command I used: C:\sane\bin>xsane 2>net.log "SANE_DEBUG_NET=10" Where do I have to execute this command? It only works on my router. "what about scanimage on the client machine?" Works! "if you maintain the package, you should know how to modify the .bb file to add arguments to the gcc call. Something like CFLAGS="-Wall -Werror" Yes, no problem to set the flags, but I did not understand what effect it will have. Is this option for debugging or to solve the problem after compiling? Regards Oliver -----Ursprüngliche Nachricht----- Von: m. allan noah [mailto:kitno455@...] Gesendet: Dienstag, 20. Oktober 2009 14:41 An: carterbueford@... Cc: Olaf Meeuwissen; sane-devel@... Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 On Tue, Oct 20, 2009 at 2:49 AM, <carterbueford@...> wrote: > Hi, > > @allan: I do not run xsane on the same mashine like the sane-server, so I do not understand how to write the log you want me to. > "xsane... 2>net.log" easy, open a terminal window on the scanning client, and run the command i gave you. > sanimage on the mashine where the sane-server runs, works fine. what about scanimage on the client machine? Tthere are three likely sources for this error: 1. xsane makes different API calls than scanimage, and triggers a bug in epson2 2. net backend munges the data 3. saned munges the data > @Olaf:"Compile the backend with gcc -Wall -Werror should give a cluebat." What is meant by that? > I'm using the optware package, so it is not compiled on my router. I am maintainer of the package, so I can patch it to be compiled in a different way, but how? if you maintain the package, you should know how to modify the .bb file to add arguments to the gcc call. Something like CFLAGS="-Wall -Werror" bitbake puts its compilation output someplace funny, you'll have to look for the log... allan -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
Re: Unknown SANE status code -1081075667On Thu, Oct 22, 2009 at 1:17 AM, <carterbueford@...> wrote:
> Hi, > > "easy, open a terminal window on the scanning client, and run the > command i gave you." > > Does not work. I am using Windows XP and after executing the command, the > log is empty. > Command I used: > C:\sane\bin>xsane 2>net.log ahh- somewhere along the way you should have mentioned that windows was involved. You might try asking the author of xsane... > "SANE_DEBUG_NET=10" Where do I have to execute this command? It only works > on my router. this sets an enviroment variable in unix, you put it on the same command line right before you call the program, just like i typed it before. > "what about scanimage on the client machine?" > Works! > > "if you maintain the package, you should know how to modify the .bb > file to add arguments to the gcc call. Something like CFLAGS="-Wall > -Werror" > Yes, no problem to set the flags, but I did not understand what effect it > will have. Is this option for debugging or to solve the problem after > compiling? the -W options to gcc make it give more warnings at compile time. you will have to find the bitbake logfile to see the noise. but frankly, I am now thinking the windows compile of xsane might be part of the problem. The easiest way to know would be for you to install a real OS on your machine (i.e. Linux, perhaps in a VM), and make sure that you can scan over the network. allan > > Regards > Oliver > > > > > -----Ursprüngliche Nachricht----- > Von: m. allan noah [mailto:kitno455@...] > Gesendet: Dienstag, 20. Oktober 2009 14:41 > An: carterbueford@... > Cc: Olaf Meeuwissen; sane-devel@... > Betreff: Re: [sane-devel] Unknown SANE status code -1081075667 > > On Tue, Oct 20, 2009 at 2:49 AM, <carterbueford@...> wrote: >> Hi, >> >> @allan: I do not run xsane on the same mashine like the sane-server, so I > do not understand how to write the log you want me to. >> "xsane... 2>net.log" > > easy, open a terminal window on the scanning client, and run the > command i gave you. > >> sanimage on the mashine where the sane-server runs, works fine. > > what about scanimage on the client machine? > > Tthere are three likely sources for this error: > > 1. xsane makes different API calls than scanimage, and triggers a bug in > epson2 > 2. net backend munges the data > 3. saned munges the data > >> @Olaf:"Compile the backend with gcc -Wall -Werror should give a cluebat." > What is meant by that? >> I'm using the optware package, so it is not compiled on my router. I am > maintainer of the package, so I can patch it to be compiled in a different > way, but how? > > if you maintain the package, you should know how to modify the .bb > file to add arguments to the gcc call. Something like CFLAGS="-Wall > -Werror" > > bitbake puts its compilation output someplace funny, you'll have to > look for the log... > > allan > -- > "The truth is an offense, but not a sin" > > -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
|
|
|
Re: Unknown SANE status code -1081075667On Mon, Oct 26, 2009 at 1:12 PM, <carterbueford@...> wrote:
> Hi at all, > > I've got the following error trying to scan with my Epson Stylus Photo RX640 > over XSane. > >>> >> [sanei_debug] Setting debug level of epson2 to 128. >>> >> [epson2] sane_epson2_init: sane-backends 1.0.19 >>> >> [epson2] sane_epson2_init: reading config file, epson2.conf >>> >> [epson2] scsi EPSON >>> >> [epson2] usb >>> >> [epson2] attach_one_usb: dev = >>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30 >>> >> [epson2] attach: devname = , type = 3 >>> >> [epson2] attach: opening , type = 3 >>> >> [epson2] net autodiscovery >>> >> [epson2] attach_one_net: dev = autodiscovery >>> >> [epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30 >>> >> [epson2] attach: devname = autodiscovery, type = 4 >>> >> [epson2] attach: opening autodiscovery, type = 4 >>> >> [epson2] e2_network_discovery, sent discovery packet >>> >> [epson2] e2_network_discovery, end >>> >> [epson2] close_scanner: fd = -1 >>> >> [epson2] sane_epson2_get_devices > > Simple scanimage from server mashine and client PC works. There is no error in that log section... allan -- "The truth is an offense, but not a sin" -- sane-devel mailing list: sane-devel@... http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-request@... |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |