NetBSD-Bugs archive

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

Re: port-i386/40030: USB Keyboard not recognized, intermittently works



On Thu, Nov 27, 2008 at 07:38:14PM -0600, Jeff Wheeler wrote:
> I had to undo a few of the changes I had made in the last few days to 
> rc.conf to recreate the issue. During the installation of gdm, hal, fam, 
> and dbus (all of which I had to uncomment from rc.conf for the issue to 
> show back up), something seemed to fix the issue. So, the bug is no longer 
> of personal importance, but I suppose it's interesting nonetheless.

The fact that one of those (probably hal?) works around the problem is
itself kind of interesting...

> Success log:
> [...]
> Failure log:
> [...]

here's the diff:

--- failure  2008-11-28 06:23:51.000000000 +0000
+++ success   2008-11-28 06:23:53.000000000 +0000
@@ -160,6 +160,13 @@
  auich0: measured ac97 link rate at 48008 Hz, will use 48000 Hz
  audio0 at auich0: full duplex, mmap, independent
  Kernelized RAIDframe activated
+ uhub4 at uhub3 port 6
+ uhub4: Apple, Inc. Keyboard Hub, class 9/0, rev 2.00/94.15, addr 2
+ uhub4: single transaction translator
+ uhub4: 3 ports with 2 removable, bus powered
+ uhidev0 at uhub4 port 2 configuration 1 interface 0
+ uhidev0: Apple, Inc Apple Keyboard, rev 2.00/0.67, addr 3, iclass
3/1
+ ukbd0 at uhidev0
  wd0 at atabus0 drive 0: <WDC WD800BB-75CAA0>
  wd0: drive supports 16-sector PIO transfers, LBA addressing
  wd0: 76293 MB, 155009 cyl, 16 head, 63 sec, 512 bytes/sect x
156250000  
@@ -180,7 +187,11 @@
  (using DMA)
  cd1(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33)  
  (using DMA)
- uhub3: device problem, disabling port 6
+ wskbd1 at ukbd0 mux 1
+ wskbd1: connecting to wsdisplay0
+ uhidev1 at uhub4 port 2 configuration 1 interface 1
+ uhidev1: Apple, Inc Apple Keyboard, rev 2.00/0.67, addr 3, iclass
3/0
+ uhid0 at uhidev1: input=1, output=0, feature=0
  boot device: wd0
  root on wd0a dumps on wd0b
  root file system type: ffs

That is, in the failure case uhub3 gives the wonderful message "device
problem".

uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered

PRs 34711 and 37050 look pretty closely related, as well as some
others if it turns out not to be ehci-specific.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index