On Tuesday 23 November 2004 09:44, Fergus Wilde wrote: An updated version of resmgr just became available via YOU - doesn't make any difference to the problem, scanner function starts exactly every other time that kooka is started.
Hello again Johannes / interested parties,
On Tuesday 23 November 2004 09:13, Fergus Wilde wrote:
On Monday 22 November 2004 15:27, Johannes Meixner wrote:
Hello,
On Nov 22 14:42 Fergus Wilde wrote (shortened):
Kooka works ... as root ... But will not work as user.
USB scanner access for normal users should work well since 9.2, see http://portal.suse.com/sdb/en/2004/10/jsmeix_scanner-setup-92.html
Hi Johannes - thanks for the link. My scanner isn't working out of the box for regular users, certainly: the problem seems to be soluble by changing the ownership of the proc files:
pc11:/home/fergus # ls -l /proc/bus/usb/001/* -rw-r--r-- 1 root root 43 2004-11-23 08:34 /proc/bus/usb/001/001 -rw-r--r-- 1 root root 50 2004-11-23 08:37 /proc/bus/usb/001/002
and after I do pc11:/home/fergus # chown fergus:users /proc/bus/usb/001/*
I can then access the scanner via Kooka just fine. So something about the PAM / resmgr part of the setup isn't working right in the default install?
<snip all posted logs>
For now I am going to implement Miquel Noguera's suggestion of doing this in /etc/fstab to see if it fixes the problem:
usbfs /proc/bus/usb usbfs defaults,devmode=0666 0 0
But I imagine this isn't as secure as what you outline in your support article. I don't think I know enough about PAM or resmgr to fix that without help though.
Changing the devmode to the devmode of the beast as outlined above produces the following result: kooka now starts working _exactly every other time_ it is started. on occasions A,C,E, etc, it starts in seconds and doesn't work. On occasions B,D,F, etc it starts after struggling for about a minute and then I can scan.
So something somewhere is toggling its ability to function correctly on each instance of being started and exited - who, what where, how do I fix this?
What a pity the perfect functioning of the 2.4 series was binned. Cheers Fergus
Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/