HEADSUP new usb code coming in.
stefan.lambrev at moneybookers.com
Tue Aug 19 20:36:23 UTC 2008
Kevin Oberman wrote:
>> Date: Tue, 19 Aug 2008 12:44:13 -0700
>> From: Alfred Perlstein <alfred at freebsd.org>
>> Sender: owner-freebsd-current at freebsd.org
>> After a long period of review and testing I am on the verge of
>> committing Hans Peter's new usb stack to -current.
>> The patchset requires a SMALL _493_ line diff to the main code,
>> mostly bug fixes to arm. And then a large number of new files
>> for the usb system.
>> The new usb system will be committed as separate files with
>> the intention of folding them over the old files before the
>> 9.0 release.
>> The diff to the main files is here:
>> The whole diff, including new files is here:
>> Q. Has this been reviewed?
>> A. Yes, pretty strongly by myself and we've consulted with
>> various others, Warner, Scott and Andrew for review/testing.
>> I wouldn't say that Warner or Scott have given full review
>> but just about all questions have been answered.
>> Q. Can we change the name from "usb2_" to my favorite name?
>> A. No. This is for a short period, stop being so annoying.
>> Q. What about the old usb code?
>> A. What about it? :D
>> Q. What about ttys?
>> A. I don't know, we'll address the mpsafe aspects of ttys shortly,
>> Hans is very responsive to SMP issues.
>> Q. Shouldn't you wait?
>> A. Wait for what? No.
>> Q. I have some whitespace nits, can you do those?
>> A. No. It's a 100k line diff and a 3meg delta, we tried really hard
>> to get all whitespace right, but you're welcome to point things out after
>> the commit.
> Cool! I've been waiting for this for a loooooong time. Thanks to you,
> Hans Peter and all of the folks who have helped!
> Not on the FAQ:
> Q: Other then no longer requiring giant [MPSAFE], what does usb2 give
I'm using usb4bsd on 7-stable even before 7R. It fixes few known kernel
panics for me.
I had a bad experience with base usb + GPRS card from vodafone which
works on pcmci slot but
is detected as usb device. I'm sure this is not the only improvement :)
> Does it fix the battery-eating on laptops? Does it allow the
> system to reach C3 and lower sleep states? (These are at least
> closely linked issues.)
> I have not been running current for a while and this might be enough
> incentive to get me to kick the tires.
More information about the freebsd-usb