Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old October 1st, 2009   #1
hotrod6657
Gee! These Aren't Roasted!
 
hotrod6657's Avatar
 
Join Date: Sep 2007
Beans: 189
Ubuntu 8.04 Hardy Heron
xsane rule file missing / no scanner group

I have my Brother MFC 240c printer/scanner working well. Problem is that I can only access the scanner as root via:

Code:
sudo xsane
Now, all the tutorials about this say that I should edit the

/lib/udev/rules.d/50-udev-default.rules" file.

Some of the tutorials list a different numbered file but the idea is the same.

Here's the info from Brother's site:

http://solutions.brother.com/linux/e...n_scn1c.html#9

My problem is that in the rules.d folder I only have three files. 10-vboxdrv.rules, 70-persistent-cd.rules, 70-persistent-net.rules, and the readme file. What do i do? There are several bug reports about this sort of thing but nothing has a solution.

If there is another way to add the appropriate permissions I'm all ears, I'm just getting tired of xsane yelling at me about how dangerous it is to run as root lol.

Thanks in advance.

hotrod
__________________
Hand built 2.7 GHz 64 X2 5200+, GIGABYTE MB, 4 gigs DDR2, GeForce 9600 GSO, ATX full tower, SATA CD drive, 250 GB Barracuda SATA HDD. Jaunty
Registered User #476828
If my post helped please click thank you in the right corner of my post
hotrod6657 is offline   Reply With Quote
Old October 2nd, 2009   #2
TopEnder
A Carafe of Ubuntu
 
TopEnder's Avatar
 
Join Date: May 2008
Location: Northern Territory, Aus
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: xsane rule file missing / no scanner group

G'Day, I think you looked a the wrong version of Ubuntu to edit, ie if you are using Ubuntu 8.04 Hardy Heron [I] think the file you should be editing is:
Ubuntu 8.04/8.04.1, 8.10
1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.
2. Edit "0664" to "0666" in "USB devices" section.

Before the edit---------------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit----------------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Restart the OS.
TopEnder is offline   Reply With Quote
Old October 2nd, 2009   #3
hotrod6657
Gee! These Aren't Roasted!
 
hotrod6657's Avatar
 
Join Date: Sep 2007
Beans: 189
Ubuntu 8.04 Hardy Heron
Re: xsane rule file missing / no scanner group

Sorry about that, i need to change my signature, i am using Jaunty. The problem with all of the suggestions on that site is that I don't have any of the files they want me to edit. I literally only have the files i listed in my initial post.
__________________
Hand built 2.7 GHz 64 X2 5200+, GIGABYTE MB, 4 gigs DDR2, GeForce 9600 GSO, ATX full tower, SATA CD drive, 250 GB Barracuda SATA HDD. Jaunty
Registered User #476828
If my post helped please click thank you in the right corner of my post
hotrod6657 is offline   Reply With Quote
Old October 2nd, 2009   #4
Bachstelze
Ubuntu French Roast
 
Bachstelze's Avatar
 
Join Date: Nov 2005
Location: Bordeaux, France
Beans: 7,443
Ubuntu Development Release
Send a message via AIM to Bachstelze Send a message via MSN to Bachstelze
Re: xsane rule file missing / no scanner group

Please paste the output of lsusb.
Bachstelze is online now   Reply With Quote
Old October 2nd, 2009   #5
hotrod6657
Gee! These Aren't Roasted!
 
hotrod6657's Avatar
 
Join Date: Sep 2007
Beans: 189
Ubuntu 8.04 Hardy Heron
Re: xsane rule file missing / no scanner group

I'm in a computer lab right now waiting for class to start, when I get back home this evening I'll post that.
__________________
Hand built 2.7 GHz 64 X2 5200+, GIGABYTE MB, 4 gigs DDR2, GeForce 9600 GSO, ATX full tower, SATA CD drive, 250 GB Barracuda SATA HDD. Jaunty
Registered User #476828
If my post helped please click thank you in the right corner of my post
hotrod6657 is offline   Reply With Quote
Old October 2nd, 2009   #6
hotrod6657
Gee! These Aren't Roasted!
 
hotrod6657's Avatar
 
Join Date: Sep 2007
Beans: 189
Ubuntu 8.04 Hardy Heron
Re: xsane rule file missing / no scanner group

Here is the output of lsusb:

Code:
Bus 002 Device 004: ID 2040:6513 Hauppauge 
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046d:092f Logitech, Inc. QuickCam Express Plus
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0bc7:0008 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 04f9:01ab Brother Industries, Ltd MFC-240C
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003 is my printer.
__________________
Hand built 2.7 GHz 64 X2 5200+, GIGABYTE MB, 4 gigs DDR2, GeForce 9600 GSO, ATX full tower, SATA CD drive, 250 GB Barracuda SATA HDD. Jaunty
Registered User #476828
If my post helped please click thank you in the right corner of my post
hotrod6657 is offline   Reply With Quote
Old October 3rd, 2009   #7
TopEnder
A Carafe of Ubuntu
 
TopEnder's Avatar
 
Join Date: May 2008
Location: Northern Territory, Aus
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: xsane rule file missing / no scanner group

Quote:
Originally Posted by hotrod6657 View Post
Sorry about that, i need to change my signature, i am using Jaunty. The problem with all of the suggestions on that site is that I don't have any of the files they want me to edit. I literally only have the files i listed in my initial post.
Try the following for Jaunty 9.04:

1.In Terminal: Open to edit:"/lib/udev/rules.d/50-udev-default.rules file by

gksudo gedit /lib/udev/rules.d/50-udev-default.rules and change the following

Before the edit --------------------------

Code:
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"

into: After the edit --------------------------

Code:
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"

2.Save file,

3.Restart the system.

Code:

sudo /etc/init.d/udev restart

To get the scan-key-tool to start automatically at Ubuntu boot by default.

Install: sane-utils (if not already installed , it's in Synaptic Package Manager)

Add the brscan-skey command to your startup program.

System -> Preference -> Sessions -> Startup Programs -> New

Enter "brscan-skey" in:
Name: and
Command:
Comment: Enter what you want to call your Scanner

Press OK and enable the entry.

Last edited by TopEnder; October 3rd, 2009 at 12:50 AM.. Reason: format
TopEnder is offline   Reply With Quote
Old October 4th, 2009   #8
hotrod6657
Gee! These Aren't Roasted!
 
hotrod6657's Avatar
 
Join Date: Sep 2007
Beans: 189
Ubuntu 8.04 Hardy Heron
Re: xsane rule file missing / no scanner group

Quote:
Originally Posted by TopEnder View Post
Try the following for Jaunty 9.04:

1.In Terminal: Open to edit:"/lib/udev/rules.d/50-udev-default.rules file by
What I'm saying is that I don't have any files other than what I mentioned in the first post. That folder only has the following files:

10-vboxdrv.rules
70-persistent-cd.rules
70-persistent-net.rules
the readme file

I know what I have to do if I had the file I need (I've done it plenty of times), my problem is that the file doesn't exist... According to my Jaunty install there is no 50-udev-default.rules file, or anything with a similar name.

That's where my problem is coming from.

hotrod
__________________
Hand built 2.7 GHz 64 X2 5200+, GIGABYTE MB, 4 gigs DDR2, GeForce 9600 GSO, ATX full tower, SATA CD drive, 250 GB Barracuda SATA HDD. Jaunty
Registered User #476828
If my post helped please click thank you in the right corner of my post
hotrod6657 is offline   Reply With Quote
Old December 17th, 2009   #9
fcorourke
5 Cups of Ubuntu
 
fcorourke's Avatar
 
Join Date: Dec 2007
Beans: 27
Angry Re: xsane rule file missing / no scanner group

Hi -- for what it is worth I have the same problem. I can not believe that I can just copy the change into a file with that name & it will work. None of my files but 40-permission.rules has anything in it. NO ONE can seem to grasp that -- Your explanation was clear -- no one seemed to read -- just give basic & seem to think the rest of what you are stating is not the problem. I did find about a 100page guide to writing your own rules, but it loks like Windows 7 for me ---- every upgrade kills your previous fix -- as will all upcoming new improved releases. I have spent 10-20 hours& ZERO --run Ubuntu in a bx in windows You can use Windows to print scan do photo stuff & Ubuntu for safe surfing with no scanning or printing. SAD

Fred
fcorourke is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:25 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry