Subject: Re: usb ioctls
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-userlevel
Date: 10/13/2000 23:58:05
Wolfgang Rupprecht wrote:

> 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?

For better or for worse, the endpoint stalls are cleared automagically
in NetBSD.  It's questionable if this is the right thing to do.


> 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???).

Uck!!!

--

        -- Lennart