usbfs: USBDEVFS_CONTROL failed cmd

Asked by Djerk Geurts

Canoscan FS4000-US is recognised by lsusb, but when vuescan tries to use the device an error is thrown. I've tried USB2 and USB3 ports, and two different systems. I know the hardware is fine as it works fine in Windows 10 on the same hardware.

LSUSB: Bus 003 Device 024: ID 04a9:3042 Canon, Inc. CanoScan FS4000US Film Scanner

SYSLOG
Oct 12 21:33:24 djerk-W540 kernel: [1907440.937129] usb 3-6: new full-speed USB device number 24 using xhci_hcd
Oct 12 21:33:24 djerk-W540 kernel: [1907441.100981] usb 3-6: New USB device found, idVendor=04a9, idProduct=3042, bcdDevice=10.01
Oct 12 21:33:24 djerk-W540 kernel: [1907441.100989] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 12 21:33:24 djerk-W540 kernel: [1907441.100991] usb 3-6: Product: Scanner
Oct 12 21:33:24 djerk-W540 kernel: [1907441.100993] usb 3-6: Manufacturer: Canon
Oct 12 21:33:24 djerk-W540 mtp-probe: checking bus 3, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6"
Oct 12 21:33:24 djerk-W540 mtp-probe: bus: 3, device: 24 was not an MTP device
Oct 12 21:33:24 djerk-W540 upowerd[2292]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-6
Oct 12 21:33:24 djerk-W540 mtp-probe: checking bus 3, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6"
Oct 12 21:33:24 djerk-W540 mtp-probe: bus: 3, device: 24 was not an MTP device
Oct 12 21:33:33 djerk-W540 kernel: [1907449.881460] usb 3-6: usbfs: USBDEVFS_CONTROL failed cmd vuescan rqt 128 rq 6 len 255 ret -110
Oct 12 21:35:04 djerk-W540 kernel: [1907541.016054] usb 3-6: usbfs: USBDEVFS_CONTROL failed cmd vuescan rqt 192 rq 4 len 36 ret -110
Oct 12 21:36:34 djerk-W540 kernel: [1907631.130710] usb 3-6: usbfs: USBDEVFS_CONTROL failed cmd vuescan rqt 192 rq 4 len 4 ret -110

VueScan works fine with my HP document scanner. But the CanoScan FS4000 is a film negative scanner. So simplescan doesn't recognise it.

Any ideas what I can do to get this working (Ubuntu 20.04.3 LTS)

Hardware: Lenovo W540 and Surface Pro 3 (the latter with Ubuntu Studio)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Djerk Geurts
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you setup the driver for the device?

Revision history for this message
Djerk Geurts (djerkg) said :
#2

VueScan has a dpkg installer file, which contains the application. I don't think there's a separate driver to install outside of VueScan.

I initially reached out to the author of VueScan, and he concluded that the issue is with the system/OS. But I've got no idea how to troubleshoot the issue to find out what's really going on and see where/how this can be fixed.

Revision history for this message
Djerk Geurts (djerkg) said :
#3

And if you mean if there are any outstanding dependencies that aren't installed. "sudo apt-get -f install" doesn't list any. I used "dpkg -i" to install VueScan.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

What output do you get for

sane-find-scanner
sudo sane-find-scanner
scanimage -L

Revision history for this message
Djerk Geurts (djerkg) said (last edit ):
#5

djerk@djerk-W540:~$ 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.

could not open USB device 0x8087/0x8000 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x8087/0x8008 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x138a, product=0x0017) at libusb:003:021
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Operation timed out
found USB scanner (vendor=0x04a9, product=0x3042) at libusb:003:024
could not open USB device 0x058f/0x9540 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 003:022: Access denied (insufficient permissions)
could not open USB device 0x04ca/0x7035 at 003:007: Access denied (insufficient permissions)
could not open USB device 0x8087/0x07da at 003:006: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
  # 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.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.
djerk@djerk-W540:~$ sudo sane-find-scanner
[sudo] password for djerk:

  # 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=0x138a, product=0x0017) at libusb:003:021
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Operation timed out
found USB scanner (vendor=0x04a9, product=0x3042) at libusb:003:024
  # 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.
djerk@djerk-W540:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 021: ID 138a:0017 Validity Sensors, Inc. VFS 5011 fingerprint sensor
Bus 003 Device 024: ID 04a9:3042 Canon, Inc. CanoScan FS4000US Film Scanner
Bus 003 Device 003: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 003 Device 022: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 008: ID 0765:5010 X-Rite, Inc. X-Rite Pantone Color Sensor
Bus 003 Device 007: ID 04ca:7035 Lite-On Technology Corp. Integrated Camera
Bus 003 Device 006: ID 8087:07da Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
djerk@djerk-W540:~$ scanimage -L
device `hpaio:/net/Photosmart_C7200_series?ip=192.168.*.*' is a Hewlett-Packard Photosmart_C7200_series all-in-one

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Found:

https://lists.debian.org/debian-user/2017/12/msg00834.html

so, create the file as shown and reboot. Does this work OK

Revision history for this message
Djerk Geurts (djerkg) said :
#7

Thank you!!! Works a charm