I can not get canon lide 400 to work

when i run scangearmp2 gives the error " cannot communicate with scanner : scanner driver will be closed " .
the scanner does show up in usb devices .
the scanner shows up in yast’s scanner configuration and uses pixma driver .
the scanner is a usb 3 device that shows up as usb 2 .
i loaded xsane backends from SaurLand .

this may help :

lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 04a9:1912 Canon, Inc. LiDE 400
Bus 005 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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 002: ID 0b05:1a52 ASUSTek Computer, Inc. USB Audio
Bus 001 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard SK-8115
Bus 001 Device 005: ID 046d:c093 Logitech, Inc. Advanced Corded Mouse M500s
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



 dmesg | grep usb
[    1.869606] usbcore: registered new interface driver usbfs
[    1.869613] usbcore: registered new interface driver hub
[    1.869623] usbcore: registered new device driver usb
[    3.716861] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    3.716863] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.716864] usb usb1: Product: xHCI Host Controller
[    3.716866] usb usb1: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.716867] usb usb1: SerialNumber: 0000:08:00.0
[    3.719430] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.719444] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    3.719445] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.719446] usb usb2: Product: xHCI Host Controller
[    3.719447] usb usb2: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.719448] usb usb2: SerialNumber: 0000:08:00.0
[    3.721387] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    3.721388] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.721390] usb usb3: Product: xHCI Host Controller
[    3.721390] usb usb3: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.721391] usb usb3: SerialNumber: 0000:0a:00.3
[    3.721888] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.721901] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    3.721902] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.721903] usb usb4: Product: xHCI Host Controller
[    3.721904] usb usb4: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.721905] usb usb4: SerialNumber: 0000:0a:00.3
[    3.723088] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    3.723089] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.723091] usb usb5: Product: xHCI Host Controller
[    3.723091] usb usb5: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.723092] usb usb5: SerialNumber: 0000:0a:00.4
[    3.723593] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.723606] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    3.723608] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.723609] usb usb6: Product: xHCI Host Controller
[    3.723610] usb usb6: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.723611] usb usb6: SerialNumber: 0000:0a:00.4
[    3.725836] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    3.725838] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.725839] usb usb7: Product: xHCI Host Controller
[    3.725840] usb usb7: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.725841] usb usb7: SerialNumber: 0000:0b:00.0
[    3.726126] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.726139] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    3.726141] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.726142] usb usb8: Product: xHCI Host Controller
[    3.726143] usb usb8: Manufacturer: Linux 5.14.21-150500.55.44-default xhci-hcd
[    3.726144] usb usb8: SerialNumber: 0000:0b:00.0
[    3.976018] usb 5-2: new high-speed USB device number 2 using xhci_hcd
[    4.040203] usb 1-6: new high-speed USB device number 2 using xhci_hcd
[    4.128509] usb 5-2: New USB device found, idVendor=04a9, idProduct=1912, bcdDevice= 1.00
[    4.128511] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.128512] usb 5-2: Product: LiDE 400
[    4.128513] usb 5-2: Manufacturer: Canon
[    4.128514] usb 5-2: SerialNumber: 4B6BFE
[    5.965687] usb 1-6: New USB device found, idVendor=0b05, idProduct=1a52, bcdDevice= 0.02
[    5.965691] usb 1-6: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[    5.965693] usb 1-6: Product: USB Audio
[    5.965695] usb 1-6: Manufacturer: Generic
[    6.216027] usb 1-7: new full-speed USB device number 3 using xhci_hcd
[    6.600500] usb 1-7: config 1 has an invalid interface number: 2 but max is 1
[    6.600504] usb 1-7: config 1 has no interface number 1
[    6.612484] usb 1-7: New USB device found, idVendor=0b05, idProduct=19af, bcdDevice= 1.00
[    6.612487] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.612490] usb 1-7: Product: AURA LED Controller
[    6.612491] usb 1-7: Manufacturer: AsusTek Computer Inc.
[    6.612492] usb 1-7: SerialNumber: 9876543210
[    6.812027] usb 1-8: new high-speed USB device number 4 using xhci_hcd
[    7.047710] usb 1-8: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.90
[    7.047716] usb 1-8: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.047718] usb 1-8: Product: USB2.0 Hub
[    7.280028] usb 1-10: new full-speed USB device number 5 using xhci_hcd
[    7.676466] usb 1-10: New USB device found, idVendor=046d, idProduct=c093, bcdDevice=53.00
[    7.676471] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.676473] usb 1-10: Product: Advanced Corded Mouse M500s
[    7.676475] usb 1-10: Manufacturer: Logitech
[    7.676476] usb 1-10: SerialNumber: 207E38765846
[    7.888026] usb 1-12: new low-speed USB device number 6 using xhci_hcd
[    8.219239] usb 1-12: New USB device found, idVendor=413c, idProduct=2003, bcdDevice= 3.06
[    8.219245] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.219247] usb 1-12: Product: Dell USB Keyboard
[    8.219248] usb 1-12: Manufacturer: Dell
[   10.202318] usbcore: registered new interface driver usbhid
[   10.202321] usbhid: USB HID core driver
[   10.335264] hid-generic 0003:0B05:1A52.0001: hiddev96,hidraw0: USB HID v1.11 Device [Generic USB Audio] on usb-0000:08:00.0-6/input7
[   10.335377] hid-generic 0003:0B05:19AF.0002: hiddev97,hidraw1: USB HID v1.11 Device [AsusTek Computer Inc. AURA LED Controller] on usb-0000:08:00.0-7/input2
[   10.335484] input: Logitech Advanced Corded Mouse M500s as /devices/pci0000:00/0000:00:02.1/0000:02:00.0/0000:03:0c.0/0000:08:00.0/usb1/1-10/1-10:1.0/0003:046D:C093.0003/input/input10
[   10.335567] hid-generic 0003:046D:C093.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Advanced Corded Mouse M500s] on usb-0000:08:00.0-10/input0
[   10.335783] input: Logitech Advanced Corded Mouse M500s Keyboard as /devices/pci0000:00/0000:00:02.1/0000:02:00.0/0000:03:0c.0/0000:08:00.0/usb1/1-10/1-10:1.1/0003:046D:C093.0004/input/input11
[   10.392511] hid-generic 0003:046D:C093.0004: input,hiddev98,hidraw3: USB HID v1.11 Keyboard [Logitech Advanced Corded Mouse M500s] on usb-0000:08:00.0-10/input1
[   10.392694] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:02.1/0000:02:00.0/0000:03:0c.0/0000:08:00.0/usb1/1-12/1-12:1.0/0003:413C:2003.0005/input/input14
[   10.452391] hid-generic 0003:413C:2003.0005: input,hidraw4: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:08:00.0-12/input0
[   17.666142] usbcore: registered new interface driver snd-usb-audio






If you have installed the drivers from Canon, they work only with their Software scangearmp.

Post:
zypper se -si scangear

The Scanner is also supported by sane, so post:
zypper se -si sane

zypper se -si scangear
Loading repository data...
Reading installed packages...

S  | Name        | Type    | Version | Arch   | Repository
---+-------------+---------+---------+--------+------------------
i+ | scangearmp2 | package | 3.70-1  | x86_64 | (System Packages)



zypper se -si sane
Loading repository data...
Reading installed packages...

S  | Name                     | Type    | Version                     | Arch   | Repository
---+--------------------------+---------+-----------------------------+--------+----------------
i  | ksanecore-lang           | package | 22.12.3-bp155.1.7           | noarch | repo-oss (15.5)
i  | ksanecore-lang           | package | 22.12.3-bp155.1.7           | noarch | Main Repository
i+ | libinsane1               | package | 1.0.9-bp155.1.10            | x86_64 | repo-oss (15.5)
i+ | libinsane1               | package | 1.0.9-bp155.1.10            | x86_64 | Main Repository
i  | libKF5Sane5              | package | 22.12.3-bp155.1.9           | x86_64 | repo-oss (15.5)
i  | libKF5Sane5              | package | 22.12.3-bp155.1.9           | x86_64 | Main Repository
i  | libksane-lang            | package | 22.12.3-bp155.1.9           | noarch | repo-oss (15.5)
i  | libksane-lang            | package | 22.12.3-bp155.1.9           | noarch | Main Repository
i  | libKSaneCore1            | package | 22.12.3-bp155.1.7           | x86_64 | repo-oss (15.5)
i  | libKSaneCore1            | package | 22.12.3-bp155.1.7           | x86_64 | Main Repository
i+ | libsane1                 | package | 1.2.1.git20240118-lp155.1.1 | x86_64 | Saurland xsane
i+ | sane-backends            | package | 1.2.1.git20240118-lp155.1.1 | x86_64 | Saurland xsane
i  | sane-backends-32bit      | package | 1.0.32-150400.15.2.1        | x86_64 | repo-oss (15.5)
i  | sane-backends-32bit      | package | 1.0.32-150400.15.2.1        | x86_64 | Main Repository
i  | sane-backends-autoconfig | package | 1.0.32-150400.15.2.1        | x86_64 | repo-oss (15.5)
i  | sane-backends-autoconfig | package | 1.0.32-150400.15.2.1        | x86_64 | Main Repository
i  | sane-saned               | package | 1.2.1.git20240118-lp155.1.1 | x86_64 | Saurland xsane
i+ | xsane                    | package | 0.999-bp155.3.15            | x86_64 | repo-oss (15.5)
i+ | xsane                    | package | 0.999-bp155.3.15            | x86_64 | Main Repository



Can you post:
scanimage -L
executed as root and as user

Also as user:
grep 1912 /usr/lib/udev/rules.d/*


reidkb@phaedra:~> scanimage -L
device `pixma:04A91912_4B6BFE' is a CANON CanoScan LiDE 400 multi-function peripheral
reidkb@phaedra:~> su
Password: 
phaedra:/home/reidkb # scanimage -L
device `pixma:04A91912_4B6BFE' is a CANON CanoScan LiDE 400 multi-function peripheral



reidkb@phaedra:~> grep 1912 /usr/lib/udev/rules.d/*
/usr/lib/udev/rules.d/55-libsane.rules:ATTR{idVendor}=="04a9", ATTR{idProduct}=="1912", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"



i  | sane-backends-autoconfig | package | 1.0.32-150400.15.2.1        | x86_64 | Main Repository

Switch this one to the package of my Sauerland Repo.

Install the Scanner in Yast with the pixma backend.

i tried this and i still got the error code for scangearmp2

i tried testing the scanner with the yast’s scanner configuration and got this :


Test with 'scanimage -d pixma:04A91912_4B6BFE -v' failed.
The results are:

Output format is not set, using pnm as a default.
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
[17:31:06.611008] [pixma] device response: DeviceCheckError - Device detected a fault. Contact the repair center.
scanimage: min/max graylevel value = 255/0
scanimage: sane_read: Error during device I/O


Delete scangearmp and install all sane once more.

Can you get it then with Yast?

i tried this and got the same error .
i also got four sane updates when i checked for software updates this morning .

Sorry for interrupting your conversation, but I thought I would quickly reply, as I also use a Canon Pixma Scanner.

I deinstalled scangear as it is an old an seemingly unmaintained software that I had some problems with.
Now I use simple-scan document scanner (openSUSE Software) as frontend for sane.

For the document scanner /sane to be able to find your scanner, you need to edit the file /etc/sane.d/dll.conf and uncomment the line with the driver name for your scanner.

Be aware that there are several different Canon drivers. Yours should be pixma without canon in the name (source: SANE: Supported Devices)

So, just edit the file /etc/sane.d/dll.conf with sudo privileges and uncomment the line that says pixma and save it.

I don’t remember if you need to restart some service (or reboot) after that to make sane find your scanner. As you are scanning via USB with this device I think no further configuration should be required.

Woops, seems like I scrolled over your past few posts by accident. You can ignore my above post…

You may wanna check the sane issue tracker, maybe there’s an issue with the level of support it provides for your scanner, or a regression in the current version…

Try anothe USB-Port and cable.

i tried different usb ports . the cable is special just for the scanner .
but i have good news , i put my very old canoscan lide 600f on the
computer and it works well . the colors in the scans are pinkish but
i have to configure xsane and learn how to use it . i never thought
about useing the old scanner .

thaks for all the help .

1 Like