Re: [V7 PATCH 02/16] usb: gadget: mv_udc: use PHY driver for udc

2013-02-18 Thread kishon
Hi, On Monday 18 February 2013 11:40 AM, Chao Xie wrote: Originaly, udc driver will call the callbacks in platform data for PHY initialization and shut down. With PHY driver, it will call the APIs provided by PHY driver for PHY initialization and shut down. It removes the callbacks in platform

Re: [V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-18 Thread Bo Shen
On 02/15/2013 06:24 PM, Manjunath Goudar wrote: Separate the Atmel host controller driver from ehci-hcd host code into its own driver module. In V2: Resolved below compiler error. drivers/usb/host/ehci-atmel.c: In function 'ehci_atmel_drv_remove': drivers/usb/host/ehci-atmel.c:167: error:

[PATCH] pci: do not try to assign irq 255

2013-02-18 Thread Hannes Reinecke
The PCI config space reseves a byte for the interrupt line, so irq 255 actually refers to 'not set'. However, the 'irq' field for struct pci_dev is an integer, so the original meaning is lost, causing the system to assign an interrupt '255', which fails. So we should _not_ assign an interrupt

Re: [V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-18 Thread Arnd Bergmann
On Monday 18 February 2013, Bo Shen wrote: - .name = atmel-ehci, + .name = hcd_name, This change will cause atmel ehci won't work with the none device tree kernel. it can be fixed with replace other places using atmel-ehci with hcd_name, that means replace

Re: Fwd: PROBLEM: Permanent kernel panic in USB hub driver - 3.5.0-22

2013-02-18 Thread Gerd Hoffmann
Hi, However, I think the root cause is the same as in previous cores, so it is still would be worth to analyze them. Here is a new picture of the panic: https://dl.dropbox.com/u/8276110/3.7.4%20panic.jpg Do you have the UAS driver compiled in? I see some functions that could only be

Re: [RFC PATCH] usb/core: add current frame_number sysfs attr to hcd

2013-02-18 Thread Greg KH
On Mon, Feb 18, 2013 at 03:34:07PM +0100, Stefan Tauner wrote: This allows user space to retrieve the current frame number on a USB as returned by usb_get_current_frame_number(...) via sysfs. Signed-off-by: Stefan Tauner stefan.tau...@student.tuwien.ac.at --- That's sadly not necessarily

[PATCH v3] xhci - correct comp_mode_recovery_timer on return from hibernate

2013-02-18 Thread Tony Camuso
Commit 71c731a2 (usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware) was a workaround for systems using the SN65LVPE502CP controller, but it introduced a bug where resume from hibernate would add the comp_mode_recovery_timer to the timer queue while it was already active when saved to

Re: [PATCH v3] xhci - correct comp_mode_recovery_timer on return from hibernate

2013-02-18 Thread Tony Camuso
The difference between v2 and v3 of this patch was mostly cosmetic. (!(xhci_all_ports_seen_u0(xhci)) ... was changed to... !(xhci_all_ports_seen_u0(xhci)) And ... Compliance Mode Recovery Timer Deleted!\n ... was changed to ... Compliance Mode Recovery Timer deleted!\n On 02/18/2013

[PATCH 0/3] Introduce driver for IMS PCU devices

2013-02-18 Thread Dmitry Torokhov
IMS, an In Flight Entertainment System provider, has a number of seat displays Linux. To interact with the user IMS uses a passenger Control Unit (PCU), which communicates with Rave Display Unit via a USB interface. Originally large part of the PCU handling was done from userspace and so it

[PATCH 2/3] Input: add IMS Passenger Control Unit driver

2013-02-18 Thread Dmitry Torokhov
The PCU is a device installed in the armrest of a plane seat and is connected to IMS Rave Entertainment System. It has a set of control buttons (Volume Up/Down, Attendant, Lights, etc) on one side and gamepad-like controls on the other side. Originally the device was handled from userspace and

[PATCH 3/3] USB: cdc-acm - blacklist IMS PCU device

2013-02-18 Thread Dmitry Torokhov
The IMS PCU (Passenger Control Unit) device used custom protocol over serial line, so it is presenting itself as CDC ACM device. Now that we have proper in-kernel driver for it we need to black-list the device in cdc-acm driver. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com ---

Re: [PATCH 3/3] USB: cdc-acm - blacklist IMS PCU device

2013-02-18 Thread Greg KH
On Mon, Feb 18, 2013 at 11:05:57AM -0800, Dmitry Torokhov wrote: The IMS PCU (Passenger Control Unit) device used custom protocol over serial line, so it is presenting itself as CDC ACM device. Now that we have proper in-kernel driver for it we need to black-list the device in cdc-acm

Re: [RFC PATCH] usb/core: add current frame_number sysfs attr to hcd

2013-02-18 Thread Alan Stern
On Mon, 18 Feb 2013, Stefan Tauner wrote: This allows user space to retrieve the current frame number on a USB as returned by usb_get_current_frame_number(...) via sysfs. Signed-off-by: Stefan Tauner stefan.tau...@student.tuwien.ac.at --- That's sadly not necessarily the raw value seen on

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Alan Stern
On Sun, 10 Feb 2013, Otavio Salvador wrote: On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: I do have EHCI and PCI enabled so it should be working. Any clue about why it breaks it? Perhaps your system is not

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:09 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: I do have EHCI and PCI enabled so it should be

Re: -drop_endpoint being called for disabled endpoints

2013-02-18 Thread Alan Stern
On Fri, 15 Feb 2013, Felipe Balbi wrote: Hi all, I keep seeing the following messages when transferring data to any USB3 mass storage I have (tried 3 different ones already): [618002.014556] xhci_hcd :03:00.0: xHCI xhci_drop_endpoint called with disabled ep 88012976cd40

Re: [PATCH 2/2] USB: EHCI: make ehci-orion a separate driver

2013-02-18 Thread Alan Stern
On Fri, 15 Feb 2013, Arnd Bergmann wrote: From: Manjunath Goudar manjunath.gou...@linaro.org With the multiplatform changes in arm-soc tree, it becomes possible to enable the mvebu platform (which uses ehci-orion) at the same time as other platforms that require a conflicting EHCI bus

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Alan Stern
On Mon, 18 Feb 2013, Otavio Salvador wrote: I thought the ehci-pci module would be load for every ehci PCI; What do you think? The kernel can't guarantee anything about what driver modules are loaded. That's up to userspace. In particular, the initramfs image must be set up properly

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:38 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 18 Feb 2013, Otavio Salvador wrote: I thought the ehci-pci module would be load for every ehci PCI; What do you think? The kernel can't guarantee anything about what driver modules are loaded. That's

Re: [RFC PATCH] usb/core: add current frame_number sysfs attr to hcd

2013-02-18 Thread Stefan Tauner
On Mon, 18 Feb 2013 07:20:56 -0800 Greg KH gre...@linuxfoundation.org wrote: On Mon, Feb 18, 2013 at 03:34:07PM +0100, Stefan Tauner wrote: This allows user space to retrieve the current frame number on a USB as returned by usb_get_current_frame_number(...) via sysfs. Signed-off-by:

Re: [PATCH] pci: do not try to assign irq 255

2013-02-18 Thread David Härdeman
On Mon, Feb 18, 2013 at 11:09:53AM +0100, Hannes Reinecke wrote: The PCI config space reseves a byte for the interrupt line, so irq 255 actually refers to 'not set'. However, the 'irq' field for struct pci_dev is an integer, so the original meaning is lost, causing the system to assign an

Re: [RFC PATCH] usb/core: add current frame_number sysfs attr to hcd

2013-02-18 Thread Alan Stern
On Tue, 19 Feb 2013, Stefan Tauner wrote: Well, I am not entirely sure if even I want this in (as is) yet, because it is just a part of a complete solution for my problem and I can't imagine a reason why user space would want to know this odd value as is. So I can not give a committable

qcaux: add Franklin U600

2013-02-18 Thread Dan Williams
4 ports; AT/PPP is standard CDC-ACM. The other three (added by this patch) are QCDM/DIAG, possibly GPS, and unknown. Signed-off-by: Dan Williams d...@redhat.com --- diff --git a/drivers/usb/serial/qcaux.c b/drivers/usb/serial/qcaux.c index 9b1b96f..31f81c3 100644 --- a/drivers/usb/serial/qcaux.c

RE: Not enough resource for old configuration after USB bus reset

2013-02-18 Thread Soar Hung
Hi all, I checkout the usb-next branch (on 2/18) and following the https://wiki.ubuntu.com/KernelTeam/GitKernelBuild to build the kernel. After reboot, the new kernel version is Linux dev 3.8.0-rc5-usbnext #1 SMP Mon Feb 18 18:04:02 CST 2013 i686 i686 i386 GNU/Linux. I try the same operation

[PATCH v2] qmi_wwan, cdc-ether: add ADU960S

2013-02-18 Thread Dan Williams
It advertises a standard CDC-ETHER interface, which actually should be driven by qmi_wwan. Signed-off-by: Dan Williams d...@redhat.com --- index 3f3d12d..57136dc 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -615,6 +615,13 @@ static const struct usb_device_id

Re: [PATCH v2] qmi_wwan, cdc-ether: add ADU960S

2013-02-18 Thread David Miller
From: Dan Williams d...@redhat.com Date: Mon, 18 Feb 2013 21:25:09 -0600 It advertises a standard CDC-ETHER interface, which actually should be driven by qmi_wwan. Signed-off-by: Dan Williams d...@redhat.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-usb in

[PATCH v2 2/5] usb: phy: omap-usb2: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. omap_usb2_suspend is split into omap_usb_suspend and omap_usb_resume in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new

[PATCH v2 3/5] usb: otg: twl4030: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. twl4030_usb_suspend and twl4030_usb_resume is added to phy_ops in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework

[PATCH v2 0/5] Generic PHY Framework

2013-02-18 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from

[PATCH v2 5/5] usb: musb: omap2430: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_suspend and usb_phy_set_resume is replaced with phy_suspend and phy_resume to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

Re: [PATCH 2/2] USB: EHCI: make ehci-orion a separate driver

2013-02-18 Thread Andrew Lunn
On Mon, Feb 18, 2013 at 05:34:35PM -0500, Alan Stern wrote: On Fri, 15 Feb 2013, Arnd Bergmann wrote: From: Manjunath Goudar manjunath.gou...@linaro.org With the multiplatform changes in arm-soc tree, it becomes possible to enable the mvebu platform (which uses ehci-orion) at the

Re: [regression][v3.8rc6-v3.8rc7] ehci-pci fails with error -110 on read/[64,all]

2013-02-18 Thread Ronald
Correction, this regression/commit (55bcdce) was introduced between rc6 and rc7. Sorry about that. 2013/2/18 Ronald ronald...@gmail.com: CC'ing the author of the patch. 2013/2/18 Ronald ronald...@gmail.com: This e-mail is a follow-up as requested in this bug[1]. I will repost everything so

Re: -drop_endpoint being called for disabled endpoints

2013-02-18 Thread Felipe Balbi
Hi, On Mon, Feb 18, 2013 at 05:20:44PM -0500, Alan Stern wrote: On Fri, 15 Feb 2013, Felipe Balbi wrote: Hi all, I keep seeing the following messages when transferring data to any USB3 mass storage I have (tried 3 different ones already): [618002.014556] xhci_hcd :03:00.0: