Re: [PATCH v5 20/21] usb: dwc2: host: Totally redo the microframe scheduler

2016-01-23 Thread Doug Anderson
Hi, On Fri, Jan 22, 2016 at 10:18 AM, Douglas Anderson wrote: > This totally reimplements the microframe scheduler in dwc2 to attempt to > handle periodic splits properly. The old code didn't even try, so this > was a significant effort since periodic splits are one of the most > complicated thi

Re: usb: dwc2: Disconnecting hub from rpi leads to errors

2016-01-23 Thread Doug Anderson
Hi, On Sat, Jan 23, 2016 at 9:08 AM, Stefan Wahren wrote: > Hi, > >> Stefan Wahren hat am 17. Januar 2016 um 04:36 >> geschrieben: >> >> >> Hi, >> >> i have a Cherry G83 USB Keyboard connected to external 4 Port USB hub and >> this >> is connected to a Raspberry Pi B (Linux 4.4-rc7). >> >> If i

Re: [PATCH v5 0/21] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-01-23 Thread Doug Anderson
Hi, On Sat, Jan 23, 2016 at 3:09 PM, Doug Anderson wrote: > Heiko, > > On Sat, Jan 23, 2016 at 9:52 AM, Heiko Stuebner wrote: >> Hi, >> >> Am Freitag, 22. Januar 2016, 10:18:35 schrieb Douglas Anderson: >>> This is a bit of catchall series for all the bug fix and performance >>> patches I've bee

Re: [PATCH v5 0/21] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-01-23 Thread Doug Anderson
Heiko, On Sat, Jan 23, 2016 at 9:52 AM, Heiko Stuebner wrote: > Hi, > > Am Freitag, 22. Januar 2016, 10:18:35 schrieb Douglas Anderson: >> This is a bit of catchall series for all the bug fix and performance >> patches I've been working on over the last few months. Note that for >> dwc2 we need

[PATCH] usbhid: Fix incorrect product id of old 4nes4snes

2016-01-23 Thread Raphael Assenat
The correct product ID for the old version of the raphnet 4nes4snes device was 0x0a9d, not 0x0a8d. Signed-off-by: Raphael Assenat diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b6ff6e7..de0fb06 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1047,7 +1047,7 @@

Re: [PATCH] usb: dwc2: host: Properly set the HFIR

2016-01-23 Thread Heiko Stuebner
Am Freitag, 22. Januar 2016, 15:56:10 schrieb Douglas Anderson: > According to the most up to date version of the dwc2 databook, the FRINT > field of the HFIR register should be programmed to: > * 125 us * (PHY clock freq for HS) - 1 > * 1000 us * (PHY clock freq for FS/LS) - 1 > > This is opposed

Re: [PATCH v5 0/21] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-01-23 Thread Heiko Stuebner
Hi, Am Freitag, 22. Januar 2016, 10:18:35 schrieb Douglas Anderson: > This is a bit of catchall series for all the bug fix and performance > patches I've been working on over the last few months. Note that for > dwc2 we need to do LOTS in software and need super low interrupt > latency, so most p

Re: usb: dwc2: Disconnecting hub from rpi leads to errors

2016-01-23 Thread Stefan Wahren
Hi, > Stefan Wahren hat am 17. Januar 2016 um 04:36 > geschrieben: > > > Hi, > > i have a Cherry G83 USB Keyboard connected to external 4 Port USB hub and this > is connected to a Raspberry Pi B (Linux 4.4-rc7). > > If i disconnect the USB hub from the Pi, i will get multiple of this message: > >

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-23 Thread Greg KH
On Sat, Jan 23, 2016 at 04:56:27PM +0100, Michal Malý wrote: > On sobota 23. ledna 2016 13:46:32 CET Bjørn Mork wrote: > > Michal Malý writes: > > > This mini series adds a simple skeleton module whose only purpose is to > > > bring devices that at first appear as a generic USB device into another

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-23 Thread Michal Malý
On sobota 23. ledna 2016 13:46:32 CET Bjørn Mork wrote: > Michal Malý writes: > > This mini series adds a simple skeleton module whose only purpose is to > > bring devices that at first appear as a generic USB device into another > > mode that can be handled by a more specific subsystem. > > > >

Re: Nokia N900: musb is in wrong state after boot

2016-01-23 Thread Pali Rohár
On Thursday 21 January 2016 20:21:13 Tony Lindgren wrote: > * joerg Reisenweber [160121 10:45]: > > On Thu 21 January 2016 09:41:46 Tony Lindgren wrote: > > > Then for supporting the USB host mode.. We should add regulator > > > support to the USB PHY driver so if the ID pin is grounded, the > > >

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-23 Thread Bjørn Mork
Michal Malý writes: > This mini series adds a simple skeleton module whose only purpose is to bring > devices that at first appear as a generic USB device into another mode that > can be handled by a more specific subsystem. > > This patch was originally requested by Dmitry, reasoning that loadin

[PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-23 Thread Michal Malý
This mini series adds a simple skeleton module whose only purpose is to bring devices that at first appear as a generic USB device into another mode that can be handled by a more specific subsystem. This patch was originally requested by Dmitry, reasoning that loading the entire xpad module just t

[PATCH 2/2] Use usb_skelswitch module to switch Logitech G920 Racing Wheel to HID mode.

2016-01-23 Thread Michal Malý
Tested-by: Elias Vanderstuyft Signed-off-by: Michal Malý --- drivers/usb/common/Kconfig | 2 ++ drivers/usb/common/usb-skelswitch.c | 60 + 2 files changed, 62 insertions(+) diff --git a/drivers/usb/common/Kconfig b/drivers/usb/common/Kconfig index

[PATCH 1/2] Add usb_skelswitch skeleton module to do basic initialization of devices that at first appear as a generic USB device.

2016-01-23 Thread Michal Malý
This gets rid of the need to handle such devices in more specific drivers that will be loaded for no purpose other than to do some basic initialization on the device. Signed-off-by: Michal Malý --- drivers/usb/Kconfig | 2 + drivers/usb/common/Kconfig | 15 +++ driv