On 20/04/15 16:56, Alan Stern wrote:
> On Mon, 20 Apr 2015, Roger Quadros wrote:
>
>>> I don't understand this. Why do you want to defer the add/remove if
>>> the device is OTG? Don't host controller drivers expect these things
>>> to execute synchronously?
>>
>> Sorry for the wrong informatio
This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
devm_ioremap_resource instead of devm_ioremap"), because msm_otg
and this driver are using same address space to access AHB mode
and USB command registers.
Cc: Vivek Gautam
Signed-off-by: Ivan T. Ivanov
---
drivers/usb/host/ehci-msm.c
fixed Kishon's id.
On 21/04/15 12:49, Roger Quadros wrote:
> On 20/04/15 15:35, Mathias Nyman wrote:
>> Hi
>>
>> On 02.04.2015 15:23, Roger Quadros wrote:
>>> As xhci_hcd is now allocated by usb_create_hcd(), we don't
>>> need to add the primary HCD before creating the shared HCD.
>>>
>>> Creating
On Thu, 2015-04-09 at 11:34 +0300, Ivan T. Ivanov wrote:
> On recent Qualcomm platforms VBUS and ID lines are not routed to
> USB PHY LINK controller. Use extcon framework to receive connect
> and disconnect ID and VBUS notification.
>
> Signed-off-by: Ivan T. Ivanov iva...@linaro.org>
Hi Felipe
On 21/04/15 09:04, Peter Chen wrote:
>
>>
>> On 20/04/15 06:05, Peter Chen wrote:
>>> On Tue, Apr 14, 2015 at 01:41:47PM +0300, Roger Quadros wrote:
This is an attempt to centralize OTG/Dual-role functionality in the kernel.
As of now I've got Dual-role functionality working pretty reli
On Mon, Apr 20, 2015 at 10:15:20PM +0200, Marek Belisko wrote:
> From: "H. Nikolaus Schaller"
>
> While trying to test a Cinterion GSM/GPS/3G module I had reconfigured
> the USB interface by mistake and therefore needed to run a different
> USB driver than CDC-ACM. It turned out that I need the "
On Tue, Apr 21, 2015 at 12:49:54PM +0300, Roger Quadros wrote:
> On 20/04/15 15:35, Mathias Nyman wrote:
> > Hi
> >
> > On 02.04.2015 15:23, Roger Quadros wrote:
> >> As xhci_hcd is now allocated by usb_create_hcd(), we don't
> >> need to add the primary HCD before creating the shared HCD.
> >>
>
Can you try with the latest kernel from linux-next?
There are some patches from Mian Yousaf Kaukab
, that might be related to your problem
Regards
ps: Make sure your mail client works in text mode or you wont be able
to send mails to the mailing list.
On Tue, Apr 21, 2015 at 2:39 AM, Praveen Mu
uas_use_uas_driver may set some US_FL_foo flags during detection, currently
these are stored in a local variable and then throw away, but these may be
of interest to the caller, so add an extra parameter to (optionally) return
the detected flags, and use this in the uas driver.
Cc: sta...@vger.ker
The usb-storage driver sets max_sectors = 240 in its scsi-host template,
for uas we do not want to do that for all devices, but testing has shown
that some devices need it.
This commit adds a US_FL_MAX_SECTORS_240 flag for such devices, and
implements support for it in uas.c, while at it it also a
Testing has shown that ASM1053 devices do not work properly with transfers
larger than 240 sectors, so set max_sectors to 240 on these.
Cc: sta...@vger.kernel.org # 3.16
Reported-by: Steve Bangert
Signed-off-by: Hans de Goede
Tested-by: Steve Bangert
---
Changes in v2:
-Add Cc stable@vger
-Add
By blacklisting the hid-generic, I think I can confirm hid-generic is
the module that matters. Though I'm curious how it use the code from
usbhid/hid-core.c because I couldn't find a clue in the short
hid-generic.c.
Anyway I don't know much about coding so it's not really my concern.
But I think t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 21/04/15 11:08, Maxime Ripard wrote:
> On Tue, Apr 21, 2015 at 12:49:54PM +0300, Roger Quadros wrote:
>> On 20/04/15 15:35, Mathias Nyman wrote:
>>> Hi
>>>
>>> On 02.04.2015 15:23, Roger Quadros wrote:
As xhci_hcd is now allocated by usb_create
Hi,
On Tuesday, April 21, 2015 12:41 PM "Ivan T. Ivanov"
wrote:
This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
devm_ioremap_resource instead of devm_ioremap"), because msm_otg
and this driver are using same address space to access AHB mode
and USB command registers.
Cc: Vivek Gaut
On Tue, 2015-04-21 at 16:46 +0530, Vivek Gautam wrote:
> Hi,
>
> On Tuesday, April 21, 2015 12:41 PM "Ivan T. Ivanov"
> iva...@linaro.org> wrote:
> > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
> > devm_ioremap_resource instead of devm_ioremap"), because msm_otg
> > and this drive
From: Jan Kaisrlik
This RFC patch enables connecting a DSA-based switch to the USB RMII interface.
I use switch Marvell 88E6065 as the DSA-based switch
connected to USB RMII interface provides by Asix AX88772b.
I temporarily modified the mv88e6060 driver to work with 88E6065.
Jan Kaisrlik (3):
From: Jan Kaisrlik
This patch adds a possibility to use the RMII interface of the ax88772b
instead of the Ethernet PHY which is used now.
Binding DSA to a USB device is done via sysfs.
---
drivers/net/usb/asix.h | 7 ++
drivers/net/usb/asix_devices.c | 258 +++
From: Jan Kaisrlik
This patch adds a function which helps to connect net device
to DSA switch based on mii_bus and netdev.
The switch parameters of the switch are configured in fill_platform_data().
Currently, the configuration data is hardcoded in the code.
I don't know how to pass the configur
From: Jan Kaisrlik
This patch refactors dsa_probe in order to simplify code in the patch 2/3.
---
net/dsa/dsa.c | 82 ++-
1 file changed, 47 insertions(+), 35 deletions(-)
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 3731714..e2c0703
Johan Hovold writes:
> On Mon, Apr 20, 2015 at 10:15:20PM +0200, Marek Belisko wrote:
>> From: "H. Nikolaus Schaller"
>>
>> The parameters vendor= and product= are only available
>> if compiled as a kernel module
Really? I believe you should be able to do
usbserial.vendor=vid usbserial.produ
On 20.04.2015 23:39, Alan Stern wrote:
> On Mon, 20 Apr 2015, Joe Lawrence wrote:
>
>> On Mon, Apr 20, 2015 at 01:35:40PM -0400, Alan Stern wrote:
>>> On Mon, 20 Apr 2015, Joe Lawrence wrote:
>>>
So -ESHUTDOWN = -108 (0xff94) provoked bad_action_ret into reporting
a bogus return valu
Nobuo Iwata writes:
> Implementation of this patch depends on Poco C++
> (http://pocoproject.org/).
Really? Is that OK?
> --- /dev/null
> +++ b/tools/usb/usbip/websocket/COPYING
This cannot possibly be necessary. Pointing to the toplevel "COPYING"
file should be more than enough, if anythin
On 04/21/2015 08:21 AM, Mathias Nyman wrote:
[...]
> On the other hand if we just removed xhci, and share the interrupt with
> somebody else who is
> also generating an interrupts, then we would probably continue to read
> 0x from the status reg and
> should return IRQ_NONE.
Yes, I thin
Hi Jan
Interesting work, but i think the architecture is wrong.
DSA needs an Ethernet device, an MDIO bus, and information about ports
on the switch. The MDIO bus and the Ethernet need no knowledge of
DSA. So putting your DSA configuration code in the MDIO driver is
wrong.
The problem you have i
On Tue, Apr 21, 2015 at 01:57:05PM +0200, Bjørn Mork wrote:
> Johan Hovold writes:
> > On Mon, Apr 20, 2015 at 10:15:20PM +0200, Marek Belisko wrote:
> >> From: "H. Nikolaus Schaller"
> >>
> >> The parameters vendor= and product= are only available
> >> if compiled as a kernel module
>
> Really
Jan Kaisrlik writes:
> From: Jan Kaisrlik
>
> This patch adds a possibility to use the RMII interface of the ax88772b
> instead of the Ethernet PHY which is used now.
>
> Binding DSA to a USB device is done via sysfs.
>
> ---
> drivers/net/usb/asix.h | 7 ++
> drivers/net/usb/asix_dev
On Mon, 20 Apr 2015, Dave Mielke wrote:
> It seems (from inspecting libusb) that poll()ing a usbfs file descriptor for
> output can be used to determine when a urb can be reaped. A user has sent me
> a
> patch to our code that does this, and it actually does seem to work. So far,
> I
> haven'
On Tue, 21 Apr 2015, Ivan T. Ivanov wrote:
> This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
> devm_ioremap_resource instead of devm_ioremap"), because msm_otg
> and this driver are using same address space to access AHB mode
> and USB command registers.
Um, this patch is in fact _not
On Tue, 21 Apr 2015, Hans de Goede wrote:
> uas_use_uas_driver may set some US_FL_foo flags during detection, currently
> these are stored in a local variable and then throw away, but these may be
> of interest to the caller, so add an extra parameter to (optionally) return
> the detected flags, a
On Tue, 21 Apr 2015, Joe Lawrence wrote:
> On 04/21/2015 08:21 AM, Mathias Nyman wrote:
> [...]
> > On the other hand if we just removed xhci, and share the interrupt with
> > somebody else who is
> > also generating an interrupts, then we would probably continue to read
> > 0x from the
Samsung has just released a portable USB3 SSD, coming in a very small
and nice form factor. It's USB ID is 04e8:8001, which unfortunately is
already used by the pl2303 USB serial driver for the Samsung I330 phone
cradle. This phone was manufactured in 2001, and I seriously doubt it is
still in use
On Tue, 21 Apr 2015, Tom Yan wrote:
> On 21 April 2015 at 03:44, Alan Stern wrote:
>
> > The generic driver includes code for enabling wakeup by default,
>
> Is there a part of code which can shows this? It seems to me that the
> usbhid module is loaded for all USB HID devices, so I doubt a bit
On Tue, 21 Apr 2015, Tom Yan wrote:
> By blacklisting the hid-generic, I think I can confirm hid-generic is
> the module that matters. Though I'm curious how it use the code from
> usbhid/hid-core.c because I couldn't find a clue in the short
> hid-generic.c.
In fact, hid-generic.c contains no ex
On Tue, 2015-04-21 at 11:04 -0400, Alan Stern wrote:
> On Tue, 21 Apr 2015, Ivan T. Ivanov wrote:
>
> > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
> > devm_ioremap_resource instead of devm_ioremap"), because msm_otg
> > and this driver are using same address space to access AHB m
[quoted lines by Alan Stern on 2015/04/21 at 10:50 -0400]
>Yes, it's okay. A userspace ABI like that isn't going to go away.
>It's also true that you can poll for POLLERR or POLLHUP to see when a
>device has been disconnected, although libusb probably isn't interested
>in doing that.
Out of cu
Hi,
I looked around your patch and tested it and looks good.
However, I do have 2 nit-picks:
* I noticed in some places you've used labels such as err0 and err1.
Please replace them with something more relevant to their
functionality, such as what you're cleaning up after. There are
examples of t
On Tue, 21 Apr 2015, Ivan T. Ivanov wrote:
>
> On Tue, 2015-04-21 at 11:04 -0400, Alan Stern wrote:
> > On Tue, 21 Apr 2015, Ivan T. Ivanov wrote:
> >
> > > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use
> > > devm_ioremap_resource instead of devm_ioremap"), because msm_otg
> > > an
On 21/04/15 06:26, Jan Kaisrlik wrote:
> From: Jan Kaisrlik
>
> This patch refactors dsa_probe in order to simplify code in the patch 2/3.
It does not look like you are working on the latest net-next tree, that
part of the code has already been refactored to have separate helper
functions such a
On Tue, Apr 14, 2015 at 10:00 AM, Nobuo Iwata
wrote:
> -server:# usbip bind --busid=1-2
> +dev:# usbip bind --busid=1-2
> - Bind usbip-host.ko to the device of busid 1-2.
> -- A usb device 1-2 is now exportable to other hosts!
> -- Use 'usbip unbind --busid=1-2' w
On Tue, Apr 21, 2015 at 05:07:05PM +0200, Jason A. Donenfeld wrote:
> Samsung has just released a portable USB3 SSD, coming in a very small
> and nice form factor. It's USB ID is 04e8:8001, which unfortunately is
> already used by the pl2303 USB serial driver for the Samsung I330 phone
> cradle. Th
On Tue, 21 Apr 2015, Dave Mielke wrote:
> [quoted lines by Alan Stern on 2015/04/21 at 10:50 -0400]
>
> >Yes, it's okay. A userspace ABI like that isn't going to go away.
> >It's also true that you can poll for POLLERR or POLLHUP to see when a
> >device has been disconnected, although libusb p
On Tue, Apr 14, 2015 at 10:00 AM, Nobuo Iwata
wrote:
> stub_shutdown_connection() : drivers/usb/usbip/stub_dev.c
> stub_device_cleanup_urbs() : drivers/usb/usbip/stub_main.c
> requests to kill pending URBs and clears priv lists.
>
> stub_complete() : drivers/usb/usbip/stub_tx.c might be calle
On 21/04/15 05:47, Andrew Lunn wrote:
> Hi Jan
>
> Interesting work, but i think the architecture is wrong.
>
> DSA needs an Ethernet device, an MDIO bus, and information about ports
> on the switch.
That requirement is completely artificial as it is today, and just comes
from arbitrary limitat
Looks ok.
Valentina
--
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
> My goal in reworking this weird DSA device/driver model is that you
> could just register your switch devices as an enhanced
> phy_driver/spi_driver/pci_driver etc..., such that libphy-ready drivers
> could just take advantage of that when they scan/detect their MDIO buses
> and find a switch. We
On Tue, Apr 14, 2015 at 10:00 AM, Nobuo Iwata
wrote:
> diff --git a/tools/usb/usbip/libsrc/usbip_ux.h
> b/tools/usb/usbip/libsrc/usbip_ux.h
> new file mode 100644
> index 000..7506a1c
> --- /dev/null
> +++ b/tools/usb/usbip/libsrc/usbip_ux.h
> +#include "../../../../include/uapi/linux/usbip_
> -Original Message-
> From: Ricardo Ribalda Delgado [mailto:ricardo.riba...@gmail.com]
> Sent: Tuesday, April 21, 2015 1:33 AM
> To: Praveen Murali
> Cc: linux-usb@vger.kernel.org; ba...@ti.com; min...@mina86.com
> Subject: Re: usb: gadget: g_multi does not work with net2280
>
> Can you t
Looks good.
--
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 21/04/15 10:30, Andrew Lunn wrote:
>> My goal in reworking this weird DSA device/driver model is that you
>> could just register your switch devices as an enhanced
>> phy_driver/spi_driver/pci_driver etc..., such that libphy-ready drivers
>> could just take advantage of that when they scan/detec
> > I would however say that sysfs is the wrong API. The linux network
> > stack uses netlink for most configuration activities. So i would
> > suggest adding a netlink binding to DSA, and place the code in
> > net/dsa/, not within an MDIO driver.
>
> I suppose we could do that, but that sounds li
On 21/04/15 10:39, Andrew Lunn wrote:
>>> I would however say that sysfs is the wrong API. The linux network
>>> stack uses netlink for most configuration activities. So i would
>>> suggest adding a netlink binding to DSA, and place the code in
>>> net/dsa/, not within an MDIO driver.
>>
>> I suppo
Hi,
Managed to go through your series and looks like you've spent some
time on this. Good job!
However, given the density of the patches, I haven't really been able
to go through every line of code.
I did do some basic testing and made some comments where needed.
Shuah, Greg, do you think more th
Hello Peter,
thanks for reviewing.
On 21.04.2015 03:32, Peter Chen wrote:
> On Fri, Apr 17, 2015 at 08:04:13AM +0200, Heinrich Schuchardt wrote:
>> A string written by the user may not be zero terminated.
>>
>> sscanf may read memory beyond the buffer if no zero byte
>> is found.
>>
>> Signed-off
On Tue, Apr 21, 2015 at 09:25:41PM +0200, Heinrich Schuchardt wrote:
> Hello Peter,
>
> thanks for reviewing.
>
> On 21.04.2015 03:32, Peter Chen wrote:
> > On Fri, Apr 17, 2015 at 08:04:13AM +0200, Heinrich Schuchardt wrote:
> >> A string written by the user may not be zero terminated.
> >>
> >>
che crc16 sd_mod ata_generic
firewire_ohci firewire_core crc_itu_t mvsas libsas pata_via libata
scsi_transport_sas scsi_mod button
[ 84.884026] CPU: 1 PID: 2118 Comm: file-storage Not tainted
4.0.0-3-amd64-next-20150421 #5
[ 84.884026] Hardware name: VIA technology Inc. VX900/EPIA-M860, BIOS 101
On Tue, Apr 21, 2015 at 10:34:01AM +0300, Roger Quadros wrote:
> On 21/04/15 09:04, Peter Chen wrote:
> >
> >>
> >> On 20/04/15 06:05, Peter Chen wrote:
> >>> On Tue, Apr 14, 2015 at 01:41:47PM +0300, Roger Quadros wrote:
> This is an attempt to centralize OTG/Dual-role functionality in the
Praveen
On Wed, Apr 22, 2015 at 6:59 AM, Praveen Murali wrote:
>> > -Original Message-
>> > From: Ricardo Ribalda Delgado [mailto:ricardo.riba...@gmail.com]
>> > Sent: Tuesday, April 21, 2015 1:33 AM
>> > To: Praveen Murali
>> > Cc: linux-usb@vger.kernel.org; ba...@ti.com; min...@mina86.c
Praveen,
On Wed, Apr 22, 2015 at 11:19 AM, Praveen Murali wrote:
> Hi Rajeev,
>> -Original Message-
>> From: rajeev kumar [mailto:rajeevkumar.li...@gmail.com]
>> Sent: Tuesday, April 21, 2015 10:22 PM
>> To: Praveen Murali
>> Cc: Ricardo Ribalda Delgado; linux-usb@vger.kernel.org; ba...@t
58 matches
Mail list logo