Comment 29 for bug 217571

dave grape (bogusgrape) wrote :

I search the i-net and found on http://forum.ubuntu-nl.org/hardware-en-drivers/9-10-en-brother-dcp-135c-no-way!/msg503627/ the following for my scanner.

We gaan het bestand /lib/udev/rules.d/40-libsane.rules aanpassen met de editor nano. Gebruik geen gedit, daar deze een backup achterlaat en dit is niet de bedoeling. Dus:

We are going to ajust the file /lib/udev/rules.d/40-libsane.rules with the editor nano. Don't use gedit because it left a backup file. We don't want that.

  sudo nano /lib/udev/rules.d/40-libsane.rules

Ga met de cursor helemaal naar beneden en voeg de 2 Brother regels toe, onder "Dell 1600n" en voor "The following rule will disable USB autosuspend for the device"

Go all the way down en add the following rule under "Dell 1600n and before "The following rule will disalbe USB autosuspend for the device"

# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"

# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power$
LABEL="libsane_rules_end"

Bewaar het bestand door CTRL+x te drukken, dan Y of J (naargelang de taal) en dan op Enter te drukken.
Save the file by CTRL + x, then Y or J, (Related to your langeauge) then hit Enter.

I restarted my system and the scanner works without have to use root.

Herstart je systeem en probeer te scannen en te printen.

I use Ubuntu 9.10 with a Brother DCP 357c
Also lsusb let me see the printer without the use of sudo.