Re: Gadget driver & virtual hub

2017-05-27 Thread Alan Stern
On Sun, 28 May 2017, Benjamin Herrenschmidt wrote: > Hi ! > > So I'm toying a bit with the gadget subsystem, writing an UDC driver > for the Aspeed BMC SoC. > > One thing this HW does (which I'm not yet enabling) is that it can > show as a virtual hub with up to 5 devices underneath. > > The hu

Gadget driver & virtual hub

2017-05-27 Thread Benjamin Herrenschmidt
Hi ! So I'm toying a bit with the gadget subsystem, writing an UDC driver for the Aspeed BMC SoC. One thing this HW does (which I'm not yet enabling) is that it can show as a virtual hub with up to 5 devices underneath. The hub and each device has independent EP0's, and there's a pool of 15 "gen

Re: [PATCH v5] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Guenter Roeck
On 05/27/2017 01:52 PM, Badhri Jagan Sridharan wrote: User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type

[PATCH v5] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Badhri Jagan Sridharan
User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type is not supported. Signed-off-by: Badhri Jagan Sridhara

Re: [PATCHv4] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Badhri Jagan Sridharan
On Fri, May 26, 2017 at 10:43 PM, Greg Kroah-Hartman wrote: > On Fri, May 26, 2017 at 01:42:57PM -0700, Badhri Jagan Sridharan wrote: >> User space applications in some cases have the need to enforce a >> specific port type(DFP/UFP/DRP). This change allows userspace to >> attempt setting the desir

Re: [PATCH v4] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Badhri Jagan Sridharan
Thanks Geunter for comments. Will fix them in my next patch. On Fri, May 26, 2017 at 7:24 PM, Guenter Roeck wrote: > On 05/26/2017 04:07 PM, Badhri Jagan Sridharan wrote: >> >> User space applications in some cases have the need to enforce a >> specific port type(DFP/UFP/DRP). This change allows

[PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk

2017-05-27 Thread Corentin Labbe
When plugging an USB webcam I see the following message: [106385.615559] xhci_hcd :04:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk? [106390.583860] handle_tx_event: 913 callbacks suppressed With this patch applied, I get no more printing of this message. Sig

Re: kernel does not receive any USB3.0 plug/unplug events from the Renesas upd720202 chipset

2017-05-27 Thread Xavier .
EUREKAA The kernel parameter pci=nomsi on boot fix everything. Thank you very much to all. Xavier. 2017-05-27 10:00 GMT+02:00 Xavier . : > Hello. > lspci -vvv show irq 11 for the device but cat/proc/interrupts show > interrupts 16 and 17 for xhci_hcd but my pc only has interrupts 0 to >

Re: kernel does not receive any USB3.0 plug/unplug events from the Renesas upd720202 chipset

2017-05-27 Thread Xavier .
Hello. lspci -vvv show irq 11 for the device but cat/proc/interrupts show interrupts 16 and 17 for xhci_hcd but my pc only has interrupts 0 to 15 Can that be the mistake? cat /proc/interrupts CPU0 0: 32949XT-PIC timer 1:433XT-PIC i8042 2: 0