Problem with sgen driver.

From: Dr. David Kirkby (see_my_signature_for_my_real_address_at_hotmail.com)
Date: 11/11/03


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[597]: verbose: mknod
/devices/pci@1f,4000/scsi@3,1/sgen@4,0:scanner 0l/
3l/20600
devfsadm[597]: verbose: symlink /dev/scsi/scanner/c2t4d0 ->
../../../devices/pci
@1f,4000/scsi@3,1/sgen@4,0:scanner

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
libscg driver.

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
id's uncommented.

device-type-config-list="scanner";
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
address

I would add
1) probe-scsi-all finds the scanner.
2) I've tried with vold not running - that seems to screw most things
up.
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.



Relevant Pages

  • Re: Driver not loading...
    ... Next go to the Canon web site and download and install the newest ... Are there any yellow question marks in Device Manager? ... It then said that it was installing the driver and then it ... The printer function does work just fine but the scanner ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Fujitsu fi-4120C WIA problem
    ... > ScandAll to access the scanner using a TWAIN interface. ... If I then try to access the scanner using the WIA automation ... I plug in the scanner and install the latest driver from Fujitsu. ...
    (comp.periphs.scanners)
  • Re: HP 3300C Scanner
    ... HKEY_CURRENT_CONFIG / Enum / USB. ... The other question I have is which driver should I let XP ... install the first time, the one with oem or the 3300 ... >Uninstall the software and scanner as per the HP ...
    (microsoft.public.windowsxp.hardware)
  • Re: Scanner installed to wrong location?
    ... driver for it has not ... How do I install the scanner software in my PC? ... I still get a message about an unknown pci devise howver & I haven't any ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Add new hardware driver to Solaris 8 on a Compaq Proliant 1600
    ... Or does Solaris require the hardware ... won't load when the hardware isn't present. ... So I don't know how I would install ... the driver without the ability to read from the floppy. ...
    (comp.sys.sun.hardware)