Re: can't use my scanner as user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It would appear that on Jun 6, eric tanguy did say:

> >>
> >>
> >>I think there is a right problem somewhere but my scanner works fine in
> >> root but i can't use it as a user. Someone can help me ?
> >>
> >>
> > I assume a usb scanner. Try unplugging the scanner while you are logged
> > in as a normal user, then plug it back in again.
> >
> Yes it works like this. But i don't want to unplug and plug it back when i
> want to use it. What's the problem and how solve it ?
> thanxes
> Eric
> 

This has been discussed before, you may want to search the archives...

But from what I remember, somebody said there was a bug...

That causes a restrictive permission setting to occur every time you
boot. If you don't want to fiddle with unpluging and replugging your
scanner you might try a root command workaround.

First you need to find out exactly where your scanner is being mounted.
This was, I think, described in a previous message but I forgot the details.
(Actually I think I just poked around with mc till I found it...)
In my case, my usb scanner was being mounted as /proc/bus/usb/001/002
So _FOR_MY_SCANNER_ the root command to fix this was:

chmod 666 /proc/bus/usb/001/002

Which I put in a one line script in /root/bin/fixscan.

Since I usually have something to do as root in between booting and
needing the scanner anyway, my problem is solved by remembering to type:

# fixscan

I only need to do this once after every reboot. 

But I suppose it could be added to some start up script. Though I'm not
really sure how to do that. Perhaps someone who plays with such scripts
can recommend a good place to insert this so that the OP won't have to
remember to fix it as root after every boot????

- -- 
|   ---   ___
|   <0>   <->	   Joe (theWordy) Philbrook
|	^		J(tWdy)P
|    ~\___/~	     <<jtwdyp@xxxxxxxx>>

   ##############################################################
   # You can find my public gpg key at http://pgpkeys.mit.edu/  #
   ##############################################################

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAw9rqRZ/61mwhY94RAibiAJ0dvqfN0Cj1XT0p5WrSdCs5vt7JTACeIvdE
KX++qAuhHqet4Vx5L9G7TmA=
=oA+q
-----END PGP SIGNATURE-----



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux