Re: xhci spew with iphone since iOS7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 feature where it pops up a dialog on the phone
>  > > asking if I trust the machine I've plugged into?
>  > > 
>  > > This is from an 3.12-rc6 kernel:
>  > > 
>  > > xhci_hcd 0000:00:14.0: Port Status Change Event for port 2
>  > > xhci_hcd 0000:00:14.0: resume root hub
>  > > xhci_hcd 0000:00:14.0: handle_port_status: starting port polling.
>  > > usb usb3: usb wakeup-resume
>  > > usb usb3: usb auto-resume
>  > > hub 3-0:1.0: hub_resume
>  > > xhci_hcd 0000:00:14.0: get port status, actual port 0 status  = 0x2a0
>  > > xhci_hcd 0000:00:14.0: Get port status returned 0x100
>  > > xhci_hcd 0000:00:14.0: get port status, actual port 1 status  = 0x20ae1
>  > > xhci_hcd 0000:00:14.0: Get port status returned 0x10301
>  > ...
>  > 
>  > All, or almost all, of these are merely debug-level messages.
>  
> Hmm, somehow I never noticed as much in the past.
> Maybe I didn't have USB_DEBUG enabled back then.
> 
>  > Besides, how does this differ from what you get when you plug in a 
>  > phone running the older iOS?
> 
> Unfortunatly cron has purged the older logs, so I've not got any examples,
> but I'm pretty sure it was less alarming.
> 
> I'll just turn USB_DEBUG back off, I'm not even sure how it got turned on.

As I mentioned at Kernel Summit, CONFIG_USB_DEBUG has probably always
been on.  The 3.12 kernel removed CONFIG_USB_XHCI_HCD_DEBUGGING in favor
of dynamic debugging.  Normally dynamic debug would be off by default,
but CONFIG_USB_DEBUG adds the DEBUG symbol for USB drivers, which turns
it on.

So, you fix this by turning off CONFIG_USB_DEBUG, or modifying the boot
command line to include xhci_hcd.dyndbg="=_"

I suspect I'm going to get a lot of complaints about log spew.
Hopefully other people can find this message and figure out what
happened.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux