[sane-devel] Problem with HP ScanJet 4p and SCSI

David Brant brantosaurus at hotmail.com
Wed Jun 10 20:19:45 UTC 2009


Hi Dieter

No need to apologise, your English is perfectly clear to me. The problem
is me and my limited understanding of linux!

Here is my log.

david at david-desktop:/etc/udev/rules.d$ dir
55-scanner.rules  70-persistent-cd.rules  70-persistent-net.rules
README
david at david-desktop:/etc/udev/rules.d$ sudo chown root.root 
[sudo] password for david: 
david at david-desktop:/etc/udev/rules.d$ sudo chmod 0644 55-scanner.rules
david at david-desktop:/etc/udev/rules.d$ ls -l /etc/udev/rules.d
total 16
-rw-r--r-- 1 root root 1362 2009-06-07 13:06 55-scanner.rules
-rw-r--r-- 1 root root  459 2009-05-28 21:51 70-persistent-cd.rules
-rw-r--r-- 1 root root  392 2009-05-28 20:19 70-persistent-net.rules
-rw-r--r-- 1 root root 1398 2009-04-09 01:19 README
david at david-desktop:/etc/udev/rules.d$ 

After re-boot i get:

david at david-desktop:~$ ls -l /dev/sg2
crw-rw---- 1 root users 21, 2 2009-06-10 20:01 /dev/sg2
david at david-desktop:~$ 

In addition:

david at david-desktop:~$ cd
david at david-desktop:~$ touch dummy
david at david-desktop:~$ ls -l dummy > out
david at david-desktop:~$ rm dummy
david at david-desktop:~$ 

with contents of out being:

-rw-r--r-- 1 david david 0 2009-06-10 20:11 dummy

Please let me know if i made a mistake! :-)

Regards

Dave

On Mon, 2009-06-08 at 20:26 +0200, Dr. Ing. Dieter Jurzitza wrote: 
> Hi David,
> sorry, I am not a native speaker, so there is always a risk for me to be 
> unclear. What I meant to say was "set the permissions of 55-scanner.rules 
> identical to those of the other files". So, 70-persistent-cd.rules tells "0644 
> root.root, so do a
> 
> chown root.root 55-scanner.rules
> chmod 0644 55-scanner.rules
> 
> but I am afraid this will not resolve all issues because I think the actual 
> permissions are not of real importance. However, please try as a first step.
> 
> After reboot, the device /dev/sg2 should show (given that /dev/sg2 is related 
> to your scanner!)
> 
> crw-rw---- root users XXXXXXX /dev/sg2
> 
> XXXXXX stands for "other output" Please check this first and let me know. In 
> parallel you should do a:
> 
> cd
> touch dummy
> ls -l dummy > out
> rm dummy
> 
> and send me the contents of "out", as I need to make sure that the permissions 
> of "david" are david.users. Here it shows:
> 
> -rw-r--r-- 1 fred users 0  8. Jun 20:21 dummy
> 
> Given this, we'll proceed :-)
> 
> Take care
> 
> 
> 
> Dieter
> 
> Am Montag 08 Juni 2009 09:51:44 schrieben Sie:
> > Hello Dieter
> >
> > I placed the file in the location you suggested, but i wasn't sure how
> ******
> 




More information about the sane-devel mailing list