:: Re: [DNG] vdev - scanner
Góra strony
Delete this message
Reply to this message
Autor: fsmithred
Data:  
Dla: aitor_czr, dng
Stare tematy: Re: [DNG] vdev
Temat: Re: [DNG] vdev - scanner
On 08/15/2016 01:36 PM, aitor_czr wrote:
>
>
> On 08/15/2016 07:12 PM, fsmithred wrote:
>> More testing:
>>
>> Scanner (ScanMaker 4800) is not found by xsane. If I boot with udev
>> instead of vdev, scanner works normally.
>>
>> I installed live-boot, live-config, live-boot-initramfs-tools,
>> live-config-sysvinit, and at the end of the installation, when it tried to
>> run update-initramfs, it failed. I forget what the error was.
>> Note: I did not install live-tools, which diverts update-initramfs.
>> Then I went back into /root/vdev-initramfs-tools and ran make-initramfs.sh
>> again, and the live-* stuff got incorporated. I expect I'll be making a
>> live iso later today.
>>
>> -fsr
>
> Ok, thanks :)
>
> Aitor.
>
>
>


I got the scanner working.

If I boot with udev, the scanner works, and the permissions on the device
look like this:

ls -l /dev/bus/usb/002/
crw-rw-r--+ 1 root root 189, 137 Aug 16 10:30 010

and with vdev, it looks like this:
crw------- 1 root root 189, 131 Aug 16 10:39 004

I changed the permissions and added myself to the scanner group (oops!)
and now xsane finds the scanner when I'm running vdev. I hope someone
knows what to do with this information, because I'm in new territory here.
(and I don't know C.)

If udevadm output for the scanner would help, I'll post it. The udev rules
for scanners are in /lib/udev/rules.d/60-libsane.rules

-fsr