Re: In on control endpoint

2008-05-14 Thread Steve Clark
Hans Petter Selasky wrote: On Monday 12 May 2008, Steve Clark wrote: Hello List, I have spent the afternoon going thru the usb code trying to figure out how to do a read on the control port (endpoint 80 ? ) instead of a write ( endpoint 0 ). I am still trying to emulate what the linux

Re: In on control endpoint

2008-05-14 Thread Steve Clark
Steve Clark wrote: Hans Petter Selasky wrote: Hi Steve, Can you send me a diff between the original file and the new one so that I can see where you inserted that code ? I suppose you inserted it at the wrong location. --HPS snip I have decided to try your new usb stack. I am

Re: In on control endpoint

2008-05-14 Thread Steve Clark
Hans Petter Selasky wrote: Hi Steve, Try this: static void ubsa_sierra_unlock(struct usbd_device *udev) { usb_device_request_t req; req.bmRequestType = UT_WRITE_VENDOR_DEVICE; req.bRequest = 0x0b; USETW(req.wValue, 0x0001); req.wIndex[0] = 0;

Re: sierra wireless compass 597 aircard (Was: Documentation)

2008-05-07 Thread Steve Clark
Fredrik Lindberg wrote: Marcin Cieslak wrote: It maybe a good idea to add 0xFFF to the usbdevs. Does the umass driver attach to the 0xFFF device? I would recommend adding this as a quirk to umass.c then. There are patches attached (ubsa.c_patch, umass_c.patch, usbdevs.patch) I am using to

Re: sierra wireless compass 597 aircard (Was: Documentation)

2008-05-05 Thread Steve Clark
Marcin Cieslak wrote: Steve Clark wrote: Is there any detailed documentation on the FreeBSD usb device driver api? This chapter helped me a lot to understand how this all works: http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/usb.html I sort of have it working by hacking

Documentation

2008-05-02 Thread Steve Clark
Hello, Is there any detailed documentation on the FreeBSD usb device driver api? TIA, Steve ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Documentation

2008-05-02 Thread Steve Clark
Hans Petter Selasky wrote: On Friday 02 May 2008, Steve Clark wrote: Hello, Is there any detailed documentation on the FreeBSD usb device driver api? TIA, Steve ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

sierra wireless compass 597 aircard

2008-04-25 Thread Steve Clark
Hello List, I am trying to get the above usb device to work on 6.x. It is a bit unusual in the fact that when it is first inserted it comes up in installer mode looking like a fake cd drive with the software on it for windoze. It has to have a control message sent to it to put it in modem