RE: Linux USB file storage gadget with new UDC

2012-12-11 Thread victor
Hi, > > > > Yes, the devices /dev/mmcblk0 and /dev/mmcblk0p1 exist. The > > /dev/mmcblk0 can be mounted. The dmesg does not contain other > > messages. I am not sure the way to use g_file_storage.ko with UDC. Please > kindly help me. > > > > # ls /dev/mmc* > > /dev/mmc0 /dev/mmc2 /dev/

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-11 Thread Robert Hancock
On 12/11/2012 02:37 PM, Alan Stern wrote: On Tue, 11 Dec 2012, prasannatsmkumar wrote: Hi All, I connected an Android phone using USB cable to my machine running Linux (Linux 3.0, 3.2, 3.5). Mounted the SD card in phone in system (phone is just a pass through I guess). When I choose "Safely Re

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread huang ying
On Wed, Dec 12, 2012 at 10:34 AM, Andrew Lutomirski wrote: > On Tue, Dec 11, 2012 at 6:32 PM, Huang Ying wrote: >> On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: >>> On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: >>> > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread Andrew Lutomirski
On Tue, Dec 11, 2012 at 6:32 PM, Huang Ying wrote: > On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: >> On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: >> > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: >> > > On Wednesday, December 05, 2012 04:33:44

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread Huang Ying
On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: > On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: > > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: > > > On Wednesday, December 05, 2012 04:33:44 PM Sarah Sharp wrote: > > > > Wakeup from D3 works fine o

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-11 Thread Joel Becker
On Mon, Dec 10, 2012 at 03:17:34PM +0100, Andrzej Pietrasiewicz wrote: > @Joel in particular: please see my comment in the bottom. > I forgot to mention, representing udcs (USB Device Controllers) in > configfs is similar to interfaces/endpoints: the user needs to guess > what name to use in mkd

Re: Tons of issues with xhci

2012-12-11 Thread Sarah Sharp
Hi Alan, I'm finally revisiting the issue with active transfers when a device disconnects. I'm trying to refresh my memory of the issue. On Thu, Oct 18, 2012 at 03:54:06PM -0400, Alan Stern wrote: > Unfortunately the trace isn't termendously helpful. It shows a bunch > of reads with a few write

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Timur
On 12/11/2012 11:24 PM, Alan Stern wrote: On Tue, 11 Dec 2012, Timur wrote: I am talking about both devices loosing external power at the same time. Losing external power is different from losing power. I'm trying to be as precise as I can. The N7 will then switch to it's internal battery.

Re: usb bus monitoring

2012-12-11 Thread Steve Calfee
Hi Tilman, Another option is to find and use fx2lib. It includes fx1 based stuff and should give you some ideas on how to at least make something work. It uses the open source SDCC compiler, so if you are using something else some of the syntax is different. Regards, Steve On Tue, Dec 11, 2012 a

Re: usb bus monitoring

2012-12-11 Thread Tilman
Peter Stuge writes: > Tilman wrote: > What device is that? Is it a Cypress FX2 or an SiLabs C8051? ezusb (Cypress AN2131) > > The urb eventually times out. Via debug FS I can see that the urb is > > indeed submitted. I suspect the firmware to be responsible for this. > > That's quite likely.

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Timur wrote: > I am talking about both devices loosing external power at the same time. Losing external power is different from losing power. > The N7 will then switch to it's internal battery. Right. It will continue running, because the battery continues to supply powe

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Timur
On 12/11/2012 08:13 PM, Alan Stern wrote: On Tue, 11 Dec 2012, Timur wrote: Thank you for your response. Yes, unplugging helps. But host and slave should also function in a fixed installation setup, where cables are hidden. I tried different slave devices and they are all "not accepting address

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-12-11 Thread Frank Schäfer
Am 11.12.2012 17:48, schrieb Alan Stern: [snip] > > We really need to know which component is bad: the host controller or > the device. It happens with all USB 1.1 devices I have (several mice and a HP Deskjet 960c printer). The same devices do not cause other machines to wake up, so I assume it

Re: [PATCH] lsusb: Fix USB 3.0 link state reporting.

2012-12-11 Thread Greg KH
On Thu, Nov 08, 2012 at 01:57:04PM -0800, Sarah Sharp wrote: > The math in the link status reporting is wrong. The link state is in > bits 8:5 of the hub port status word, which is split across a char > array. Currently, if the link state is 0xb (Loopback mode), the status > char array will look

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-11 Thread Joel Becker
On Mon, Dec 10, 2012 at 12:57:02PM +0100, Andrzej Pietrasiewicz wrote: > Hello Joel, > > So you are alive, I'm glad to hear from you ;) Thank you for your response. Yeah, sorry for missing the thread for so long. > On Saturday, December 08, 2012 12:18 AM Joel Becker wrote: > > Subject: R

Re: [RFC v3 00/13] USB core reset improvements

2012-12-11 Thread Sarah Sharp
On Tue, Dec 11, 2012 at 03:26:29PM -0500, Alan Stern wrote: > On Tue, 11 Dec 2012, Alan Stern wrote: > > > Overall it looks good and ready for mergin. There is one odd thing > > about the last patch; I'll send a separate email about it. > > Looking at it a second time, I realized there was noth

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, prasannatsmkumar wrote: > Hi All, > > I connected an Android phone using USB cable to my machine running > Linux (Linux 3.0, 3.2, 3.5). Mounted the SD card in phone in system > (phone is just a pass through I guess). When I choose "Safely Remove" > option in nautilus file man

Re: [RFC v3 00/13] USB core reset improvements

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Alan Stern wrote: > Overall it looks good and ready for mergin. There is one odd thing > about the last patch; I'll send a separate email about it. Looking at it a second time, I realized there was nothing wrong -- I had simply misunderstood the code. > Aside from that, f

Re: [RFC v3 00/13] USB core reset improvements

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Sarah Sharp wrote: > Changelog from v2: > > - Added two new patches to the end. One refactors hub_port_wait_reset >(as Alan requested) and the other converts hub.c to use the new macro >to set a port link state. > > - Patch 5 "USB: Ignore port state until reset co

[GIT PATCH] USB patches for 3.8-rc1

2012-12-11 Thread Greg KH
The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.8-rc1 for you to fetch changes up to fb37ef98015f864d22be22

Re: Is consistency sought in Kconfig tristate text?

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 11:06:59AM -0800, rh wrote: > On Tue, 11 Dec 2012 10:05:12 -0800 > Greg KH > wrote: > > > On Tue, Dec 11, 2012 at 09:44:36AM -0800, rh wrote: > > > I am curious to know if there are any rules applied to the text of > > > tristate in Kconfig. For example what's preferred in

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Timur wrote: > > Thank you for your response. Yes, unplugging helps. But host and slave > > should also function in a fixed installation setup, where cables are > > hidden. I tried different slave devices and they are all "not > > accepting address xx, error -71" after powe

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Timur
On 12/11/2012 06:36 PM, Timur wrote: On 12/11/2012 04:34 PM, Alan Stern wrote: On Mon, 10 Dec 2012, Timur wrote: N7 is not using a vanilla kernel. It is one thing to apply modifications to the given code base. It would be far more difficult (I think) to replace the kernel as a whole. Maybe I

[RFC 07/13] xhci: Avoid "dead ports", add roothub port polling.

2012-12-11 Thread Sarah Sharp
The USB core hub thread (khubd) is designed with external USB hubs in mind. It expects that if a port status change bit is set, the hub will continue to send a notification through the hub status data transfer. Basically, it expects hub notifications to be level-triggered. The xHCI host controlle

[RFC v3 00/13] USB core reset improvements

2012-12-11 Thread Sarah Sharp
Changelog from v2: - Added two new patches to the end. One refactors hub_port_wait_reset (as Alan requested) and the other converts hub.c to use the new macro to set a port link state. - Patch 5 "USB: Ignore port state until reset completes." now removes several redundant checks for U

[RFC 10/13] USB: Rip out recursive call on warm port reset.

2012-12-11 Thread Sarah Sharp
When a hot reset fails on a USB 3.0 port, the current port reset code recursively calls hub_port_reset inside hub_port_wait_reset. This isn't ideal, since we should avoid recursive calls in the kernel, and it also doesn't allow us to issue multiple warm resets on reset failures. Rip out the recur

[RFC 02/13] USB: Ignore xHCI Reset Device status.

2012-12-11 Thread Sarah Sharp
When the USB core finishes reseting a USB device, the xHCI driver sends a Reset Device command to the host. The xHC then updates its internal representation of the USB device to the 'Default' device state. If the device was already in the Default state, the xHC will complete the command with an e

[RFC 03/13] USB: Allow USB 3.0 ports to be disabled.

2012-12-11 Thread Sarah Sharp
If hot and warm reset fails, or a port remains in the Compliance Mode, the USB core needs to be able to disable a USB 3.0 port. Unlike USB 2.0 ports, once the port is placed into the Disabled link state, it will not report any new device connects. To get device connect notifications, we need to p

[RFC 13/13] USB: Refactor hub_port_wait_reset.

2012-12-11 Thread Sarah Sharp
Refactor hub_port_wait_reset into a small loop to wait for the port reset to be complete, and then a larger block to deal with the final port status. This patch should not change any current behavior. Signed-off-by: Sarah Sharp --- drivers/usb/core/hub.c | 73 -

[RFC 08/13] USB: Don't use EHCI port sempahore for USB 3.0 hubs.

2012-12-11 Thread Sarah Sharp
The EHCI host controller needs to prevent EHCI initialization when the UHCI or OHCI companion controller is in the middle of a port reset. It uses ehci_cf_port_reset_rwsem to do this. USB 3.0 hubs can't be under an EHCI host controller, so it makes no sense to down the semaphore for USB 3.0 hubs.

[RFC 01/13] USB: Handle auto-transition from hot to warm reset.

2012-12-11 Thread Sarah Sharp
USB 3.0 hubs and roothubs will automatically transition a failed hot reset to a warm (BH) reset. In that case, the warm reset change bit will be set, and the link state change bit may also be set. Change hub_port_finish_reset to unconditionally clear those change bits for USB 3.0 hubs. If these

[RFC 12/13] USB: Use helper function hub_set_port_link_state

2012-12-11 Thread Sarah Sharp
Change the code that manually issues a Set Port Feature(Link State) to use the new helper function hub_set_port_link_state(). Signed-off-by: Sarah Sharp --- drivers/usb/core/hub.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb

[RFC 11/13] USB: Fix connected device switch to Inactive state.

2012-12-11 Thread Sarah Sharp
A USB 3.0 device can transition to the Inactive state if a U1 or U2 exit transition fails. The current code in hub_events simply issues a warm reset, but does not call any pre-reset or post-reset driver methods (or unbind/rebind drivers without them). Therefore the drivers won't know their device

[RFC 09/13] USB: Prepare for refactoring by adding extra udev checks.

2012-12-11 Thread Sarah Sharp
The next patch will refactor the hub port code to rip out the recursive call to hub_port_reset on a failed hot reset. In preparation for that, make sure all code paths can deal with being called with a NULL udev. The usb_device will not be valid if warm reset was issued because a port transitioned

[RFC 06/13] USB: Handle warm reset failure on empty port.

2012-12-11 Thread Sarah Sharp
An empty port can transition to either Inactive or Compliance Mode if a newly connected USB 3.0 device fails to link train. In that case, we issue a warm reset. Some devices, such as John's Roseweil eusb3 enclosure, slip back into Compliance Mode after the warm reset. The current warm reset code

[RFC 05/13] USB: Ignore port state until reset completes.

2012-12-11 Thread Sarah Sharp
The port reset code bails out early if the current connect status is cleared (device disconnected). If we're issuing a hot reset, it may also look at the link state before the reset is finished. Section 10.14.2.6 of the USB 3.0 spec says that when a port enters the Error state or Resetting state,

[RFC 04/13] USB: Increase reset timeout.

2012-12-11 Thread Sarah Sharp
John's NEC 0.96 xHCI host controller needs a longer timeout for a warm reset to complete. The logs show it takes 650ms to complete the warm reset, so extend the hub reset timeout to 800ms to be on the safe side. This commit should be backported to kernels as old as 3.2, that contain the commit 75

Re: Is consistency sought in Kconfig tristate text?

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 09:44:36AM -0800, rh wrote: > I am curious to know if there are any rules applied to the text of tristate in > Kconfig. For example what's preferred in tristate text, the name that a user > would know because it's printed on the outside of the device or that name > of the ch

[PATCH v6] usb_8dev: Add support for USB2CAN interface from 8 devices

2012-12-11 Thread Bernd Krumboeck
Add device driver for USB2CAN interface from "8 devices" (http://www.8devices.com). changes since v5: * unlock mutex on error changes since v4: * removed FSF address * renamed struct usb_8dev * removed unused variable free_slots * replaced some _to_cpu functions with pointer equivalent * fix ret

Re: USB issue with kernel 3.6

2012-12-11 Thread Alan Stern
On Mon, 10 Dec 2012, Piergiorgio Sartor wrote: > It might be useful. > I tried quickly to put 5 instead of 20, but still > the issue was difficult to reproduce (3.7.0-rc4+). > It happened (again) only after I increased the CPU > (or I/O) load by "make -j5" in "/usr/src/linux". > And even not immed

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Timur
On 12/11/2012 04:34 PM, Alan Stern wrote: On Mon, 10 Dec 2012, Timur wrote: N7 is not using a vanilla kernel. It is one thing to apply modifications to the given code base. It would be far more difficult (I think) to replace the kernel as a whole. Maybe I should back port just as little code as

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 01:29:19AM +0100, Timur wrote: > On 12/11/2012 12:04 AM, Greg KH wrote: > >On Mon, Dec 10, 2012 at 11:53:27PM +0100, Timur wrote: > >> > >>N7 is not using a vanilla kernel. > >Yes, I know that quite well :) > > > >>It is one thing to apply > >>modifications to the given code

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 11:51:40AM -0500, Alan Stern wrote: > On Tue, 11 Dec 2012, Peter Stuge wrote: > > > victor wrote: > > > > please remove these sort of footers when you send emails to a public > > > > mailing list ;-) > > > > > > The footer is auto-inserted by the company email system. I am

Re: [PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, fangxiaozhi 00110321 wrote: > From: fangxiaozhi > > To optimize the match rules for the Huawei USB storage devices. Avoid to load > USB storage driver for modem interface with Huawei devices. > > Signed-off-by: fangxiaozhi > >

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Peter Stuge wrote: > victor wrote: > > > please remove these sort of footers when you send emails to a public > > > mailing list ;-) > > > > The footer is auto-inserted by the company email system. I am sorry > > about it. > > Talk to your company about how it is impossible

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Lan Tianyu wrote: > Hi Alan&Greg: > Since 3.1, Alan enabled usb device wakeup default, there are > a lot of problem that immediately resume when enter into s2ram/s2disk. > I have traced some these bugs. Most of these bugs are related usb1.1 > device which attached to

Re: [PATCH 08/10] usb: add usb port auto power off mechanism

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, Lan Tianyu wrote: > >> @@ -108,11 +109,14 @@ MODULE_PARM_DESC(use_both_schemes, > >> DECLARE_RWSEM(ehci_cf_port_reset_rwsem); > >> EXPORT_SYMBOL_GPL(ehci_cf_port_reset_rwsem); > >> > >> +#define HUB_PORT_RECONNECT_TRIES 20 > > > > 20 is an awful lot. Do you really need an

Re: Franklin U600 modem 4G part does not switch or is not detected

2012-12-11 Thread Dan Williams
On Mon, 2012-12-10 at 15:15 -0800, United Seabears Corp. wrote: > Two months ago I asked for > assistance with the installation of a Franklin U600 3G/4G modem on the > above OS. Meanwhile I managed to get the 3G part of the dual modem to > work reliably. > I had to discover on my own that this m

Re: [PATCHv2][RFC] smsc95xx: enable dynamic autosuspend

2012-12-11 Thread Joe Perches
On Tue, 2012-12-11 at 15:26 +, Steve Glendinning wrote: > This patch enables USB dynamic autosuspend for LAN9500A. This > saves very little power in itself, but it allows power saving > in upstream hubs/hosts. []> diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c [] > +

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Peter Stuge
victor wrote: > > please remove these sort of footers when you send emails to a public > > mailing list ;-) > > The footer is auto-inserted by the company email system. I am sorry > about it. Talk to your company about how it is impossible for you to contribute to an open source project on a pub

Re: [PATCHv2][RFC] smsc95xx: enable dynamic autosuspend

2012-12-11 Thread Ming Lei
On Tue, Dec 11, 2012 at 11:26 PM, Steve Glendinning wrote: > This patch enables USB dynamic autosuspend for LAN9500A. This > saves very little power in itself, but it allows power saving > in upstream hubs/hosts. > > The earlier devices in this family (LAN9500/9512/9514) do not > support this fea

Re: [PATCH][RFC] smsc95xx: enable dynamic autosuspend (RFC)

2012-12-11 Thread Ming Lei
CC linux-power On Tue, Dec 11, 2012 at 11:19 PM, Oliver Neukum wrote: > On Tuesday 11 December 2012 20:53:19 Ming Lei wrote: >> In fact, I have test data which can show a much power save >> on OMAP3 based beagle board plus asix usbnet device with >> the periodic work. IMO, the power save after in

Re: USB Gadget driver: Add support for CD-ROM booting

2012-12-11 Thread Alan Stern
On Mon, 10 Dec 2012, Golmer Palmer wrote: > Alan Stern writes: > > > > > On Mon, 10 Dec 2012, Golmer Palmer wrote: > > > > > Now, another comment related to the "storage_common.c" file: > > > > > > Why the limit of "if (num_sectors >= 256*60*75*4)" in function > "fsg_lun_open()". > > > > T

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Alan Stern
On Mon, 10 Dec 2012, Timur wrote: > N7 is not using a vanilla kernel. It is one thing to apply modifications > to the given code base. It would be far more difficult (I think) to > replace the kernel as a whole. Maybe I should back port just as little > code as possible? Or maybe I should try t

[PATCHv2][RFC] smsc95xx: enable dynamic autosuspend

2012-12-11 Thread Steve Glendinning
This patch enables USB dynamic autosuspend for LAN9500A. This saves very little power in itself, but it allows power saving in upstream hubs/hosts. The earlier devices in this family (LAN9500/9512/9514) do not support this feature. Signed-off-by: Steve Glendinning --- drivers/net/usb/smsc95xx.

Re: [PATCH][RFC] smsc95xx: enable dynamic autosuspend (RFC)

2012-12-11 Thread Oliver Neukum
On Tuesday 11 December 2012 20:53:19 Ming Lei wrote: > In fact, I have test data which can show a much power save > on OMAP3 based beagle board plus asix usbnet device with > the periodic work. IMO, the power save after introducing periodic > timer depends on the arch or platform, there should be m

Re: [PATCH][RFC] smsc95xx: enable dynamic autosuspend (RFC)

2012-12-11 Thread Steve Glendinning
On 11 December 2012 12:53, Ming Lei wrote: > On Tue, Dec 11, 2012 at 6:27 PM, Oliver Neukum wrote: >> So they can autosuspend if the interface is up and no cable is plugged >> in? > > From the open datasheet, that is the suspend 1 mode, which is supported > by all LAN95xx devices. Steve, correct

Re: [PATCH][RFC] smsc95xx: enable dynamic autosuspend (RFC)

2012-12-11 Thread Ming Lei
On Tue, Dec 11, 2012 at 6:27 PM, Oliver Neukum wrote: > On Tuesday 11 December 2012 10:24:57 Ming Lei wrote: >> On Mon, Dec 10, 2012 at 10:18 PM, Steve Glendinning >> wrote: > >> > Thanks, so something like this should do the job? >> >> This will do, but not simple as clearing .manage_power func

RE: Linux USB file storage gadget with new UDC

2012-12-11 Thread victor
> > > > > > > > > > I am working on a new UDC for a new USB chip. The kernel version > > > > > is 3.4.4. When I insmod the new UDC, it is ok. When I insmod the > > > > > file > > > > > > out of curiosity, do you plan to send kagen2_udc.ko to mainline ? > > > > > Yes, it will be sent to mainline onc

[PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices

2012-12-11 Thread fangxiaozhi 00110321
From: fangxiaozhi To optimize the match rules for the Huawei USB storage devices. Avoid to load USB storage driver for modem interface with Huawei devices. Signed-off-by: fangxiaozhi - diff -uprN linux-3.7_bak/dri

Re: [PATCH][RFC] smsc95xx: enable dynamic autosuspend (RFC)

2012-12-11 Thread Oliver Neukum
On Tuesday 11 December 2012 10:24:57 Ming Lei wrote: > On Mon, Dec 10, 2012 at 10:18 PM, Steve Glendinning wrote: > > Thanks, so something like this should do the job? > > This will do, but not simple as clearing .manage_power function > pointer in bind(), and still disable runtime suspend for l

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-12-11 Thread Felipe Balbi
On Tue, Dec 11, 2012 at 12:01:57PM +0200, Roger Quadros wrote: > On 12/11/2012 11:12 AM, Jassi Brar wrote: > > On Mon, Dec 10, 2012 at 3:18 PM, Roger Quadros wrote: > >> On 12/06/2012 04:34 PM, Jassi Brar wrote: > > Yes, this is where we can think of a generic PHY driver to make sure thy

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-12-11 Thread Roger Quadros
On 12/11/2012 11:12 AM, Jassi Brar wrote: > On Mon, Dec 10, 2012 at 3:18 PM, Roger Quadros wrote: >> On 12/06/2012 04:34 PM, Jassi Brar wrote: Yes, this is where we can think of a generic PHY driver to make sure thy PHY has necessary resources enabled. In the Panda case it would be

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-12-11 Thread Jassi Brar
On Mon, Dec 10, 2012 at 3:18 PM, Roger Quadros wrote: > On 12/06/2012 04:34 PM, Jassi Brar wrote: >>> >>> Yes, this is where we can think of a generic PHY driver to make sure thy >>> PHY has necessary resources enabled. In the Panda case it would be the >>> PHY clock and RESET gpio. >>> >> I wonde

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Felipe Balbi
Hi, On Tue, Dec 11, 2012 at 10:07:51AM +0800, victor wrote: > > > do I insmod the file storage gadget separately? The /dev/mmcblk0 refers > to > > SD card, right? I insmod the sd card driver already. > > > > > > # lsmod > > > kagen2_udc 7262 0 - Live 0xbf02f000 > > > ka2000_sdio 6643 0 - Live 0xbf

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Felipe Balbi
On Tue, Dec 11, 2012 at 10:08:52AM +0800, victor wrote: > > > > > > > > I am working on a new UDC for a new USB chip. The kernel version is > > > > 3.4.4. When I insmod the new UDC, it is ok. When I insmod the file > > > > out of curiosity, do you plan to send kagen2_udc.ko to mainline ? > > > Ye

Re: Bug#677472: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-12-11 Thread Lan Tianyu
Hi Alan&Greg: Since 3.1, Alan enabled usb device wakeup default, there are a lot of problem that immediately resume when enter into s2ram/s2disk. I have traced some these bugs. Most of these bugs are related usb1.1 device which attached to OHCI/UHCI. If disable the hc wakeup or no device