On 02/17/2014 01:37 AM, Jingoo Han wrote:
> On Friday, February 14, 2014 6:44 PM, Robert Baldyga wrote:
>> On 02/13/2014 10:10 PM, dingu...@altera.com wrote:
>>> From: Dinh Nguyen
>>>
>>> Hello,
>>>
>>> This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
>>> driver into a
On 3 February 2014 13:59, Sachin Kamat wrote:
> Pass value instead of address as expected by 'usb_ep_set_maxpacket_limit'.
> Fixes the following compilation error introduced by commit e117e742d310
> ("usb: gadget: add "maxpacket_limit" field to struct usb_ep"):
>
> drivers/usb/gadget/s3c2410_udc.c
Hi Tomasz,
On Fri, Feb 14, 2014 at 9:17 PM, Tomasz Figa wrote:
mistakenly didn't do "Reply All", so sending it again.
> Hi Vivek,
>
>
> On 14.02.2014 14:53, Vivek Gautam wrote:
Changes from v2:
1) Added support for multiple PHYs (UTMI+ and PIPE3) and
related changes in
On Thu, Feb 13, 2014 at 03:49:55PM +, Ludovic wrote:
> I've created a little libusb perl script to debug the device, and found that
> I could simulate the MIPS bug if I would send a read_download_mem address in
> LE format instead of BE, e.g.:
>
> $dev->control_msg((64 + 0 + 128), 0x92 , 0x
On 17.2.2014 9:41, Ronald wrote:
I caught this by coincidence since I had netconsole attached to debug
a nouveau MSI problem (deadlock). It happenned when I disconnected my
external hardrive in thunar. I have attached my full dmesg.
Sorry for third time, now without HTML,
I've played with la
There is threadirqs kenel boot option which allow to force interrupt
routines to be performed as thread.
USB irq routines use spin_lock(*hci->lock) variant without disabling
interrupts, what is perfectly fine, but that can cause deadlock when
forced thread irqs are used. Deadlock scenario is quit
Across 5+ years of kernels, I've been seeing occasional (1-2 times per
day) key-stuck issues where eg a fn+delete combo repeats delete until
I press delete again. I've seen this happen with fn+ctrl+left, leaving
left held and likewise with right.
This has occurred on Apple laptops, external USB ke
On Mon, 17 Feb 2014, Stanislaw Gruszka wrote:
> There is threadirqs kenel boot option which allow to force interrupt
> routines to be performed as thread.
>
> USB irq routines use spin_lock(*hci->lock) variant without disabling
> interrupts, what is perfectly fine, but that can cause deadlock wh
Greetings.
How can I build USB/IP kernel modules and userspace tools
sparsely
from linux kernel tree?
I've tried
make O=/home/build/directory/ drivers/staging/usbip/
but this only compiles .c files to .o files, but doesn't
link them to kernel object .ko files.
And I need to build usersp
On Tue, Feb 18, 2014 at 12:04:23AM +0700, konst...@ngs.ru wrote:
> Greetings.
>
> How can I build USB/IP kernel modules and userspace tools
> sparsely from linux kernel tree?
>
>
> I've tried
>
> make O=/home/build/directory/ drivers/staging/usbip/
>
> but this only compiles .c files to .o fi
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 this I have provided some public structures which contains
attributes of gadget/co
Rename all gadget attributes to be consistent with usb
standard and libusb. Change also field size and order
to allow direct memcpy from libusb_device_descriptor.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c | 18 +++
include/usbg/usbg.h | 53 +
Gadget attributes should be placed in external structure
because they are almost that same as USB device descriptor.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c | 18 +-
include/usbg/usbg.h | 28
src/usbg.c | 35
Strings in current verison of library are hardcoded to
US English. Functions which set strings are generic and
allow to set other languages, but internal library structures
should be update only when setting US English strings.
Signed-off-by: Krzysztof Opasiak
---
src/usbg.c | 20 +
Add usbg_get_gadget_name() and usbg_get_gadget_udc() to avoid
direct gadget structure members access.
Add also usbg_get_gadget_name_len() and
usbg_get_gadget_udc_len() to allow getting udc and name length.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 34 +
Setting idVendor and idProduct was allowed only when
creating new gadget. Add usbg_set_gadget_vendor_id() and
usbg_set_gadget_product_id() to allow set those values
on existing gadget.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 14 ++
src/usbg.c | 12
Configuration, its attributes and strings are all logically
independent so should be placed in separate structures.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c |6 +++---
include/usbg/usbg.h | 32 +---
src/usbg.c | 37
Add usbg_set_config_attrs() function to allow setting
all attributes with one call. Add also getter for attrs
to avoid direct accessing of configuration fields.
Add usbg_set_config_strs() to be consistent with gadget
API.
Change usbg_create_config() to allow configuration creation
and attribute s
Insterting in string order has been done few times.
It was almost the same piece of code copied and pasted with
some minor changes. All those pieces has been replaced with
new macro INSERT_TAILQ_STRING_ORDER which does all the job.
Signed-off-by: Krzysztof Opasiak
---
src/usbg.c | 75 +
Add getter's to avoid direct access to gadget structure
members.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 18 ++
src/usbg.c | 24
2 files changed, 42 insertions(+)
diff --git a/include/usbg/usbg.h b/include/usbg/usbg.h
inde
Add dedicated functions for iterating over gadgets, configs,
bindigs and functions to avoid direct access to fields of this
structures. Change definitons of usbg_for_each_* macros to use
new functions.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 80 ++
Add usbg_get_config_name() and usbg_get_config_name_len()
to avoid direct config structure members access.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 16
src/usbg.c | 10 ++
2 files changed, 26 insertions(+)
diff --git a/include/usbg/usbg.h
Rename usbg_create_gadget() to usbg_create_vid_pid().
dd usbg_create_gadget() to allow gadget creation
with given attributes and strings. Add usbg_set_gadget_attrs()
which allow to set all attributes with one call. Add
usbg_set_gadget_strs() which allow to set all strings with
one call.
Gadget str
Gadget strings are not logically part of gadget, so should
be separated.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c |6 +++---
include/usbg/usbg.h | 14 +++---
src/usbg.c | 20 ++--
3 files changed, 24 insertions(+), 16 deletions
Add usbg_get_configfs_path_len() and usbg_get_configfs_path()
to avoid direct access to state structure.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 16
src/usbg.c | 10 ++
2 files changed, 26 insertions(+)
diff --git a/include/usbg/usbg.h b/
function_names table is for internal usage only.
User should use function_types enum.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 17 -
src/usbg.c | 17 +
2 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/include/usbg/usb
Add missing gadget name to path while writting gadget attributes.
Signed-off-by: Krzysztof Opasiak
---
src/usbg.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/usbg.c b/src/usbg.c
index 15bcd8d..543102c 100644
--- a/src/usbg.c
+++ b/src/usbg.c
@@ -576
Add usbg_get_binding_target() to avoid direct binding
structure members access. Add also usbg_get_binding_name_len()
and usbg_get_binding_name() to allow getting binding name.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 23 +++
src/usbg.c | 15
Add usbg_get_function_attrs() and usbg_get_function_type()
to aviod direct access to function structure members.
Add usbg_set_function_attrs() to allow set all function\
attributes with one call.
Signed-off-by: Krzysztof Opasiak
---
examples/gadget-acm-ecm.c |6 ++---
include/usbg/usbg.h
Remove definition of gadget structure to avoid direct
access to its fields. Rename that structure to usbg_gadget.
Signed-off-by: Krzysztof Opasiak
---
examples/gadget-acm-ecm.c |4 +-
examples/show-gadgets.c | 64 --
include/usbg/usbg.h | 139 +-
Hide definition of state structure to avoid direct
access to its fields. Rename it to usbg_state.
Signed-off-by: Krzysztof Opasiak
---
examples/gadget-acm-ecm.c |2 +-
examples/show-gadgets.c |2 +-
include/usbg/usbg.h | 31 +++
src/usbg.c
API of library has been changed, so it is necessary
to update examples of library usage.
Signed-off-by: Krzysztof Opasiak
---
examples/gadget-acm-ecm.c | 30 --
examples/show-gadgets.c |4 ++--
2 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/ex
Hide definition of function structure to avoid direct
access to its fields. Rename it to usbg_function.
Signed-off-by: Krzysztof Opasiak
---
examples/gadget-acm-ecm.c |4 +--
examples/show-gadgets.c | 36 ---
include/usbg/usbg.h | 53 --
Switch form struct * to typedef usbg_* to provide convenient
API for user.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c | 10 ++---
include/usbg/usbg.h | 100 +++
src/usbg.c | 58 +--
3 file
Add usbg_get_function_name() and usbg_get_function_name_len()
to avoid direct function structure members access.
Signed-off-by: Krzysztof Opasiak
---
include/usbg/usbg.h | 16
src/usbg.c | 10 ++
2 files changed, 26 insertions(+)
diff --git a/include/usbg/u
Hide definition of binding structure to avoid direct
access to its fields. Rename it to usbg_binding.
Signed-off-by: Krzysztof Opasiak
---
examples/show-gadgets.c |9 +
include/usbg/usbg.h | 31 +++
src/usbg.c | 40
From: Emil Goode
Date: Thu, 13 Feb 2014 17:50:19 +0100
> This patch removes a generic hard_header_len check from the usbnet
> module that is causing dropped packages under certain circumstances
> for devices that send rx packets that cross urb boundaries.
>
> One example is the AX88772B which oc
On Mon, 17 Feb 2014, Ronald wrote:
> I caught this by coincidence since I had netconsole attached to debug
> a nouveau MSI problem (deadlock). It happenned when I disconnected my
> external hardrive in thunar. I have attached my full dmesg.
This isn't a USB problem.
> [17764.280135] usb 1-2: new
On Mon, 2014-02-17 at 14:48 -0500, Alan Stern wrote:
> On Mon, 17 Feb 2014, Ronald wrote:
>
> > I caught this by coincidence since I had netconsole attached to debug
> > a nouveau MSI problem (deadlock). It happenned when I disconnected my
> > external hardrive in thunar. I have attached my full d
On Mon, 17 February 2014 Daniel J Blueman wrote:
> Across 5+ years of kernels, I've been seeing occasional (1-2 times per
> day) key-stuck issues where eg a fn+delete combo repeats delete until
> I press delete again. I've seen this happen with fn+ctrl+left, leaving
> left held and likewise with r
Already fixed in the net tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 32-bit:
drivers/md/bcache/bset.c: In function ‘bch_dump_bset’:
drivers/md/bcache/bset.c:27: warning: format ‘%li’ expects type ‘long int’, but
argument 3 has type ‘int’
Signed-off-by: Geert Uytterhoeven
---
drivers/net/usb/sr9800.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
From: Fabio Estevam
No need to return a 'fake' return value on platform_get_irq() failure.
Just return the error code itself instead.
Signed-off-by: Fabio Estevam
---
drivers/usb/chipidea/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/core.c b/
On 17.2.2014 20:48, Alan Stern wrote:
This isn't a USB problem.
Hello,
I'm experiencing very similar messages after every disconnection of USB
soundcard (snd-usb-audio module). During searching for other similar
occurrences of message, i've found few patches. One kind basically
prevents sy
Hello,
i'm fighting with audio playback problem on Beaglebone Black AM-3358.
Class compilant USB soundcards with isochronous transfers.
With DMA enabled in kernels 3.13.2 and 3.14-rc2 it has following symptoms.
- it will stutter immediately after starts of playback
- kworker thread shows about
Hello,
during searching for solution to problem with Beaglebone Black USB
unreliable reconnections, which i had, when i tried to reconnect devices
to external powered hub, I came to that older patch from Ravi Babu,
which restarts musb after babble interrupt,
https://lkml.org/lkml/2013/5/29/24
On Mon, Feb 17, 2014 at 08:23:38AM +0100, Christian Gmeiner wrote:
> Hi Peter
>
> 2014-02-17 2:22 GMT+01:00 Peter Chen :
> > On Fri, Feb 14, 2014 at 01:59:56PM +0100, Christian Gmeiner wrote:
> >> Hi Peter.
> >>
> >> I am currently trying to get HSIC working on an imx6d based board.
> >>
> >> Some
I noticed your examples are both fn combos. I'm seeing something like
this and it seems specifically related to the fn key. Reproducible on a
Macbook (3,1) and a Lenovo Yoga 13. Sequence is simple:
Press key
Press fn
Release key
Release fn
The key will be 'stuck' until you press another key. It s
Clinton Sprain wrote:
> I noticed your examples are both fn combos. I'm seeing something like
> this and it seems specifically related to the fn key. Reproducible on a
> Macbook (3,1) and a Lenovo Yoga 13. Sequence is simple:
>
> Press key
> Press fn
> Release key
> Release fn
>
> The key will be
On 18 February 2014 10:21, Peter Stuge wrote:
> Clinton Sprain wrote:
>> I noticed your examples are both fn combos. I'm seeing something like
>> this and it seems specifically related to the fn key. Reproducible on a
>> Macbook (3,1) and a Lenovo Yoga 13. Sequence is simple:
>>
>> Press key
>> Pr
Hi list,
Linux kernel (3.12.8) fails to setup EHCI debug port on my Sandy Bridge
server. This seems to be a normal thing as I tried on other machines and
got the same result.
This is the EHCI host controller information (printed by lspci -vvv)
00:1a.0 USB controller: Intel Corporation C600/X
On Mon, Feb 17, 2014 at 09:48:14AM -0500, Alan Stern wrote:
> On Mon, 17 Feb 2014, Stanislaw Gruszka wrote:
>
> > There is threadirqs kenel boot option which allow to force interrupt
> > routines to be performed as thread.
> >
> > USB irq routines use spin_lock(*hci->lock) variant without disabl
The same issue like with Panther Point chipsets. If the USB ports are
switched to xHCI on shutdown, the xHCI host will send a spurious interrupt,
which will wake the system. Some BIOS have work around for this, but not all.
One example is Compulab's mini-desktop, the Intense-PC2.
The bug can be av
53 matches
Mail list logo