Bug 32652

Summary: [uscanner] [patch] A new ioctl to uscanner
Product: Base System Reporter: ebakke <ebakke>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ebakke 2001-12-09 21:10:00 UTC
	Add support for new AGFA scanners to uscanner: Ref: kern/32649
	SnapScan 1236U
	SnapScan e20
	SnapScan e25
	SnapScan e26
	SnapScan e40
	SnapScan e50
	SnapScan e52

	This patch also adds support for a new IOCTL to uscanner.
	USB_GET_DEVICE_ID is intended to make it easier to query for
	the vendor and product IDs, and facilitates the use of USB
	scanners with the sane port.
	A patch for ports/graphics/sane-backends to use the ioctl is
	on its way.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2001-12-10 11:58:46 UTC
Responsible Changed
From-To: freebsd-bugs->n_hibma

Nick, could you take a look at the new ioctl?  kern/32649 is already 
committed.
Comment 2 joe freebsd_committer freebsd_triage 2002-02-14 02:40:01 UTC
Responsible Changed
From-To: n_hibma->joe

I'll take a look at this.
Comment 3 anders 2002-02-20 01:23:28 UTC
Hello,

Can we have this committed please, pretty please with sugar on the top?
:)

This patch (+modifying the uscannerioctl function parameters to the
original definition in CVS) makes scanning from my AGFA SnapScan 1212u
work in -stable. Yay!

Regards,

-- 
Anders.
Comment 4 joe freebsd_committer freebsd_triage 2004-11-10 11:03:08 UTC
Responsible Changed
From-To: joe->freebsd-usb

Hand this over to the usb mailling list.
Comment 5 Alexander Leidinger freebsd_committer freebsd_triage 2006-01-08 14:21:35 UTC
State Changed
From-To: open->feedback

The support for the AGFA scanners is already present in uscanner.c 
(FreeBSD -current). 

Is the ioctl part (and PR 32653) still needed with a recent 5.x or 
6.x version of FreeBSD and a recent version of SANE? If yes, why?
Comment 6 Anders Nordby freebsd_committer freebsd_triage 2006-02-24 12:06:17 UTC
State Changed
From-To: feedback->closed

Scanning with USB scanners works fine in FreeBSD 6.0-RELEASE. 
The uscannerioctl doesn't help identifying the scanner(s) when using 
sane anymore. 
End of case. Close this PR.