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