Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 16:12:37 -0800 (PST)
From:      mjoyner@rv1.dynip.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24685: Enable PP mode in SANE
Message-ID:  <200101280012.f0S0CbL01297@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24685
>Category:       ports
>Synopsis:       Enable PP mode in SANE
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 27 16:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Joyner
>Release:        FreeBSD 4.2
>Organization:
RV1
>Environment:
FreeBSD host100 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Dec  4 21:49:30 EST 2000     root@:/usr/src/sys/compile/psychomouse  i386
>Description:
The sane backend software can't access parallel port scanners.
>How-To-Repeat:

>Fix:
Unfortunately I can't test the mustek_pp backend software properly.
I have a 1505 ASIC scanner, and there isn't support for that yet. :(

# rcsdiff -c -r1.1 -r1.2 sanei_pa4s2.c
===================================================================
RCS file: RCS/sanei_pa4s2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** sanei_pa4s2.c       2001/01/27 23:35:15     1.1
--- sanei_pa4s2.c       2001/01/27 23:37:45     1.2
***************
*** 58,63 ****
--- 58,70 ----
  #define BACKEND_NAME sanei_pa4s2
  #include "sane/sanei_backend.h"       /* pick up compatibility defs */

+ #ifdef __FreeBSD__
+ #define HAVE_IOPERM
+ #define ioperm i386_set_ioperm
+ #include <machine/sysarch.h>
+ #endif
+
+
  #ifdef HAVE_UNISTD_H
  #include <unistd.h>
  #endif          

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101280012.f0S0CbL01297>