Scannerusage on SUN Ultra (64 Bit)
"Jurzitza, Dieter" <[email protected]> Wed, 15 Jan 2003 06:32:17 +0100
| Newsgroups | gmane.linux.suse.sparc |
|---|---|
| Message-ID | <[email protected]> |
Hi all / to whom it might concern,
with a lot of help from the friendly guys from the sane team I tracked down
an issue with scanning on SUN Ultra 64 bit systems.
Whoever wants to attach a SCSI-scanner to any of those systems will
definitively fail.
As a workaround: take the attachement, take the sane sources from the SuSE
8.1 PC distribution (this is the one I tested,
patch sane-backends-1.8/sanei/sanei_scsi.c,
rebuild your rpm (or however you would like to do it) and here you go!
Take care
Dieter Jurzitza
--
________________________________________________
HARMAN BECKER AUTOMOTIVE SYSTEMS
Dr.-Ing. Dieter Jurzitza
Manager Hardware Systems
ESI
Industriegebiet Ittersbach
Becker-Göring Str. 16
D-76307 Karlsbad / Germany
Phone: +49 (0)7248 71-1577
Fax: +49 (0)7248 71-1216
eMail: [email protected]
Internet: http://www.becker.de
> -----Original Message-----
> From: Jurzitza, Dieter
> Sent: Tuesday, January 14, 2003 3:49 PM
> To: 'Thorsten Kukuk'
> Cc: '[email protected]'
> Subject: RE: Scannereinsatz auf SUN Ultra (64 Bit)
>
>
> Sorry,
> habe das Attachement vergessen ...
> MfG
>
>
> Dieter Jurzitza
>
>
> --
> ________________________________________________
>
> HARMAN BECKER AUTOMOTIVE SYSTEMS
>
> Dr.-Ing. Dieter Jurzitza
> Manager Hardware Systems
> ESI
>
> Industriegebiet Ittersbach
> Becker-Göring Str. 16
> D-76307 Karlsbad / Germany
>
> Phone: +49 (0)7248 71-1577
> Fax: +49 (0)7248 71-1216
> eMail: [email protected]
> Internet: http://www.becker.de
>
>
> > -----Original Message-----
> > From: Jurzitza, Dieter
> > Sent: Tuesday, January 14, 2003 3:17 PM
> > To: 'Thorsten Kukuk'
> > Cc: '[email protected]'
> > Subject: Scannereinsatz auf SUN Ultra (64 Bit)
> >
> >
> > Hallo Herr Kukuk,
> ***
>
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
sanei_scsi.c.diff
(application/octet-stream, 462 B)
--- sanei_scsi.c.original Tue Jan 14 14:50:25 2003
+++ sanei_scsi.c Tue Jan 14 14:20:11 2003
@@ -280,6 +280,11 @@
#define SCSIBUFFERSIZE (128 * 1024)
#endif
+/* make things work on 64 Bit sparc systems */
+#ifdef __sparc__
+#undef SG_IO
+#endif /* sparc */
+
/* the struct returned by the SG ioctl call SG_GET_SCSI_ID changed
from version 2.1.34 to 2.1.35, and we need the informations from
the field s_queue_depth, which was introduced in 2.1.35.