You are not logged in.

#1 2011-09-18 12:11:21

gour
Member
From: Croatia
Registered: 2007-07-28
Posts: 67

[SOLVED]VueScan works only as root

Hello!

I've problem with VueScan which run only when launched as root.

If I install Sane package, then the device like this is created:

crw-rw-r--+  1 root scanner 189, 138 Sep 18 13:53 011

under:

/dev/bus/usb/002

I belong to the 'scanner' group, but VueScan still reports there is no scanner attached when running it as user.

I've even tried without Sane by creating my own local udev rule:

# Epson Perfection V700 scanner
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012c", MODE="0660", GROUP="scanner", SYMLINK+="scanner"

which I put at:

/etc/udev/rules.d/10-epsonv700.rules

but nothing changes, iow, Arch creates the following device node:

crw-rw-r--  1 root root 189, 140 Sep 18 14:00 013

which means that my local rule is not in effect since there is no

/dev/scanner

node created. hmm

Previously I used VueScan on my x86_64 machine and it worked normally under user account, but after migrating to FreeBSD for a few months and now returning back, there is problem. sad

Anyone can shed some light on it?

I've tried my udev rule with

SUBSYSTEM=="usb"

,but same thing.

Here is udevadm output which catches udev & kernel events:

[root@atmarama rules.d]# udevadm control --udev --kernel
control: unrecognized option '--udev'
control: unrecognized option '--kernel'
[root@atmarama rules.d]# udevadm monitor --udev --kernel
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[21442.689272] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-2 (usb)
KERNEL[21442.689413] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0 (usb)
UDEV  [21442.952829] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-2 (usb)
UDEV  [21442.953854] add      /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0 (usb)

Any advice?

Edit: I've solved the problem...I had old vuescan.ini which had defined 'File' as input and it was totally confusing VueScan reporting there is no scanner attached.

After rm-ing old vuescan.ini, everything is fine now. smile

Last edited by gour (2011-09-19 08:26:34)

Offline

Board footer

Powered by FluxBB