On 2013年01月04日 23:59, Alan Stern wrote:
> On Fri, 4 Jan 2013, Lan Tianyu wrote:
>
>> Some usb devices can't be resumed correctly after power off. This
>> patch is to add usb_device_allow_power_off() for device's driver to allow or
>> prohibit device to be power off the device. Call pm_runtime_get_
On 2013年01月04日 23:57, Alan Stern wrote:
> On Fri, 4 Jan 2013, Lan Tianyu wrote:
>> @@ -2862,6 +2880,20 @@ int usb_port_suspend(struct usb_device *udev,
>> pm_message_t msg)
>> udev->port_is_suspended = 1;
>> msleep(10);
>> }
>> +
>> +/*
>> + * Check whether c
On 2013年01月04日 23:53, Alan Stern wrote:
> On Fri, 4 Jan 2013, Lan Tianyu wrote:
>
>> This patch is to add runtime pm callback for usb port device.
>> Set/clear PORT_POWER feature in the resume/suspend callbak.
>> Add portnum for struct usb_port to record port number. Do
>> pm_rumtime_get_sync/put(
From: fangxiaozhi
1. Optimize the match rules with new macro for Huawei USB storage devices,
to avoid to load USB storage driver for the modem interface
with Huawei devices.
2. Add to support new switch command for new Huawei USB dongles.
Signed-off-by: fangxiaozhi
-
If one storage interface or usb network interface(iSCSI case)
exists in current configuration, memory allocation with
GFP_KERNEL during usb_device_reset() might trigger I/O transfer
on the storage interface itself and cause deadlock because
the 'us->dev_mutex' is held in .pre_reset() and the storag
From: fangxiaozhi
1. Define a new macro for USB storage match rules:
matching with Vendor ID and interface descriptors.
Signed-off-by: fangxiaozhi
diff -uprN linux-3.8-rc2_orig/drivers/usb/storage/usb.c
linux-3.8-rc2/dri
ller"
Cc: Eric Dumazet
Cc: David Decotigny
Cc: Tom Herbert
Cc: Ingo Molnar
Signed-off-by: Ming Lei
--
v7:
- rebase on v3.8-rc2-next-20130104
v4:
- call pm_runtime_set_memalloc_noio(ddev, true) after
device_add
---
net/core/net-sysfs.c |5 +
1 file changed, 5
This patch applies the introduced memalloc_noio_save() and
memalloc_noio_restore() to force memory allocation with no I/O
during runtime_resume/runtime_suspend callback on device with
the flag of 'memalloc_noio' set.
Cc: Alan Stern
Cc: Oliver Neukum
Cc: Rafael J. Wysocki
Signed-off-by: Ming Lei
This patch applyes the introduced pm_runtime_set_memalloc_noio on
block device so that PM core will teach mm to not allocate memory with
GFP_IOFS when calling the runtime_resume and runtime_suspend callback
for block devices and its ancestors.
Cc: Jens Axboe
Signed-off-by: Ming Lei
--
v5:
The patch introduces the flag of memalloc_noio in 'struct dev_pm_info'
to help PM core to teach mm not allocating memory with GFP_KERNEL
flag for avoiding probable deadlock.
As explained in the comment, any GFP_KERNEL allocation inside
runtime_resume() or runtime_suspend() on any one of device in
--
v7:
- fix type of 'flags' in memalloc_noio_save()/memalloc_noio_restore()
- rebase on v3.8-rc2-next-20130104
v6:
- replace GFP_IO with __GFP_IO to fix compile failure
v5:
- use inline instead of macro to define memalloc_noio_*
- replace memalloc_
ur concerns and looks no one objects these patches?
Change logs:
V7:
- rebase on v3.8-rc2-next-20130104
- move memalloc_noio_save/memalloc_noio_restore into
rpm_callback to avoid code duplication, as suggested
by Rafael
- optimize on pm_runtime_set_mem
hi, Felipe
How about these patches? i see that 3.8-rc2 is tagged but these
patches are not merged. Thanks.
On Tue, Dec 4, 2012 at 3:34 PM, Haojian Zhuang wrote:
> On Fri, Nov 30, 2012 at 10:10 PM, Felipe Balbi wrote:
>> Hi,
>>
>> On Tue, Nov 27, 2012 at 10:05:59PM -0500, Chao Xie wrote:
>>> The
On Fri, 2013-01-04 at 23:16 +0100, Oliver Neukum wrote:
> On Friday 04 January 2013 10:48:16 Dan Williams wrote:
> > Some drivers (ex sierra_net) need the status interrupt URB
> > active even when the device is closed, because they receive
> > custom indications from firmware. Allow sub-drivers to
On Friday 04 January 2013 10:48:16 Dan Williams wrote:
> Some drivers (ex sierra_net) need the status interrupt URB
> active even when the device is closed, because they receive
> custom indications from firmware. Allow sub-drivers to set
> a flag that submits the status interrupt URB on probe and
> Telekom Speedstick LTE II
> Alcatel Alcatel One Touch L100V LTE
only for completeness of data/infos:
the device works in UMTS/HSPA mode also with IPv6
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majo
The driver and firmware sync up through SYNC messages, and the
firmware's affirmative reply to these SYNC messages appears to be the
"Reset" indication received via the status interrupt endpoint. Thus the
driver needs the status interrupt endpoint always active so that the
Reset indication can be
Some drivers (ex sierra_net) need the status interrupt URB
active even when the device is closed, because they receive
custom indications from firmware. Allow sub-drivers to set
a flag that submits the status interrupt URB on probe and
keeps the URB alive over device open/close. The URB is still
Am 04.01.2013 14:20, schrieb Roger Quadros:
> Hi Gary,
>
> On 01/04/2013 02:20 PM, Gary Thomas wrote:
>>
>> On Thursday, January 3, 2013 9:21:19 AM UTC-7, Felipe Balbi wrote:
>>
>> Hi,
>>
>> On Wednesday, January 2, 2013 10:44:50 PM UTC+2, Gary Thomas wrote:
>>
>> I have a video ada
Am 03.01.2013 21:58, schrieb Alan Stern:
...
> On Thu, 3 Jan 2013, Octavio Alvarez wrote:
>> If not, then what would the sanest default be? Where to document
>> this cas in a clean, user friendly way?
> The sanest default is what my patch does: disable wakeup for OHCI
> controllers on computers w
On Fri, 4 Jan 2013, Lan Tianyu wrote:
> Some usb devices can't be resumed correctly after power off. This
> patch is to add usb_device_allow_power_off() for device's driver to allow or
> prohibit device to be power off the device. Call pm_runtime_get_sync(portdev)
> to increase port's usage count
On Fri, 4 Jan 2013, Lan Tianyu wrote:
> This patch is to add usb port auto power off mechanism.
> When usb device is suspending, usb core will suspend usb port and
> usb port runtime pm callback will clear PORT_POWER feature to
> power off port if all conditions were met. These conditions are
> re
On Fri, 4 Jan 2013, Lan Tianyu wrote:
> This patch is to add runtime pm callback for usb port device.
> Set/clear PORT_POWER feature in the resume/suspend callbak.
> Add portnum for struct usb_port to record port number. Do
> pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged
> to
On Fri, 4 Jan 2013, victor yeo wrote:
> Hi,
>
> >> Replying my email, i set the ep,name to ep1 for bulk out and bulk in
> >> endpoints. The ep_matches() in epautoconf.c is able to auto-configure
> >> the bulk out to endpoint 1.
> >
> > Are you sure the name string is set to "ep1" for both endpoin
This patch let glue driver return -EPROBE_DEFER if the transceiver
is not readly, so we can support defer probe on musb to fix the
below error on 3.7-rc5 if transceiver drivers are built as module:
[ 19.052490] unable to find transceiver of type USB2 PHY
[ 19.072052] HS USB OTG: no transceiver
In the fail1~fail5 failure path, pm_runtime_disable() should
be called to avoid 'Unbalanced pm_runtime_enable' error in
next probe() which may be triggered by defer probe or next
'modprobe musb_hdrc'.
Cc: Sebastian Andrzej Siewior
Cc: Felipe Balbi
Cc: v3.8
Signed-off-by: Ming Lei
---
drivers/
Su buzón ha superado el límite de almacenamiento de 2.GB
Ajuste el administrador 2.30GB actualmente, no puede ser capaz de enviar o
recibir nuevos mensajes hasta que vuelva a validar su dirección de e-mail
Haga clic en el siguiente enlace para validar su dirección de e-mail
https://docs.google
Hi Samuel,
Below is the pull request for this series. I've addressed the recent
indentation issue pointed out by Sergei.
The following changes since commit cfa7abd7a92396923889fc870090b5d748c603ab:
Merge branch 'heads/fixes' into for-next (2013-01-02 12:40:04 -0800)
are available in the git r
On 01/03/2013 02:52 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 02-01-2013 19:00, Roger Quadros wrote:
>
>> Both OMAP4 and 5 exhibit the same revision ID in the REVISION register
>> but they have different number of ports i.e. 2 and 3 respectively.
>> So we can't rely on REVISION register for numb
Some usb devices can't be resumed correctly after power off. This
patch is to add usb_device_allow_power_off() for device's driver to allow or
prohibit device to be power off the device. Call pm_runtime_get_sync(portdev)
to increase port's usage count and then port will not be suspended. The
device
This patch is to add usb port auto power off mechanism.
When usb device is suspending, usb core will suspend usb port and
usb port runtime pm callback will clear PORT_POWER feature to
power off port if all conditions were met. These conditions are
remote wakeup disable, pm qos NO_POWER_OFF flag cle
This patch is to expose usb port's pm qos flags(pm_qos_no_power_off,
pm_qos_remote_wakeup) to user space. User can set pm_qos_no_power_off
flag to prohibit the port from being power off.
Signed-off-by: Lan Tianyu
---
drivers/usb/core/port.c |9 +++--
1 file changed, 7 insertions(+), 2 de
To: gre...@linuxfoundation.org,
sarah.a.sh...@linux.intel.com,
st...@rowland.harvard.edu,
r...@sisk.pl,
oneu...@suse.de
Cc: linux-usb@vger.kernel.org,
tianyu@intel.com,
sebastien.duf...@intel.com
Some usb devices can't be resumed correctly after power off. This
patch is
This patch is to add runtime pm callback for usb port device.
Set/clear PORT_POWER feature in the resume/suspend callbak.
Add portnum for struct usb_port to record port number. Do
pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged
to prevent it from being power off when it is activ
This patch is to register usb port's acpi power resources. Create
link between usb port device and its acpi power resource.
Signed-off-by: Lan Tianyu
---
drivers/usb/core/port.c |3 +++
drivers/usb/core/usb-acpi.c | 20
drivers/usb/core/usb.h |6 ++
3
Some platforms provide usb port connect types through ACPI. This
patch is to add this new attribute to expose these information
to user space.
Signed-off-by: Lan Tianyu
---
Documentation/ABI/testing/sysfs-bus-usb |9 +++
drivers/usb/core/port.c | 43
To show the relationship between usb port and child device,
add link file "port" under usb device's sysfs directoy and
"device" under usb port device's sysfs directory. They are linked
to each other.
Signed-off-by: Lan Tianyu
---
drivers/usb/core/hub.c | 26 ++
1 file c
This patch is to create driver/usb/core/(port.c,hub.h) files and move usb
port related code into port.c.
Signed-off-by: Lan Tianyu
---
drivers/usb/core/Makefile |1 +
drivers/usb/core/hub.c| 107 +
drivers/usb/core/hub.h| 97
ACPI provide "_PLD" and "_UPC" aml methods to describe usb port
visibility and connectability. This patch is to add
usb_hub_adjust_DeviceRemovable()
to adjust usb hub port's DeviceRemovable according ACPI information and invoke
it in
the rh_call_control(). When hub descriptor request is issued at
Change since v1:
optimize the export connect type patch and adjust the DeviceRemovalbe
flag
in the rh_call_control() after GetHubDescriptor request being processed.
move all debounce operation to usb port's runtime resume callback(). Add
did_runtime_put in the struct usb_port to call
Hi Gary,
On 01/04/2013 02:20 PM, Gary Thomas wrote:
>
>
> On Thursday, January 3, 2013 9:21:19 AM UTC-7, Felipe Balbi wrote:
>
> Hi,
>
> On Wednesday, January 2, 2013 10:44:50 PM UTC+2, Gary Thomas wrote:
>
> I have a video adapter attached to my EHCI port which runs full
>
From: supriya karanth
Whenever an URB is programmed for transfer, the TXFIFO
is flushed. This results in valid packets of the
previous transfer to get flushed when double buffering
is enabled (The MUSB_TXCSR_FIFONOTEMPTY bit in TXCSR
is set indicating that a packet in the FIFO is yet to be sent)
On 01/04/2013 02:46 PM, Anil Nair wrote:
Hi Anil,
> Hello Abhijit,
>
>> I have used the USBIP source for 2.6.30 kernel and tested it. The
>> modules are loaded correctly and I was able to export the device as
>> virtual USB device to another machine and perform operations on the device.
>> You may
Hi,
>> Replying my email, i set the ep,name to ep1 for bulk out and bulk in
>> endpoints. The ep_matches() in epautoconf.c is able to auto-configure
>> the bulk out to endpoint 1.
>
> Are you sure the name string is set to "ep1" for both endpoints? (Or
> "ep1in" and "ep1out"?) If the string was
44 matches
Mail list logo