View previous topic :: View next topic |
Author |
Message |
GentooMik Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 25 Nov 2004 Posts: 141
|
Posted: Thu Feb 10, 2005 9:54 am Post subject: Non Root Scanner <solved> |
|
|
Hello all
I have a question that would like some help with. It seems that during the boot process of (kernel-2.6.10-r6) coldplug does not give permissions back to none root. Once I am able to get inside gnome, what happens next is i have to unplug the scanner (non root) plug it back in and it coldplugs it for the (non root) user. My question is why does it not coldplug the device on boot but once in gnome unplug and replug it lets me see the scanner non root?
What is possibly missing in the configuration which causes the issue above. If anyone knows an answer surely let me know!
Thank You _________________ Attempt to Treat others, the way you would like to be treated yourself.
Last edited by GentooMik on Fri Feb 11, 2005 4:40 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GentooMik Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 25 Nov 2004 Posts: 141
|
Posted: Fri Feb 11, 2005 4:40 am Post subject: |
|
|
It seems I have solved the problem at my free time today. Here is what has to be done to get the usb scanner working under 2.6.10-r6 kernel (Works for me assume same for anyone with same issue). I have reposted from the Authors original manual, because my variation drops few steps and a bit different not by much though.
Quote: | My issue reposted:
My question is why does it not coldplug the device on boot but once in gnome unplug and replug it lets me see the scanner non root?
|
The issue was that Coldplug was forced to mount the scanner while in gnome and not from boot. That is because you need to now add the "Usb" filesystem to the /etc/fstab.
partially taken from:
(example assumes you have a VT82xxxxx motherboard with UHCI support).
1: Following the instructions first by making sure you do the first step:
Quote: | Configure the kernel: |
Quote: |
# cd /usr/src/linux
# make menuconfig
Device Drivers --->
USB support --->
<*> EHCI HCD (USB 2.0) support
< > OHCI HCD support
<*> UHCI HCD (most Intel and VIA) support
|
2: make.config:
Quote: |
make.config
Before emerging any packages, make sure you have the USE flag "usb" enabled in /etc/make.conf. If not, open it up with your favorite editor, and add "usb" to the "USE=" line.
The packages we will need are libusb, sane-backends and hotplug.
To check if you already have some of them installed, type:
# emerge -s libusb sane-backends hotplug |
3: Install packages:
Quote: |
Installation
Next, you will emerge the packages libusb, sane-backends and hotplug.
# emerge libusb sane-backends hotplug
[edit]
sane
If you have sane-backends installed, check to make sure that it is compiled with usb support.
Quick check: Was sane-backends compiled with the usb USE flag?
etcat -u sane-backends
|
4: Make sure you emerge hotplug and add it to the default runlevel:
Code: |
emerge hotplug
rc-update add hotplug default
/etc/init.d/hotplug start |
5: Make sure you emerge coldplug and add it to the default runlevel required now:
Code: |
emerge coldplug
rc-update add coldplug default
/etc/init.d/coldplug start
|
6: Add yourself to the scanner group:
In this step you must add yourself to the scanner group.
{ This could be done "3" ways }
1: The non gui method.
2: kde method frontend for users and groups configuration.
3: gnome method frontend for users and groups configuration.
I am a gnome (2. user and will tell it my way but you could do it using one or more of the methods listed above.
================ Follow these 3 steps exactly ==========
. 1. Click Applications
. 2. Click System Tools
. 3. Users and Groups (It will ask for root password provide it)
Next do method A or method B:
===============method A ===================
. Click or double click on your name.
. Click on groups look through the groups list on your left of "available groups".
. Scroll down to scanner (which was added likely by sane) and click add.
================method B===================
. Switch to tab groups
. Find the group scanner and click or double click on it. (do not change the default GID)
. Look to your left on "All users" find your username and others who you want to use the scanner click add. It will add the selected people to group members.
.
Next :
. click ok and click ok again to exit the program
7. Add a line to your /etc/fstab:
Code: |
# Scanner
none /proc/bus/usb usbfs defaults,auto,devmode=0666 0 0
|
8. You may try to logout and login it may / may not work or just reboot.
You will get some errors from usb:
Quote: |
chown: cannot access `/proc/bus/usb/001/003': No such file or directory
chmod: cannot access `/proc/bus/usb/001/003': No such file or directory [ ok ]
|
just ignore the error get into gnome and try the scanner it should work. _________________ Attempt to Treat others, the way you would like to be treated yourself. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|