usbatm: printk_ratelimit() always called in the atm_rldbg()

2013-10-26 Thread Krzysztof Mazur
Hi, commit 2d6401cf4ca3861692a4779745e0049cac769d10 (USB: usbatm: move the atm_dbg() call to use dynamic debug) changed the atm_rldbg() to: #define atm_rldbg(instance, format, arg...) \ if (printk_ratelimit()) \ atm_dbg(instance ,

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6

2013-10-26 Thread Thomas Schäfer
Am Donnerstag, 24. Oktober 2013, 11:45:39 schrieben Sie: Did you try any of the ND tuning controls on Linux? Turning on ARP before bringing up the interface might work on IPv6 (but fail for IPv4): ifconfig wwan0 arp This solved the problem. (IPv6 positive , IPv4 at the moment untested)

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6

2013-10-26 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes: Am Donnerstag, 24. Oktober 2013, 11:45:39 schrieben Sie: Did you try any of the ND tuning controls on Linux? Turning on ARP before bringing up the interface might work on IPv6 (but fail for IPv4): ifconfig wwan0 arp This solved the problem.

Re: LTE vodafone K5150 (hilink) 12d1 1f16 ; 12d1 1575 mbim?

2013-10-26 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes: Am 24.10.2013 11:45, schrieb Bjørn Mork: Any chance you could snoop the Windows IPv6 session? I'm interesting in seeing the NS and NA messages. In particular any NA from Windows. Don't need many packets, only the part where the modem tries to

Re: [RFC PATCH 00/15] rework port power control

2013-10-26 Thread Alan Stern
On Fri, 25 Oct 2013, Dan Williams wrote: On Fri, Oct 25, 2013 at 2:11 PM, Alan Stern st...@rowland.harvard.edu wrote: All right, I'm starting to get the overall picture. Thanks for the patience I really appreciate it. You're welcome. This patch set makes a large number of significant

RE: [PATCH] usb-storage: scsiglue: Changing the command result

2013-10-26 Thread Vishal Annapurve
Hi Alan, Here is the new patch: From: Vishal Annapurve vannapu...@nvidia.com Date: Sat, 26 Oct 2013 21:10:11 +0530 Subject: [PATCH] usb: storage: Proper cmd result assignment This change replaces DID_ABORT with DID_TIMEOUT as a command result whenever US_FLIDX_TIMED_OUT bit is set. This change

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6/ipv4

2013-10-26 Thread Thomas Schäfer
Am Samstag, 26. Oktober 2013, 16:01:26 schrieben Sie: Thomas Schäfer tschae...@t-online.de writes: Am Donnerstag, 24. Oktober 2013, 11:45:39 schrieben Sie: Did you try any of the ND tuning controls on Linux? Turning on ARP before bringing up the interface might work on IPv6 (but fail

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6/ipv4

2013-10-26 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes: Am Samstag, 26. Oktober 2013, 16:01:26 schrieben Sie: Thomas Schäfer tschae...@t-online.de writes: Am Donnerstag, 24. Oktober 2013, 11:45:39 schrieben Sie: Did you try any of the ND tuning controls on Linux? Turning on ARP before bringing

Re: usbatm: printk_ratelimit() always called in the atm_rldbg()

2013-10-26 Thread Greg Kroah-Hartman
On Sat, Oct 26, 2013 at 03:29:56PM +0200, Krzysztof Mazur wrote: Hi, commit 2d6401cf4ca3861692a4779745e0049cac769d10 (USB: usbatm: move the atm_dbg() call to use dynamic debug) changed the atm_rldbg() to: #define atm_rldbg(instance, format, arg...) \ if

Re: 2.6.35 problem with i.mx28 and cdc-acm

2013-10-26 Thread Greg KH
On Fri, Oct 25, 2013 at 05:14:58PM +0200, Robert Hodaszi wrote: Hi, I'm using a Telit modem with an i.mx28 processor. I'm currently running a 2.6.35 kernel on that (I know, it's pretty old, and on an other thread, I'm working on the v3 also). The modem is using the cdc-acm driver. That's

Re: Read transaction not work for EHCI host controller

2013-10-26 Thread Greg KH
On Fri, Oct 25, 2013 at 08:21:58AM +, loki wrote: Hi, I used the USB-serial driver option.c to communicate with the GSM modem device through usb, the used host controller is EHCI. The problem is that nothing appear on the screen when type characters after using microcom -s 115200

[PATCH] printk: pr_debug_ratelimited: check state first to reduce callbacks suppressed messages

2013-10-26 Thread Joe Perches
pr_debug_ratelimited should be coded similar to dev_dbg_ratelimited to reduce the callbacks suppressed messages. Signed-off-by: Joe Perches j...@perches.com --- On Sat, 2013-10-26 at 18:37 +0100, Greg Kroah-Hartman wrote: On Sat, Oct 26, 2013 at 03:29:56PM +0200, Krzysztof Mazur wrote: Hi,

[PATCH] atmusb: Fix dynamic_debug macros

2013-10-26 Thread Joe Perches
Fix use of atm_dbg to all normal pr_debug not dynamic_pr_debug because dynamic_pr_debug may not be compiled in at all. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/atm/usbatm.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] printk: pr_debug_ratelimited: check state first to reduce callbacks suppressed messages

2013-10-26 Thread Greg Kroah-Hartman
On Sat, Oct 26, 2013 at 11:52:02AM -0700, Joe Perches wrote: pr_debug_ratelimited should be coded similar to dev_dbg_ratelimited to reduce the callbacks suppressed messages. Signed-off-by: Joe Perches j...@perches.com Looks good, I'll queue both of these up soon. greg k-h -- To unsubscribe

Re: [PATCH] atmusb: Fix dynamic_debug macros

2013-10-26 Thread Joe Perches
On Sat, 2013-10-26 at 11:55 -0700, Joe Perches wrote: Fix use of atm_dbg to all normal pr_debug not dynamic_pr_debug because dynamic_pr_debug may not be compiled in at all. Greg, please don't apply this one. I'll resubmit one that actually works. (the arg...) should be ... +#define

RE: [PATCH] usb-storage: scsiglue: Changing the command result

2013-10-26 Thread Alan Stern
On Sat, 26 Oct 2013, Vishal Annapurve wrote: Hi Alan, Here is the new patch: From: Vishal Annapurve vannapu...@nvidia.com Date: Sat, 26 Oct 2013 21:10:11 +0530 Subject: [PATCH] usb: storage: Proper cmd result assignment This change replaces DID_ABORT with DID_TIMEOUT as a command

Re: [PATCH] printk: pr_debug_ratelimited: check state first to reduce callbacks suppressed messages

2013-10-26 Thread Joe Perches
On Sat, 2013-10-26 at 20:01 +0100, Greg Kroah-Hartman wrote: On Sat, Oct 26, 2013 at 11:52:02AM -0700, Joe Perches wrote: pr_debug_ratelimited should be coded similar to dev_dbg_ratelimited to reduce the callbacks suppressed messages. Signed-off-by: Joe Perches j...@perches.com Looks good,

Re: [PATCH] atmusb: Fix dynamic_debug macros

2013-10-26 Thread Krzysztof Mazur
On Sat, Oct 26, 2013 at 12:28:56PM -0700, Joe Perches wrote: On Sat, 2013-10-26 at 11:55 -0700, Joe Perches wrote: Fix use of atm_dbg to all normal pr_debug not dynamic_pr_debug because dynamic_pr_debug may not be compiled in at all. Greg, please don't apply this one. I'll resubmit one

Re: xhci spew with iphone since iOS7

2013-10-26 Thread Sarah Sharp
On Fri, Oct 25, 2013 at 10:34:30AM -0400, Dave Jones wrote: On Fri, Oct 25, 2013 at 10:27:56AM -0400, Alan Stern wrote: On Fri, 25 Oct 2013, Dave Jones wrote: Xhci got a lot noisier since I recently updated my phone to the newer version of iOS. Possibly it's related to the new

Re: [PATCH] usb-storage: scsiglue: Changing the command result

2013-10-26 Thread Greg KH
On Sat, 26 Oct 2013, Vishal Annapurve wrote: Hi Alan, Here is the new patch: From: Vishal Annapurve vannapu...@nvidia.com Date: Sat, 26 Oct 2013 21:10:11 +0530 Subject: [PATCH] usb: storage: Proper cmd result assignment This change replaces DID_ABORT with DID_TIMEOUT as a command

[PATCH V2] printk: pr_debug_ratelimited: check state first to reduce callbacks suppressed messages

2013-10-26 Thread Joe Perches
pr_debug_ratelimited should be coded similarly to dev_dbg_ratelimited to reduce the callbacks suppressed messages. Add #include linux/dynamic_debug.h to printk.h. Unfortunately, this new #include must be after the prototype/declaration of function printk. It may be better to split out these

[PATCH V2] usbatm: Fix dynamic_debug / ratelimited atm_dbg and atm_rldbg macros

2013-10-26 Thread Joe Perches
Fix atm_dbg to use normal pr_debug not dynamic_pr_debug because dynamic_pr_debug may not be compiled in at all. Signed-off-by: Joe Perches j...@perches.com --- V2: Fix macro use of arg... vs ... typo Fix usbatm vs atmusb typo (thanks Krzysiek) drivers/usb/atm/usbatm.h | 14 +++--- 1