Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 13:46:03 +1100 (EST)
From:      Andrew Cagney <cagney@tpgi.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/10663: hpscan doesn't like 3.1's pt device
Message-ID:  <199903190246.NAA63230@andrew1.lnk.telstra.net>

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

>Number:         10663
>Category:       kern
>Synopsis:       hpscan doesn't like 3.1's pt device
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 18:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:

FreeBSD b1.cygnus.com 3.1-RELEASE FreeBSD 3.1-RELEASE #3: Thu Mar 18
19:43:54 EST 1999 cagney@b1.cygnus.com:/usr/src/sys/compile/B2pcm i386

I've added bktr et.al., pcm, cam* and pt devices to the kernel.

pt0 at ahc0 bus 0 target 2 lun 0
pt0: <HP C5110A 3701> Fixed Processor SCSI-2 device 
pt0: 3.300MB/s transfers

>Description:

	hpscan doesn't work with 3.1's version of the pt driver.
	It worked just find with 2.2.8 (yes I did re-compile it
	:-):

cagney@b1.cygnus.com$ hpscan
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
scanner_send: Operation not supported by device
Floating point exception
cagney@b1.cygnus.com$ ls -l /dev/scanner
lrwxr-xr-x  1 root  wheel  3 Mar 18 23:12 /dev/scanner -> pt0
cagney@b1.cygnus.com$ ls -l /dev/pt0
crw-rw-rw-  1 root  wheel   61,   0 Mar 18 21:34 /dev/pt0

	Looking at the code it would appear that the pt driver
	received a serious re-write in moving from 2.2.8 to 3.1 :-)

	The above error is from a failed IOCTL on the device.


>How-To-Repeat:

	See above, e-mail me.

>Fix:
	
	Workaround:

	Switch to the ``sane'' scanner but then find that that has
	other problems (do I really need ``chmod a+rw /dev/xpt0''? ;-).

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


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




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