Getting a SCSI Scanner working with UDEV

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Wed Feb 23 20:29:59 UTC 2005


> Hi
> 
> Does anyone know if there is a problem with UDEV handling SCSI devices
> correctly.  I have an Epson GT-7000 scanner which has a SCSI connection.
> There should be a /dev/sg* device for it in /dev, which would be created
> by UDEV, but there isnt.  
> 
> I suppose what I want to know is if it is real non-starter because the
> work hasn't been done in UDEV yet for this kind of device, or if there
> is some thing that needs configuring, e.g. in the hotplug subsystem to
> get the dev file created under /sys.
> 
> Tony Pursell

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





More information about the ubuntu-users mailing list