summaryrefslogtreecommitdiff
path: root/sys/dev/usb/TODO
blob: 1028a69856198be74f9af97986e09ab3fe20526f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
$OpenBSD: TODO,v 1.15 2007/06/09 12:17:38 mbalmer Exp $

Some things that need to be done:
---------------------------------

High priority:
--------------

On a short control transfer the status phase needs to be executed anyway.

Allow interrupt out endpoints. (USB 1.1)

Fix flow control in ucom (copy from com driver).

Use some encapsulation in the upl driver to allow multiple protocols.

Get the uezcom driver (with Doug Ambrisko's firmware) running.


Bug reports:
------------

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.

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

Clean up umass driver


Documentation:
--------------

Document device driver API.

Document HC driver API.

Update ugen(4)