USB Scanner Permission Problem

Gerry Tool gstool at earthlink.net
Fri Nov 19 18:30:38 UTC 2004


Tim Waugh wrote:

>On Fri, Nov 19, 2004 at 11:34:00AM -0600, Gerry Tool wrote:
>
>  
>
>>No cigar.  I plugged in a USB flash drive, rebooted, tried opening the 
>>scanner in Gimp, and it says No devices available as it always does 
>>until I run my fixscan script that changes permissions.
>>    
>>
>
>Could you add yourself to the CC for bug #121511 if you haven't
>already done so?  Also it would be good if you could add a comment
>saying whether /dev/usb exists in the above scenario, and if so what's
>in it -- also whether libusbscanner is still in 'ps axf' output.
>
>Tim.
>*/
>  
>
Done, Here is my comment added to the bug:

Scanner (Epson 1240U) still not detected for me with latest rawhide 
sane-backends and hotplug installed.

[root at gstpc-fc3 ~]# rpm -q sane-backends
sane-backends-1.0.15-2
[root at gstpc-fc3 ~]# rpm -q hotplug
hotplug-2004_04_01-10

Scanner is not recognized until I execute a script to change 
permissions, even if another USB device (USB flash drive) is active.

[root at gstpc-fc3 ~]# ls /dev/usb
ls: /dev/usb: No such file or directory
[root at gstpc-fc3 ~]# ps axf | grep sleep
 4124 ?        S<     0:00  |               \_ sleep 1
 4126 pts/2    S+     0:00          \_ grep sleep
[root at gstpc-fc3 ~]# ps axf | grep libusbscanner
 1336 ?        S<     0:00  |           \_ /bin/bash 
/etc/hotplug/usb/libusbscanner
 4132 pts/2    S+     0:00          \_ grep libusbscanner

I try to Acquire in Gimp at this point, and it fails to find scanner.

[root at gstpc-fc3 ~]# cat /usr/local/bin/fixscan
chmod a+w /proc/bus/usb/003/002
[root at gstpc-fc3 ~]# fixscan

Acquire with Gimp now works.  No change in above queries.

[root at gstpc-fc3 ~]# ls /dev/usb
ls: /dev/usb: No such file or directory
[root at gstpc-fc3 ~]# ps axf | grep sleep
 4210 ?        S<     0:00  |               \_ sleep 1
 4212 pts/2    R+     0:00          \_ grep sleep
[root at gstpc-fc3 ~]# ps axf | grep libusbscanner
 1336 ?        S<     0:00  |           \_ /bin/bash 
/etc/hotplug/usb/libusbscanner
 4219 pts/2    S+     0:00          \_ grep libusbscanner

Gerry




More information about the fedora-list mailing list