Subject: usb ioctls
To: None <tech-userlevel@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: tech-userlevel
Date: 10/13/2000 14:47:13
I'm trying to port this snippet of USB-frobbing code from linux.

      uint ep;  
      ret = ioctl(fd, IOCTL_USB_CLEAR_HALT, &ep);

Is there a netbsd hook for doing this?  Are USB halts normally cleared
automatically?

In case anyone cares, this is for the Nikon Coolpix 990 usb interface.
The camera seems to abuse the USB spec and asserts a halt after every
command (perhaps as a way of delimit output???).

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/