On Thu, Apr 03, 2014 at 08:49:40AM +0200, Rafał Miłecki wrote:
> I recently wanted to use my ZTE MF636 modem 19d2:0031 and got NULL
> pointer dereference in usb_wwan_write few seconds after plugging it.
> This is 100% reproducible.
>
> BUG: unable to handle kernel NULL pointer dereference at 0
2014-04-03 9:18 GMT+02:00 Johan Hovold :
> Thanks for the detailed report. Could you also provide the output of
>
> lsusb -vd 19d2:0031
Sure, it's attached.
--
Rafał
Bus 001 Device 005: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636
Device Descriptor:
bLength
Add devicetree bindings for Xilinx axi udc driver.
Signed-off-by: Subbaraya Sundeep Bhatta
---
Changes for v2:
- replaced xlnx,include-dma with xlnx,has-builtin-dma
.../devicetree/bindings/usb/udc-xilinx.txt | 20
1 files changed, 20 insertions(+), 0 delet
W dniu 03.04.2014 06:31, clanlab.proj pisze:
Hi Andrzej,
Btw, Can you help to test the another version of this patch which uses work
queue instead of NAPI?
I'll send you a copy of this patch later out of the mailing list.
The patch was send to the list here.
http://www.spinics.net/lists/linu
Rafał Miłecki writes:
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber0
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 255 Vendor Specific Class
> bInterfaceSub
Hi
On 04/03/2014 12:29 AM, Julius Werner wrote:
Hi Mathias,
The patch looks fine. Mathias is taking over for xHCI driver
maintainership in 3.15. He's currently handling queuing bug fix patches
for 3.14 while I finish queueing feature patches for 3.15. Mathias,
will you test and queue this u
On 04/03/2014 03:52 AM, Peter Chen wrote:
>
>>
>> Hi Peter,
>>
>> On 04/02/2014 10:47 AM, Peter Chen wrote:
>>> We have historic problem that the gadget will not work if the gadget
>>> is build-in and the udc driver is defered probe due to some resources
>>> are not ready. Below links are related
>
> On 04/03/2014 03:52 AM, Peter Chen wrote:
> >
> >>
> >> Hi Peter,
> >>
> >> On 04/02/2014 10:47 AM, Peter Chen wrote:
> >>> We have historic problem that the gadget will not work if the gadget
> >>> is build-in and the udc driver is defered probe due to some
> >>> resources are not ready. Be
On Thu, Apr 03, 2014 at 10:03:10AM +0200, Bjørn Mork wrote:
> Rafał Miłecki writes:
>
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber0
> > bAlternateSetting 0
> > bNumEndpoints 0
>
Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix
bulk-urb allocation") by making sure to require both bulk-in and out
endpoints during port probe.
The original option driver (which usb_wwan is based on) was written
under the assumption that either endpoint could be missing, bu
2014-04-03 13:06 GMT+02:00 Johan Hovold :
> Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix
> bulk-urb allocation") by making sure to require both bulk-in and out
> endpoints during port probe.
Ohh, that was quick! :)
This patch works for me:
[33050.103575] option 1-1.2:1.0:
hi all:
I list my environment as below:
1. Arm platform with ehci support
2. plug in NTFS USB HD and play movie
3. plug out device suddenly.
I found there will be possibly that driver will reset port even there
is no device connected.
I purposely add below code in ehci-hub.c when we try to do por
On Fri, Jan 24, 2014 at 03:30:58PM +0100, Stanislaw Wadas wrote:
> In reference to the message sent by Andrzej Pietrasiewicz
> (about libusbg (formerly libgadget)) I would like to propose
> some changes to libusbg.
>
> Creating directories is now performed after successful memory
> allocation and
On Mon, Jan 27, 2014 at 05:30:12PM +0100, Krzysztof Opasiak wrote:
> Dear Matt,
>
> Please excuse me my passivity after discussuon about libusbg some time ago.
> I had to close some other issues before taking up this one.
>
> Recently I looked into code of libusbg, build it and found some errors
On Wed, Feb 19, 2014 at 09:25:14PM +0100, Krzysztof Opasiak wrote:
> Hi Matt,
>
> as we have spoken some time ago, I have prepared patches which
> hides definitions of internal library structures.
>
> User shouldn't have access to internal libraries structures which he could
> modify. To avoid th
On Mon, Mar 10, 2014 at 09:42:31AM +0100, Krzysztof Opasiak wrote:
> Dear Matt,
>
> I have prepared next series of patches. This time I have added error
> code propagation which you have palced at todo list.
>
> In this series I have also removed caching gadget/function/config
> attributes in int
On Thu, 3 Apr 2014, vichy wrote:
> hi all:
> I list my environment as below:
> 1. Arm platform with ehci support
> 2. plug in NTFS USB HD and play movie
> 3. plug out device suddenly.
>
> I found there will be possibly that driver will reset port even there
> is no device connected.
> I purposely
On Tue, Mar 18, 2014 at 09:29:06PM +0100, Krzysztof Opasiak wrote:
> Removing gadget/config/function/binding functionality
> has been added to API so add example of how to use it.
>
> Signed-off-by: Krzysztof Opasiak
> ---
> examples/Makefile.am |3 +-
> examples/gadget-vid-pid-r
On Tue, Mar 18, 2014 at 09:29:05PM +0100, Krzysztof Opasiak wrote:
> Add function which allow to remove USB gadget.
> This functions also remove gadget from internal
> library structures what means that after this
> operation all pointers to removed gadget are invalid.
>
> Signed-off-by: Krzysztof
On Wed, Apr 02, 2014 at 07:42:42PM +0200, Krzysztof Opasiak wrote:
> Naming convention of Config FS should not be exposed
> to user of library. All API functions should use
> configuration ID (configuration number) as unique
> identificator and configuration label as human
> readable description.
> -Original Message-
> From: Matt Porter [mailto:mpor...@linaro.org]
> Sent: Thursday, April 03, 2014 3:22 PM
> To: Krzysztof Opasiak
> Cc: linux-usb@vger.kernel.org; Andrzej Pietrasiewicz; Karol
> Lewandowski; Stanislaw Wadas; ty317@samsung.com; Marek
> Szyprowski; Robert Baldyga
> Sub
hi Alan:
2014-04-03 20:52 GMT+08:00 Alan Stern :
> On Thu, 3 Apr 2014, vichy wrote:
>
>> hi all:
>> I list my environment as below:
>> 1. Arm platform with ehci support
>> 2. plug in NTFS USB HD and play movie
>> 3. plug out device suddenly.
>>
>> I found there will be possibly that driver will re
On Thu, Apr 03, 2014 at 01:32:19PM +0200, Rafał Miłecki wrote:
> 2014-04-03 13:06 GMT+02:00 Johan Hovold :
> > Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix
> > bulk-urb allocation") by making sure to require both bulk-in and out
> > endpoints during port probe.
>
> Ohh, th
On Thu, Apr 03, 2014 at 09:34:46PM +0800, clanlab.proj wrote:
> Hi Felipe
>
> On Thu, Apr 3, 2014 at 3:55 PM, Andrzej Pietrasiewicz > wrote:
>
> > W dniu 03.04.2014 06:31, clanlab.proj pisze:
> >
> >> Hi Andrzej,
> >>
> >>
> > Btw, Can you help to test the another version of this patch which us
changes since v4:
Handle command timeouts on a stopped command ring properly.
A stopped ring can't be aborted and send "command ring stopped" events,
if ring was stopped at command timeout call the command ring stopped
handler manually.
changes since v3:
* Use GFP_ATOMIC i
Hi,
On Wednesday, April 02, 2014 12:22:15 PM Tejun Heo wrote:
> On Wed, Apr 02, 2014 at 11:53:57AM -0400, Tejun Heo wrote:
> > Applied the following patch to libata/for-3.15-fixes.
> >
> > Thanks.
> > --- 8< ---
> > From 9c23f2cf7f6e107e85eef57fdf3049a93b6e157c Mon Sep 17 00:00:00 2001
>
Remove the per-device command list and handle_cmd_in_cmd_wait_list()
and use the completion and status variables found in the
command structure in the global command list.
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-hub.c | 11 --
drivers/usb/host/xhci-mem.c | 1 -
drivers/usb/
Create a list to store command structures, add a structure to it every time
a command is submitted, and remove it from the list once we get a
command completion event matching the command.
Callers that wait for completion will free their command structures themselves.
The other command structures
To create a global command queue we require that each command put on the
command ring is submitted with a command structure.
Functions that queue commands and wait for completion need to allocate a command
before submitting it, and free it once completed. The following command queuing
functions ne
Use one timer to control command timeout.
start/kick the timer every time a command is completed and a
new command is waiting, or a new command is added to a empty list.
If the timer runs out, then tag the current command as "aborted", and
start the xhci command abortion process.
Previously each
hi Alan:
>> Your log contains the explanation:
>>
>>> Platform-ehci Platform-ehci.0: port 1 reset
>>
>> This is where the reset starts.
>>
>>> Platform-ehci Platform-ehci.0: in port reset sequence, GetStatus
>>> port:1 status 000100 0 ACK sig=se0 RESET
>>> usb 4-1: USB disconnect, device number 20
Hello,
On Thu, Apr 03, 2014 at 04:32:24PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > So, apparently, this isn't enough as this would allow enabling
> > PHY_XGENE regardless of HAS_IOMEM or OF. From kconfig-language.txt,
>
> PHY_XGENE has the following dependencies:
>
> depends on HAS_IOM
On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote:
> Add devicetree bindings for Xilinx axi udc driver.
>
> Signed-off-by: Subbaraya Sundeep Bhatta
> ---
> Changes for v2:
> - replaced xlnx,include-dma with xlnx,has-builtin-dma
>
> .../devicetree/bindings/usb/udc-xi
2014-04-03 13:06 GMT+02:00 Johan Hovold :
> Fix regression introduced by commit 8e493ca1767d ("USB: usb_wwan: fix
> bulk-urb allocation") by making sure to require both bulk-in and out
> endpoints during port probe.
Tested-by: Rafał Miłecki
--
To unsubscribe from this list: send the line "unsubsc
>> +struct xusb_udc {
>> +struct usb_gadget gadget;
>> +struct xusb_ep ep[8];
>> +struct usb_gadget_driver *driver;
>> +struct cmdbuf ch9cmd;
>> +u32 usb_state;
>> +u32 remote_wkp;
>> +unsigned int (*read_fn)(void __iomem *);
>> +void (*write_fn)(void __iomem *, u32,
Dear Matt,
In this series of patch I have added remove gadget, config, function,
binding functionality which was missing since introduction of library.
I have also added remove strings functionality which allow to remove
gadget and configuration strings in given language.
To show how to use new
Add functions which allow to remove strings in gadget
and configuration.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 16 +++
src/usbg.c | 56 +++
2 files changed, 72 insertions(+)
diff --git a/include/usbg/u
Add function which allow to remove binding between function
and configuration. This functions also remove binding from
internal library structures wht means that after this
operation all pointers to removed binding are invalid.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 10
Add function which allow to remove configuration.
This functions also remove binding from internal
library structures what means that after this
operation all pointers to removed config are invalid.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 16
src/usbg.c
Add function which allow to remove USB gadget.
This functions also remove gadget from internal
library structures what means that after this
operation all pointers to removed gadget are invalid.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h |9 +
src/usbg.c | 54
Add function which allow to remove USB function.
This functions also remove function from internal
library structures what means that after this
operation all pointers to removed function are invalid.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h |9 +
src/usbg.c
Removing gadget/config/function/binding functionality
has been added to API so add example of how to use it.
Signed-off-by: Krzysztof Opasiak
---
examples/Makefile.am |3 +-
examples/gadget-vid-pid-remove.c | 114 ++
include/usbg/usbg.h
> -Original Message-
> From: Matt Porter [mailto:mpor...@linaro.org]
> Sent: Thursday, April 03, 2014 3:02 PM
> To: Krzysztof Opasiak
> Cc: linux-usb@vger.kernel.org; Andrzej Pietrasiewicz; Karol
> Lewandowski; Stanislaw Wadas; ty317@samsung.org; Marek
> Szyprowski; Robert Baldyga
> Sub
Hi Mathias and Benjamin,
Mathias, I understand you've got quite a lot on your plate with xhci at
the moment, but have you had a change to look at this issue yet? It's an
xhci-issue (possibly due to buggy hw) which seems related to the
non-superspeed enumeration work that was made by Sarah and Dan
On Wed, Apr 02, 2014 at 11:19:48AM +0200, Daniele Palmas wrote:
> option driver, added VID/PID for Telit UE910v2 modem
Thanks for the update.
> Signed-off-by: Daniele Palmas
Cc: stable
Signed-off-by: Johan Hovold
> ---
> drivers/usb/serial/option.c |2 ++
> 1 files changed, 2 insertions
Hi all,
I'm having trouble getting a few devices to work, and I'm not sure
where to go next. As far as I can tell, the usbhid driver attaches to
the device, but an event device never gets created.
This is kernel 3.3.8 on a wifi pineapple. The distro is based off
open-wrt (attitude-adjustment, t
On Thu, Apr 03, 2014 at 04:30:28PM +, Amund Hov wrote:
> Dear kernel developers,
>
> I'm running into an interesting limitation with a NEC PD720200 USB 3.0
> host controller connected by PCIe. What I want to do is connect 13
> mass storage devices to each downstream port (of which there are tw
On Thu, 3 Apr 2014, vichy wrote:
> I add more description.
> in Below #1, since connect status is zero, handshake will fail with
> return -ETIMEDOUT.
> Then go to #2 error label.
> and finally hub_port_status get -32, -EPIPE.
>
> 1. Platform-ehci Platform-ehci.0: port 1 reset error -110
> th
From: Li Jun
This patchset adds USB OTG HNP and SRP support on chipidea usb driver,
existing OTG port role swtich function by ID pin status kept unchanged,
based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be
supported.
Reference to:
"On-The-Go and Embedded Host Supplement to the
From: Li Jun
This patch adds OTG fsm timers initialization, which use controller's 1ms
interrupt as timeout counter, also adds some local timers which are not
in otg_fsm_timer list.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/bits.h|1 +
drivers/usb/chipidea/otg_fsm.c | 188 +++
Init otg_port number of otg capable host to be 1 at host start.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/host.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index ffb4168..ee1088e 100644
--- a/dr
Add b_hnp_enable request handling and enable gadget->is_otg
Acked-by: Peter Chen
Signed-off-by: Li Jun
---
drivers/usb/chipidea/udc.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index f58857d..cba7fd6
Leave vbus on/off hanlded by OTG fsm if in OTG mode.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/host.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index a8ac6c1..ffb4168 100644
--- a/drivers/usb/ch
This patch adds OTG fsm related initialization when do otg init,
add a seperate file for OTG fsm related utilities.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/Makefile |1 +
drivers/usb/chipidea/ci.h | 16 +++
drivers/usb/chipidea/otg.c |6 -
drivers/usb/chipi
Add OTG HNP and SRP operation functions implementation:
- charge vbus
- drive vbus
- connection signaling
- drive sof
- start data pulse
- add fsm timer
- delete fsm timer
- start host
- start gadget
Signed-off-by: Li Jun
---
drivers/usb/chipidea/bits.h|9 ++
drivers/usb/chipidea/ci.h
From: Li Jun
This patch adds a debug file for OTG vairables show.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/debug.c | 84 ++
1 file changed, 84 insertions(+)
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index 5b890c1..
From: Li Jun
This patch adds a file chipidea.txt for how to demo chipidea usb OTG HNP and SRP
functions via sysfs input files, any other possible information should be
documented for chipidea usb driver in future can be added into this file.
Signed-off-by: Li Jun
---
Documentation/usb/chipidea
From: Li Jun
USB OTG interrupt handling and fsm transitions according to USB OTG
and EH 2.0.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/core.c| 13 ++-
drivers/usb/chipidea/otg.c |9 +-
drivers/usb/chipidea/otg_fsm.c | 228
drivers/us
From: Li Jun
This patch adds sysfs interface description for chipidea USB OTG HNP and SRP.
Signed-off-by: Li Jun
---
.../ABI/testing/sysfs-platform-chipidea-usb-otg| 56
1 file changed, 56 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-platform-chipidea-
From: Li Jun
This patch adds sys input to control and show OTG fsm inputs by application,
user can do host and preipheral role switch by change these inputs.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/otg.c |2 +
drivers/usb/chipidea/otg_fsm.c | 173 +++
On 04/03/2014 04:59 PM, Felipe Balbi wrote:
> On Thu, Apr 03, 2014 at 01:05:18PM +0530, Subbaraya Sundeep Bhatta wrote:
>> Add devicetree bindings for Xilinx axi udc driver.
>>
>> Signed-off-by: Subbaraya Sundeep Bhatta
>> ---
>> Changes for v2:
>> - replaced xlnx,include-dma with xlnx,has-bu
61 matches
Mail list logo