Re: [PATCH 3/8] usb/dummy_hcd: always create the usb3 port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tanya Brokhman wrote:
Hi Sebastian,
Hi Tanya,

I don't get this. It is exact the same behavior like we have for real
hardware. It tries to connect at the highest possible speed. You can
argue about enable/disable SS/HS for debugging / developing & testing.
But
it should be the default behavior to bind an SS gadget to 3.0 hcd since
this is the what happens on 3.0 hardware. Without additional hacks i.e.
module arguments.


Agreed, but the above should be accomplished by setting the is_super_speed
parameter default value to TRUE, not by always registering SS hcd. It seems
a bit difficult to argue with the fact that if is_super_speed=false SS HCD
will never be used :) thus it seems logical not to register it as well.

Well, it only makes sense if we want to keep this option to force the udc
to certain speed which less than what it would choose by itself.
And then the question poped if we want to have global knob for it or not.

Right now the default value of is_super_speed parameter is FALSE because at
the moment most of the existing gadget drivers don't support superspeed.
I think that changing it to TRUE won't cause any harm since now gadget
drivers report their maximum_supprted_speed and are enumerated according to
that. But it's up to Felipe to decide if this change is ok at this point.

It would be nice to have this done before we have a release out because
people might argue about this being an ABI or so.

Thanks,
Tanya Brokhman

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux