NetBSD-Bugs archive

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

Re: kern/46696: uhub disables port where USB keyboard attached



The following reply was made to PR kern/46696; it has been noted by GNATS.

From: kato%wide.ad.jp@localhost
To: skrll%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
mishka%NetBSD.org@localhost
Subject: Re: kern/46696: uhub disables port where USB keyboard attached
Date: Mon, 25 Mar 2013 11:27:12 +0900 (JST)

 Dear Nick,
 
 Sorry for a late response. I applied your patch to my NetBSD-6 (6.1_RC2,
 sync'ed with CVS tree just now). The patch was applied successfully with
 30 lines offset.
 
 I rebooted the machine with the patched kernel 8 times, and in 5 trials
 out of 8, the USB keyboard worked fine. But unfortunately in 3 trials,
 the USB keyboard didn't work at all. When I unplug the USB keyboard,
 and re-plug it with the same USB port, it started to work well. So the
 patch improves the situation but doesn't solve the issue, at least with
 NetBSD-6.1_RC2.
 
 The alternate patch
        http://www.gson.org/netbsd/bugs/46696/usb.patch
 works well even with NetBSD-6.
 
 The diff of dmesg in these cases are:
 
 *** dmesg.ok   Mon Mar 25 11:23:07 2013
 --- dmesg.bad  Mon Mar 25 11:23:36 2013
 ***************
 *** 151,157 ****
   acpicpu1 at cpu1: ACPI CPU
   coretemp1 at cpu1: thermal sensor, 1 C resolution
   timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 ! timecounter: Timecounter "TSC" frequency 3093152640 Hz quality 3000
   uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
   uhub0: 2 ports with 2 removable, self powered
   uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 --- 151,157 ----
   acpicpu1 at cpu1: ACPI CPU
   coretemp1 at cpu1: thermal sensor, 1 C resolution
   timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 ! timecounter: Timecounter "TSC" frequency 3093079200 Hz quality 3000
   uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
   uhub0: 2 ports with 2 removable, self powered
   uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 ***************
 *** 174,189 ****
   uhub3: single transaction translator
   uhub2: 4 ports with 4 removable, self powered
   uhub3: 6 ports with 6 removable, self powered
 ! uhidev0 at uhub3 port 2 configuration 1 interface 0
 ! uhidev0: vendor 0x04f3 product 0x0103, rev 1.10/1.07, addr 3, iclass 3/1
 ! ukbd0 at uhidev0
 ! wskbd1 at ukbd0 mux 1
 ! wskbd1: connecting to wsdisplay0
 ! uhidev1 at uhub3 port 2 configuration 1 interface 1
 ! uhidev1: vendor 0x04f3 product 0x0103, rev 1.10/1.07, addr 3, iclass 3/0
 ! uhidev1: 2 report ids
 ! uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
 ! uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
   Kernelized RAIDframe activated
   pad0: outputs: 44100Hz, 16-bit, stereo
   audio1 at pad0: half duplex, playback, capture
 --- 174,180 ----
   uhub3: single transaction translator
   uhub2: 4 ports with 4 removable, self powered
   uhub3: 6 ports with 6 removable, self powered
 ! uhub3: device problem, disabling port 2
   Kernelized RAIDframe activated
   pad0: outputs: 44100Hz, 16-bit, stereo
   audio1 at pad0: half duplex, playback, capture
 
 
 
 From: Nick Hudson <skrll%netbsd.org@localhost>
 Subject: Re: kern/46696: uhub disables port where USB keyboard attached
 Date: Tue, 19 Mar 2013 08:37:25 +0000
 
 > Does this patch against -current fix the problem?
 > 
 > Thanks,
 > Nick
 


Home | Main Index | Thread Index | Old Index