Re: USB ports disabled on Lenovo Thinkpad T61

2016-09-19 Thread Mike Schreckengost
Just for the record, after compiling a new kernel with fresh 6.0-current source 
code
the problem appears to be resolved on my Thinkpad T61.

/usr/ src/sys/dev/usb/usb_subr.c is revision 1.131 now. Thanks Martin, jsg@ for 
the
quick fix.


Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.



 Original Message 
Subject: Re: USB ports disabled on Lenovo Thinkpad T61
Local Time: September 19, 2016 6:40 AM
UTC Time: September 19, 2016 2:40 PM
From: birkel...@gmail.com
To: Mike Schreckengost <rfid...@protonmail.com>, misc@openbsd.org 
<misc@openbsd.org>
Martin Pieuchot <m...@openbsd.org>



On Mon, Sep 19, 2016 at 12:47 PM Josh Grosse <j...@jggimi.homeip.net> wrote:

On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote:
> Hello misc,
>
> Sometime between the OpenBSD-current snapshot released on Sep 10 2016
> and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad
> T61 ceased to function. Upon plugging a device into any of the 3
> available ports, I receive messages such as these:
>
> uhub2: device problem, disabling port 2
> uhub3: device problem, disabling port 1
>
> Is anyone else experiencing a similar issue?

Yes, I have a similar issue on an X220, but for me it manifests with the
fingerprint reader, a ugen(4) device, and not with two types of umass(4)
devices -- both memory stick and dvd burner work fine.

It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the
device problem is eliminated, so Martin is in copy for his awareness.
(He may already be aware, of course.)


Same issue, keyboard/mouse doesn't work after upgrading to Sep 18 snapshot. I'm 
not even getting a message in dmesg. It's completely silent.

I was running Sep 7 before that (where it worked). Also on Lenovo (Thinkpad 
T440s).
--


Klaus



Re: USB ports disabled on Lenovo Thinkpad T61

2016-09-19 Thread Klaus Birkelund Jensen
On Mon, Sep 19, 2016 at 12:47 PM Josh Grosse  wrote:

> On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote:
> > Hello misc,
> >
> > Sometime between the OpenBSD-current snapshot released on Sep 10 2016
> > and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad
> > T61 ceased to function. Upon plugging a device into any of the 3
> > available ports, I receive messages such as these:
> >
> > uhub2: device problem, disabling port 2
> > uhub3: device problem, disabling port 1
> >
> > Is anyone else experiencing a similar issue?
>
> Yes, I have a similar issue on an X220, but for me it manifests with the
> fingerprint reader, a ugen(4) device, and not with two types of umass(4)
> devices -- both memory stick and dvd burner work fine.
>
> It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the
> device problem is eliminated, so Martin is in copy for his awareness.
> (He may already be aware, of course.)
>
>
Same issue, keyboard/mouse doesn't work after upgrading to Sep 18 snapshot.
I'm not even getting a message in dmesg. It's completely silent.

I was running Sep 7 before that (where it worked). Also on Lenovo (Thinkpad
T440s).
-- 

Klaus



Re: USB ports disabled on Lenovo Thinkpad T61

2016-09-19 Thread Josh Grosse
On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote:
> Hello misc,
> 
> Sometime between the OpenBSD-current snapshot released on Sep 10 2016
> and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad
> T61 ceased to function. Upon plugging a device into any of the 3
> available ports, I receive messages such as these:
> 
> uhub2: device problem, disabling port 2
> uhub3: device problem, disabling port 1
> 
> Is anyone else experiencing a similar issue? 

Yes, I have a similar issue on an X220, but for me it manifests with the
fingerprint reader, a ugen(4) device, and not with two types of umass(4)
devices -- both memory stick and dvd burner work fine.

It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the
device problem is eliminated, so Martin is in copy for his awareness.
(He may already be aware, of course.)



USB ports disabled on Lenovo Thinkpad T61

2016-09-19 Thread Mike Schreckengost
Hello misc,

Sometime between the OpenBSD-current snapshot released on Sep 10 2016
and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad
T61 ceased to function. Upon plugging a device into any of the 3
available ports, I receive messages such as these:

uhub2: device problem, disabling port 2
uhub3: device problem, disabling port 1

Is anyone else experiencing a similar issue? If I can provide any
additional information to help debug this problem (beyond my system
dmesg, which is attached) please let me know. I'd also be happy to test
patches, if necessary.

As always, for the OpenBSD devs: thank you so much for your dedication
to the OpenBSD project. Your efforts are greatly appreciated by myself
and countless others who truly understands the value of a secure,
stable, and funtional OS.

-Mike

/* begin dmesg */

penBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3177906176 (3030MB)
avail mem = 3077156864 (2934MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
bios0: vendor LENOVO version "7LETD0WW (2.30 )" date 02/27/2012
bios0: LENOVO 765818U
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) 
EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
EHC0(S3) EHC1(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2394.44 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2194.51 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"IBM0057" at acpi0 not configured
tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: device 0x32031114 rev 0x9
acpibat0 at acpi0: BAT0 model "92P1137" serial 6210 type LION oem "SANYO"
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpithinkpad0: volume: 0x7
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD0
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2201, 2200, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
azalia0: codecs: Analog Devices AD1984, 0x/0x, using Analog Devices 
AD1984
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: msi
pci1 at ppb0 bus 2
ppb1