I would read up some code in /dev/usb and see how others did theirs.
I would also read the Dynamic Kernel Linker by Andrew Reiter
http://www.daemonnews.org/200010/blueprints.html, and the white paper by zep
software
http://www.zepsoftware.com/whitepapers/bsd_devtree.php.
That's how I wrote my
Hello,
I stumbled on a problem that I need some suggestion to continue tracking
where the problem is.
I started a tip session to the usb port, after typing two characters, any
more input returned TS_BUSY.
I noticed that this problem also exists when I do a 'cat junk /dev/ucom0'.
After two
TYPO --dig-- should be *dug*.
- Original Message -
From: Rita Lin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 5:39 PM
Subject: Is it possible to lose a xfer request queued using usbd_transfer()?
Hello,
I stumbled on a problem that I need some suggestion
But I don't understand the whole issue you have.
Just schedule a request and wait for the device to ack.
The Host controller does the polling for you as long as the request is
queued and the timeout value supplied with the request did not time out.
That has nothing to do with FreeBSD - it's
Igh - that sounds like a very bad device design then.
There would have been lots a ways to do in a clean way without
additional pipes - such as transfering 0 sized packets to trigger a
status inquiry or by adding status bytes in each packet.
For what purpose do you need to poll the status in
That is what I call a bad design.
You waste resources because the device designer did not take the
features he had available.
Okay, I guess so. There are also other minor things that I don't understand
why
the device is implemented the way it is. Since I don't make it, and I don't
work for
the
Hello,
I'm writing a USB driver for a device that does not have any interrupt. It only has
Bulk-in and Bulk-out. A periodic polling status from default pipe is required to have
a smooth data transfer. I used timeout() routine to call usbd_do_request() for
polling. I thought maybe timeout() is
7 matches
Mail list logo