Getting a SCSI Scanner working with UDEV
Tony Pursell
ajp at princeswalk.fsnet.co.uk
Wed Feb 23 23:14:11 UTC 2005
On Wed, 2005-02-23 at 21:29 +0100, Vincent Trouilliez wrote:
> Hi Tony,
>
> I don't if there is a particular problem with your Scanner, but
> generally speaking, I would say that SCSCI scanner work.
>
> I have got an old SCSI AGFA SnapScan 1236 scanner, and it works
> perfectly.
>
> As you pointed out though, the devices are not created.
> all I had to do was load the 'sg' device.
>
> Ad 'sg' (minus quotes) to the file /etc/modules so that it's loaded at
> boot.
> Until you reboot, you can load the module with: "sudo modprobe sg"
>
> Then you should be able to start xsane : "sudo xsane"
> You have to be root when you start Xsane, or it won't find the scanner.
> Supposedely if you add youserlf to the 'scanner' group, you should be
> able to start it as a normal user, but that doesn't work for me. I
> always must start it as root.
> Haven't tried it with Hoary though, maybe it's been fixed by now.
>
> HTH
>
> Vince
>
>
Thanks, Vincent. Adding sg to /etc/modules got /dev/sg0 created OK. If
you then edit the appropriate entry in
/etc/udev/permissions.d/udev.permissions
to change the group for sg0 to scanner, xsane will run as a normal user
- well, sort of. Problem is you get errors when you quit xsane (Failed
to create file: permission denied - 3 times) so there is still some kind
of permission problem. But that's another day's problem. I'm off to
bed now.
Thanks again.
Tony
More information about the ubuntu-users
mailing list