NetBSD/sys/dev/usb/TODO

105 lines
2.2 KiB
Plaintext

Some things that need to be done:
---------------------------------
Before 1.5:
-----------
Reset toggle on SET_INTERFACE (USB 1.1)
Allow interrupt out endpoints. (USB 1.1)
Fix flow control in ucom (copy from com driver).
Handle CLEAR_ENDPOINT_STALL centrally.
Use some encapsulation in the upl driver to allow multiple protocols.
Get the uezcom driver (with Doug Ambrisko's firmware) running.
Bug reports:
------------
Chris Jones' problem: works in 1.4.2, not in -current
Bernd Ernesti's problem: host controller halted with umodem
umass problem with Ricoh flash reader
wskbd for X
mel kravitz's problem, lockups with disk and printer
Aaron's problem: Test aue with ohci.
General:
--------
Figure out why uvisor is so slow.
Try to get specs, and check if Linux driver is really right.
Translate UFI commands?
Add lots of bus_dmamap_sync().
Do bandwidth accounting.
Use lock manager locks.
Use the pool allocator for TDs et al.
Throw out more USBDI gunk.
Make hub driver notice transition between self and bus powered state.
Some hubs change the number of available ports on this transition. :(
Handle overcurrent conditions.
Make it possible to open any device in a "generic" way, i.e., like ugen.
Perhaps usbdevfs?
Rotate the QHs for bulk transport to get fairer scheduling.
Change HC drivers to queue multiple request for an endpoint
to get better performance.
Do memory deallocation when HC driver is detached.
uaudio problems:
mixer names are awful, use some heuristics.
implement selector units
debug input
test with more devices
Stylistic changes:
use usb_ and usbd_ consistently
rearrange the contents and names of some files (Nick)
Use splsoftusb() or a thread to deliver callbacks.
Add threads to the Ethernet drivers.
Change what's done at watchdog timeout inb if_{a,c,k}ue.c; what we have
now doesn't work because it's done in an interrupt context.
Factor out the common code from the Ethernet drivers and reuse that.
Rewrite HID driver to handle report IDs properly. Perhaps there should
be a hiddev to which hid with different IDs can attach?
Get rid of hcpriv.
Keyspan serial driver
Factor out comon code in network drivers.
Documentation:
--------------
Document device driver API.
Document HC driver API.
Update ugen(4)