public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: debugging oops after disconnecting Nexio USB touchscreen
Date: Tue, 8 Dec 2009 16:21:56 +0100	[thread overview]
Message-ID: <200912081621.57290.linux@rainbow-software.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0912071015180.3064-100000@iolanthe.rowland.org>

On Monday 07 December 2009, Alan Stern wrote:
> On Mon, 7 Dec 2009, Ondrej Zary wrote:
> > > > diff between ehci and uhci logs:
> > > > There seems to be some problem with timing.
> > > > Also order of ehci_usb vs uhci_usb loading changes.
> > >
> > > That order doesn't matter much.  But this...
> >
> > Looks like it does matter. I compiled ehci_hcd in kernel and left
> > uhci_hcd as module - and the hub was always attached to ehci. Compiled
> > uhci_hcd in kernel and ehci_hcd as module - and it was always attached to
> > uhci. So the HW is probably OK.
>
> As a matter of fact, it probably isn't.  The hub should have switched
> over to EHCI when the module was loaded.  The question remains whether
> the problem is in the hub or in the EHCI controller.

This problem seems to be caused by camera:
Bus 002 Device 030: ID 041e:4068 Creative Technology, Ltd Webcam Live! Notebook

When the camera is disconnected, the hub always correctly attaches to ehci.
When the camera is connected directly to the USB port, the hub sometimes
attaches to ehci and sometimes not.
When the camera is connected to the hub, BIOS hangs on the splash screen
on reboot (i.e. can boot only first time after power cycle).

The camera has also a weird "feature". When disconnected and reconnected in
less than 3 seconds, it fails to initialize:
(connected directly)
[   77.032147] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0004
[   77.035776] uhci_hcd 0000:00:1d.1: port 2 portsc 0093,00
[   77.039326] hub 3-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
[   77.168197] hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[   77.280199] usb 3-2: new full speed USB device using uhci_hcd and address 4
[   77.286877] usb 3-2: uhci_result_common: failed with status 440000
[   77.292878] usb 3-2: uhci_result_common: failed with status 440000
[   77.299887] usb 3-2: uhci_result_common: failed with status 440000
[   77.412185] usb 3-2: device descriptor read/64, error -71
[   77.519890] usb 3-2: uhci_result_common: failed with status 440000
[   77.526889] usb 3-2: uhci_result_common: failed with status 440000
[   77.532888] usb 3-2: uhci_result_common: failed with status 440000
[   77.648190] usb 3-2: device descriptor read/64, error -71
[   77.864179] usb 3-2: new full speed USB device using uhci_hcd and address 5
[   77.870887] usb 3-2: uhci_result_common: failed with status 440000
[   77.876883] usb 3-2: uhci_result_common: failed with status 440000
[   77.883894] usb 3-2: uhci_result_common: failed with status 440000
[   77.996165] usb 3-2: device descriptor read/64, error -71
[   78.103895] usb 3-2: uhci_result_common: failed with status 440000
[   78.109890] usb 3-2: uhci_result_common: failed with status 440000
[   78.116899] usb 3-2: uhci_result_common: failed with status 440000
[   78.232165] usb 3-2: device descriptor read/64, error -71
[   78.448191] usb 3-2: new full speed USB device using uhci_hcd and address 6
[   78.454890] usb 3-2: uhci_result_common: failed with status 440000
[   78.663897] usb 3-2: uhci_result_common: failed with status 440000
[   78.868108] usb 3-2: device not accepting address 6, error -71
[   78.980165] usb 3-2: new full speed USB device using uhci_hcd and address 7
[   78.986898] usb 3-2: uhci_result_common: failed with status 440000
[   79.195906] usb 3-2: uhci_result_common: failed with status 440000
[   79.400105] usb 3-2: device not accepting address 7, error -71
[   79.403633] hub 3-0:1.0: unable to enumerate USB device on port 2
[   81.000161] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0004
[   81.003625] uhci_hcd 0000:00:1d.1: port 2 portsc 0082,00
[   81.007091] hub 3-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
[   81.136163] hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100

(connected to hub)
[   45.872440] hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008
[   45.876320] hub 1-1:1.0: port 3, status 0101, change 0001, 12 Mb/s
[   46.008352] hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
[   46.084365] usb 1-1.3: new full speed USB device using ehci_hcd and address 17
[   46.160373] usb 1-1.3: device descriptor read/64, error -32
[   46.336381] usb 1-1.3: device descriptor read/64, error -32
[   46.512369] usb 1-1.3: new full speed USB device using ehci_hcd and address 18
[   46.588371] usb 1-1.3: device descriptor read/64, error -32
[   46.764370] usb 1-1.3: device descriptor read/64, error -32
[   46.940390] usb 1-1.3: new full speed USB device using ehci_hcd and address 19
[   47.352115] usb 1-1.3: device not accepting address 19, error -32
[   47.428366] usb 1-1.3: new full speed USB device using ehci_hcd and address 20
[   47.840132] usb 1-1.3: device not accepting address 20, error -32
[   47.844156] hub 1-1:1.0: unable to enumerate USB device on port 3
[   47.847949] hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008
[   47.852220] hub 1-1:1.0: port 3, status 0100, change 0001, 12 Mb/s
[   47.984389] hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x100


So I'll probably keep the camera disconnected.

-- 
Ondrej Zary

  parent reply	other threads:[~2009-12-08 15:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 13:38 debugging oops after disconnecting Nexio USB touchscreen Ondrej Zary
2009-11-27 18:19 ` Alan Stern
2009-11-30 15:30   ` Ondrej Zary
2009-11-30 20:19     ` Alan Stern
2009-12-01 10:06       ` Ondrej Zary
2009-12-01 15:11         ` Alan Stern
2009-12-02  8:52           ` Ondrej Zary
2009-12-02  9:42             ` Oliver Neukum
2009-12-03  9:30               ` Ondrej Zary
2009-12-02 15:58             ` Alan Stern
2009-12-03 12:31               ` Ondrej Zary
2009-12-03 19:39                 ` Alan Stern
2009-12-03 20:55                   ` Ondrej Zary
2009-12-03 22:22                     ` Alan Stern
2009-12-04 12:22                       ` Ondrej Zary
2009-12-04 15:47                         ` Alan Stern
2009-12-04 19:17                           ` Ondrej Zary
2009-12-04 19:34                             ` Alan Stern
2009-12-04 19:55                               ` Ondrej Zary
2009-12-04 21:24                                 ` Alan Stern
2009-12-07  9:02                                   ` Ondrej Zary
2009-12-07 15:22                                     ` Alan Stern
2009-12-08  9:03                                       ` Ondrej Zary
2009-12-08 15:03                                         ` Alan Stern
2009-12-08 15:21                                       ` Ondrej Zary [this message]
2009-12-07 15:07                               ` Ondrej Zary
2009-12-07 16:02                                 ` Alan Stern
2009-12-10 15:40                                 ` Ondrej Zary
2009-12-10 20:38                                   ` Alan Stern
2009-12-11 19:42                                     ` Ondrej Zary
2009-12-11 20:49                                       ` Alan Stern
2009-12-05  7:36                       ` Andreas Mohr
2009-12-05 17:16                         ` Alan Stern
2009-12-06 11:38                           ` Andreas Mohr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912081621.57290.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox