Hello, I've upgraded my system to Leap 15.2 from 15.1 and my scanner cannot be used since then. It is a Mustek BearPaw 2400 CUPlus which is supported by Sane and I use it on OpenSUSE in the last 15 years w/o problems. Backend file is still on its place (I upgraded with zypped dup), scanner is visible with lsusb after system is booted up and it can be also seen in yast scanner section. It can be used to scan one page with xsane but after that it doesn't work anymore and says device is not available. It also cannot be listed with lsusb nor in yast modul. Can you please help what to check.
On 21/02/2021 11.21, Pal wrote:
Hello, I've upgraded my system to Leap 15.2 from 15.1 and my scanner cannot be used since then. It is a Mustek BearPaw 2400 CUPlus which is supported by Sane and I use it on OpenSUSE in the last 15 years w/o problems. Backend file is still on its place (I upgraded with zypped dup), scanner is visible with lsusb after system is booted up and it can be also seen in yast scanner section. It can be used to scan one page with xsane but after that it doesn't work anymore and says device is not available. It also cannot be listed with lsusb nor in yast modul. Can you please help what to check.
Start by obtaining the log.
Connect it, scan a page, then try another (that you say it fails). Copy everything that happens in the log, since the connect. Upload to susepaste.org and post here the link.
On 21/02/2021 21.20, Pal wrote:
/var/log/messages https://susepaste.org/89893327
You have to do the searching yourself, find where the appropriate messages start and end and post only that.
I can only recognize this:
2021-02-21T20:59:07.722355+01:00 desktop kernel: [ 431.658661] usb 7-3: new full-speed USB device number 4 using ohci-pci 2021-02-21T20:59:07.914221+01:00 desktop kernel: [ 431.851759] usb 7-3: New USB device found, idVendor=055f, idProduct=021d, bcdDevice= 1.00 2021-02-21T20:59:07.914250+01:00 desktop kernel: [ 431.851765] usb 7-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 2021-02-21T20:59:07.914253+01:00 desktop kernel: [ 431.851768] usb 7-3: Product: USB Scanner
I don't know when xsane stops seeing the scanner.
On 2021-02-21 21:20, Pal wrote:
/var/log/messages https://susepaste.org/89893327
First: I'm no expert in this scanner-world. I got tired some years ago and bought me a printer/photocopier/scanner that can scan to email/usb/network
Check if your scanner is in the hardware database.
$ systemd-hwdb query usb:v055Fp021D*
You can also check the file where the ASCII definition is. Here's whats in my hwdb:
$ egrep -A1 -i 055fp021d /usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb usb:v055Fp021D* ID_MODEL_FROM_DATABASE=BearPaw 2400 CU Plus
If it's not seen by systemd-hwdb it might be that your /etc/udev/hwdb.bin isn't updated. It should be done by "systemd-hwdb update". But make sure you do understand the command so that you don't mock up the database.
check: man hwdb man systemd-hwdb
---------From here on I'm just guessing-------------
After that you have sane to deal with. But I'm afraid that I'm not much of a help there. Maybe someone else can help you with the inner workings of SANE.
Maybe dig into /etc/sane.d/gt68xx.conf
It might be that you lack the firmware for the scanner. At least it seems to be required from the dll-file.
:model "BearPaw 2400 CU Plus" :firmware "required" :interface "USB" :usbid "0x055f" "0x021d" :status :good
Check if there is a fw file. man sane-gt68xx (section FIRMWARE FILE)
I saw some ref. that this scanner might be handled by sane-plustek: man sane-plustek