Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 22:59:27 +0100
From:      Bengt Ahlgren <bengta@sics.se>
To:        usb@freebsd.org
Cc:        mobile@freebsd.org
Subject:   usb resume regression (sort of)
Message-ID:  <uh7zkcvaaio.fsf@P142.sics.se>

next in thread | raw e-mail | index | archive | help
I tried out 8.2-STABLE (from Feb 3rd) on my IBM Thinkpad X40 to see
whether the updates to usb fixed the resume stall problem with
8.2-RELEASE.  (The latter with the "gavin-usb-controller-patch" however
worked very well on this system!)

Unfortunately, 8.2-STABLE didn't improve.  On the contrary, no usb
devices at all work after resume, so this is kind of a regression.  I
tested with a couple of different versions of the usb system and
concluded that it is commit r229370 that makes the difference.

After resume, the console says:

uhub1: at usbus1, port 1, addr 1 (disconnected)
uhub2: at usbus2, port 1, addr 1 (disconnected)
uhub3: at usbus3, port 1, addr 1 (disconnected)
uhub0: at usbus0, port 1, addr 1 (disconnected)

What can I do to debug this further?  It would be great to be able to
sort this for 8.3.

The laptop (Pentium-M CPU) has these usb controllers:

uhci0@pci0:0:29:0:	class=0x0c0300 card=0x052d1014 chip=0x24c28086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *1'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x1820, size 32, enabled
uhci1@pci0:0:29:1:	class=0x0c0300 card=0x052d1014 chip=0x24c48086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *2'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x1840, size 32, enabled
uhci2@pci0:0:29:2:	class=0x0c0300 card=0x052d1014 chip=0x24c78086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *3'
    class      = serial bus
    subclass   = USB
    bar   [20] = type I/O Port, range 32, base 0x1860, size 32, enabled
ehci0@pci0:0:29:7:	class=0x0c0320 card=0x052e1014 chip=0x24cd8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xd0100000, size 1024, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0x80 in map 0x14

Bengt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uh7zkcvaaio.fsf>