DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 1st October 2008
borgibo borgibo is offline
Real Name: John Vliouras
borgibo
 
Join Date: Sep 2008
Location: Crete, Greece
Posts: 28
Thanked 0 Times in 0 Posts
Default FreeBSD scanner

hello everybody,

I am a computer newby, learning Linux and started with FreeBSD lately. The only OSs I know about.

I am struggling with FreeBSD7 both as an i386 and amd64 architecture.

The problem is my scanner a Canon Lide 60. Running #scanimage -L I get "device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed scanner" which is right and it shows up with xsane as root (when I am lucky to use xsane as root in gnome)

Now trying to: "7.6.4 Giving Other Users Access to the Scanner

All previous operations have been done with root privileges. You may however, need other users to have access to the scanner. The user will need read and write permissions to the device node used by the scanner. As an example, our USB scanner uses the device node /dev/uscanner0 which is owned by the operator group. Adding the user joe to the operator group will allow him to use the scanner:

# pw groupmod operator -m joe

For more details read the pw(8) manual page. You also have to set the correct write permissions (0660 or 0664) on the /dev/uscanner0 device node, by default the operator group can only read the device node. This is done by adding the following lines to the /etc/devfs.rules file:

[system=5]
add path uscanner0 mode 660

Then add the following to /etc/rc.conf and reboot the machine:

devfs_system_ruleset="system"

More information regarding these lines can be found in the devfs(8) manual page.

Note: Of course, for security reasons, you should think twice before adding a user to any group, especially the operator group."

I cannot find "/etc/devfs.rules" file, it does not exist. I tried to make one adding what I was instructed, to no avail. I tried to put "[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists, but it did not work either.

I suppose I must be doing something wrong. Please bear in mind that this is my first time that I am using the command line. I have been able to thanks to the very easy and instructive FreeBSD's handbook.

If you know why "/etc/devfs.rules" file is missing from both i386 and amd64 installations and what I can do if anything, please inform me.

Thank you very much for your efort,


borgibo
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBSD 5.0 wifi/wireless network browser/scanner vermaden NetBSD General 9 5th July 2009 12:56 AM
qmail scanner problem t4y4n FreeBSD General 1 5th August 2008 07:36 PM


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick