xref: /netbsd/sys/dev/usb/TODO (revision bf9ec67e)
1Some things that need to be done:
2---------------------------------
3
4High priority:
5--------------
6
7On a short control transfer the status phase needs to be executed anyway.
8
9Allow interrupt out endpoints. (USB 1.1)
10
11Fix flow control in ucom (copy from com driver).
12
13Use some encapsulation in the upl driver to allow multiple protocols.
14
15Get the uezcom driver (with Doug Ambrisko's firmware) running.
16
17
18Bug reports:
19------------
20
21Bernd Ernesti's problem: host controller halted with umodem
22
23umass problem with Ricoh flash reader
24
25wskbd for X
26
27mel kravitz's problem, lockups with disk and printer
28
29Aaron's problem: Test aue with ohci.
30
31
32General:
33--------
34
35Figure out why uvisor is so slow.
36Try to get specs, and check if Linux driver is really right.
37
38Add lots of bus_dmamap_sync().
39
40Do bandwidth accounting.
41
42Use lock manager locks.
43
44Use the pool allocator for TDs et al.
45
46Throw out more USBDI gunk.
47
48Make hub driver notice transition between self and bus powered state.
49Some hubs change the number of available ports on this transition. :(
50Handle overcurrent conditions.
51
52Make it possible to open any device in a "generic" way, i.e., like ugen.
53Perhaps usbdevfs?
54
55Rotate the QHs for bulk transport to get fairer scheduling.
56
57Change HC drivers to queue multiple request for an endpoint
58to get better performance.
59
60Do memory deallocation when HC driver is detached.
61
62uaudio problems:
63	mixer names are awful, use some heuristics.
64	implement selector units
65	debug input
66	test with more devices
67
68Stylistic changes:
69	use usb_ and usbd_ consistently
70	rearrange the contents and names of some files (Nick)
71
72Use splsoftusb() or a thread to deliver callbacks.
73
74Add threads to the Ethernet drivers.
75
76Change what's done at watchdog timeout inb if_{a,c,k}ue.c; what we have
77now doesn't work because it's done in an interrupt context.
78
79Factor out the common code from the Ethernet drivers and reuse that.
80
81Rewrite HID driver to handle report IDs properly.  Perhaps there should
82be a hiddev to which hid with different IDs can attach?
83
84Get rid of hcpriv.
85
86Keyspan serial driver
87
88Clean up umass driver
89
90
91Documentation:
92--------------
93
94Document device driver API.
95
96Document HC driver API.
97
98Update ugen(4)
99