On Wed, Nov 12, 2014 at 3:54 PM, Vivek Gautam wrote:
> Using the same driver name for platform driver and a globally defined,
> structure used throughout the file, looks a bit unpleasing.
> So changing the driver name from "samsung_usb2_phy_driver" to
> "samsung_usb2_phy"
>
> Signed-off-by: Vivek
>
> On Thu, Dec 11, 2014 at 10:54:13AM +0800, ivo welch wrote:
> > thank you, greg. if linux-usb is the wrong starter, can you
> > recommend some pointers to good starter documentation and books about
> > writing user-space USB programs? (is it really "read the linux kernel
> > source"??)
>
On Thu, Dec 11, 2014 at 10:54:13AM +0800, ivo welch wrote:
> thank you, greg. if linux-usb is the wrong starter, can you
> recommend some pointers to good starter documentation and books about
> writing user-space USB programs? (is it really "read the linux kernel
> source"??)
I don't know of a
thank you, greg. if linux-usb is the wrong starter, can you
recommend some pointers to good starter documentation and books about
writing user-space USB programs? (is it really "read the linux kernel
source"??)
Ivo Welch (ivo.we...@gmail.com)
http://www.ivo-welch.info/
J. Fred Weston Prof
On Thu, Dec 11, 2014 at 10:09:00AM +0800, ivo welch wrote:
> dear experts---I would like to learn how to write programs that
> communicate over USB. both the host (desktop linux) and the client
> (beaglebone black) are running linux. I can program both host and
> gadget. ultimately, I will want
dear experts---I would like to learn how to write programs that
communicate over USB. both the host (desktop linux) and the client
(beaglebone black) are running linux. I can program both host and
gadget. ultimately, I will want to treat one USB port as a dedicated
link between the two, without
Hi Sergei,
I reviewed this patch quickly. This driver has just two gpio without any
registers for IP.
I wonder whether MAX3355E is separate chip to detect external connector or just
use gpio of AP.
Could you send the datasheet of MAX3355E to me?
Thanks,
Chanwoo Choi
On 12/11/2014 08:28 AM, Se
On Wed, Dec 10, 2014 at 02:29:29AM -0800, Darrick J. Wong wrote:
> On Wed, Dec 10, 2014 at 02:15:14AM -0800, Darrick J. Wong wrote:
> > On Wed, Dec 10, 2014 at 01:04:58AM -0800, Darrick J. Wong wrote:
> > > On Wed, Dec 10, 2014 at 09:19:04AM +0100, Hans de Goede wrote:
> > > > Hi,
> > > >
> > > >
On 14-12-05 01:28 PM, arun.ramamur...@broadcom.com wrote:
From: Arun Ramamurthy
Added support for cases where one controller is connected
to multiple phys
Signed-off-by: Arun Ramamurthy
Reviewed-by: Ray Jui
Reviewed-by: Scott Branden
---
drivers/usb/host/ohci-platform.c | 70 +
MAX3355E chip integrates a charge pump and comparators to enable a system with
an integrated USB OTG dual-role transceiver to function as a USB OTG dual-role
device. In addition to sensing/controlling Vbus, the chip also passes thru the
ID signal from the USB OTG connector. On some Renesas boards,
* 'Greg Kroah-Hartman' | 2014-12-09 11:54:15 [-0500]:
>> You can unbind the HCD driver from the PCI-device via sysfs and this is
>> not something not only a developer does. This "unbind" calls the remove
>> function of the driver and the only difference between unbind and rmmod
>> is that the modu
On 12/09/2014 11:54 PM, Greg KH wrote:
> On Mon, Dec 08, 2014 at 06:04:30PM +0100, Krzysztof Opasiak wrote:
>> Dear All,
>>
>> I'm Krzysztof Opasiak from SRPOL (Samsung). I'm working on USB support
>> in Tizen and mainline. In those works we use two Virtual File Systems
>> - ConfigFS and FunctionFS
On 12/08/2014 12:04 PM, Krzysztof Opasiak wrote:
> Dear All,
>
> I'm Krzysztof Opasiak from SRPOL (Samsung). I'm working on USB support
> in Tizen and mainline. In those works we use two Virtual File Systems
> - ConfigFS and FunctionFS. Recently I have tried to use them with
> SMACK and I ran into
Hi Andrzej,
Thank you for the patch.
On Wednesday 10 December 2014 12:34:02 Andrzej Pietrasiewicz wrote:
> Add support for using the uvc function as a component of USB gadgets
> composed with configfs.
>
> Signed-off-by: Andrzej Pietrasiewicz
And now the moment you've been waiting for...
Acke
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Wednesday, December 10, 2014 5:54 AM
> To: Krzysztof Opasiak
> Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; linux-
> security-mod...@vger.kernel.org; ca...@schaufler-ca.com;
> jl...@evilplan.o
W dniu 09.12.2014 o 04:47, ivo welch pisze:
dear usb experts---per request in the readme file, I am asking the question
here.
I am trying to get a ptp-gadget device-side implementation of the Picture
Transfer Protocol to work on a beaglebone black (AM335x), running debian
7.7. the hosts to us
W dniu 10.12.2014 o 14:02, Andrzej Pietrasiewicz pisze:
This series adds a documentation file whith a summary of how to do basic
testing of functions provided by USB gadgets.
It does not add any code. It documents what is already in the kernel tree.
It is mostly a compilation of information from
On Mon, Dec 08, 2014 at 05:24:17PM -0600, George McCollister wrote:
> This driver is for the NovaTech 124 4x serial expansion board for the
> NovaTech OrionLXm.
>
> Firmware source code can be found here:
> https://github.com/novatechweb/nt124
Great, and thanks for the patch!
> Signed-off-by: Ge
Summary of how to test MASS STORAGE function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 54
1 file changed, 54 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-tes
Summary of how to test PHONET function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 64
1 file changed, 64 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.t
Summary of how to test SOURCESINK function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 27 +++
1 file changed, 27 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
in
Summary of how to test UAC2 function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 27 +++
1 file changed, 27 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
index 40
Summary of how to test MIDI function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 84
1 file changed, 84 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
Summary of how to test FFS (FunctionFS) function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 24
1 file changed, 24 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
Summary of how to test UAC1 function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 27 +++
1 file changed, 27 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
index 73
Summary of how to test LOOPBACK function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 23 +++
1 file changed, 23 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
index f1
Summary of how to test NCM function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
in
Summary of how to test EEM function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
in
Summary of how to test RNDIS function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 36
1 file changed, 36 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.tx
Summary of how to test OBEX function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 29 +
1 file changed, 29 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
index
Summary of how to test SERIAL function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 31 +++
1 file changed, 31 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
in
Summary of how to test HID function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 47
1 file changed, 47 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
Summary of how to test ECM function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing.txt
in
Using module parameters to specify accepted Vendor ID, Product ID is
considered legacy now. Update the documentation to reflect it.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget_serial.txt | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentati
Summary of how to test ECM subset function of USB gadget.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a/Documentation/usb/gadget-testing.txt
b/Documentation/usb/gadget-testing
The newly added file will be used to provide descriptions of how to test
the functions of USB gadgets.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/usb/gadget-testing.txt | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/usb/gad
This series adds a documentation file whith a summary of how to do basic
testing of functions provided by USB gadgets.
It does not add any code. It documents what is already in the kernel tree.
It is mostly a compilation of information from my cover letters sent
together with all series which conv
Add support for using the uvc function as a component of USB gadgets composed
with configfs.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/ABI/testing/configfs-usb-gadget-uvc | 265 +++
drivers/usb/gadget/Kconfig| 11 +
drivers/usb/gadget/function/Makefile
This series aims at integrating configfs into uvc, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
mass_storage, FunctionFS, loopback, sourcesink, uac1, uac2, hid and midi.
v1..v2:
- sorted header fiels alphabetically
- applied style corrections
- factored out ver
When configfs is integrated, CONFIGFS_ATTR_STRUCT and CONFIGFS_ATTR_OPS
macros should be used, but the latter expects that tere is a to_f_uvc_opts
function accepting a config_item, whereas the macro being changed
can be applied to a different type of argument.
Signed-off-by: Andrzej Pietrasiewicz
If the caller of uvc_alloc() does not provide enough
descriptors, binding the function should fail, so appropriate
code is returned from uvc_copy_descriptors().
uvc_function_bind() is modified accordingly to account for possible
errors from uvc_copy_descriptors().
Signed-off-by: Andrzej Pietrasie
W dniu 07.12.2014 o 21:25, Laurent Pinchart pisze:
Hi Andrzej,
+ mutex_lock(&opts->lock);
What does the mutex protect against ? Modifications of opts->
uvc_*_streaming_cls by configfs ? You only copy pointers around, what
prevents the descriptors from being modified after you unlock
Get PHY parameters from devicetree and power off usb PHY during
system suspend.
Signed-off-by: Yunzhi Li
Acked-by: Paul Zimmerman
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- Fix coding style: both branches of the if() which only one
branch of the conditional statement is a s
Patches to add support for Rockchip usb phys.Add a new Rockchip
usb phy driver and modify dwc2 controller driver to make dwc2
platform devices support a generic PHY framework driver. This
patch set has been tested on my rk3288-evb and power off the usb
phys would reduce about 60mW power budget in
On Wed, Dec 10, 2014 at 02:15:14AM -0800, Darrick J. Wong wrote:
> On Wed, Dec 10, 2014 at 01:04:58AM -0800, Darrick J. Wong wrote:
> > On Wed, Dec 10, 2014 at 09:19:04AM +0100, Hans de Goede wrote:
> > > Hi,
> > >
> > > On 09-12-14 20:31, Darrick J. Wong wrote:
> > > >Hi,
> > > >
> > > >I have an
Hi Peter,
Am Mittwoch, den 10.12.2014, 13:09 +0800 schrieb Peter Chen:
> On Tue, Dec 09, 2014 at 05:13:35PM +0100, Philipp Zabel wrote:
> > On i.MX6Q, the USBMISC registers are clocked by the IPG clock,
> > so there is no need to enable USBOH3 for the USBMISC driver.
>
> Access the registers at u
On Wed, Dec 10, 2014 at 01:04:58AM -0800, Darrick J. Wong wrote:
> On Wed, Dec 10, 2014 at 09:19:04AM +0100, Hans de Goede wrote:
> > Hi,
> >
> > On 09-12-14 20:31, Darrick J. Wong wrote:
> > >Hi,
> > >
> > >I have an Apricorn USB 3 disk dongle thing that claims to support UAS.
> > >However, the k
Some gadget driver (like uac1) will try to enable endpoint again even
the ep is not empty, it will cause the ep reset again and may affect
the dTD list which has already queued.
It returns -EBUSY immediately, and indicate the endpoint is in use.
In this way, the ep's behavior will not be affected,
From: Xuebing Wang
UAC1 forget to do it.
Signed-off-by: Xuebing Wang
Signed-off-by: Peter Chen
---
drivers/usb/gadget/function/f_uac1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/function/f_uac1.c
b/drivers/usb/gadget/function/f_uac1.c
index 0827731..6cf5169 10064
From: Xuebing Wang
Update this according to USB Audio Class 1.0 spec. This fixes the Windows 7
detection issue.
Cc: Rafael Brune
Signed-off-by: Xuebing Wang
Signed-off-by: Fabio Estevam
Signed-off-by: Peter Chen
(Fixed some code style issues)
Tested-by: Peter Chen
---
drivers/usb/gadget/fu
On Wed, Dec 10, 2014 at 09:19:04AM +0100, Hans de Goede wrote:
> Hi,
>
> On 09-12-14 20:31, Darrick J. Wong wrote:
> >Hi,
> >
> >I have an Apricorn USB 3 disk dongle thing that claims to support UAS.
> >However, the kernel crashes when I plug it in[1].
>
> Yes there are some known issues with uas
Adding list of aliases for supported Exynos7 pin controller blocks.
Signed-off-by: Vivek Gautam
Cc: Tomasz Figa
Cc: Linus Walleij
---
.../devicetree/bindings/pinctrl/samsung-pinctrl.txt | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings
USB and Power regulator on Exynos7 require gpios available
in BUS1 pin controller block.
So adding the BUS1 pinctrl support.
Signed-off-by: Naveen Krishna Ch
Signed-off-by: Vivek Gautam
Cc: Tomasz Figa
Cc: Linus Walleij
---
Changes since V2:
- Added documentation on alias for BUS1 pin contro
Hi Tomasz,
On Mon, Dec 1, 2014 at 9:37 PM, Tomasz Figa wrote:
> Hi Vivek,
>
> Please see my comments below.
>
> 2014-11-24 22:02 GMT+09:00 Vivek Gautam :
>> USB and Power regulator on Exynos7 require gpios available
>> in BUS1 pin controller block.
>> So adding the BUS1 pinctrl support.
>>
>> Si
Hi,
On 09-12-14 20:31, Darrick J. Wong wrote:
Hi,
I have an Apricorn USB 3 disk dongle thing that claims to support UAS.
However, the kernel crashes when I plug it in[1].
Yes there are some known issues with uas error handling which are fixed
in 3.18, can you try with a 3.18 kernel please ?
55 matches
Mail list logo