Problem with sgen driver.
From: Dr. David Kirkby (see_my_signature_for_my_real_address_at_hotmail.com)
Date: 11 Nov 2003 12:17:18 -0800
I used to use a scanner on my Sun Ultra 80 with Jorg Schilling's
libsgc SCSI driver. I just installed the latest Solaris release and
found I could not get that to work as expected.
So I decided to try the other option suggested in the documentation
for the 'sane-backends' scanner software, which is to use Sun's sgen
driver. However, that would not load at all.
Given I'd just unsuccessfully installed the libscg driver, and I'd
only just installed Solaris, I decided to do a fresh install of
Solaris (again version 9, release 4) and install Sun's sgen driver as
soon as the OS was installed.
The installation of the sgen driver seemed to go okay after I'd
uncommented the relavant lines in /kernel/drv/sgen.conf file:
# devfsadm -v -i sgen
devfsadm: verbose: mknod
devfsadm: verbose: symlink /dev/scsi/scanner/c2t4d0 ->
modinfo showed an Id of 170 for sgen. However, the scanner software
was unable to find a scanner, despite the fact I know the scanner was
working less than a week ago on the first release of Solaris 9 and the
I removed the driver with modunload, edited the /kernel/drv/sgen.conf
file to have just his - privously I had 'processor' and all the scsi
name="sgen" class="scsi" target=4 lun=0;
So I tried once again with sgen.
# devfsadm -v -i sgen
but this time there is nothing on stdout output. However, modinfo
shows the driver has loaded - again with an Id of 170.
The 'sane-find-scanner' program in the sane-backeds softare (I've
tried 1.0.7, the 1.0.8 that did work + the latest
sane-backends-1.0.13-pre2) is still unable to find a scanner.
I'm pretty convinced there is nothing there, as even cating the device
file gives no output:
sparrow # cat /dev/scsi/scanner/c2t4d0
cat: input error on /dev/scsi/scanner/c2t4d0: No such device or
I would add
1) probe-scsi-all finds the scanner.
2) I've tried with vold not running - that seems to screw most things
3) cdrecord -scanbus can't find the scanner either.
4) Needless to say I've rebooted several times, done boot -r's etc.
but with no luck.
5) Looking around the web, I'm not the first to hit the problem and I
don't see any solutions that have not been attempted in my case.
Given I've just installed Solaris 9 release 4 from the August 2003
release, I'm going to get any patches and try that, but does anyone
have any other suggestions ?
Dr. David Kirkby - please reply to the newsgroup - I've all but given
up reading email due to spam.