[haiku-inc] Re: [haiku-mentors] Mentor needed for Haiku contract on USB3 support

  • From: Akshay Jaggi <akshay1994.leo@xxxxxxxxx>
  • To: haiku-inc@xxxxxxxxxxxxx
  • Date: Thu, 30 Jun 2016 19:55:40 +0530

Ahoy Everyone,

I'm sorry I couldn't update my status on the contract. I went radio-silence
for a while, got caught up in the aftermath of an armed robbery at my
place, and a lot of other things, but I am extremely sorry to keep everyone
waiting on this.

While we were discussing the possibility of two contracts going on at once
(since some other contract was already in pipeline) and the arrangement for
funds, I applied for Google Summer of Code, assuming there were pretty low
chances of getting this through, and this would be my last chance to
participate in the GSoC program.
I'm working with FreeBSD, writing a user-space device for Xen Grant Tables.
I was writing a progress update blog
<http://akshayjaggi.me/blog/gsoc-freebsd-xen-progress-report/>, and was
very much on time, but was thrown off-track because of some incidents that
happened.
I had planned on starting work mid-July onwards, but for now it is on an
indefinite hold.

Answering Jerome's concerns:

On 29 June 2016 at 13:56, Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
wrote:

On 29 June 2016 at 09:47, Jérôme Duval <jerome.duval@xxxxxxxxx> wrote:
Hi,

I know it's a bit late, but I'd like the USB 3 contract to be
reconsidered or suspended.

Let me explain: First I investigated this week the XHCI driver
problems I met on a target controller, the processing of completed
transfer events isn't implemented yet. Investing some more time, an
improvement patch could be delivered before the end of the week.



   - An improvement patch can surely be sent, but it won't be robust USB3
   support.
   - The layers above the XHCI driver are not USB3 compatible. This causes
   issues, for example, non-root-hub USB3 devices don't work under the current
   driver. It gets even more complex, AFAIR, on my machine, the USB3 root-hub
   was connected to two hubs, one USB2 serving the USB2 ports on the computer,
   and one USB3 hub serving the USB3 ports, and hence no device could work.
   - There are a lot of minor bugs in the current XHCI driver. The host
   controller on Intel LynxPoint wasn't starting because we were resetting the
   wrong bit. Similarly there were other errors in constants here and there
   (refer my previous commits). I believe these are the reasons for other
   errors we are seeing, like missed keystrokes and movements of mouse,
   filesystem corruption on connected thumb drives, etc.



Then after looking again at the contract technical proposal, I'm not
convinced this is what Haiku needs, ie the lack of specific goals to
achieve, the general wording. Sure there are tons of things missing or
to be fixed, but to me this isn't a good use of our funds (and
mentoring time in the case of Alexander).


Acknowledged. This was a very initial draft that I shared, to get the
discussion moving on whether a contract is possible, and the scope of
things that I am planning to work on. I didn't write the complete thing
because I was a bit worried about the fate of the contract, especially
since another contract was going on. Please do not worry, I'll surely send
forth a version with a list of specific goals (specific but preliminary, as
a lot of stuff to be done will get more clarity as we dive in to the work)
before the start of my contract.



Unless this fixes USB3 support for most of our users, we still need to
get functional USB3 support out the door. Perhaps the contract could
do with some revisions, if you have some ideas of what should be in
there :-)


In my opinion, robust USB3 support on Haiku does require more work than
improvement patches.
Ideas, comments, all are surely welcome. The draft is open to comments! :)

I might not be able to reply on mail, but I surely reply to all messages on
Hangouts/Whatsapp(+91-888-678-7185).

Regards,
Akshay Jaggi

Other related posts: