Re: Cannot use the logitech k520 (046d:c52b) to unlock my luks disk at boot time

2015-07-12 Thread Glasswall Information Point
And to clarify the confusion about the modprobe story, and the keyboard. I know normally after disk drivers have been loaded by initramfs you can load modules for hid input. But is this case you cannot because off FULL-disk encryption, and the disk is decrypted after you enter the password (using

Re: Cannot use the logitech k520 (046d:c52b) to unlock my luks disk at boot time

2015-07-12 Thread Glasswall Information Point
Harddrive != Hardware I did indeed misread that. But still, I think initramfs should include keyboards, else its impossible to boot if you have full disk encryption. Andthe driver cannot be modprobed at boot time, because its not on the initial ram-drive. Op 09-07-15 om 15:22 schreef Jiri Kosin

[PATCH] USB: sierra: add 1199:68AB device ID

2015-07-12 Thread Dirk Behme
Add support for USB descriptor 0x1199, 0x68AB. Signed-off-by: Dirk Behme --- drivers/usb/serial/sierra.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 46179a0..4122e4f 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/

Re: [PATCH v3 07/11] usb: otg: add OTG core

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:33PM +0300, Roger Quadros wrote: > The OTG core instantiates the OTG Finite State Machine > per OTG controller and manages starting/stopping the > host and gadget controllers based on the bus state. > > It provides APIs for the following tasks > > - Registering an OT

Re: [PATCH v3 05/11] usb: hcd.h: Add OTG to HCD interface

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:31PM +0300, Roger Quadros wrote: > The OTG core will use struct otg_hcd_ops to > add/remove the HCD controller. > > The main purpose of this interface is to avoid directly > calling usb_add/remove_hcd() from the OTG core as they > wouldn't be defined in the built-in s

Re: [PATCH v3 04/11] otg-fsm: move usb_bus_start_enum into otg-fsm->ops

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:30PM +0300, Roger Quadros wrote: > This is to prevent missing symbol build error if OTG is > enabled (built-in) and HCD core (CONFIG_USB) is module. > We may let the OTG-DRD/OTG-FSM depends on CONFIG_USB to fix it. Peter > Signed-off-by: Roger Quadros > --- > dri

Re: [PATCH v3 03/11] usb: otg-fsm: Prevent build warning "VDBG" redefined

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:29PM +0300, Roger Quadros wrote: > If usb/otg-fsm.h and usb/composite.h are included together > then it results in the build warning [1]. > > Prevent that by using dev_vdbg() instead. > > Also get rid of MPC_LOC which doesn't seem to be used > by anyone. > > [1] - w

Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-12 Thread Peter Chen
On Fri, Jul 10, 2015 at 04:06:43PM +0800, Li Jun wrote: > On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: > > Move the state_changed variable into struct otg_fsm > > so that we can support multiple instances. > > > I am not sure if multiple instances may happen since OTG protocol re

Re: [PATCH v3 01/11] usb: otg-fsm: Add documentation for struct otg_fsm

2015-07-12 Thread Peter Chen
On Wed, Jul 08, 2015 at 01:19:27PM +0300, Roger Quadros wrote: > struct otg_fsm is the interface to the OTG state machine. > > Document the input, output and internal state variables. > Definations are taken from Table 7-2 and Table 7-4 of > the USB OTG & EH Specification Rev.2.0 > > Re-arrange s

Re: [PATCH v7 08/23] usb: chipidea: set usb otg capabilities

2015-07-12 Thread Peter Chen
On Thu, Jul 09, 2015 at 09:22:09PM +0800, Li Jun wrote: > On Thu, Jul 09, 2015 at 11:57:39AM +0300, Roger Quadros wrote: > > Hi, > > > > On 09/07/15 10:18, Li Jun wrote: > > > Init and update otg capabilities by DT, set gadget's otg capabilities > > > accordingly. > > > > > > Signed-off-by: Li Ju

Re: [PATCH v7 09/23] usb: chipidea: update ci_otg_is_fsm_mode conditions

2015-07-12 Thread Peter Chen
On Thu, Jul 09, 2015 at 03:18:46PM +0800, Li Jun wrote: > After introduce usb otg properties, update ci_otg_is_fsm_mode conditions > to be depending on both usb hardware properties and usb driver config, > also resolve a compile issue in debug.c after the API change. > > Signed-off-by: Li Jun > -

Re: Occasionally a USB mouse and keyboard connected to a USB hub stop working. Helps recover only reconnect USB hub.

2015-07-12 Thread Alan Stern
On Sun, 12 Jul 2015, Михаил Гаврилов wrote: > 2015-07-12 19:38 GMT+05:00 Alan Stern : > > On Sun, 12 Jul 2015, Михаил Гаврилов wrote: > > > >> Hi, problem occurs again! :( > > > >> I am try connect my USB mouse and keyboard directly to M/B, but lsusb show > >> only this: > >> > >> Bus 002 Device 0

Re: Occasionally a USB mouse and keyboard connected to a USB hub stop working. Helps recover only reconnect USB hub.

2015-07-12 Thread Михаил Гаврилов
2015-07-12 19:38 GMT+05:00 Alan Stern : > On Sun, 12 Jul 2015, Михаил Гаврилов wrote: > >> Hi, problem occurs again! :( > >> I am try connect my USB mouse and keyboard directly to M/B, but lsusb show >> only this: >> >> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 001 Devic

Re: Occasionally a USB mouse and keyboard connected to a USB hub stop working. Helps recover only reconnect USB hub.

2015-07-12 Thread Alan Stern
On Sun, 12 Jul 2015, Михаил Гаврилов wrote: > ​Hi, problem occurs again! :( > ​I am try connect my USB mouse and keyboard directly to M/B, but lsusb show > only this: > > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root h