[sane-devel] XSane Segmentation fault
Stéphane VOLTZ
stef.dev at free.fr
Fri Jun 1 04:37:22 UTC 2007
Le jeudi 31 mai 2007, Luis P. Mendes a écrit :
> Hi,
>
> I'm running Slackware 11.0 and I am not able to use XSane.
>
> The problem is:
>
> $ xsane
> lp: Operation not permitted
> parport_pc: Operation not permitted
> Segmentation fault
>
> I've tried to solve this issue and I think I am close. But now I need
> help from you.
>
> $ scanimage --version
> scanimage (sane-backends) 1.0.18; backend version 1.0.18
> Only as root, I can:
> # scanimage -L
> device `epson:/dev/usb/scanner0' is a Epson CC-570L flatbed scanner
>
> The ids are ok:
> # cat /etc/sane.d/epson.conf | grep -v '^#'
> usb 0x4b8 0x802
> usb /dev/usb/scanner0
>
> If I type:
> $ scanimage -d epson:/dev/usb/scanner0
> P4
> # SANE data follows
> 632 877
>
> everything is okay. I can scan papers from command line like, for
> example: $ scanimage -d epson:/dev/usb/scanner0 --resolution 300 >
> image.tiff
>
> But if I omit the -d option:
> $ scanimage --resolution 300 > image.tiff
> lp: Operation not permitted
> parport_pc: Operation not permitted
> Segmentation fault
>
> The error I get seems the same as the one above mentioned when I try xsane.
>
> So, logic tells me that I should pass some parameter to xsane in order
> for this to work. How can I do it? Or, what else should I do to solve
> this issue?
>
> Luis
Hello,
enabling SANE backend loading debug with:
export SANE_DEBUG_DLL=255
Then running 'scanimage --resolution 300 > image.tiff' would certainly give a
hint on whatever backend that would be trying to access the parrallel port.
Regards,
Stef
More information about the sane-devel
mailing list