[sane-devel] Imageclass D530 Scanner Support (New Patch?)

tx gtux at gimpchat.com
Fri Oct 17 06:05:31 UTC 2014


I have made further progress and believe I was able to manually apply the
patch provided by Rolf to the current version of pixma_imageclass.c from
git. After applying the patch, I am now able to see the device as a normal
user via scanimage -L

device `v4l:/dev/video1' is a Noname Hauppauge WinTV-HVR1800 virtual device
device `v4l:/dev/video0' is a Noname Hauppauge WinTV-HVR1800 virtual device
device `pixma:04A92775' is a CANON Canon imageCLASS D530 multi-function
peripheral

The first two devices are my Hauppauge HDTV ATSC card. Before applying the
patch, I did not see the pixma:04A92775 device. I also copied the rule to
/etc/udev/rules.d/, as outlined in the January post.

# Canon imageCLASS D530
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2775", MODE="0664",
GROUP="scanner", ENV{libsane_matched}="yes"

However, this is as far as I have been able to get. If I run the test as a
regular user, I get the "invalid argument" message.
$ scanimage > test.pnm
scanimage: sane_start: Invalid argument

or when including the device name, I am denied permissions.
$ scanimage --device-name=pixma:04A92775 > test.prn
scanimage: open of device pixma:04A92775 failed: Access to resource has
been denied

If I run the test as root, I get this..
[root]# scanimage  > test.prn
scanimage: sane_start: Invalid argument

[root]# scanimage --device-name=pixma:04A92775 > test.prn
scanimage: open of device pixma:04A92775 failed: Invalid argument

I'm not sure where to go from here. Any assistance would be appreciated.

Thanks!

On Thu, October 16, 2014 9:33 am, tx wrote:
> Greetings,
>
>
> I have a Canon D530 Printer/Copy/Scanner and would really like to be able
>  to scan in Linux via sane. I'm currently using Fedora 20_x86 and would
> be happy to volunteer for testing.
>
> (vendor=0x04a9 [Canon Inc], product=0x2775 [D530/D560]) at libusb:002:008
>
>
> I grabbed the latest backend from git and applied this patch from
> January.
>
>
> http://lists.alioth.debian.org/pipermail/sane-devel/2014-January/032066.h
> tml
>
> I assume the patch is outdated because I couldn't apply it to the source
> file: pixma_imageclass.c.
>
>
> Is there a new patch available that I could try.
>
>
> Thanks!
>
>
> gtux
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>





More information about the sane-devel mailing list