FreeBSD

USB

[PLEASE NOTE, THIS PATCH HAS BEEN COMMITTED TO RELENG_4 AND APPEARS IN ALL STABLE RELEASES FROM 4.10 ONWARDS. THERE IS NO NEED TO MANUALLY APPLY THIS PATCH ANYMORE]

The USB stack currently in -stable (everything up until 4.9-RELEASE) is badly broken with respect to attachement and detachment, etc. The stack in -current has been majorly improved, but not incorporated in the -stable branch yet.

The patch sets here allow users to take advantage of the new stack whilst we are addressing some problems that prevent it being MFC'd to stable just yet.

Patch sets

Download the one that is closest to the -stable date that you are using. Only the latest one is supported, and all -stable users are recommended to cvsup to RELENG_4 first before using the patch. If the latest patch doesn't apply cleanly please let me know as I probally need to roll another one.

Outstanding problems

Some users have reported a problem with OHCI chipset machines. The machine hangs during a kernel boot if there are any devices plugged into the USB bus. Booting the machine with the devices disconnected works, and after that the devices can be connected and disconnected at will without the same problem. My guess is that there are some missing spl()'s in the code. If anyone can figure this out please let me know. I've not got an OHCI chipset to test with.

The patch set doesn't include changes to the umass device, and there may be some issues with ethernet cards - please let me know.

TODO list

This list is a place for me to keep a list of my USB priorities:

Joe (joe@tao.org.uk)


$Id: index.html,v 1.1 2004/02/23 23:37:15 joe Exp joe $