Package: xsane Version: 0.999-7 Severity: important Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Scott Jacobs <scott092...@aol.com> To: Debian Bug Tracking System <sub...@bugs.debian.org> Subject: xsane fails to start with two errors; scanimage does the same with or without sudo Bcc: Scott Jacobs <scott092...@aol.com> Message-ID: <157456975091.3610.17500353917015447827.reportbug@ASUS-PRIME-B350M-A-CSM> X-Mailer: reportbug 7.5.3 Date: Sat, 23 Nov 2019 23:29:10 -0500 X-Debbugs-Cc: scott092...@aol.com
Dear Maintainer, Debian Testing LXQt. Xsane from the menu puts up the "scanning for devices" window for awhile; it then disappears. >From the terminal, it is much the same, except that it eventually puts up a window stating: "Failed to open device 'hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH': Invalid argument." scanimage -L fails with the first invocation, but then succeeds with the second: =============================================================== $ scanimage -L scanimage: hp-option.c:3714: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed. Aborted $ scanimage -L device `hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH' is a Hewlett- Packard Deskjet_F300_series all-in-one =============================================================== Attempting an actual scan twice yields two different errors: =============================================================== $ scanimage -p -B -vvv --format=jpeg >Desktop/scanimage.jpg scanimage: hp-option.c:3714: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed. Aborted $ scanimage -p -B -vvv --format=jpeg >Desktop/scanimage.jpg scanimage: open of device hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH failed: Invalid argument Calling sane_exit scanimage: finished =============================================================== using sudo yields the same two errors =============================================================== sudo -HE scanimage -p -B -vvv --format=jpeg >Desktop/scanimage.jpg [sudo] password for scott: scanimage: hp-option.c:3714: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed. Aborted $ sudo -HE scanimage -p -B -vvv --format=jpeg >Desktop/scanimage.jpg scanimage: open of device hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH failed: Invalid argument Calling sane_exit scanimage: finished $ sudo scanimage -p -B -vvv --format=jpeg >Desktop/scanimage.jpg scanimage: open of device hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH failed: Invalid argument Calling sane_exit scanimage: finished =============================================================== Various terminal commands: =============================================================== $ lsusb ... Bus 001 Device 006: ID 03f0:5511 HP, Inc DeskJet F300 series ... $ ls -l /dev/bus/usb/001 ... crw-rw-r--+ 1 root lp 189, 5 Nov 22 21:02 006 ... $ getfacl /dev/bus/usb/001/006 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/006 # owner: root # group: lp user::rw- user:scott:rw- group::rw- mask::rw- other::r-- =============================================================== Using the same computer and printer/scanner, I have no problem scanning with xsane or scanimage from my Lubuntu Next 17.10 LXQt install: =============================================================== $ scanimage -L device `hpaio:/usb/Deskjet_F300_series?serial=CN647B623804KH' is a Hewlett- Packard Deskjet_F300_series all-in-one $ scanimage -p -B -vvv --format=jpeg >Desktop/scanimage_2.jpg scanimage: scanning image of size 638x877 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 0/255 scanimage: read 1678578 bytes in total Closing device Calling sane_exit scanimage: finished $ lsusb ... Bus 001 Device 006: ID 03f0:5511 Hewlett-Packard DeskJet F300 series ... $ ls -l /dev/bus/usb/001 ... crw-rw-r--+ 1 root lp 189, 5 Nov 22 22:29 006 ... $ getfacl /dev/bus/usb/001/006 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/006 # owner: root # group: lp user::rw- user:scott:rw- group::rw- mask::rw- other::r-- =============================================================== -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_CRAP Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages xsane depends on: ii libc6 2.29-2 ii libgimp2.0 2.10.12-1 ii libglib2.0-0 2.62.2-2 ii libgtk2.0-0 2.24.32-4 ii libjpeg62-turbo 1:1.5.2-2+b1 ii liblcms2-2 2.9-3+b1 ii libpng16-16 1.6.37-1 ii libsane 1.0.27-3.2 ii libtiff5 4.0.10+git191003-1 ii sensible-utils 0.0.12 ii xsane-common 0.999-7 ii zlib1g 1:1.2.11.dfsg-1+b1 Versions of packages xsane recommends: ii cups-client 2.3.0-5 ii firefox-esr [www-browser] 60.8.0esr-1 ii slimjet [www-browser] 24.0.6.0 Versions of packages xsane suggests: ii gimp 2.10.12-1 pn gv <none> pn hylafax-client | mgetty-fax <none> ii tesseract-ocr 4.1.0-2 -- no debconf information