[sane-devel] Canon LIDE 300

Frank 2bfrank at posteo.de
Wed Aug 26 09:42:14 BST 2020


Der All,

thanks für your ideas!
@allan: I don't think there's anything blocking the Scanner, no VM, andi don't have scangear installed...

@Alexander:I had tried to remove ippusbxd, didn't help unfortunately.

I'll try the PPA tonight...

Thanks, all the Best, Frank
25.08.2020 21:36:38 sane-devel-request at alioth-lists.debian.net:

> Send sane-devel mailing list submissions to
> sane-devel at alioth-lists.debian.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> or, via email, send a message with subject or body 'help' to
> sane-devel-request at alioth-lists.debian.net
> 
> You can reach the person managing the list at
> sane-devel-owner at alioth-lists.debian.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sane-devel digest..."
> 
> Today's Topics:
> 
> 1. Re:  Question SANE and Canon Scanner (m. allan noah)
> 2. Re:  Question SANE and Canon Scanner (Kelly Price)
> 3. Re:  Question SANE and Canon Scanner (Alexander Pevzner)
> 4.  brother-MFC-J485DW fails after update. [partially solved]
> (pj.world at gmx.com)
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 25 Aug 2020 08:02:29 -0400
> From: "m. allan noah" <kitno455 at gmail.com>
> To: 2bfrank at posteo.de
> Cc: sane-devel <sane-devel at alioth-lists.debian.net>
> Subject: Re: [sane-devel] Question SANE and Canon Scanner
> Message-ID:
> <CAKO8m0C6SDj=rA6zfeJswn19kGAERS4y6oGn4TKaYcd-LRvg7w at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> "Unable to open device: Device busy"
> 
> do you have something else installed that is talking to the scanner?
> like canon's scangear software, or a VM running another OS?
> 
> allan
> 
> On Tue, Aug 25, 2020 at 5:28 AM <2bfrank at posteo.de> wrote:
>> 
>> Dear SANE team,
>> 
>> thanks for a great FOSS project ! Can I bother you with a question, you
>> are my last resort, I tried various forums;
>> regarding the Cannon  LiDE 300 Scanner. I bought it because it is listed
>> as "completely supported" in the SANE list
>> (http://www.sane-project.org/sane-mfgs.html#Z-CANON),
>> but I can't get it to work. Here's what I tried:
>> 
>> I am on Linux Mint 20 (Ubuntu 20.04 base), and the scanner is
>> recognised:
>> 
>> lsusb
>> Bus 003 Device 004: ID 04a9:1913 Canon, Inc. LiDE 300
>> 
>> scanimage -L
>> device `pixma:04A91913' is a CANON CanoScan LiDE 300 multi-function
>> peripheral
>> 
>> sane-find-scanner
>> found USB scanner (vendor=0x04a9 [Canon], product=0x1913 [LiDE 300]) at
>> libusb:001:004
>> 
>> I found out that it works with sane-pixma,  provided by
>> libsane-common_1.0.22-7ubuntu1_amd64 bug
>> I have 1.0.29 installed, so it should be OK too? According to
>> https://packages.debian.org/buster/amd64/libsane-dev/filelist
>> it is provided by the libsane-dev package, so I tried
>> 
>> sudo apt install libsane-dev
>> still no result...
>> 
>> simple scan output:
>> 
>> simple-scan -d (debug mode)
>> +9,45s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
>> [+9,45s] DEBUG: scanner.vala:353: Device: name="pixma:04A91913"
>> vendor="CANON" model="CanoScan LiDE 300" type="multi-function
>> peripheral"
>> [+9,45s] DEBUG: scanner.vala:353: Device:
>> name="escl:http://127.0.0.1:60000" vendor="ESCL" model="LiDE 300 HTTP"
>> type="flatbed scanner"
>> [+13,68s] DEBUG: simple-scan.vala:455: Requesting scan at 300 dpi from
>> device 'pixma:04A91913'
>> [+13,68s] DEBUG: scanner.vala:1676: Scanner.scan ("pixma:04A91913",
>> dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0,
>> paper_height=0, brightness=0, contrast=0, delay=3000ms)
>> [+13,68s] DEBUG: scanner.vala:828: Processing request
>> [+14,20s] DEBUG: scanner.vala:889: sane_open ("pixma:04A91913") ->
>> SANE_STATUS_DEVICE_BUSY
>> [+14,20s] WARNING: scanner.vala:893: Unable to open device: Device busy
>> 
>> XSane says the same thing. Unable to open device: Device busy
>> 
>> here's what dmesg said:
>> 
>> dmesg
>> 41353.742838] usb 1-3: new high-speed USB device number 5 using xhci_hcd
>> [41353.804289] usb 1-3: New USB device found, idVendor=04a9,
>> idProduct=1913, bcdDevice= 1.00
>> [41353.804292] usb 1-3: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> [41353.804295] usb 1-3: Product: LiDE 300
>> [41353.804297] usb 1-3: Manufacturer: Canon
>> [41353.804298] usb 1-3: SerialNumber: 486D04
>> [41353.864304] usb 1-3: usbfs: process 20985 (ippusbxd) did not claim
>> interface 0 before use
>> [41353.906525] audit: type=1400 audit(1598002277.392:90):
>> apparmor="DENIED" operation="open" profile="ippusbxd"
>> name="/etc/nsswitch.conf" pid=21004 comm="ippusbxd" requested_mask="r"
>> denied_mask="r" fsuid=0 ouid=0
>> 
>> I found in a forum that ippusbxd might be the problem, removed the
>> package, but no result.
>> 
>> I also manually added line in file /etc/sane.d/genesys.conf and
>> /etc/sane.d/canon.conf
>> # Canon LIDE 300
>> usb 0x04a9 0x1913
>> 
>> as well as in
>> /lib/udev/rules.d/60-libsane.rules
>> # Canon LIDE
>> ATTRS{type}=="3", ATTRS{vendor}=="04a9", ATTRS{model}=="1913",
>> ENV{libsane_matched}="yes"
>> 
>> -------------
>> I'm really sorry to use you as a hotline, but if there are any ideas, I
>> would be grateful;
>> All the Best
>> Frank
>> 
> -- 
> "well, I stand up next to a mountain- and I chop it down with the edge
> of my hand"
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 25 Aug 2020 08:28:56 -0400
> From: Kelly Price <strredwolf at gmail.com>
> To: "m. allan noah" <kitno455 at gmail.com>
> Cc: 2bfrank at posteo.de, sane-devel <sane-devel at alioth-lists.debian.net>
> Subject: Re: [sane-devel] Question SANE and Canon Scanner
> Message-ID:
> <CAKzFY7QWET16PUAiw-z47UPwE=54w9=ewevC+mO7QrctAaBZSA at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Have you tried Rolf's PPA?
> 
> sudo add-apt-repository ppa:rolfbensch/sane-release
> sudo apt-get update
> sudo apt-get upgrade
> 
> The -dev packages usually install headers and such that allow folks to
> program against libsane.
> 
> At worst, uninstall the Mint versions and use the PPA.
> 
> On Tue, Aug 25, 2020 at 8:02 AM m. allan noah <kitno455 at gmail.com> wrote:
>> 
>> "Unable to open device: Device busy"
>> 
>> do you have something else installed that is talking to the scanner?
>> like canon's scangear software, or a VM running another OS?
>> 
>> allan
>> 
>> On Tue, Aug 25, 2020 at 5:28 AM <2bfrank at posteo.de> wrote:
>>> 
>>> Dear SANE team,
>>> 
>>> thanks for a great FOSS project ! Can I bother you with a question, you
>>> are my last resort, I tried various forums;
>>> regarding the Cannon  LiDE 300 Scanner. I bought it because it is listed
>>> as "completely supported" in the SANE list
>>> (http://www.sane-project.org/sane-mfgs.html#Z-CANON),
>>> but I can't get it to work. Here's what I tried:
>>> 
>>> I am on Linux Mint 20 (Ubuntu 20.04 base), and the scanner is
>>> recognised:
>>> 
>>> lsusb
>>> Bus 003 Device 004: ID 04a9:1913 Canon, Inc. LiDE 300
>>> 
>>> scanimage -L
>>> device `pixma:04A91913' is a CANON CanoScan LiDE 300 multi-function
>>> peripheral
>>> 
>>> sane-find-scanner
>>> found USB scanner (vendor=0x04a9 [Canon], product=0x1913 [LiDE 300]) at
>>> libusb:001:004
>>> 
>>> I found out that it works with sane-pixma,  provided by
>>> libsane-common_1.0.22-7ubuntu1_amd64 bug
>>> I have 1.0.29 installed, so it should be OK too? According to
>>> https://packages.debian.org/buster/amd64/libsane-dev/filelist
>>> it is provided by the libsane-dev package, so I tried
>>> 
>>> sudo apt install libsane-dev
>>> still no result...
>>> 
>>> simple scan output:
>>> 
>>> simple-scan -d (debug mode)
>>> +9,45s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
>>> [+9,45s] DEBUG: scanner.vala:353: Device: name="pixma:04A91913"
>>> vendor="CANON" model="CanoScan LiDE 300" type="multi-function
>>> peripheral"
>>> [+9,45s] DEBUG: scanner.vala:353: Device:
>>> name="escl:http://127.0.0.1:60000" vendor="ESCL" model="LiDE 300 HTTP"
>>> type="flatbed scanner"
>>> [+13,68s] DEBUG: simple-scan.vala:455: Requesting scan at 300 dpi from
>>> device 'pixma:04A91913'
>>> [+13,68s] DEBUG: scanner.vala:1676: Scanner.scan ("pixma:04A91913",
>>> dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0,
>>> paper_height=0, brightness=0, contrast=0, delay=3000ms)
>>> [+13,68s] DEBUG: scanner.vala:828: Processing request
>>> [+14,20s] DEBUG: scanner.vala:889: sane_open ("pixma:04A91913") ->
>>> SANE_STATUS_DEVICE_BUSY
>>> [+14,20s] WARNING: scanner.vala:893: Unable to open device: Device busy
>>> 
>>> XSane says the same thing. Unable to open device: Device busy
>>> 
>>> here's what dmesg said:
>>> 
>>> dmesg
>>> 41353.742838] usb 1-3: new high-speed USB device number 5 using xhci_hcd
>>> [41353.804289] usb 1-3: New USB device found, idVendor=04a9,
>>> idProduct=1913, bcdDevice= 1.00
>>> [41353.804292] usb 1-3: New USB device strings: Mfr=1, Product=2,
>>> SerialNumber=3
>>> [41353.804295] usb 1-3: Product: LiDE 300
>>> [41353.804297] usb 1-3: Manufacturer: Canon
>>> [41353.804298] usb 1-3: SerialNumber: 486D04
>>> [41353.864304] usb 1-3: usbfs: process 20985 (ippusbxd) did not claim
>>> interface 0 before use
>>> [41353.906525] audit: type=1400 audit(1598002277.392:90):
>>> apparmor="DENIED" operation="open" profile="ippusbxd"
>>> name="/etc/nsswitch.conf" pid=21004 comm="ippusbxd" requested_mask="r"
>>> denied_mask="r" fsuid=0 ouid=0
>>> 
>>> I found in a forum that ippusbxd might be the problem, removed the
>>> package, but no result.
>>> 
>>> I also manually added line in file /etc/sane.d/genesys.conf and
>>> /etc/sane.d/canon.conf
>>> # Canon LIDE 300
>>> usb 0x04a9 0x1913
>>> 
>>> as well as in
>>> /lib/udev/rules.d/60-libsane.rules
>>> # Canon LIDE
>>> ATTRS{type}=="3", ATTRS{vendor}=="04a9", ATTRS{model}=="1913",
>>> ENV{libsane_matched}="yes"
>>> 
>>> -------------
>>> I'm really sorry to use you as a hotline, but if there are any ideas, I
>>> would be grateful;
>>> All the Best
>>> Frank
>>> 
>> -- 
>> "well, I stand up next to a mountain- and I chop it down with the edge
>> of my hand"
>> 
> -- 
> Kelly "STrRedWolf" Price
> http://redwolf.ws
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 25 Aug 2020 15:58:25 +0300
> From: Alexander Pevzner <pzz at apevzner.com>
> To: sane-devel at alioth-lists.debian.net
> Subject: Re: [sane-devel] Question SANE and Canon Scanner
> Message-ID: <87b5b59f-96aa-d737-71b7-ab0b6e8b308d at apevzner.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Hi Frank,
> 
> Lide 300 supports IPP over USB, and eSCL on a top of it. The presence of
> the IPP-over-USB support causes ippusbxd daemon to start, which
> effectively blocks sane-pixma driver and should, in theory, enable
> sane-escl driver, which seems doesn't want to work.
> 
> You have two possibilities here:
> 
> 1. Remove ippusbxd in a hope to unblock sane-pixma:
> 
> sudo apt-get remove ippusbxd
> 
> 2. Replace eSCL/IPP-over-USB stack with the modern alternative. First
> step as above (remove ippusbxd), then download and install ipp-usb and
> sane-airscan packages from the following location:
> https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/
> 
> Note, both of these packages will be officially included into the
> subsequent release of Ubuntu, so you will not be locked with some
> strange 3rd party packages.
> 
> -- 
> 
> Wishes, Alexander Pevzner (pzz at apevzner.com)
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 25 Aug 2020 21:23:54 +0200
> From: pj.world at gmx.com
> To: sane-devel at alioth-lists.debian.net
> Subject: [sane-devel] brother-MFC-J485DW fails after update.
> [partially solved]
> Message-ID:
> <trinity-ec900b44-cebc-4f30-b205-b88236db72c1-1598383434588 at 3c-app-mailcom-bs04>
> 
> Content-Type: text/plain; charset="utf-8"
> 
> An HTML attachment was scrubbed...
> URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200825/8f38d7d1/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> sane-devel mailing list
> sane-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> 
> ------------------------------
> 
> End of sane-devel Digest, Vol 182, Issue 21
> *******************************************
> 



More information about the sane-devel mailing list