conram
February 9, 2024, 5:58pm
1
Hi,
My brother MFC-5890CN is no longer detected in tumbleweed for the first time.
I can’t tell which snapshot broke sane because I didn’t use my scanner for at least two months.
The printer is still working .
However on the same machine in another ssd drive with an older tumbleweed snapshot with kernel 6.6 this scanner is 100% detected and works.
lsusb:
Bus 001 Device 003: ID 04f9:01f4 Brother Industries, Ltd MFC-5890CN
sane-find-scanner
found possible USB scanner (vendor=0x04f9 [Brother], product=0x01f4 [MFC-5890CN]) at libusb:001:003
with sane-find-scanner I think it is expected as it is the same output like the working scanner on the older tumbleweed.
scanimage -L failed to identify the scanner this one differs from the older tumbleweed in the other drive that identified my scanner which is this:
device 'brother3:bus4;dev1' is a Brother MFC-5890CN USB scanner
Thanks for the help in advance.
Edit:
Take note this is a USB attached printer/scanner.
1 Like
Check that dll.conf contains the borther3 entry…
grep -i brother /etc/sane.d/dll.conf
…and that the brscan3 package is still installed…
zypper se brscan3
1 Like
conram:
scanimage -L failed to identify the scanner this one differs from the older tumbleweed in the other drive that identified my scanner which is this:
device 'brother3:bus4;dev1' is a Brother MFC-5890CN USB scanner
Try also running with sudo…
sudo scanimage -L
If that works, it might be that the user needs to be a member of the ‘lp’ group (required for accessing USB-connected scanners).
1 Like
conram
February 10, 2024, 7:33pm
4
Hi deano, thanks.
sudo scanimage -L
No scanners were identified. -----
zypper se brscan3
S | Name | Summary | Type
---+---------+------------------------+--------
i+ | brscan3 | Brother Scanner Driver | package
The libusb package in the working scanner in the other tumbleweed on the second drive on this machine has only three packages while the none working one has this:
S | Name | Type | Version | Arch | Repository
---+--------------------+---------+-------------+--------+------------------------
i+ | libusb-0_1-4 | package | 0.1.13-38.3 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libusb-1_0-0 | package | 1.0.27-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | libusb-1_0-devel | package | 1.0.27-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libusbmuxd-2_0-6 | package | 2.0.2-1.15 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libusbredirhost1 | package | 0.13.0-1.6 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | libusbredirparser1 | package | 0.13.0-1.6 | x86_64 | openSUSE-Tumbleweed-Oss
I already tried the sane from the graphics repositories and still no joy.
grep -i brother /etc/sane.d/dll.conf
brother3
This one is already a member of the ‘lp’ group.
This used to be working like I said a couple of months ago, the only changes I made in this machine was installing the “Lxqt” to compare with xfce because lately I noticed xfce was hogging more RAM.
After comparing xfce with lxqt I remove lxqt. I don’t think that it can affect the scanner detection.
Thanks again for your next advice.
1 Like
On the working machine, does that include 32-bit libusb packages?
1 Like
conram
February 10, 2024, 11:25pm
7
@ deano, on the working machine the three packages are all 64 bit.
S | Name | Type | Version | Arch | Repository
---+------------------+---------+-------------+--------+------------------
i+ | libusb-0_1-4 | package | 0.1.13-38.2 | x86_64 | (System Packages)
i+ | libusb-1_0-0 | package | 1.0.26-1.7 | x86_64 | (System Packages)
i+ | libusbmuxd-2_0-6 | package | 2.0.2-1.14 | x86_64 | (System Packages)
@Sauerland I installed it when I found out that my machine stop detecting my scanner but it didn’t help. The working tumbleweed doesn’t have it.
I also tried the old way of adding to the /usr/lib/udev/rules.d/55-libsane.rules this line
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
Still no joy.
Thanks all for your replies. Any more ideas where to dig is very much appreciated.
Edit.
In the none working scanner ~/.sane/xsane has only xsane.rc in the working scanner
xsane has Brother:MFC-5890CN.drc, xsane.rc etc...
1 Like
Yes, that just has the sane connection history.
1 Like
Run
udevadm monitor
and connect the scanner device in. What is reported?
Also show
lsusb -v
1 Like
conram
February 11, 2024, 10:41pm
10
@deano_ferrari
uvadmin monitor
KERNEL[167.339369] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[167.339662] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[167.340078] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
KERNEL[167.340145] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[167.340204] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
KERNEL[167.340400] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
KERNEL[167.340574] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[167.340838] add /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
KERNEL[167.340929] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
KERNEL[167.340971] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
KERNEL[167.341017] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[167.341063] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [167.421790] add /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
UDEV [167.428564] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [167.431129] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
UDEV [167.431191] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [167.434004] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
UDEV [167.434275] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
UDEV [167.434701] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [167.435552] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [167.435739] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
UDEV [167.436810] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
UDEV [167.437751] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [167.439532] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[168.368918] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
KERNEL[168.368997] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[168.369052] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[168.369114] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
KERNEL[168.369161] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[168.369220] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [168.370773] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
UDEV [168.372051] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [168.373885] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [168.374091] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV [168.374165] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV [168.374237] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
KERNEL[168.398823] add /devices/virtual/bdi/8:112 (bdi)
KERNEL[168.398882] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
KERNEL[168.398919] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [168.413719] add /devices/virtual/bdi/8:112 (bdi)
KERNEL[168.440080] change /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [168.770997] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [168.773871] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [169.033063] change /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
KERNEL[172.706707] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
KERNEL[172.706755] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[172.708038] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
KERNEL[172.708078] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [172.761649] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
UDEV [172.762476] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [172.763435] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
UDEV [172.764321] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
t
KERNEL[1105.491694] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
KERNEL[1105.491782] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[1105.491850] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[1105.491919] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
KERNEL[1105.491980] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
KERNEL[1105.492189] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
KERNEL[1105.492333] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
KERNEL[1105.492366] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[1105.492429] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[1105.492524] remove /devices/virtual/bdi/8:112 (bdi)
KERNEL[1105.492792] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [1105.540626] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
UDEV [1105.542613] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
UDEV [1105.542672] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
UDEV [1105.542708] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [1105.544121] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [1105.544445] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
UDEV [1105.544628] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV [1105.545491] remove /devices/virtual/bdi/8:112 (bdi)
UDEV [1105.545862] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[1105.546669] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[1105.546700] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[1105.546723] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
KERNEL[1105.546742] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
KERNEL[1105.546764] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
UDEV [1105.546929] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [1105.547615] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
UDEV [1105.548396] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [1105.549206] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [1105.549909] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
UDEV [1105.550677] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
UDEV [1105.569016] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[1105.570113] remove /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
KERNEL[1105.570209] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[1105.570259] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[1105.570395] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[1105.570444] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [1105.570606] remove /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
UDEV [1105.571123] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [1105.571586] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [1105.572908] unbind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [1105.573408] remove /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[1119.365962] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[1119.366348] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[1119.366620] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
KERNEL[1119.366665] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
KERNEL[1119.366836] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
KERNEL[1119.367055] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
KERNEL[1119.367173] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[1119.367419] add /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
KERNEL[1119.367469] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
KERNEL[1119.367518] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
KERNEL[1119.367552] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
KERNEL[1119.367662] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [1119.419620] add /devices/virtual/workqueue/scsi_tmf_7 (workqueue)
UDEV [1119.425635] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
UDEV [1119.429959] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
UDEV [1119.430016] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [1119.430870] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/usbmisc/lp0 (usbmisc)
UDEV [1119.431026] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
UDEV [1119.431737] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [1119.432344] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
UDEV [1119.433527] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7 (scsi)
UDEV [1119.434540] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/scsi_host/host7 (scsi_host)
UDEV [1119.435453] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
UDEV [1119.437361] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
KERNEL[1120.395971] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
KERNEL[1120.396016] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[1120.396036] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[1120.396063] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
KERNEL[1120.396093] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[1120.396121] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [1120.397674] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0 (scsi)
UDEV [1120.399037] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [1120.400520] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV [1120.400551] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV [1120.400974] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [1120.401475] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/scsi_generic/sg8 (scsi_generic)
KERNEL[1120.436080] add /devices/virtual/bdi/8:112 (bdi)
KERNEL[1120.436155] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
KERNEL[1120.436218] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [1120.454300] add /devices/virtual/bdi/8:112 (bdi)
KERNEL[1120.466103] change /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [1120.787984] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
UDEV [1120.790723] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [1121.018152] change /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3/host7/target7:0:0/7:0:0:0/block/sdh (block)
lsusb -v
https://paste.opensuse.org/pastes/b5ddfa19d634
1 Like
conram
February 11, 2024, 10:42pm
11
@deano_ferrari
udevadm monitor --kernel --property --subsystem-match=usb
KERNEL[1119.366032] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/010
DEVTYPE=usb_device
PRODUCT=4f9/1f4/100
TYPE=0/0/0
BUSNUM=003
DEVNUM=010
SEQNUM=3919
MAJOR=189
MINOR=265
KERNEL[1119.366333] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00ic07isc01ip02in00
SEQNUM=3920
KERNEL[1119.366841] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usblp
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00ic07isc01ip02in00
SEQNUM=3922
KERNEL[1119.366951] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=255/255/255
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00icFFiscFFipFFin01
SEQNUM=3923
KERNEL[1119.367054] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.2
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=255/255/255
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00icFFiscFFipFFin02
SEQNUM=3924
KERNEL[1119.367164] add /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00ic08isc06ip50in03
SEQNUM=3925
KERNEL[1119.367560] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.3
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usb-storage
PRODUCT=4f9/1f4/100
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v04F9p01F4d0100dc00dsc00dp00ic08isc06ip50in03
SEQNUM=3929
KERNEL[1119.367657] bind /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/003/010
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=4f9/1f4/100
TYPE=0/0/0
BUSNUM=003
DEVNUM=010
SEQNUM=3930
MAJOR=189
MINOR=265
Again many thanks in advance
1 Like
Thanks for the posted information. Next we need to obtain additional information for this attached device like this…
sudo udevadm info /dev/bus/usb/003/010
Bear in mind that the next time you connect, the bus and device number may be different.
What we’re looking for in the output is
E: libsane_matched=yes
1 Like
conram
February 12, 2024, 12:58am
13
Hi deano,
sudo udevadm info /dev/bus/usb/003/015
[sudo] password for root:
P: /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6
M: 3-1.6
R: 6
U: usb
T: usb_device
D: c 189:270
N: bus/usb/003/015
L: 0
V: usb
E: DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6
E: DEVNAME=/dev/bus/usb/003/015
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=4f9/1f4/100
E: TYPE=0/0/0
E: BUSNUM=003
E: DEVNUM=015
E: MAJOR=189
E: MINOR=270
E: SUBSYSTEM=usb
E: USEC_INITIALIZED=8758635225
E: ID_BUS=usb
E: ID_MODEL=MFC-5890CN
E: ID_MODEL_ENC=MFC-5890CN
E: ID_MODEL_ID=01f4
E: ID_SERIAL=Brother_MFC-5890CN_BROM9F394698
E: ID_SERIAL_SHORT=BROM9F394698
E: ID_VENDOR=Brother
E: ID_VENDOR_ENC=Brother
E: ID_VENDOR_ID=04f9
E: ID_REVISION=0100
E: ID_USB_MODEL=MFC-5890CN
E: ID_USB_MODEL_ENC=MFC-5890CN
E: ID_USB_MODEL_ID=01f4
E: ID_USB_SERIAL=Brother_MFC-5890CN_BROM9F394698
E: ID_USB_SERIAL_SHORT=BROM9F394698
E: ID_USB_VENDOR=Brother
E: ID_USB_VENDOR_ENC=Brother
E: ID_USB_VENDOR_ID=04f9
E: ID_USB_REVISION=0100
E: ID_USB_INTERFACES=:070102:ffffff:080650:
E: ID_VENDOR_FROM_DATABASE=Brother Industries, Ltd
E: ID_MODEL_FROM_DATABASE=MFC-5890CN
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:1a.0-usbv2-0:1.6
E: ID_PATH=pci-0000:00:1a.0-usb-0:1.6
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_6
E: libsane_matched=yes
E: ID_FOR_SEAT=usb-pci-0000_00_1a_0-usb-0_1_6
E: SYSTEMD_WANTS=printer.target
E: SYSTEMD_USER_WANTS=printer.target
E: TAGS=:uaccess:seat:systemd:
E: CURRENT_TAGS=:systemd:seat:uaccess:
Looks like I’m out of luck with the result.
1 Like
Ok, so we know it is matched as a scanner by udev at least…
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_6
E: libsane_matched=yes
E: ID_FOR_SEAT=usb-pci-0000_00_1a_0-usb-0_1_6
E: SYSTEMD_WANTS=printer.target
E: SYSTEMD_USER_WANTS=printer.target
E: TAGS=:uaccess:seat:systemd:
E: CURRENT_TAGS=:systemd:seat:uaccess:
1 Like
Please show
ls -l /dev/bus/usb/003/015
Something to try…adjust the scanner rule to set the group and permissions explicitly (if required)…
ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
1 Like
conram
February 12, 2024, 3:08am
16
Hi deano,
ls -l /dev/bus/usb/001/009
crw-rw-r--+ 1 root lp 189, 8 Feb 11 22:01 /dev/bus/usb/001/009
Adjusting the scanner rule in /usr/lib/udev/rules.d/55-libsane.rules
I followed this instruction
To add a USB device, add a rule to the list below between the
# LABEL="libsane_usb_rules_begin" and LABEL="libsane_usb_rules_end" lines.
Then rebooted still no luck.
Thanks again for your help.
1 Like
You didn’t need to adjust the rule actually. As you can see the device node is already assigned to ‘lp’ group with r/w permissions. (Likely that the brscan3 package already provided the necessary rule?) In addition, the + indicates that the file has an ACL (access control list) associated with it, which adds further specific permissions on top of the base permissions that may already exist.
For example, my Brother scanner device has the following ACLs set (by udev):
dean@linux-lptp1:~> getfacl /dev/bus/usb/001/002
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: root
# group: lp
user::rw-
user:dean:rw-
group::rw-
mask::rw-
other::r--
You can see that the active seat (user dean) has r/w access to this device needed for scanning.
1 Like
@conram In an effort to assist further, I just examined the brscan3 package for .ini files containing the supported models. I checked for the product ID and model
egrep "1f4|5890" /usr/local/Brother/sane/models3/*
with no entry evident.
By comparison, my DCP-7055 all-in-one (supported by the brother4 backend) returns
dean@linux-lptp1:~> egrep "2ce|7055" /opt/brother/scanner/brscan4/models4/*
/opt/brother/scanner/brscan4/models4/ext_4.ini:0x02ce,14,2,"DCP-7055W"
Now, since you have another TW install which is working, it will likely have the relevant entry in one of the models3 .ini files. Compare the .ini files in that TW install, and add it to the ‘problem’ install as required. The scanner should then be recognized. Hope that makes sense.
1 Like
conram
February 12, 2024, 5:18pm
19
@ deano, Thanks again for helping.
All the entries on both none-working and working tumbleweed are identical.
The /usr/local/Brother/sane/ have both separate .ini from models3.ini which is the
Brsane3.ini
That contains the MFC-5890CN.
I tried to dig more and found a difference between the two tumbleweeds.
This is the tumbleweed with working scanner:
ldd /usr/lib64/sane/libsane-brother3.so
linux-vdso.so.1 (0x00007ffce2bea000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f772d2cc000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f772d2b0000)
libusb-0.1.so.4 => /lib64/libusb-0.1.so.4 (0x00007f772d2a8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f772d019000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f772d2a1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f772ce00000)
/lib64/ld-linux-x86-64.so.2 (0x00007f772d2e9000)
For the none working scanner this is the result of
ldd /usr/lib64/sane/libsane-brother3.so
linux-vdso.so.1 (0x00007ffd4032f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2628c6e000)
**libnsl.so.1 => not found**
libusb-0.1.so.4 => /lib64/libusb-0.1.so.4 (0x00007f2628c66000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2628b7d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2628b78000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2628600000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2628c8e000)
I think this got to be related to the recent snapshots that is breaking the brother scanner support because the libusb packages from both none-working/working scanner were all present. Any thoughts.
1 Like