The officially official Devuan Forum!

You are not logged in.

#1 2020-02-26 13:27:15

beate
Member
Registered: 2019-03-25
Posts: 12  

UDEV problem - Brother MFC7420

Hello,  i reinstalled my desktop machine with Beowulf (as an upgrade from ASCII 2.1)

Everything seems to work fine, with one severe exception: my MFP printer is not accessible, neither as a printer nor as a scanner.

The following error message does occur after the device is detected normally:

[72188.051622] usb 1-1.3: new full-speed USB device number 11 using ehci-pci
[72188.165032] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=0180
[72188.165036] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[72188.165038] usb 1-1.3: SerialNumber: 000J7J739526
[72188.167058] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0180
[72188.168512] udevd[10218]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3 1 11': No such file or directory

and here some contents of /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1 :

drwxr-xr-x 9 root root     0 Feb 26 13:51 1-1.1
drwxr-xr-x 8 root root     0 Feb 26 13:51 1-1:1.0
drwxr-xr-x 7 root root     0 Feb 26 13:51 1-1.3
-rw-r--r-- 1 root root  4096 Feb 26 13:51 authorized
-rw-r--r-- 1 root root  4096 Feb 26 13:51 avoid_reset_quirk
...

I verified that this is actually the MFC7429.
As .../1.1.3 appears to contain all the subdevices of the printer. So my question: did the device naming scheme change recently? Should i switch back to an older kernel until this is represented in udev/mtp ?

BTW: here the output of uname -a

Linux merapi 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux

Last edited by beate (2020-02-26 13:28:22)

Offline

#2 2020-02-26 13:37:19

xinomilo
Member
Registered: 2017-07-02
Posts: 98  

Re: UDEV problem - Brother MFC7420

try installing libmtp-runtime and check again..

Offline

#3 2020-02-26 13:38:55

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,404  

Re: UDEV problem - Brother MFC7420

While you're at it, you might want to install the 4.19.0-8 kernel from beowulf. Or install linux-image-amd64 and you'll always get the newest kernel for your system.

Offline

#4 2020-02-26 14:25:35

beate
Member
Registered: 2019-03-25
Posts: 12  

Re: UDEV problem - Brother MFC7420

xinomilo wrote:

try installing libmtp-runtime and check again..

has been installed.

I just did an upgrade to an old i386 machine (ASCII+backports) and installed xsane+cups there. I noticed that udev had been replaced by eudev. Same problem after the upgrade.

regarding the linux image: on another machine (notebook)  the proposed 4.9.18-06  kernel lead to an unbootable system unless i also installed linux-firmware-free. Which is not a dependency. But i'll give it a try

Offline

#5 2020-02-26 14:39:37

beate
Member
Registered: 2019-03-25
Posts: 12  

Re: UDEV problem - Brother MFC7420

I just tried on the oldie: result negative:

[  140.602090] usb 2-1: new full-speed USB device number 5 using uhci_hcd
[  140.795381] usb 2-1: New USB device found, idVendor=04f9, idProduct=0180, bcdDevice= 1.00
[  140.795392] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[  140.795399] usb 2-1: SerialNumber: 000J7J739526
[  140.802725] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0180
[  140.809535] udevd[1913]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1 2 5': No such file or directory
beate@knuell:~$ uname -a
Linux knuell 4.19.0-0.bpo.6-686 #1 SMP Debian 4.19.67-2+deb10u2~bpo9+1 (2019-11-12) i686 GNU/Linux

which means i would have go back to jessie at least temporarily on one machine in order to be able to use my printer and scanner (or give NetBSD a try - i hate that - inoperable printers cost an extreme amount of time...)

Offline

#6 2020-02-26 14:45:40

Dutch_Master
Member
Registered: 2018-05-31
Posts: 133  

Re: UDEV problem - Brother MFC7420

Did you set the permissions right? Make sure your regular user is a member of the printing and scanning groups. Brother has excellent Linux support, try their Linux page and follow the installation steps closely.

HTH!

Offline

#7 2020-02-26 15:20:37

beate
Member
Registered: 2019-03-25
Posts: 12  

Re: UDEV problem - Brother MFC7420

This is a fairly old device, and i have installed it successfully many times... and it was working before the upgrade.

There is actually an easy workaround - i still have  my old ASCII installation on an older disk drive (which i replaced two days ago). But it does not feel good knowing it will not be upgradable.

Offline

#8 2020-02-26 16:28:01

beate
Member
Registered: 2019-03-25
Posts: 12  

Re: UDEV problem - Brother MFC7420

Update: upgrades the i386 machine to beowulf and installed kernel 5.4.0 from the backports. Problem reproducable. I wonder if this is a problem with Devuan or with the underlying Debian.


Noch ein update: mit meiner ebenfalls älteren USB-Soundkarte tritt das Problem nicht auf.

Last edited by beate (2020-02-26 16:43:30)

Offline

#9 2020-03-01 11:14:42

rolfie
Member
Registered: 2017-11-25
Posts: 257  

Re: UDEV problem - Brother MFC7420

The failure message from the original post and after installing libmtp-runtime look the same. I wonder if its not mtp-probe thats missing but that the /sys/devices/-link is wrong? Make a thorough check.

BTW: I think your upgrade to Beowulf is incomplete. You are still running the 4.9 kernel from ASCII. Do a apt full-upgrade to get rid of all dist mixtures. If that means that you need some firmware, install it.

rolfie

Last edited by rolfie (2020-03-01 11:19:55)

Offline

#10 2020-03-03 04:34:34

beate
Member
Registered: 2019-03-25
Posts: 12  

Re: UDEV problem - Brother MFC7420

I checked, apt-get full-upgrade did nothing additional, which means that the upgrade was complete.
On machine b) - a notebook - the problem disappeared after i deinstalled laptop-mode-tools. And with that, some other problems. On machine a) the problem also disappeared but i don't know why. I temporarily ran the box from its old disk which carries an i386-ASCII upgraded from Jessie installation. After reinserting the new drive with the Beowulf, the problem was gone.

Offline

#11 2020-03-03 11:42:18

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,404  

Re: UDEV problem - Brother MFC7420

If you didn't get the 4.19 kernel, you probably don't have the kernel metapackage:

apt install linux-image-amd64

Then you will always get the latest kernel for the system.

If you want to see what kernels are available:

apt-cache search linux-image

Offline

Board footer