You are not logged in.

#1 2013-06-09 19:57:46

nik
Member
Registered: 2013-06-09
Posts: 5

[SOLVED] Printer not working after reboots

I recently built my won desktop running Arch. Every thing works fine except for printer. Printer is Brother MFC-290c. It is a Multinational printer (i.e Scanner and printer together).

Once I configure the printer it works fine until the next reboot. After reboot printer user/group changes to root:scanner.

# ls -l /dev/bus/usb/005/002
crw-rw-r-- 1 root scanner 189, 513 Jun  9 07:17 /dev/bus/usb/005/002

So after every reboot I need to do "lsusb" to look for Bus and Device ID for the printer and change its owner/group to root:lp. After this step is performed Printer works fine until next reboot.

$ lsusb
Bus 005 Device 002: ID 04f9:01fd Brother Industries, Ltd 
Bus 005 Device 004: ID 045e:00f9 Microsoft Corp. Wireless Desktop Receiver 3.1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 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 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

How can I make sure that whenever I plugin this printer its user and group is root:lp instead of root:scanner

Last edited by nik (2013-06-10 00:48:50)

Offline

#2 2013-06-09 22:16:00

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED] Printer not working after reboots

Welcome to the forum.
One thing you can do is create an udev-rule that assigns the correct group for it. Similar to the example for the DVD here.
I don't have a multifunction printer, but it may also be worthwile for you to look in AUR. Quite possibly you find supporting software which is not in the official repo (which possibly handles the group issue too).

Offline

#3 2013-06-10 00:45:53

nik
Member
Registered: 2013-06-09
Posts: 5

Re: [SOLVED] Printer not working after reboots

SOLVED big_smile:D:D:D

Thanks Strike0. That was a push in right direction. After reading your reply, I decided to take a look at my udev rules. There was not one for my printer but there was one for the Scanner. I do not yet know how to read udev file, but sure enough it looked as if it was causing all problems smile. Renamed the rules file for the scanner to see if everything works fine in its absence. Rebooted, Printer and scanner are both working fine now.

Offline

Board footer

Powered by FluxBB