Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 10:38:44 -0500
From:      Mark Felder <feld@feld.me>
To:        freebsd-usb@freebsd.org
Subject:   usb power output issues
Message-ID:  <op.wfhm2uot34t2sn@tech304>

next in thread | raw e-mail | index | archive | help
Hi all,

I have a Dell OptiPlex 390. There are several in the office, but mine is  
the only one that runs FreeBSD. I'm currently running FreeBSD 9.0-STABLE  
#4 r234571, but this has happened on several previous builds as well. I've  
never run an 8.x branch on this hardware.

Sometimes when I come into the office -- perhaps once a week -- I'll find  
that my nice keyboard has stopped functioning. My mouse always works, but  
the keyboard does not. I can plug in any USB keyboard and I see it  
recognized by reading the console messages, but they just don't work. The  
CapsLock, ScrollLock, Numlock, etc lights don't even turn on. I usually  
just reboot the computer and move on, but today this happened when I was  
on the phone with a customer so I knew I couldn't blame it on a  
screensaver or anything whacky like that. I ended up digging out a powered  
USB hub and plugging my keyboard into that. It started working as expected  
at this time.

I am wondering if this is a known issue or if there is anything in the USB  
stack that could cause this behavior? My PC is currently in this state and  
I don't ever power it off, so if someone needs some USB diagnostics output  
I can provide that. This is not a debugging kernel so I can't get you any  
output from DDB at this time.


tech304# usbconfig show_ifdrv
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)  
pwr=SAVE
ugen0.1.0: uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)  
pwr=SAVE
ugen1.1.0: uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH  
(480Mbps) pwr=SAVE
ugen0.2.0: uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00,  
addr 2>
ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH  
(480Mbps) pwr=SAVE
ugen1.2.0: uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00,  
addr 2>
ugen1.3: <USB 2.0 Hub MTT vendor 0x1a40> at usbus1, cfg=0 md=HOST spd=HIGH  
(480Mbps) pwr=SAVE
ugen1.3.0: uhub5: <vendor 0x1a40 USB 2.0 Hub MTT, class 9/0, rev  
2.00/1.00, addr 3>
ugen1.4: <Cypress USB Keyboard  PS2 Mouse Cypress> at usbus1, cfg=0  
md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.4.0: ukbd0: <EndPoint1 Interrupt>
ugen1.4.1: ums0: <EP2 Interrupt>
ugen1.5: <USB 2.0 Hub MTT vendor 0x1a40> at usbus1, cfg=0 md=HOST spd=HIGH  
(480Mbps) pwr=SAVE
ugen1.5.0: uhub4: <vendor 0x1a40 USB 2.0 Hub MTT, class 9/0, rev  
2.00/1.00, addr 5>
ugen1.6: <USB Receiver Logitech> at usbus1, cfg=0 md=HOST spd=FULL  
(12Mbps) pwr=ON
ugen1.6.0: ukbd1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr  
6>
ugen1.6.1: ums1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 6>
ugen1.6.2: uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr  
6>



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