Discussion:
Need Help getting Canon ImageClass MF244dw working
(too old to reply)
Curtis Graham
2017-08-06 16:48:53 UTC
Permalink
Raw Message
I have had this scanner working under Ubuntu 16.04 with the help of Rolf. I
have now switch over to Debian 9 Stable, simply because other programs were
just too unstable to use with Ubuntu. I have everything else working except
the scanner and I am a bit of an Linux Newb so learning Debian is fun. I
understand that Ubuntu repo's like Rolf's may or may not work under Debian
9 without some modification. I had tried loading Rolf's ppa but had
problems. libsane-common would install 1.0.27 but when trying libsane I
would get stuck at libjpeg8 dependency is uninstallable. Found out that
Debian uses libjpeg62-turbo so I have removed the ppa and am back at debian
1.0.25-4.1
currently my scanner is not recognized via usb and that could be my fault
for being a newb.

My overall goal is to get updated to the latest 1.0.27 at least and figure
out how to get saned working properly on Debian 9 so that this scanner
works wirelessly again with my network. (This was all working under Ubuntu
16.04)

Any help is much appreciated.

Thank You
Curtis
--
J Curtis Graham
WebRep
Overall rating
Curtis Graham
2017-08-08 01:03:24 UTC
Permalink
Raw Message
I still can't seem to get my scanner to work with debian 1.0.25-4.1. I'm
guessing I need to get up to 1.0.27. My Multi Scanner is a Canon imageclass
MF244dw. Here is the output:

sudo sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure
that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2 [Language
Error]) at libusb:007:004
found USB scanner (vendor=0x1415 [OmniVision Technologies, Inc.],
product=0x2000 [USB Camera-B4.09.24.
1]) at libusb:006:003
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor (again): Pipe error
found USB scanner (vendor=0x1bad [Mad Catz, Inc.], product=0xf027) at
libusb:001:002
# Your USB scanner was (probably) detected. It may or may not be supported
by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.


I think it is
usb 0x04a9 0x27d2

sudo scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Any help with pointing me in the right direction would be much appreciated.

Thank You
Curtis
Post by Curtis Graham
I have had this scanner working under Ubuntu 16.04 with the help of Rolf.
I have now switch over to Debian 9 Stable, simply because other programs
were just too unstable to use with Ubuntu. I have everything else working
except the scanner and I am a bit of an Linux Newb so learning Debian is
fun. I understand that Ubuntu repo's like Rolf's may or may not work under
Debian 9 without some modification. I had tried loading Rolf's ppa but had
problems. libsane-common would install 1.0.27 but when trying libsane I
would get stuck at libjpeg8 dependency is uninstallable. Found out that
Debian uses libjpeg62-turbo so I have removed the ppa and am back at debian
1.0.25-4.1
currently my scanner is not recognized via usb and that could be my fault
for being a newb.
My overall goal is to get updated to the latest 1.0.27 at least and figure
out how to get saned working properly on Debian 9 so that this scanner
works wirelessly again with my network. (This was all working under Ubuntu
16.04)
Any help is much appreciated.
Thank You
Curtis
--
J Curtis Graham
WebRep
Overall rating
--
J Curtis Graham
WebRep
Overall rating
Olaf Meeuwissen
2017-08-08 10:09:39 UTC
Permalink
Raw Message
Hi Curtis,
Post by Curtis Graham
I still can't seem to get my scanner to work with debian 1.0.25-4.1. I'm
guessing I need to get up to 1.0.27. My Multi Scanner is a Canon imageclass
sudo sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2 [Language Error]) at libusb:007:004
I think it is
usb 0x04a9 0x27d2
You think correctly. This device was added on 2017-04-26, so, yes,
you'll need 1.0.27.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Curtis Graham
2017-08-08 12:46:54 UTC
Permalink
Raw Message
Thanks Olaf,

So how do I install 1.0.27. I'm back to the problem that libsane won't
install because of the "dependency libjpeg8 is uninstallable" because
Debian 9 KDE is using libjpeg62-turbo.
Can I change what dependency libsane needs?
Or instead of using Rolf's repo, maybe there is a more appropriate one to
use for Debian?

Thank you
Curtis
Post by Olaf Meeuwissen
Hi Curtis,
Post by Curtis Graham
I still can't seem to get my scanner to work with debian 1.0.25-4.1. I'm
guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
imageclass
Post by Curtis Graham
sudo sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
[Language Error]) at libusb:007:004
Post by Curtis Graham
I think it is
usb 0x04a9 0x27d2
You think correctly. This device was added on 2017-04-26, so, yes,
you'll need 1.0.27.
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
Jeff
2017-08-08 12:50:08 UTC
Permalink
Raw Message
Post by Curtis Graham
Or instead of using Rolf's repo, maybe there is a more appropriate one
to use for Debian?
Sure. sane-backends 1.0.27 is in Debian unstable and testing.

Regards

Jeff
Curtis Graham
2017-08-08 13:16:50 UTC
Permalink
Raw Message
Joel,

I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
it is really easy to get carried away with reading websites and trying
different things and messing up things I know nothing about.
Package Manager said "uninstallable" so I'm guessing libjpeg8 doesn't play
nice.
Right now I'm reading up on adding Debian Testing to sources.list and only
updating the packages I need to update libsane.
I think this may be the more appropriate option with Debian.

Thanks
Curtis
Why don't you just download the deb from
https://packages.debian.org/sid/libjpeg8
Post by Curtis Graham
Thanks Olaf,
So how do I install 1.0.27. I'm back to the problem that libsane won't
install because of the "dependency libjpeg8 is uninstallable" because
Debian 9 KDE is using libjpeg62-turbo.
Can I change what dependency libsane needs?
Or instead of using Rolf's repo, maybe there is a more appropriate one to
use for Debian?
Thank you
Curtis
Post by Olaf Meeuwissen
Hi Curtis,
Post by Curtis Graham
I still can't seem to get my scanner to work with debian 1.0.25-4.1.
I'm
Post by Curtis Graham
guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
imageclass
Post by Curtis Graham
sudo sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
[Language Error]) at libusb:007:004
Post by Curtis Graham
I think it is
usb 0x04a9 0x27d2
You think correctly. This device was added on 2017-04-26, so, yes,
you'll need 1.0.27.
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Curtis Graham
2017-08-08 13:53:38 UTC
Permalink
Raw Message
I do agree that only installing the one file libjpeg8 would make more
sense, but then again I don't know what problems that may cause and I would
be the only one trying to figure it out. At least the other way, there are
many people smarter than me working on "testing" and I would have more of a
resource for help.

Below taken from Debian Testing Wiki

How Debian Testing Works

Packages from Debian Unstable enter the next-stable testing distribution
automatically, when a list of requirements is fulfilled:

The package has been in "unstable" at least for 2-10 days (depending on the
urgency of the upload).
The package has been built for all the architectures which the present
version in testing was built for.
Installing the package into testing will not make the distribution more
uninstallable.
The package does not introduce new release critical bugs.
If you change your sources, that's more likely to create incompatible
dependencies. If libjpeg8 is the only one creating problem, installing it
shouldn't create issues for Debian. However the proper way is to do package
pinning for apt. Check the Debian documentation on how to do that.
Post by Curtis Graham
Joel,
I'm trying really hard not to destroy Debian Stable. I am a Linux newb
and it is really easy to get carried away with reading websites and trying
different things and messing up things I know nothing about.
Package Manager said "uninstallable" so I'm guessing libjpeg8 doesn't
play nice.
Right now I'm reading up on adding Debian Testing to sources.list and
only updating the packages I need to update libsane.
I think this may be the more appropriate option with Debian.
Thanks
Curtis
Why don't you just download the deb from
https://packages.debian.org/sid/libjpeg8
Post by Curtis Graham
Thanks Olaf,
So how do I install 1.0.27. I'm back to the problem that libsane won't
install because of the "dependency libjpeg8 is uninstallable" because
Debian 9 KDE is using libjpeg62-turbo.
Can I change what dependency libsane needs?
Or instead of using Rolf's repo, maybe there is a more appropriate one
to use for Debian?
Thank you
Curtis
Post by Olaf Meeuwissen
Hi Curtis,
Post by Curtis Graham
I still can't seem to get my scanner to work with debian 1.0.25-4.1.
I'm
Post by Curtis Graham
guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
imageclass
Post by Curtis Graham
sudo sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
[Language Error]) at libusb:007:004
Post by Curtis Graham
I think it is
usb 0x04a9 0x27d2
You think correctly. This device was added on 2017-04-26, so, yes,
you'll need 1.0.27.
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software
https://my.fsf.org/donate
Join the Free Software Foundation
https://my.fsf.org/join
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Dave Platt
2017-08-08 14:12:11 UTC
Permalink
Raw Message
Post by Curtis Graham
I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
it is really easy to get carried away with reading websites and trying
different things and messing up things I know nothing about.
Another option is to download the 1.0.27 SANE backends source code,
and build it yourself.

"apt-get build-deps libsane" should download the development libraries
on which the backend depends (these are the development files which
correspond to the runtime libraries currently in your Debian distribution).
This should also get you the required software told (e.g. gcc and
make and so forth) if you don't have them already.

You would then download the sources for 1.0.27, unpack, configure, and
build. You would end up with a new set of backends which were built against
your current Debian "stable" library set, so there would be no need to update
your system with libraries from Debian "testing", Ubuntu, or elsewhere. Then,
"make install".
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Curtis Graham
2017-08-08 14:28:39 UTC
Permalink
Raw Message
This sounds like a great way to go, except for being a newb and nothing
ever seems to work right for me when trying to build it myself, then I'm
stuck with half a build sitting on my PC and no idea how to remove
it...case in point one such program sits on my PC right now, the build
instructions I used were for Ubuntu and of coarse Debian doesn't use all
the same libraries so a few folders we're not found and items not built
correctly.

If you have a great source for a walk through so I can learn how to build
this specifically for libsane and Debian, I would definitely give it a try,
but I have found that if I don't have a good resource to fall back on, it
is probably a bad idea for me to try, I tend to break things, lol.
Post by Dave Platt
Post by Curtis Graham
I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
it is really easy to get carried away with reading websites and trying
different things and messing up things I know nothing about.
Another option is to download the 1.0.27 SANE backends source code,
and build it yourself.
"apt-get build-deps libsane" should download the development libraries
on which the backend depends (these are the development files which
correspond to the runtime libraries currently in your Debian distribution).
This should also get you the required software told (e.g. gcc and
make and so forth) if you don't have them already.
You would then download the sources for 1.0.27, unpack, configure, and
build. You would end up with a new set of backends which were built against
your current Debian "stable" library set, so there would be no need to update
your system with libraries from Debian "testing", Ubuntu, or elsewhere.
Then,
"make install".
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Dave Platt
2017-08-08 19:46:57 UTC
Permalink
Raw Message
Post by Jeff
Sure. sane-backends 1.0.27 is in Debian unstable and testing.
Is it? The Debian package pages seem to show only various cuts
of a 1.0.25 version in the testing and unstable distributions
at this time. As far as I can tell, there hasn't yet been an
effort to pick up 1.0.27 for Debian. Unless Debian has done
something horrid with version numbers (picking up 1.0.27 and
still calling it 1.0.25-something-or-other) I don't think that
it's there yet.

Unfortunately, this may leave Curtis with only two choices:
go back to Ubuntu, or struggle through the blood, sweat, toil,
and tears of learning how to actually build the sane-backends code
from source.
Post by Jeff
If you have a great source for a walk through so I can learn how
to build this specifically for libsane and Debian, I would definitely
give it a try, but I have found that if I don't have a good resource
to fall back on, it is probably a bad idea for me to try, I tend to
break things, lol.
So do we all, at first. "Experience gained is directly proportional to
equipment destroyed" (or "smoke released" or "glassware broken" or
"days in the clinic getting the fumes washed out of our lungs" or
like that). :-)

All I can offer is what's up on the developer-information pages at
the sane-project.org web site. That's where I started when I needed to
fix a few broken things in the Avision back-end last year.
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Curtis Graham
2017-08-08 20:04:20 UTC
Permalink
Raw Message
Dave

I really appreciate that you took the time to see if 1.0.27 was in testing.
I don't know where to look for that.

Ok so that leaves learning how to build this myself. (I am not going back
to Ubuntu) Just to let you know why..I have started a new YouTube channel
and the video work I am doing is in Kdenlive. Which is horribly unstable in
Ubuntu. I looked around and found that Debian is known for being extremely
Stable and that is what I decided (knowing full well that I would have to
get better with Linux) and dove in with both feet.

So I found this and it looks like it was written Today. Does this look like
it will point me in the right direction? And do I need to do just the
backends or both back and front ends? I don't know if that is just
installing the frontend GUI programs or does that tie the frontends to the
backends somehow...scratching head...

http://www.linuxfromscratch.org/blfs/view/svn/pst/sane.html


Thank You

Curtis
Post by Dave Platt
Post by Jeff
Sure. sane-backends 1.0.27 is in Debian unstable and testing.
Is it? The Debian package pages seem to show only various cuts
of a 1.0.25 version in the testing and unstable distributions
at this time. As far as I can tell, there hasn't yet been an
effort to pick up 1.0.27 for Debian. Unless Debian has done
something horrid with version numbers (picking up 1.0.27 and
still calling it 1.0.25-something-or-other) I don't think that
it's there yet.
go back to Ubuntu, or struggle through the blood, sweat, toil,
and tears of learning how to actually build the sane-backends code
from source.
Post by Jeff
If you have a great source for a walk through so I can learn how
to build this specifically for libsane and Debian, I would definitely
give it a try, but I have found that if I don't have a good resource
to fall back on, it is probably a bad idea for me to try, I tend to
break things, lol.
So do we all, at first. "Experience gained is directly proportional to
equipment destroyed" (or "smoke released" or "glassware broken" or
"days in the clinic getting the fumes washed out of our lungs" or
like that). :-)
All I can offer is what's up on the developer-information pages at
the sane-project.org web site. That's where I started when I needed to
fix a few broken things in the Avision back-end last year.
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Dave Platt
2017-08-08 20:35:48 UTC
Permalink
Raw Message
Post by Curtis Graham
Dave
I really appreciate that you took the time to see if 1.0.27 was in
testing. I don't know where to look for that.
What I did, was to go to www.debian.org, click on "Packages".

Then, go down to the "Search package directories" area, enter
"sane" in the search string and "testing" for distribution,
and do a search. This brings up all of the packages in that
distribution with "sane" in the name.

What the SANE projects calls "sane-backends", is mostly in the
Debian package called "libsane" - it's the runtime libraries (which
is how the back-ends are packaged - they're dynamically-loadable
libraries).

The Debian "sane" package is mostly the front-ends.
Post by Curtis Graham
So I found this and it looks like it was written Today. Does this look
like it will point me in the right direction? And do I need to do just
the backends or both back and front ends? I don't know if that is just
installing the frontend GUI programs or does that tie the frontends to
the backends somehow...scratching head...
That's a reasonable place to start reading, although I don't know how
specific to any particular version of Linux their particular
instructions might be.

You should need to rebuild only the back-ends (that was my own
experience, at least). The front-end GUI programs make use of the
back-end libraries, via the SANE APIs. You should find that front-ends
built from 1.0.25, will work just fine with back-end libraries built
from the 1.0.27 sources.

I'd suggest downloading the 1.0.27 source tarball directly from the
main SANE archive site, rather than from a third-party site... no
telling what changes might have been made for various reasons in the
third-party version. In this case it seems safe enough (the fossies
site gives the same MD5 checksum as the one at the main SANE project
archives, and the download matches the checksum, so it hasn't been
altered or tampered with) but it's usually best to go back to the
source.

What you would need to do:

(download the tarball)
md5sum sane-backends-1.0.27.tar.gz

(make sure this reports b10a08785f92a4c07ad961f4d843c934)

tar xfa sane-backends-1.0.27.tar.gz
cd sane-backends-1.0.27
sudo apt-get build-dep libsane
sudo apt-get install build-essentials
./configure

(this should tell you that it's going to install into
/usr/local/ subdirectories)

make

(this should build all of the backends)

At this point you have a bunch of ways you can go about installing.

If you look in "./.libs/" you should find ./.libs/libsane-pixma.so
which is the newly-build version of the Pixma backend.

You can do a "sudo make install" which will install all of the SANE
libraries and back-ends into /usr/local/lib/sane/ and install a bunch
of new configuration files into /usr/local/etc/sane.d/. That may work
although I can't guarantee that the loader will find those new
libraries since you've already got the standard Debian versions
installed.

Or, you can very selectively install just this one back-end:

sudo mv /usr/lib/sane/libsane-pixma.so /usr/lib/sane/libsane-pixma.so.backup
sudo cp ./.libs/libsane-pixma.so /usr/lib/sane/

That approach will leave you with your existing Debian SANE
installation unchanged _except_ for this one modified
back-end library.

Hope this helps you get started. Use at your own risk. No
warranty offered, express or implied. If it breaks, you own
all the pieces. :-)
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Curtis Graham
2017-08-10 13:56:46 UTC
Permalink
Raw Message
Dave,

Thank you very much, it did work, I used this.

What you would need to do:

(download the tarball)
md5sum sane-backends-1.0.27.tar.gz

(make sure this reports b10a08785f92a4c07ad961f4d843c934)

tar xfa sane-backends-1.0.27.tar.gz
cd sane-backends-1.0.27
sudo apt-get build-dep libsane
sudo apt-get install build-essentials
./configure

(this should tell you that it's going to install into
/usr/local/ subdirectories)

make

(this should build all of the backends)

At this point you have a bunch of ways you can go about installing.

If you look in "./.libs/" you should find ./.libs/libsane-pixma.so
which is the newly-build version of the Pixma backend.

You can do a "sudo make install" which will install all of the SANE
libraries and back-ends into /usr/local/lib/sane/ and install a bunch
of new configuration files into /usr/local/etc/sane.d/. That may work
although I can't guarantee that the loader will find those new
libraries since you've already got the standard Debian versions
installed.

I noticed that synaptic still shows libsane at 1.0.25, but obviously there
are a lot more files listed in /ect/sane.d than before. So all I did was
hop back into net.conf and added my network location for my scanner and I
am back up and running wireless scanning.

I did notice that I do not have the same tweaks that Rolf and I had worked
on on his ppa. I am guessing that his ppa gets updated more than the
regular sane backend.

One last question. Is the folder that gets extracted for building
(sane-backends-1.0.27)
tied to anything, or can it be removed?

Thank You
Curtis
Post by Dave Platt
Post by Curtis Graham
Dave
I really appreciate that you took the time to see if 1.0.27 was in
testing. I don't know where to look for that.
What I did, was to go to www.debian.org, click on "Packages".
Then, go down to the "Search package directories" area, enter
"sane" in the search string and "testing" for distribution,
and do a search. This brings up all of the packages in that
distribution with "sane" in the name.
What the SANE projects calls "sane-backends", is mostly in the
Debian package called "libsane" - it's the runtime libraries (which
is how the back-ends are packaged - they're dynamically-loadable
libraries).
The Debian "sane" package is mostly the front-ends.
Post by Curtis Graham
So I found this and it looks like it was written Today. Does this look
like it will point me in the right direction? And do I need to do just
the backends or both back and front ends? I don't know if that is just
installing the frontend GUI programs or does that tie the frontends to
the backends somehow...scratching head...
That's a reasonable place to start reading, although I don't know how
specific to any particular version of Linux their particular
instructions might be.
You should need to rebuild only the back-ends (that was my own
experience, at least). The front-end GUI programs make use of the
back-end libraries, via the SANE APIs. You should find that front-ends
built from 1.0.25, will work just fine with back-end libraries built
from the 1.0.27 sources.
I'd suggest downloading the 1.0.27 source tarball directly from the
main SANE archive site, rather than from a third-party site... no
telling what changes might have been made for various reasons in the
third-party version. In this case it seems safe enough (the fossies
site gives the same MD5 checksum as the one at the main SANE project
archives, and the download matches the checksum, so it hasn't been
altered or tampered with) but it's usually best to go back to the
source.
(download the tarball)
md5sum sane-backends-1.0.27.tar.gz
(make sure this reports b10a08785f92a4c07ad961f4d843c934)
tar xfa sane-backends-1.0.27.tar.gz
cd sane-backends-1.0.27
sudo apt-get build-dep libsane
sudo apt-get install build-essentials
./configure
(this should tell you that it's going to install into
/usr/local/ subdirectories)
make
(this should build all of the backends)
At this point you have a bunch of ways you can go about installing.
If you look in "./.libs/" you should find ./.libs/libsane-pixma.so
which is the newly-build version of the Pixma backend.
You can do a "sudo make install" which will install all of the SANE
libraries and back-ends into /usr/local/lib/sane/ and install a bunch
of new configuration files into /usr/local/etc/sane.d/. That may work
although I can't guarantee that the loader will find those new
libraries since you've already got the standard Debian versions
installed.
sudo mv /usr/lib/sane/libsane-pixma.so /usr/lib/sane/libsane-pixma.
so.backup
sudo cp ./.libs/libsane-pixma.so /usr/lib/sane/
That approach will leave you with your existing Debian SANE
installation unchanged _except_ for this one modified
back-end library.
Hope this helps you get started. Use at your own risk. No
warranty offered, express or implied. If it breaks, you own
all the pieces. :-)
--
J Curtis Graham
WebRep
Overall rating
Jeff
2017-08-08 20:43:53 UTC
Permalink
Raw Message
Post by Dave Platt
Is it? The Debian package pages seem to show only various cuts
of a 1.0.25 version in the testing and unstable distributions
at this time. As far as I can tell, there hasn't yet been an
I apologise. I must have picked it up from experimental, instead, where
is really is:

https://packages.debian.org/source/experimental/sane-backends

But working fine here.

Regards

Jeff
Dave Platt
2017-08-10 21:02:03 UTC
Permalink
Raw Message
Post by Curtis Graham
Dave,
Thank you very much, it did work, I used this.
You're quite welcome!
Post by Curtis Graham
I did notice that I do not have the same tweaks that Rolf and I had worked
on on his ppa. I am guessing that his ppa gets updated more than the
regular sane backend.
He may be building from a custom tree, or one which is based on the
current top-of-branch development code at the SANE repository.
There have been a number of changes committed to the repo since
1.0.27 was released, I believe, and you would not have found any of
those in the 1.0.27 tarball you downloaded.
Post by Curtis Graham
One last question. Is the folder that gets extracted for building
(sane-backends-1.0.27)
tied to anything, or can it be removed?
You should be able to remove it. Once the files are installed in
/usr/local/ there won't be any back-links to the source or build
directories.
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Curtis Graham
2017-08-10 22:21:18 UTC
Permalink
Raw Message
Thank you again Dave for helping out a newb.
Post by Dave Platt
Post by Curtis Graham
Dave,
Thank you very much, it did work, I used this.
You're quite welcome!
Post by Curtis Graham
I did notice that I do not have the same tweaks that Rolf and I had
worked
Post by Curtis Graham
on on his ppa. I am guessing that his ppa gets updated more than the
regular sane backend.
He may be building from a custom tree, or one which is based on the
current top-of-branch development code at the SANE repository.
There have been a number of changes committed to the repo since
1.0.27 was released, I believe, and you would not have found any of
those in the 1.0.27 tarball you downloaded.
Post by Curtis Graham
One last question. Is the folder that gets extracted for building
(sane-backends-1.0.27)
tied to anything, or can it be removed?
You should be able to remove it. Once the files are installed in
/usr/local/ there won't be any back-links to the source or build
directories.
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Olaf Meeuwissen
2017-08-12 03:46:40 UTC
Permalink
Raw Message
Post by Dave Platt
Post by Curtis Graham
Dave,
Thank you very much, it did work, I used this.
You're quite welcome!
Post by Curtis Graham
I did notice that I do not have the same tweaks that Rolf and I had worked
on on his ppa. I am guessing that his ppa gets updated more than the
regular sane backend.
He may be building from a custom tree, or one which is based on the
current top-of-branch development code at the SANE repository.
Rolf's PPA builds from the nightly `git archive` tarball but does apply
some Ubuntu inspired patches for better distro integration (as do *any*
of the official packages of any Linux distribution).
Post by Dave Platt
There have been a number of changes committed to the repo since
1.0.27 was released, I believe, and you would not have found any of
those in the 1.0.27 tarball you downloaded.
Post by Curtis Graham
One last question. Is the folder that gets extracted for building
(sane-backends-1.0.27)
tied to anything, or can it be removed?
You should be able to remove it. Once the files are installed in
/usr/local/ there won't be any back-links to the source or build
directories.
If you want to do a `make uninstall` later, when the official packages
have fixed the problem for example, you might want to keep it around
though.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Loading...