From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 11:51:16 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10F771065673 for ; Sun, 26 Sep 2010 11:51:16 +0000 (UTC) (envelope-from donaldcallen@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5A38FC14 for ; Sun, 26 Sep 2010 11:51:15 +0000 (UTC) Received: by wyb33 with SMTP id 33so5260948wyb.13 for ; Sun, 26 Sep 2010 04:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iKzXm1IjBAJnaRwM+FSnUWBivOznjSq5oyBTwTv4M6s=; b=uOC3jpzrYbMElFe9nL2PEh5945ZVcxq1mR+U0X0y0lL0XruHPOPpgilbzddxCUgClN 46fuw8HMq7xfqoWhF5QV1MwbAkSwAYPY2OQvxHi7twOH+noudHIBLdZP/bgc+iQQfXVZ WfDpf7x3bKTLY04E9OFpM88yh32tHaEzo1xWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oVRtH7PGdjtDtSZ1YKpu0Ja2+4m+FsRjmzNxdbK/BDoa71v7MHN2OvkexIOt8XBUDi YsNkkLn2lJkBNsJMc4mzJqdctVvRq7in1fOJgdO8QSB2JjlPVks9LIT8GoXUVoa0atTX 0Ycz5+77KdYvVfkXoBqwuEhoPnk/EZto5WntA= MIME-Version: 1.0 Received: by 10.216.22.74 with SMTP id s52mr9274906wes.11.1285501874527; Sun, 26 Sep 2010 04:51:14 -0700 (PDT) Received: by 10.216.82.69 with HTTP; Sun, 26 Sep 2010 04:51:14 -0700 (PDT) Date: Sun, 26 Sep 2010 07:51:14 -0400 Message-ID: From: Donald Allen To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 11:51:16 -0000 I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft usb mouse plugged into it. I have hal and dbus running, and when I start X, everything is fine. However, if I shut down the X server and restart it (via startx), the mouse no longer works, but the laptop's trackpoint device does work. If I unplug and re-plug the mouse, it now works. Again, as with my report on the usb disks, neither Linux nor OpenBSD exhibit this behavior on this hardware. /Don Allen From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 11:59:02 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40AFA106564A for ; Sun, 26 Sep 2010 11:59:02 +0000 (UTC) (envelope-from donaldcallen@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id CAE9C8FC15 for ; Sun, 26 Sep 2010 11:59:01 +0000 (UTC) Received: by wwc33 with SMTP id 33so5090744wwc.31 for ; Sun, 26 Sep 2010 04:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=I14Q230K36aG3rd+4qYxa9xiGtOAwDjvaow7ocakgpM=; b=iMgehd9XWJCEglJu4h7nkEA1jhSWvbmZsqcfglVx3FhkI3VgZb2b8t3+Q8pmNi1X69 Tu1lIeLth68iZrBHSk2R07eqSiZUoSi+Ck2D3kXp0dPE2TwgH216QyqPjRUHVR+GJ3by L7zxDAhCVWC9xYWuRTQgvZj6bKIzVl9JZTV4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bRRzpVry2AxjfgQykgxPfkV1VZB33OJXFsOBH1iWgnuK4pU/kbc6+JB+tLHel0P04f DTVpwGVh1nRK9alhGiJ6H78lOGGnyutSQxArNEWjtyyv8xNjfORkhCEfp00HA1vklT/7 nkiSwyjikBAB+luHqUGnC5VVxcJ0WNVeZTDrk= MIME-Version: 1.0 Received: by 10.216.174.69 with SMTP id w47mr4946375wel.25.1285502340749; Sun, 26 Sep 2010 04:59:00 -0700 (PDT) Received: by 10.216.82.69 with HTTP; Sun, 26 Sep 2010 04:59:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 Sep 2010 07:59:00 -0400 Message-ID: From: Donald Allen To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 11:59:02 -0000 On Sun, Sep 26, 2010 at 7:51 AM, Donald Allen wrote: > I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft usb > mouse plugged into it. I have hal and dbus running, and when I start X, > everything is fine. However, if I shut down the X server and restart it (via > startx), the mouse no longer works, but the laptop's trackpoint device does > work. If I unplug and re-plug the mouse, it now works. Again, as with my > report on the usb disks, neither Linux nor OpenBSD exhibit this behavior on > this hardware. > I should have mentioned that this happens every time on the X61. Also the mouse is plugged directly into a usb connector on the machine -- no hub involved. I just tried the same experiment with an HP desktop I have that is now also running 8.1 RELEASE. This machine has a Microsoft wireless mouse plugged into an unpowered KVM switch. The problem I'm seeing with the laptop does not occur with this machine -- the mouse works after restarting X. /Don Allen From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 12:00:16 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75152106566B for ; Sun, 26 Sep 2010 12:00:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id E001B8FC16 for ; Sun, 26 Sep 2010 12:00:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=iBCGAMPDYtSF9sDXX85uHY3wcnYctfVT8vFpe3qPflY= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=MN4D3iXtUXkA:10 a=cg+JpcWe5/eaK/L5J7Hxqg==:17 a=bc6Vs0jQd1TQbkI88LUA:9 a=ViiYTKjA2vTZKVQM7pMA:7 a=f4H_SSL13d7plW16ZTWgLCvyjK8A:4 a=wPNLvfGTeEIA:10 a=cg+JpcWe5/eaK/L5J7Hxqg==:117 Received: from [84.48.104.125] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 26490134; Sun, 26 Sep 2010 14:00:14 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 26 Sep 2010 14:01:27 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009261401.27047.hselasky@c2i.net> Cc: Subject: Re: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 12:00:16 -0000 On Sunday 26 September 2010 13:51:14 Donald Allen wrote: > I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft usb > mouse plugged into it. I have hal and dbus running, and when I start X, > everything is fine. However, if I shut down the X server and restart it > (via startx), the mouse no longer works, but the laptop's trackpoint > device does work. If I unplug and re-plug the mouse, it now works. Again, > as with my report on the usb disks, neither Linux nor OpenBSD exhibit this > behavior on this hardware. > > /Don Allen Usually this is not a USB kernel issue. Try looking in the HAL area. Somtimes it helps to CTRL+ALT+F1 then CTRL+ALT+F9 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 15:22:20 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F66106566B for ; Sun, 26 Sep 2010 15:22:20 +0000 (UTC) (envelope-from donaldcallen@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9BED18FC0C for ; Sun, 26 Sep 2010 15:22:19 +0000 (UTC) Received: by wyb33 with SMTP id 33so5376629wyb.13 for ; Sun, 26 Sep 2010 08:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8u/SGRbrrVwzUlgargGphNt2+GuW9Qp7S/6kN0jwPss=; b=GLPwuS7par3evVWLDVgqjym7TqkyKoSyWsGTn2zHLZpF/BXZxLv7zr+c2mBNBQiV/N rpHcLMq+sKgz4sBOxZXFhcBxAwrHQrK2HigSzj31w0XDZdspmyEmsaU6m3nlMWlGJc0Z MW/58MYU2xqDN7w1vks8KdJ3s3JmMbwjQo5as= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CP0Td8vS/vSILRp0w0nmTB7aN1hK4NoRi7DbGCFSDatShFd5QRLWwYAGkASgEF1EKo 4yAv9UKMZiGwma5kJn1C9K1p+MtJbUrjzdgzfsLwNjuGcpJyZ6dZtMDkpTF1hMMGcihi eAMpXgEZBRm15k6vGBVBFJgWqhyNLDBl6cVpA= MIME-Version: 1.0 Received: by 10.216.52.135 with SMTP id e7mr5018498wec.98.1285514538569; Sun, 26 Sep 2010 08:22:18 -0700 (PDT) Received: by 10.216.82.69 with HTTP; Sun, 26 Sep 2010 08:22:18 -0700 (PDT) In-Reply-To: <201009261401.27047.hselasky@c2i.net> References: <201009261401.27047.hselasky@c2i.net> Date: Sun, 26 Sep 2010 11:22:18 -0400 Message-ID: From: Donald Allen To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 15:22:20 -0000 On Sun, Sep 26, 2010 at 8:01 AM, Hans Petter Selasky wrote: > On Sunday 26 September 2010 13:51:14 Donald Allen wrote: > > I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft usb > > mouse plugged into it. I have hal and dbus running, and when I start X, > > everything is fine. However, if I shut down the X server and restart it > > (via startx), the mouse no longer works, but the laptop's trackpoint > > device does work. If I unplug and re-plug the mouse, it now works. Again, > > as with my report on the usb disks, neither Linux nor OpenBSD exhibit > this > > behavior on this hardware. > > > > /Don Allen > > Usually this is not a USB kernel issue. Try looking in the HAL area. > Somtimes > it helps to CTRL+ALT+F1 then CTRL+ALT+F9 > I just tried ctrl-alt-f1, ctrl-alt-f9 and that did not work. It's not a huge problem, as unplugging and replugging fixes it. I was reporting it because it seemed like a USB problem, but I can believe your guess that it isn't a kernel issue. X is pretty fragile, messy stuff these days. I've seen plenty of what Theo de Raadt has had to say about it. They've got a guy in the OpenBSD development group whose only job is to try to put a working X together from the chaos for their releases. /Don > --HPS > From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 20:23:09 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 642C41065672 for ; Sun, 26 Sep 2010 20:23:09 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4028FC08 for ; Sun, 26 Sep 2010 20:23:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzxkY-00043O-0M for freebsd-usb@freebsd.org; Sun, 26 Sep 2010 22:23:06 +0200 Received: from k.saper.info ([91.121.151.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 22:23:05 +0200 Received: from saper by k.saper.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 22:23:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Marcin Cieslak Date: Sun, 26 Sep 2010 20:22:52 +0000 (UTC) Organization: http://saper.info Lines: 23 Message-ID: References: <201009261401.27047.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: k.saper.info User-Agent: slrn/0.9.9p1 (FreeBSD) Subject: Re: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 20:23:09 -0000 >> Donald Allen wrote: > On Sun, Sep 26, 2010 at 8:01 AM, Hans Petter Selasky wrote: > >> On Sunday 26 September 2010 13:51:14 Donald Allen wrote: >> > I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft usb >> > mouse plugged into it. I have hal and dbus running, and when I start X, >> > everything is fine. However, if I shut down the X server and restart it >> > (via startx), the mouse no longer works, but the laptop's trackpoint >> > device does work. If I unplug and re-plug the mouse, it now works. Again, >> > as with my report on the usb disks, neither Linux nor OpenBSD exhibit >> this >> > behavior on this hardware. I am quite happy with X server compiled WITHOUT_HAL=true. While I can't hotplug my USB mouse (I am using a Sony Vaio laptop with internal touchpad) the good thing is that once I plug it in before X server starts I can freely unplug and re-plug it again as necessary. Can you try that to figure out wheter it's really a HAL issue as suggested by HPS? //Marcin From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 20:28:42 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB23E1065673 for ; Sun, 26 Sep 2010 20:28:42 +0000 (UTC) (envelope-from donaldcallen@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8D28FC14 for ; Sun, 26 Sep 2010 20:28:42 +0000 (UTC) Received: by iwn34 with SMTP id 34so5245728iwn.13 for ; Sun, 26 Sep 2010 13:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=GERNqoZXCEtGOlYKrqs5hdNs0obo7eNWnB1PnYohhMs=; b=VAfqC+/O2KVbFZzIShrlo2AgVPJiU1CFegy1RF72ZORghuT/TEdN28gCISz9NnN7S8 ETqFVYNmfeGwnwPCfikBycWwxUsmYjiQWhEdT8tSeNWX6WNG35o0bkbXIxQhFTZhiBEK CkMMLjEs33NkTuwyRAVHodkUeu5YoAdSOQ5I4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=slrjj3UMC97TGvMqUIlok+o+lNQSru9CYHjz76SKlA+jhYHEqi7BkcZ/EaswXjAWYe CW0wcMLCYQ4x2iFEOnxeNBPJMbqi1WcJ1jiWGl/xTuzDP8MNy5oUFGg/9EaaP+y2lfzy qrStkcV+bchLqFsn92oiS4e6d/qUxK2dT6EBA= MIME-Version: 1.0 Received: by 10.42.4.130 with SMTP id 2mr2118683ics.2.1285532921905; Sun, 26 Sep 2010 13:28:41 -0700 (PDT) Received: by 10.42.164.196 with HTTP; Sun, 26 Sep 2010 13:28:41 -0700 (PDT) In-Reply-To: References: <201009261401.27047.hselasky@c2i.net> Date: Sun, 26 Sep 2010 16:28:41 -0400 Message-ID: From: Donald Allen To: Marcin Cieslak Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: usb mouse issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 20:28:42 -0000 On Sun, Sep 26, 2010 at 4:22 PM, Marcin Cieslak wrote: > >> Donald Allen wrote: > > On Sun, Sep 26, 2010 at 8:01 AM, Hans Petter Selasky >wrote: > > > >> On Sunday 26 September 2010 13:51:14 Donald Allen wrote: > >> > I am running 8.1 RELEASE on a Thinkpad X61. I have a wired Microsoft > usb > >> > mouse plugged into it. I have hal and dbus running, and when I start > X, > >> > everything is fine. However, if I shut down the X server and restart > it > >> > (via startx), the mouse no longer works, but the laptop's trackpoint > >> > device does work. If I unplug and re-plug the mouse, it now works. > Again, > >> > as with my report on the usb disks, neither Linux nor OpenBSD exhibit > >> this > >> > behavior on this hardware. > > > I am quite happy with X server compiled WITHOUT_HAL=true. While I can't > hotplug my USB mouse (I am using a Sony Vaio laptop with internal > touchpad) the good thing is that once I plug it in before X server > starts I can freely unplug and re-plug it again as necessary. > > Can you try that to figure out wheter it's really a HAL issue > as suggested by HPS? > I will, but it won't be for a week or so. /Don > > //Marcin > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@FreeBSD.ORG Sun Sep 26 21:16:03 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111A0106566C; Sun, 26 Sep 2010 21:16:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A571E8FC19; Sun, 26 Sep 2010 21:16:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8QLG29r019072; Sun, 26 Sep 2010 21:16:02 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8QLG2jF019068; Sun, 26 Sep 2010 21:16:02 GMT (envelope-from linimon) Date: Sun, 26 Sep 2010 21:16:02 GMT Message-Id: <201009262116.o8QLG2jF019068@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/150892: [zyd] Whenever network contacted in any shape, way or form, "zyd0: unsupported rate 0" presents itself. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 21:16:03 -0000 Old Synopsis: Whenever network contacted in any shape, way or form, "zyd0: unsupported rate 0" presents itself. New Synopsis: [zyd] Whenever network contacted in any shape, way or form, "zyd0: unsupported rate 0" presents itself. Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sun Sep 26 21:15:01 UTC 2010 Responsible-Changed-Why: Attempt to reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=150892 From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 11:07:05 2010 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4DE410656DB for ; Mon, 27 Sep 2010 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C30F88FC2A for ; Mon, 27 Sep 2010 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8RB75AJ023632 for ; Mon, 27 Sep 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8RB750O023630 for freebsd-usb@FreeBSD.org; Mon, 27 Sep 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Sep 2010 11:07:05 GMT Message-Id: <201009271107.o8RB750O023630@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/150892 usb [zyd] Whenever network contacted in any shape, way or p usb/150546 usb libusb(3) libusb_control_transfer() prototype is incor o usb/150401 usb [umass] [usb8] Errors from USB drives mixed between UF o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf o usb/149934 usb [patch] [usb8] Transcend JetFlash V85 poor performance o usb/149900 usb [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb o usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149675 usb [uftdi] [usb_serial] doesn't react to break properly o usb/149528 usb [zyd] Wireless USB stick not detected - vendor id 0x08 o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 o usb/149039 usb [uhso] [patch] Binding problem with uhso s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb o usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors o usb/143790 usb [boot] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138548 usb [usb67] [usb8] usb devices periodically have unknown a o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device o usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach f usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [usb67] [umass] [patch] quirk to support ASUS P535 as o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " f usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by f usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn f usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 314 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 11:40:01 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 570B7106564A for ; Mon, 27 Sep 2010 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3400B8FC18 for ; Mon, 27 Sep 2010 11:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8RBe1VY059091 for ; Mon, 27 Sep 2010 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8RBe106059090; Mon, 27 Sep 2010 11:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 27 Sep 2010 11:40:01 GMT Resent-Message-Id: <201009271140.o8RBe106059090@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anil Gulati Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4E2106566C for ; Mon, 27 Sep 2010 11:36:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 916308FC1C for ; Mon, 27 Sep 2010 11:36:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8RBaggd057613 for ; Mon, 27 Sep 2010 11:36:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8RBag1N057612; Mon, 27 Sep 2010 11:36:42 GMT (envelope-from nobody) Message-Id: <201009271136.o8RBag1N057612@www.freebsd.org> Date: Mon, 27 Sep 2010 11:36:42 GMT From: Anil Gulati To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/150989: [patch] Add Netgear WG111V2_2 support to upgt(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 11:40:01 -0000 >Number: 150989 >Category: usb >Synopsis: [patch] Add Netgear WG111V2_2 support to upgt(4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 27 11:40:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anil Gulati >Release: FreeBSD 8.1 CURRENT >Organization: Anil Gulati >Environment: FreeBSD engine.local 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Thu Aug 26 22:45:23 EST 2010 root@engine.local:/usr/obj/usr/src/sys/VESAKERN i386 >Description: Some Netgear USB wireless adapter devices are labelled WG111V2 externally but are actually WG111V2_2 devices as listed in /sys/dev/usb/usbdevs. These devices are not recognised by FreeBSD 8.1 since they are not listed as supported. Booting with this USB device inserted will result in the device being recognised as a default USB device, not an actual wireless adapter. >How-To-Repeat: Plug in a Netgear WG111V2_2 USB wireless adapter and boot. Not all devices labelled WG111V2 are actually WG111V2_2. WG111V2_2 devices will not be recognised as a network device but will use the default USB device. My device of this type is externally labelled WG111V2 but is revealed as WG111V2_2 by the usbconfig output: $ usbconfig -u 4 -a 2 dump_device_desc ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0846 idProduct = 0x4240 bcdDevice = 0x1020 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <3887-0000> bNumConfigurations = 0x0001 >Fix: WG111V2_2 devices use the GW3887 chipset and therefore need the PrismGT driver upgt rather than the urtw driver used for all other Netgear WG111 devices: > cat /sys/dev/usb/usbdevs | grep WG111V2_2 product NETGEAR WG111V2_2 0x4240 PrismGT USB 2.0 WLAN WG111V2_2 is not listed as a device supported by upgt in /sys/dev/usb/wlan/if_upgt.c, so it needs to be added: UPGT_DEV(NETGEAR, WG111V2_2), Attached patch provides this update. Thread demonstrating this as it was worked out: http://www.daemonforums.org/showthread.php?t=5108 Patch attached with submission follows: --- /sys/dev/usb/wlan/if_upgt.c.orig 2009-08-03 00:00:00.000000000 +1000 +++ /sys/dev/usb/wlan/if_upgt.c 2010-09-22 00:00:00.000000000 +1000 @@ -182,6 +182,7 @@ UPGT_DEV(FSC, E5400), UPGT_DEV(GLOBESPAN, PRISM_GT_1), UPGT_DEV(GLOBESPAN, PRISM_GT_2), + UPGT_DEV(NETGEAR, WG111V2_2), UPGT_DEV(INTERSIL, PRISM_GT), UPGT_DEV(SMC, 2862WG), UPGT_DEV(WISTRONNEWEB, UR045G), >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 12:20:30 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1FCA106566B; Mon, 27 Sep 2010 12:20:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 4F59D8FC08; Mon, 27 Sep 2010 12:20:30 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=M8qpYxtMbuYA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=QBj5VyZNsCFbVmv3EhQA:9 a=50t1jiUm4qqUZZmtUkX-bNwlnS4A:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 26944323; Mon, 27 Sep 2010 14:20:28 +0200 To: freebsd-current@freebsd.org From: Hans Petter Selasky X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' Date: Mon, 27 Sep 2010 14:21:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009271421.42082.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 12:20:31 -0000 Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 12:24:57 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6A510656C9; Mon, 27 Sep 2010 12:24:57 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 263478FC13; Mon, 27 Sep 2010 12:24:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5UXFHLfkiY5XrCDma5uYm2T9fyMGz6t0cyN4hLfZsqg= c=1 sm=1 a=M8qpYxtMbuYA:10 a=kj9zAlcOel0A:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=QBj5VyZNsCFbVmv3EhQA:9 a=50t1jiUm4qqUZZmtUkX-bNwlnS4A:4 a=CjuIK1q_8ugA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 26362834; Mon, 27 Sep 2010 14:14:52 +0200 Received-SPF: softfail receiver=mailfe06.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Mon, 27 Sep 2010 14:16:05 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201009271416.06030.hselasky@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 12:24:57 -0000 Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 13:34:35 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FAD106564A; Mon, 27 Sep 2010 13:34:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7ECD48FC12; Mon, 27 Sep 2010 13:34:35 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3BBAB.dip.t-dialin.net [87.179.187.171]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 5F65384400C; Mon, 27 Sep 2010 15:34:30 +0200 (CEST) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0A9BB188A; Mon, 27 Sep 2010 15:34:23 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o8RDYJxG078614; Mon, 27 Sep 2010 15:34:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 27 Sep 2010 15:34:19 +0200 Message-ID: <20100927153419.13263v44ijw12m4g@webmail.leidinger.net> Date: Mon, 27 Sep 2010 15:34:19 +0200 From: Alexander Leidinger To: Hans Petter Selasky References: <201009271421.42082.hselasky@c2i.net> In-Reply-To: <201009271421.42082.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 5F65384400C.A861B X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.351, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_KB 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1286199272.86372@NeVIGK3YKSmy73w8K/FcDg X-EBL-Spam-Status: No Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 13:34:36 -0000 Quoting Hans Petter Selasky (from Mon, 27 Sep 2010 14:21:42 +0200): > Hi, > > I was thinking about adding a sysctl to ukbd and ums that shows how many > keypresses have been done and how many pixels you have moved the mouse during > a day. These number will mostly be useful for making ergonomic arguments that > a certain way of working is better than another one. > > Anyone have any comments or input on this? Are there any security concerns > about this? Be careful with ergonomic arguments. For example the screen corners are easy (and fast) mouse targets (if they are used for something in the software), and would give a false impression if you count mouse-device movement instead of mouse-pointer movement on the screen (which you can not measure in ums). The most easy ergonomic point for a mouse is the current position (pop-up menus), and this involves not much movement... Regarding key-presses there's also the problem of having the keys directly under your fingers, or having to move back and forth with the hands (also depends upon the keyboard layout and type of work you do). Regarding metrics I suggest to: - add a click-count - not hardcode the counter-reset (let a sysctl handle the counter reset upon request) - differentiate between normal key presses and shift-ed/control-ed/... ones (I do not think that caps-lock should count as shift-ed) - I do not know if it makes sense to have a hold-time (for shift/control/...), if this is for real ergonomic research, this could be helpful Regarding the security: - don't make this real-time stats, add some artificial delay (you could interpolate what is typed just by watching the stats), I suggest to make the delay at least several seconds long (to cover people with disabilities and maybe people which search each character with one finger), for real ergonomic research this is counter-productive (but you stated that you want to measure on a per-day basis, to this should not matter in your case) - make it depending on a compile time knob (disabled by default) and issue a warning on device attach if compiled in Bye, Alexander. -- An honest tale speeds best being plainly told. -- William Shakespeare, "Henry VI" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Mon Sep 27 13:50:35 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7C07D106566C; Mon, 27 Sep 2010 13:50:35 +0000 (UTC) Date: Mon, 27 Sep 2010 13:50:35 +0000 From: Alexander Best To: Hans Petter Selasky Message-ID: <20100927135035.GA42926@freebsd.org> References: <201009271421.42082.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009271421.42082.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 13:50:35 -0000 On Mon Sep 27 10, Hans Petter Selasky wrote: > Hi, > > I was thinking about adding a sysctl to ukbd and ums that shows how many > keypresses have been done and how many pixels you have moved the mouse during > a day. These number will mostly be useful for making ergonomic arguments that > a certain way of working is better than another one. > > Anyone have any comments or input on this? Are there any security concerns > about this? i like the idea. :) would be nice if this could be turned on/off for ums and ukbd seperately. how about the kernel options: USB_STATS_UMS USB_STATS_UKBD cheers. alex > > --HPS -- a13x From owner-freebsd-usb@FreeBSD.ORG Tue Sep 28 01:53:03 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B525B1065670; Tue, 28 Sep 2010 01:53:03 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA868FC1E; Tue, 28 Sep 2010 01:53:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8S1r3QS047872; Tue, 28 Sep 2010 01:53:03 GMT (envelope-from emaste@freefall.freebsd.org) Received: (from emaste@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8S1r3bb047868; Tue, 28 Sep 2010 01:53:03 GMT (envelope-from emaste) Date: Tue, 28 Sep 2010 01:53:03 GMT Message-Id: <201009280153.o8S1r3bb047868@freefall.freebsd.org> To: rea-fbsd@codelabs.ru, emaste@FreeBSD.org, freebsd-usb@FreeBSD.org From: emaste@FreeBSD.org Cc: Subject: Re: usb/116947: [ukbd] [patch] [regression] enable boot protocol on the USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 01:53:03 -0000 Synopsis: [ukbd] [patch] [regression] enable boot protocol on the USB keyboards State-Changed-From-To: open->patched State-Changed-By: emaste State-Changed-When: Tue Sep 28 01:52:05 UTC 2010 State-Changed-Why: I just tried -CURRENT with a MS Natural 4000 keyboard and the function keys work, so it appears this has made it through. http://www.freebsd.org/cgi/query-pr.cgi?pr=116947 From owner-freebsd-usb@FreeBSD.ORG Tue Sep 28 20:33:56 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3ED1065673 for ; Tue, 28 Sep 2010 20:33:56 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB8418FC27 for ; Tue, 28 Sep 2010 20:33:55 +0000 (UTC) Received: by bwz15 with SMTP id 15so102864bwz.13 for ; Tue, 28 Sep 2010 13:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=LJwtmoP9PjQQ1/otGXQub5EAMtBGtruf617XYXmplCk=; b=weMfmXcsFvO1bZaOfzKPloAxWAZhgl+eLvi3WvAyrMk6TAo5XUkh+xnwNZ8y9lX0pL MwwbEb7ugy50FjI8Uo+E/lkfWFDZke6eV7xuv6BRa4WLbFPF4QWy39l1mJr5uaQFsfPM jOwmTwZG1IkhqsdB/1gXPDa77en4CStVsru5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=xy8YrOvT3762Ec95myKnYGsJ2Wi5NeYTmNq/apE7dg56s3NYgRdQqaTubMrz9G5hjH 3DuzRMo5tMtk6ArdMcjLSkud9FitUpLDTKCGAP+NGtcsaHJQG3R5rDhcqvZ067zkgb3/ O5rjK3/ojFXpLFin6Bjb/MhHrt8FMTfwFkvyo= Received: by 10.204.178.82 with SMTP id bl18mr422021bkb.118.1285704223115; Tue, 28 Sep 2010 13:03:43 -0700 (PDT) Received: from [172.16.0.6] (tx97.net [85.198.160.156]) by mx.google.com with ESMTPS id 24sm5960906bkr.7.2010.09.28.13.03.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 13:03:42 -0700 (PDT) Message-ID: <4CA249BB.8070505@gmail.com> Date: Tue, 28 Sep 2010 23:02:03 +0300 From: Vitaly Magerya User-Agent: Thunderbird MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: USB problems after sleep/resume on FreeBSD 8.1-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 20:33:56 -0000 Hi, folks. When I try to sleep and then resume on my ThinkPad T40, I sometimes (but not always) get this error message: usbus3: port reset timeout uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 This happens even when there's no USB device actually attached. If I do have a USB flash drive inserted (but not mounted), mounting it after resume fails with this error message: mount_msdosfs: /dev/da0: Input/output error ... and this kernel message: (da0:umass-sim0:0:0:0): AutoSense failed If I however now remove the drive and insert it back, mount works without problems. If the flash drive was mounted before the sleep and I try to unmount it, umount fails with "Input/output error", and this error starts to appear periodically: (da0:umass-sim0:0:0:0): AutoSense failed g_vfs_done():da0[WRITE(offset=19456, length=4096)]error = 5 Trying to read or write to the drive results in similar errors. When I try to shutdown afterward, the error is printed a few more times, then there's a message about giving up on 1 buffer, and finally, the laptop won't actually shut down; it just shows the last messages and doesn't react to key presses. You can find my laptop's dmesg at [1]. If anyone wants to look into this issue, I can provide any further information -- just name it. Note that this isn't the only problem I'm having with sleep/resume; my report here was prompted by the discussion starting at [2]. [1] http://tx97.net/~magv/dmesg-t40.81-p1.txt [2] http://lists.freebsd.org/pipermail/freebsd-stable/2010-September/thread.html#59057 From owner-freebsd-usb@FreeBSD.ORG Tue Sep 28 23:03:57 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 192201065679 for ; Tue, 28 Sep 2010 23:03:57 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 990EB8FC1D for ; Tue, 28 Sep 2010 23:03:56 +0000 (UTC) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o8SKv6sC021966 for ; Wed, 29 Sep 2010 06:57:06 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o8SKus7E013562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Sep 2010 06:56:55 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o8SKufuT047505; Wed, 29 Sep 2010 06:56:41 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o8SKudBP047504; Wed, 29 Sep 2010 06:56:39 +1000 (EST) (envelope-from peter) Date: Wed, 29 Sep 2010 06:56:39 +1000 From: Peter Jeremy To: Hans Petter Selasky Message-ID: <20100928205639.GA47266@server.vk2pj.dyndns.org> References: <201009271421.42082.hselasky@c2i.net> <20100927153419.13263v44ijw12m4g@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20100927153419.13263v44ijw12m4g@webmail.leidinger.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 23:03:57 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Sep-27 15:34:19 +0200, Alexander Leidinger wrote: >Quoting Hans Petter Selasky (from Mon, 27 Sep 2010 =20 >14:21:42 +0200): >> I was thinking about adding a sysctl to ukbd and ums that shows how many >> keypresses have been done and how many pixels you have moved the mouse d= uring >> a day. I agree with Alexander's comments on the usefulness or otherwise of just counting keypresses and mouse pixels. Mouse clicks or number of mouse movements is probably more useful for ergonomics than pixels moved. >Regarding the security: > - don't make this real-time stats, add some artificial delay Delaying the reporting of actual keystroke numbers by several seconds is rather painful. If you want to go this path, either just update the visible count every N seconds (have a callout that triggers every N seconds) or M events (where N or M are configurable and maybe small random numbers). > - make it depending on a compile time knob (disabled > by default) and issue a warning on device attach if > compiled in My personal view is that this is being excessively paranoid. Note that FreeBSD already reports the total number characters read/written via TTY devices. I don't think it's necessary to go as far as compiled-out by default with warnings if enabled - a runtime knob is adequate. Having the sysctl disabled by default and only enabled by root (maybe only readable by root) should be adequate since there are plenty of other mechanisms for root to obtain actual keypress and mouse movement data. --=20 Peter Jeremy --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkyiVocACgkQ/opHv/APuIeyewCeIX9xLWcMI5Z0FOME24zBZEDR jWMAmwWyr6qrluWHnMFg8HxPgWitPbaq =FcUP -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 01:44:15 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1B8F106564A for ; Wed, 29 Sep 2010 01:44:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 675EF8FC0A for ; Wed, 29 Sep 2010 01:44:14 +0000 (UTC) Received: by iwn34 with SMTP id 34so478647iwn.13 for ; Tue, 28 Sep 2010 18:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=G6F2MB6pof8Pgwyfd8BeV4BeWTiibUOJBRkZnA7kpgI=; b=mXHYCyrul9XqT19Raq3OvZr1nEbNFEM+np3mbbInkuvRjMPYaJzQMWBZxNGbC9TQ/2 XWOkLk0ZrNrwdPhJGl04mq/I9O1gNwo/Q5xXs3bW2rMWFJDHAHeknS/rdB2L9kII/ict n4d4mqsiJkT+TEqrORvdtRgde2+Vi9oWGZ9Ao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=V8Z6MEbF/0/7Kx0p6tykEcuLGPZvwLmrKE73DyqmWV/DD3xFqhkbYfRz+YTdbnxpF6 UCAKP0aQ3KR/J2zg4PViZ9YJXoibxj8Mp0kGo+nIO8sSx67Jo6LqY0x0njSUoCNK1UCk ZKrlkY3pDWlNgs+N8jQ0bxZiN09Mz6975QIko= MIME-Version: 1.0 Received: by 10.231.183.134 with SMTP id cg6mr828152ibb.197.1285723329198; Tue, 28 Sep 2010 18:22:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.156.206 with HTTP; Tue, 28 Sep 2010 18:22:09 -0700 (PDT) In-Reply-To: <201009271421.42082.hselasky@c2i.net> References: <201009271421.42082.hselasky@c2i.net> Date: Wed, 29 Sep 2010 09:22:09 +0800 X-Google-Sender-Auth: c1dn3H6uFX70XAasAQOLcDy3to0 Message-ID: From: Adrian Chadd To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [USB] Keyboard, mouse and ergonomy X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 01:44:15 -0000 On 27 September 2010 20:21, Hans Petter Selasky wrote: > Hi, > > I was thinking about adding a sysctl to ukbd and ums that shows how many > keypresses have been done and how many pixels you have moved the mouse during > a day. These number will mostly be useful for making ergonomic arguments that > a certain way of working is better than another one. > > Anyone have any comments or input on this? Are there any security concerns > about this? Grab a book or five on ergonomics, UI design and Human/Computer Interaction. Read some of the papers that you can find on what went into say, apple's (earlier) UI design. It's all rather interesting and enlightening. :) As other have said, minimising keypresses/mouse movements isn't 1:1 correlated with "better ergonomic design." Adrian From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 02:00:12 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D2B31065670 for ; Wed, 29 Sep 2010 02:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F3B618FC1B for ; Wed, 29 Sep 2010 02:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8T20BEi076037 for ; Wed, 29 Sep 2010 02:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8T20Bqc076019; Wed, 29 Sep 2010 02:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 29 Sep 2010 02:00:11 GMT Resent-Message-Id: <201009290200.o8T20Bqc076019@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, TAKANO Yuji Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40CD9106567A for ; Wed, 29 Sep 2010 01:51:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2E30C8FC21 for ; Wed, 29 Sep 2010 01:51:11 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8T1pALY076641 for ; Wed, 29 Sep 2010 01:51:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8T1pAX4076640; Wed, 29 Sep 2010 01:51:10 GMT (envelope-from nobody) Message-Id: <201009290151.o8T1pAX4076640@www.freebsd.org> Date: Wed, 29 Sep 2010 01:51:10 GMT From: TAKANO Yuji To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 02:00:12 -0000 >Number: 151043 >Category: usb >Synopsis: Please add USB device MELCO WLR-UC-G >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 29 02:00:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: TAKANO Yuji >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: FreeBSD rocky.running-dog.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 26 16:58:40 JST 2010 takachan@rocky.running-dog.net:/usr/obj/usr/src/sys/Rocky_8.1-STABLE_AMD64_SMP_Kernel amd64 >Description: I give it a patch. >How-To-Repeat: >Fix: I give it a patch. Patch attached with submission follows: diff -urN ./usb.orig/usbdevs ./usb/usbdevs --- ./usb.orig/usbdevs 2010-09-29 10:07:46.000000000 +0900 +++ ./usb/usbdevs 2010-09-29 02:35:38.000000000 +0900 @@ -2096,6 +2096,8 @@ product MELCO KG54L 0x00da WLI-U2-KG54L product MELCO WLIUCG300N 0x00e8 WLI-UC-G300N product MELCO SG54HG 0x00f4 WLI-U2-SG54HG +product MELCO WLRUCG 0x0116 WLR-UC-G +product MELCO WLRUCGAOSS 0x0119 WLR-UC-G-AOSS product MELCO WLIUCAG300N 0x012e WLI-UC-AG300N product MELCO RT2870_1 0x0148 RT2870 product MELCO RT2870_2 0x0150 RT2870 diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c --- ./usb.orig/wlan/if_rum.c 2010-09-01 10:41:33.000000000 +0900 +++ ./usb/wlan/if_rum.c 2010-09-29 02:39:28.000000000 +0900 @@ -118,6 +118,8 @@ RUM_DEV(HUAWEI3COM, WUB320G), RUM_DEV(MELCO, G54HP), RUM_DEV(MELCO, SG54HP), + RUM_DEV(MELCO, WLRUCG), + RUM_DEV(MELCO, WLRUCGAOSS), RUM_DEV(MSI, RT2573_1), RUM_DEV(MSI, RT2573_2), RUM_DEV(MSI, RT2573_3), >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 08:16:14 2010 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 854401065673 for ; Wed, 29 Sep 2010 08:16:14 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3DA8FC13 for ; Wed, 29 Sep 2010 08:16:13 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3AA69.dip.t-dialin.net [87.179.170.105]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 2BDC884400A for ; Wed, 29 Sep 2010 10:16:10 +0200 (CEST) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 3BC4323C6 for ; Wed, 29 Sep 2010 10:16:07 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o8T8G72K084084 for usb@freebsd.org; Wed, 29 Sep 2010 10:16:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 29 Sep 2010 10:16:07 +0200 Message-ID: <20100929101607.17808l2onkq5tdc0@webmail.leidinger.net> Date: Wed, 29 Sep 2010 10:16:07 +0200 From: Alexander Leidinger To: usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 2BDC884400A.A683A X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.274, required 6, autolearn=disabled, RDNS_NONE 1.27) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1286352972.47527@g95ApuHALgYGdk9rSfPEqw X-EBL-Spam-Status: No Cc: Subject: USB on -current is filling my messages log X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 08:16:14 -0000 Hi, every half an hour I get two log entries in /var/log/messages. They look like this: ---snip--- Sep 28 23:30:00 M87 root: Unknown USB device: vendor 0x1941 product 0x8021 bus uhub1 Sep 28 23:30:00 M87 root: Unknown USB device: vendor 0x1941 product 0x8021 bus uhub1 ---snip--- What is causing this and how to disable it? Bye, Alexander. -- It's difficult to see the picture when you are inside the frame. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 09:58:26 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 148B2106566B; Wed, 29 Sep 2010 09:58:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 705118FC1B; Wed, 29 Sep 2010 09:58:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5UXFHLfkiY5XrCDma5uYm2T9fyMGz6t0cyN4hLfZsqg= c=1 sm=1 a=5KdlQ5dnPx4A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=1bCWpg38AAAA:8 a=6I5d2MoRAAAA:8 a=hpIncdQFsqXVfoN7D_QA:9 a=APrehWO0D58wgXKSvi8A:7 a=reTBVCmV9h2lPJRe9T2hudzLPboA:4 a=PUjeQqilurYA:10 a=SV7veod9ZcQA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 27403289; Wed, 29 Sep 2010 11:58:22 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 29 Sep 2010 11:59:33 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201009290151.o8T1pAX4076640@www.freebsd.org> In-Reply-To: <201009290151.o8T1pAX4076640@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009291159.34054.hselasky@c2i.net> Cc: TAKANO Yuji , freebsd-gnats-submit@freebsd.org Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 09:58:26 -0000 On Wednesday 29 September 2010 03:51:10 TAKANO Yuji wrote: > >Number: 151043 > >Category: usb > >Synopsis: Please add USB device MELCO WLR-UC-G > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Wed Sep 29 02:00:11 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: TAKANO Yuji > >Release: FreeBSD 8.1-STABLE amd64 > >Organization: > > >Environment: > FreeBSD rocky.running-dog.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 26 > 16:58:40 JST 2010 > takachan@rocky.running-dog.net:/usr/obj/usr/src/sys/Rocky_8.1-STABLE_AMD64 > _SMP_Kernel amd64 > > >Description: > I give it a patch. > > >How-To-Repeat: > > >Fix: > I give it a patch. > > > > Patch attached with submission follows: > > diff -urN ./usb.orig/usbdevs ./usb/usbdevs > --- ./usb.orig/usbdevs 2010-09-29 10:07:46.000000000 +0900 > +++ ./usb/usbdevs 2010-09-29 02:35:38.000000000 +0900 > @@ -2096,6 +2096,8 @@ > product MELCO KG54L 0x00da WLI-U2-KG54L > product MELCO WLIUCG300N 0x00e8 WLI-UC-G300N > product MELCO SG54HG 0x00f4 WLI-U2-SG54HG > +product MELCO WLRUCG 0x0116 WLR-UC-G > +product MELCO WLRUCGAOSS 0x0119 WLR-UC-G-AOSS > product MELCO WLIUCAG300N 0x012e WLI-UC-AG300N > product MELCO RT2870_1 0x0148 RT2870 > product MELCO RT2870_2 0x0150 RT2870 > diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c > --- ./usb.orig/wlan/if_rum.c 2010-09-01 10:41:33.000000000 +0900 > +++ ./usb/wlan/if_rum.c 2010-09-29 02:39:28.000000000 +0900 > @@ -118,6 +118,8 @@ > RUM_DEV(HUAWEI3COM, WUB320G), > RUM_DEV(MELCO, G54HP), > RUM_DEV(MELCO, SG54HP), > + RUM_DEV(MELCO, WLRUCG), > + RUM_DEV(MELCO, WLRUCGAOSS), > RUM_DEV(MSI, RT2573_1), > RUM_DEV(MSI, RT2573_2), > RUM_DEV(MSI, RT2573_3), > > >Release-Note: > >Audit-Trail: > > >Unformatted: > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Can you send output from: usbconfig -d X.Y dump_device_desc where X and Y are the numbers after "ugen" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 10:00:17 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC627106566B for ; Wed, 29 Sep 2010 10:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B10278FC13 for ; Wed, 29 Sep 2010 10:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8TA0G4I009470 for ; Wed, 29 Sep 2010 10:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8TA0GwU009452; Wed, 29 Sep 2010 10:00:16 GMT (envelope-from gnats) Date: Wed, 29 Sep 2010 10:00:16 GMT Message-Id: <201009291000.o8TA0GwU009452@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 10:00:17 -0000 The following reply was made to PR usb/151043; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: TAKANO Yuji , freebsd-gnats-submit@freebsd.org Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G Date: Wed, 29 Sep 2010 11:59:33 +0200 On Wednesday 29 September 2010 03:51:10 TAKANO Yuji wrote: > >Number: 151043 > >Category: usb > >Synopsis: Please add USB device MELCO WLR-UC-G > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Wed Sep 29 02:00:11 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: TAKANO Yuji > >Release: FreeBSD 8.1-STABLE amd64 > >Organization: > > >Environment: > FreeBSD rocky.running-dog.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 26 > 16:58:40 JST 2010 > takachan@rocky.running-dog.net:/usr/obj/usr/src/sys/Rocky_8.1-STABLE_AMD64 > _SMP_Kernel amd64 > > >Description: > I give it a patch. > > >How-To-Repeat: > > >Fix: > I give it a patch. > > > > Patch attached with submission follows: > > diff -urN ./usb.orig/usbdevs ./usb/usbdevs > --- ./usb.orig/usbdevs 2010-09-29 10:07:46.000000000 +0900 > +++ ./usb/usbdevs 2010-09-29 02:35:38.000000000 +0900 > @@ -2096,6 +2096,8 @@ > product MELCO KG54L 0x00da WLI-U2-KG54L > product MELCO WLIUCG300N 0x00e8 WLI-UC-G300N > product MELCO SG54HG 0x00f4 WLI-U2-SG54HG > +product MELCO WLRUCG 0x0116 WLR-UC-G > +product MELCO WLRUCGAOSS 0x0119 WLR-UC-G-AOSS > product MELCO WLIUCAG300N 0x012e WLI-UC-AG300N > product MELCO RT2870_1 0x0148 RT2870 > product MELCO RT2870_2 0x0150 RT2870 > diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c > --- ./usb.orig/wlan/if_rum.c 2010-09-01 10:41:33.000000000 +0900 > +++ ./usb/wlan/if_rum.c 2010-09-29 02:39:28.000000000 +0900 > @@ -118,6 +118,8 @@ > RUM_DEV(HUAWEI3COM, WUB320G), > RUM_DEV(MELCO, G54HP), > RUM_DEV(MELCO, SG54HP), > + RUM_DEV(MELCO, WLRUCG), > + RUM_DEV(MELCO, WLRUCGAOSS), > RUM_DEV(MSI, RT2573_1), > RUM_DEV(MSI, RT2573_2), > RUM_DEV(MSI, RT2573_3), > > >Release-Note: > >Audit-Trail: > > >Unformatted: > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Can you send output from: usbconfig -d X.Y dump_device_desc where X and Y are the numbers after "ugen" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Sep 29 12:53:49 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388A31065672; Wed, 29 Sep 2010 12:53:49 +0000 (UTC) (envelope-from sanpei@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0EEF88FC2B; Wed, 29 Sep 2010 12:53:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8TCrmqD098488; Wed, 29 Sep 2010 12:53:48 GMT (envelope-from sanpei@freefall.freebsd.org) Received: (from sanpei@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8TCrmA6098484; Wed, 29 Sep 2010 12:53:48 GMT (envelope-from sanpei) Date: Wed, 29 Sep 2010 12:53:48 GMT Message-Id: <201009291253.o8TCrmA6098484@freefall.freebsd.org> To: be_works_us@yahoo.com, sanpei@FreeBSD.org, freebsd-usb@FreeBSD.org From: sanpei@FreeBSD.org Cc: Subject: Re: usb/119981: [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigabit ethernet adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 12:53:49 -0000 Synopsis: [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigabit ethernet adapter State-Changed-From-To: open->closed State-Changed-By: sanpei State-Changed-When: Wed Sep 29 12:53:24 UTC 2010 State-Changed-Why: commited in 8-stable and 9-current. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=119981 From owner-freebsd-usb@FreeBSD.ORG Thu Sep 30 19:33:41 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB099106564A; Thu, 30 Sep 2010 19:33:41 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB9A8FC14; Thu, 30 Sep 2010 19:33:40 +0000 (UTC) Received: by eyx24 with SMTP id 24so1226416eyx.13 for ; Thu, 30 Sep 2010 12:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=UPnUOs1bcDzcwMzwAsiMKhbG/3QbqmC6tmhQsPH4oXk=; b=Wo0fDsEYMkDr1KTO89RvWfjHqMe7atuWyxXNIoI1+wl6vZ9YszOYSfcLekf6nkKgJY HlyWjsdkUlte4YGlLhiNmRidFbr9ZSh1O/AtuPSI8P7B1mVesZVzJwhA+Lr1aOybUneu bizkVAQ+g1ilOj1B1OQAaJSK6wOM+IVo0mLtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=OfY2ghif7SQqhZDavFihXbN1mA1bvmONRJ4SxAbL3tij9kKREEEZOCqo5UsZUNqB6X +FPhND/zwLyJkmflw619I5xJY3xt7c2jETlhuY8rSvnbMwxRCxwqk8Fj56YTV6zsYZzm /dSJ98E6nX7HGNvlCG4wSaDTKt2RVvyZgsoTY= Received: by 10.14.37.10 with SMTP id x10mr2599854eea.33.1285873864272; Thu, 30 Sep 2010 12:11:04 -0700 (PDT) Received: from hulk.l.ttyv0.net (80-219-18-72.dclient.hispeed.ch [80.219.18.72]) by mx.google.com with ESMTPS id v59sm294784eeh.16.2010.09.30.12.11.01 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Sep 2010 12:11:02 -0700 (PDT) Message-ID: <4CA4E0C3.1050707@gmail.com> Date: Thu, 30 Sep 2010 21:10:59 +0200 From: Anselm Strauss User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100723 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-usb@freebsd.org, freebsd-questions@freebsd.org References: <4CA3B8F5.80904@gmail.com> In-Reply-To: <4CA3B8F5.80904@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: USB disk on CS5536 unstable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 19:33:41 -0000 Maybe sending it to just the USB list was too specific ... On 09/30/10 00:08, Anselm Strauss wrote: > Hi > > I have an ALIX board that has an AMD Geode and the CS5536 companion chip > with integrated USB on it. When I connect a USB disk I have observed > various problems. For example when I run fsck_ufs on a 250 GB partition > the process gets stuck in biord state and fsck reports unreadable > sectors. When I do a dd over the whole disk and direct it to /dev/null > it suddenly returns with no error, but having read only a small fraction > of the disk. I tried it with two different disks and two different ALIX > boards. I'm pretty sure the disks are okay since I tried them on other > hardware. > > As far as I know there was some trouble with the chip regarding > timeouts. Under load after some time the USB just stops responding. I > have tried 8.0 and 8.1. Is there any known problem? How can I track this > down? > > Anselm From owner-freebsd-usb@FreeBSD.ORG Thu Sep 30 19:37:39 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7DC41065693; Thu, 30 Sep 2010 19:37:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 37A418FC21; Thu, 30 Sep 2010 19:37:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=cs3SvN_-6pTT46pB1rEA:9 a=_cSDAwiD9e2FChBRIJYA:7 a=2S8SN5sS-Rn-QsbTN679usvFKjQA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 28825099; Thu, 30 Sep 2010 21:37:37 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 30 Sep 2010 21:38:51 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4CA3B8F5.80904@gmail.com> <4CA4E0C3.1050707@gmail.com> In-Reply-To: <4CA4E0C3.1050707@gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009302138.51616.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org Subject: Re: USB disk on CS5536 unstable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 19:37:39 -0000 On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote: > Maybe sending it to just the USB list was too specific ... > > On 09/30/10 00:08, Anselm Strauss wrote: > > Hi > > > > I have an ALIX board that has an AMD Geode and the CS5536 companion chip > > with integrated USB on it. When I connect a USB disk I have observed > > various problems. For example when I run fsck_ufs on a 250 GB partition > > the process gets stuck in biord state and fsck reports unreadable > > sectors. When I do a dd over the whole disk and direct it to /dev/null > > it suddenly returns with no error, but having read only a small fraction > > of the disk. I tried it with two different disks and two different ALIX > > boards. I'm pretty sure the disks are okay since I tried them on other > > hardware. > > > > As far as I know there was some trouble with the chip regarding > > timeouts. Under load after some time the USB just stops responding. I > > have tried 8.0 and 8.1. Is there any known problem? How can I track this > > down? > > > > Anselm If you compile the kernel with USB_DEBUG, then there are some sysctls under hw.usb.ehci which you can tweak. Needs to be set before boot. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 1 13:02:30 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BED181065697; Fri, 1 Oct 2010 13:02:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 160D88FC2A; Fri, 1 Oct 2010 13:02:29 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=MfZI9uxp4N4A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=mZuUDjAiAAAA:8 a=2BGOgP4RRmpb0zQIb30A:9 a=sWM0_so6nlEEhxz6VOcA:7 a=dwQ3YRkdoxl9ELGHUiCzIg3p7wAA:4 a=PUjeQqilurYA:10 a=KlGHixcjFZ8A:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 29158020; Fri, 01 Oct 2010 15:02:28 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 1 Oct 2010 15:03:42 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201009271136.o8RBag1N057612@www.freebsd.org> In-Reply-To: <201009271136.o8RBag1N057612@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201010011503.42100.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Anil Gulati Subject: Re: usb/150989: [patch] Add Netgear WG111V2_2 support to upgt(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 13:02:30 -0000 On Monday 27 September 2010 13:36:42 Anil Gulati wrote: > >Number: 150989 > >Category: usb > >Synopsis: [patch] Add Netgear WG111V2_2 support to upgt(4) > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: update > >Submitter-Id: current-users > >Arrival-Date: Mon Sep 27 11:40:00 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Anil Gulati > >Release: FreeBSD 8.1 CURRENT > > >Organization: > Anil Gulati > > >Environment: > FreeBSD engine.local 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Thu Aug 26 22:45:23 > EST 2010 root@engine.local:/usr/obj/usr/src/sys/VESAKERN i386 > > >Description: > Some Netgear USB wireless adapter devices are labelled WG111V2 externally > but are actually WG111V2_2 devices as listed in /sys/dev/usb/usbdevs. > > These devices are not recognised by FreeBSD 8.1 since they are not listed > as supported. > > Booting with this USB device inserted will result in the device being > recognised as a default USB device, not an actual wireless adapter. > > >How-To-Repeat: > Plug in a Netgear WG111V2_2 USB wireless adapter and boot. > Not all devices labelled WG111V2 are actually WG111V2_2. > WG111V2_2 devices will not be recognised as a network device but will use > the default USB device. My device of this type is externally labelled > WG111V2 but is revealed as WG111V2_2 by the usbconfig output: > > $ usbconfig -u 4 -a 2 dump_device_desc > ugen4.2: at usbus4, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0846 > idProduct = 0x4240 > bcdDevice = 0x1020 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <3887-0000> > bNumConfigurations = 0x0001 > > >Fix: > WG111V2_2 devices use the GW3887 chipset and therefore need the PrismGT driver upgt rather than the urtw driver used for all other Netgear WG111 devices: > > cat /sys/dev/usb/usbdevs | grep WG111V2_2 > > product NETGEAR WG111V2_2 0x4240 PrismGT USB 2.0 WLAN > > WG111V2_2 is not listed as a device supported by upgt in > /sys/dev/usb/wlan/if_upgt.c, so it needs to be added: UPGT_DEV(NETGEAR, > WG111V2_2), > > Attached patch provides this update. > > Thread demonstrating this as it was worked out: > http://www.daemonforums.org/showthread.php?t=5108 > > Patch attached with submission follows: > > --- /sys/dev/usb/wlan/if_upgt.c.orig 2009-08-03 00:00:00.000000000 +1000 > +++ /sys/dev/usb/wlan/if_upgt.c 2010-09-22 00:00:00.000000000 +1000 > @@ -182,6 +182,7 @@ > UPGT_DEV(FSC, E5400), > UPGT_DEV(GLOBESPAN, PRISM_GT_1), > UPGT_DEV(GLOBESPAN, PRISM_GT_2), > + UPGT_DEV(NETGEAR, WG111V2_2), > UPGT_DEV(INTERSIL, PRISM_GT), > UPGT_DEV(SMC, 2862WG), > UPGT_DEV(WISTRONNEWEB, UR045G), > > >Release-Note: > >Audit-Trail: > > >Unformatted: See USB P4 change #184338. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 1 13:09:10 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9374E106566C; Fri, 1 Oct 2010 13:09:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id F029F8FC14; Fri, 1 Oct 2010 13:09:09 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=gl0LPzB4YDQuuzpDoHYit7deEV0cOo++Sg28kyvF6vg= c=1 sm=1 a=5KdlQ5dnPx4A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=EAbhDBvkVWN4-CD6_T4A:9 a=aN-dN_aue9rKw5gfK2K5pNTPjYYA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 29394333; Fri, 01 Oct 2010 15:09:08 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 1 Oct 2010 15:10:21 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201009290151.o8T1pAX4076640@www.freebsd.org> In-Reply-To: <201009290151.o8T1pAX4076640@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201010011510.21977.hselasky@c2i.net> Cc: TAKANO Yuji , freebsd-gnats-submit@freebsd.org Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 13:09:10 -0000 > > diff -urN ./usb.orig/usbdevs ./usb/usbdevs > --- ./usb.orig/usbdevs 2010-09-29 10:07:46.000000000 +0900 > +++ ./usb/usbdevs 2010-09-29 02:35:38.000000000 +0900 > @@ -2096,6 +2096,8 @@ > product MELCO KG54L 0x00da WLI-U2-KG54L > product MELCO WLIUCG300N 0x00e8 WLI-UC-G300N > product MELCO SG54HG 0x00f4 WLI-U2-SG54HG > +product MELCO WLRUCG 0x0116 WLR-UC-G > +product MELCO WLRUCGAOSS 0x0119 WLR-UC-G-AOSS > product MELCO WLIUCAG300N 0x012e WLI-UC-AG300N > product MELCO RT2870_1 0x0148 RT2870 > product MELCO RT2870_2 0x0150 RT2870 > diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c > --- ./usb.orig/wlan/if_rum.c 2010-09-01 10:41:33.000000000 +0900 > +++ ./usb/wlan/if_rum.c 2010-09-29 02:39:28.000000000 +0900 > @@ -118,6 +118,8 @@ > RUM_DEV(HUAWEI3COM, WUB320G), > RUM_DEV(MELCO, G54HP), > RUM_DEV(MELCO, SG54HP), > + RUM_DEV(MELCO, WLRUCG), > + RUM_DEV(MELCO, WLRUCGAOSS), > RUM_DEV(MSI, RT2573_1), > RUM_DEV(MSI, RT2573_2), > RUM_DEV(MSI, RT2573_3), > > >Release-Note: > >Audit-Trail: > > >Unformatted: See USB P4 change #184339. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 1 13:10:06 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855A11065673 for ; Fri, 1 Oct 2010 13:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2268FC13 for ; Fri, 1 Oct 2010 13:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o91DA6ho090704 for ; Fri, 1 Oct 2010 13:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o91DA6Ea090703; Fri, 1 Oct 2010 13:10:06 GMT (envelope-from gnats) Date: Fri, 1 Oct 2010 13:10:06 GMT Message-Id: <201010011310.o91DA6Ea090703@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/150989: [patch] Add Netgear WG111V2_2 support to upgt(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 13:10:06 -0000 The following reply was made to PR usb/150989; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Anil Gulati , freebsd-gnats-submit@freebsd.org Subject: Re: usb/150989: [patch] Add Netgear WG111V2_2 support to upgt(4) Date: Fri, 1 Oct 2010 15:03:42 +0200 On Monday 27 September 2010 13:36:42 Anil Gulati wrote: > >Number: 150989 > >Category: usb > >Synopsis: [patch] Add Netgear WG111V2_2 support to upgt(4) > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: update > >Submitter-Id: current-users > >Arrival-Date: Mon Sep 27 11:40:00 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Anil Gulati > >Release: FreeBSD 8.1 CURRENT > > >Organization: > Anil Gulati > > >Environment: > FreeBSD engine.local 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Thu Aug 26 22:45:23 > EST 2010 root@engine.local:/usr/obj/usr/src/sys/VESAKERN i386 > > >Description: > Some Netgear USB wireless adapter devices are labelled WG111V2 externally > but are actually WG111V2_2 devices as listed in /sys/dev/usb/usbdevs. > > These devices are not recognised by FreeBSD 8.1 since they are not listed > as supported. > > Booting with this USB device inserted will result in the device being > recognised as a default USB device, not an actual wireless adapter. > > >How-To-Repeat: > Plug in a Netgear WG111V2_2 USB wireless adapter and boot. > Not all devices labelled WG111V2 are actually WG111V2_2. > WG111V2_2 devices will not be recognised as a network device but will use > the default USB device. My device of this type is externally labelled > WG111V2 but is revealed as WG111V2_2 by the usbconfig output: > > $ usbconfig -u 4 -a 2 dump_device_desc > ugen4.2: at usbus4, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0846 > idProduct = 0x4240 > bcdDevice = 0x1020 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <3887-0000> > bNumConfigurations = 0x0001 > > >Fix: > WG111V2_2 devices use the GW3887 chipset and therefore need the PrismGT driver upgt rather than the urtw driver used for all other Netgear WG111 devices: > > cat /sys/dev/usb/usbdevs | grep WG111V2_2 > > product NETGEAR WG111V2_2 0x4240 PrismGT USB 2.0 WLAN > > WG111V2_2 is not listed as a device supported by upgt in > /sys/dev/usb/wlan/if_upgt.c, so it needs to be added: UPGT_DEV(NETGEAR, > WG111V2_2), > > Attached patch provides this update. > > Thread demonstrating this as it was worked out: > http://www.daemonforums.org/showthread.php?t=5108 > > Patch attached with submission follows: > > --- /sys/dev/usb/wlan/if_upgt.c.orig 2009-08-03 00:00:00.000000000 +1000 > +++ /sys/dev/usb/wlan/if_upgt.c 2010-09-22 00:00:00.000000000 +1000 > @@ -182,6 +182,7 @@ > UPGT_DEV(FSC, E5400), > UPGT_DEV(GLOBESPAN, PRISM_GT_1), > UPGT_DEV(GLOBESPAN, PRISM_GT_2), > + UPGT_DEV(NETGEAR, WG111V2_2), > UPGT_DEV(INTERSIL, PRISM_GT), > UPGT_DEV(SMC, 2862WG), > UPGT_DEV(WISTRONNEWEB, UR045G), > > >Release-Note: > >Audit-Trail: > > >Unformatted: See USB P4 change #184338. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 1 13:10:08 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8349410656A7 for ; Fri, 1 Oct 2010 13:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 72B708FC14 for ; Fri, 1 Oct 2010 13:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o91DA8iu090920 for ; Fri, 1 Oct 2010 13:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o91DA88I090914; Fri, 1 Oct 2010 13:10:08 GMT (envelope-from gnats) Date: Fri, 1 Oct 2010 13:10:08 GMT Message-Id: <201010011310.o91DA88I090914@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 13:10:08 -0000 The following reply was made to PR usb/151043; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: TAKANO Yuji , freebsd-gnats-submit@freebsd.org Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G Date: Fri, 1 Oct 2010 15:10:21 +0200 > > diff -urN ./usb.orig/usbdevs ./usb/usbdevs > --- ./usb.orig/usbdevs 2010-09-29 10:07:46.000000000 +0900 > +++ ./usb/usbdevs 2010-09-29 02:35:38.000000000 +0900 > @@ -2096,6 +2096,8 @@ > product MELCO KG54L 0x00da WLI-U2-KG54L > product MELCO WLIUCG300N 0x00e8 WLI-UC-G300N > product MELCO SG54HG 0x00f4 WLI-U2-SG54HG > +product MELCO WLRUCG 0x0116 WLR-UC-G > +product MELCO WLRUCGAOSS 0x0119 WLR-UC-G-AOSS > product MELCO WLIUCAG300N 0x012e WLI-UC-AG300N > product MELCO RT2870_1 0x0148 RT2870 > product MELCO RT2870_2 0x0150 RT2870 > diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c > --- ./usb.orig/wlan/if_rum.c 2010-09-01 10:41:33.000000000 +0900 > +++ ./usb/wlan/if_rum.c 2010-09-29 02:39:28.000000000 +0900 > @@ -118,6 +118,8 @@ > RUM_DEV(HUAWEI3COM, WUB320G), > RUM_DEV(MELCO, G54HP), > RUM_DEV(MELCO, SG54HP), > + RUM_DEV(MELCO, WLRUCG), > + RUM_DEV(MELCO, WLRUCGAOSS), > RUM_DEV(MSI, RT2573_1), > RUM_DEV(MSI, RT2573_2), > RUM_DEV(MSI, RT2573_3), > > >Release-Note: > >Audit-Trail: > > >Unformatted: See USB P4 change #184339. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Oct 2 00:40:36 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0ED106564A; Sat, 2 Oct 2010 00:40:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB0E28FC13; Sat, 2 Oct 2010 00:40:35 +0000 (UTC) Received: by pxi17 with SMTP id 17so1110963pxi.13 for ; Fri, 01 Oct 2010 17:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent; bh=vL6pug+UrNO91XIhiQkkbqBXFnLstcVAQODC8sjVTU0=; b=e0im0NWYU2f2bI4X3DAttJHeUm6R7+mSdIAb9WHJcB+3Tl79BLz0I5fbRSEzjF8hDB 6UjuGOVQGOThJ+PXWzu7lutetmdLsKxC1v3mhMigFMY6p2X6ZY/InwyhawjR4nfshY9L yfBVuMhmu9IJEQotVyv0PGxutBu5Qw7dHN8wA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition:user-agent; b=c/+QoqqsFR3zwa/Fz6T46p0HRNg0kckRO7Dg/43UKaZvMhRwJN2AArIHBLtoNeiO1J DrytgwcVapKz//QoNyY0VnjNUloyDk+UXGAAcP2lTEObjFJFDw63pCrzauVe3rCr1KTg V0+PMpj4NodiLKmgZfJUseDOFO8eMl+wUq0VU= Received: by 10.142.201.1 with SMTP id y1mr632548wff.345.1285978313573; Fri, 01 Oct 2010 17:11:53 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id o16sm1954809wfh.19.2010.10.01.17.11.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 17:11:52 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 1 Oct 2010 17:11:00 -0700 From: Pyun YongHyeon Date: Fri, 1 Oct 2010 17:11:00 -0700 To: freebsd-usb@FreeBSD.org Message-ID: <20101002001100.GL10521@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Hans Petter Selasky Subject: Network TX/RX fairness is not honored by USB stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 00:40:36 -0000 Hi, I don't know how long it had been there but it seems current USB stack does not honor fairness of TX/RX on USB ethernet controller. Unidirectional performance test(UDP) or most-unidirectional performance(TCP) test works well without problems. However if heavy TX/RX traffic hits controller at the same time either TX or RX is not served at all. I'm under the impression that whenever TX work is done it seems USB reschedules next pending TX again instead of processing RX such that RX is starved to death. This can be easily reproduced on two hosts with the netperf performance test. Whenever both hosts send tiny UDP datagrams to the other host either TX or RX packet counters are not increasing until the end of the UDP torture test. The number of EHCI interrupt is about 8K/s while test is in progress so I think it reached its maximum processing limit. After netperf testing, it can still process TX/RX packets even though it dropped too many RX packets. But these dropped packets are not counted so netstat(1) shows 0 dropped frames even though it lost millions of packets. Hans, do you have any idea what's going on here? You can use the following netperf command on both hosts after running netserver. %netperf -c -H ip_addr_of_other_host -tUDP_STREAM -l 300 -- -m 1 Another odd thing I noticed is number of interrupts does not go down to 0 after the testing. It constantly generates 1k/s interrupts after that. The only way I stop that interrupts was to down the ue0 interface with "ifconfig ue0 down" command. From owner-freebsd-usb@FreeBSD.ORG Sat Oct 2 06:40:46 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE07106564A for ; Sat, 2 Oct 2010 06:40:46 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5BD8FC13 for ; Sat, 2 Oct 2010 06:40:45 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=pgHCOPxoMUAA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=B8mfy7V_dSw9HxnbeeYA:9 a=VUauwkFf2LznuBe2jAd-yKA01zkA:4 a=wPNLvfGTeEIA:10 a=newmqGhdYycqHi4t:21 a=RRwF6kfeeskHL8py:21 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 29436418; Sat, 02 Oct 2010 08:40:44 +0200 Received-SPF: softfail receiver=mailfe07.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-usb@freebsd.org, pyunyh@gmail.com Date: Sat, 2 Oct 2010 08:41:57 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101002001100.GL10521@michelle.cdnetworks.com> In-Reply-To: <20101002001100.GL10521@michelle.cdnetworks.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010020841.57474.hselasky@freebsd.org> Cc: Subject: Re: Network TX/RX fairness is not honored by USB stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 06:40:46 -0000 On Saturday 02 October 2010 02:11:00 Pyun YongHyeon wrote: > Hi, > > I don't know how long it had been there but it seems current USB > stack does not honor fairness of TX/RX on USB ethernet controller. > Unidirectional performance test(UDP) or most-unidirectional > performance(TCP) test works well without problems. However if heavy > TX/RX traffic hits controller at the same time either TX or RX is > not served at all. I'm under the impression that whenever TX work > is done it seems USB reschedules next pending TX again instead of > processing RX such that RX is starved to death. This can be easily > reproduced on two hosts with the netperf performance test. > Whenever both hosts send tiny UDP datagrams to the other host > either TX or RX packet counters are not increasing until the end > of the UDP torture test. The number of EHCI interrupt is about 8K/s > while test is in progress so I think it reached its maximum > processing limit. After netperf testing, it can still process TX/RX > packets even though it dropped too many RX packets. But these > dropped packets are not counted so netstat(1) shows 0 dropped > frames even though it lost millions of packets. > > Hans, do you have any idea what's going on here? > You can use the following netperf command on both hosts after > running netserver. > %netperf -c -H ip_addr_of_other_host -tUDP_STREAM -l 300 -- -m 1 > > Another odd thing I noticed is number of interrupts does not go > down to 0 after the testing. It constantly generates 1k/s > interrupts after that. Maybe we are triggering a bug. Can you enable USB debugging to figure out what data lengths are transmitted or received. USB EHCI uses round robin, so this is either USB device problem or a test- program software failure. Check the CPU usage of the host computer during the test. Do you see anything? > The only way I stop that interrupts was to > down the ue0 interface with "ifconfig ue0 down" command. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Oct 2 12:44:11 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E73106564A; Sat, 2 Oct 2010 12:44:11 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2689E8FC14; Sat, 2 Oct 2010 12:44:10 +0000 (UTC) Received: by ewy22 with SMTP id 22so1801976ewy.13 for ; Sat, 02 Oct 2010 05:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=le/EKRmQwKzEyuAt6QAhcElAnW48qkVjXxfPmIlyt1M=; b=l07Qc1vuqXt6PopAx+VqjL+wlQNKo2iNHwj5x1MPmY7Co1BaYVeHbyv/1Ssd51e0uu Gdx5rN0QxjMgaMGYBM30ZX5IZEdo1gTLDSf3QSHKDWH1MURWCfrMTYTgq/7TTovEWJfY /3knwohDel9hFwMRL7S6IDU2EncopnUyGr3rE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=lDcPB7KGtDKOIOWMWBNqWXFSuyBPz5k1OZeK0qWNLjNwEiocCUfAKeFwBQbUbbEUPP WZM9/nkwVuDc5Y1e9atdVkk4o/aBrgYuFSVEgCD3Kp21oeHWIt1cLUWxerIfAYXM+eG9 nxNdsIOu0MlAPXuNf/Hv39pA/qkop8HMRvgy8= Received: by 10.213.105.134 with SMTP id t6mr4350800ebo.1.1286023449948; Sat, 02 Oct 2010 05:44:09 -0700 (PDT) Received: from hulk.l.ttyv0.net (80-219-18-72.dclient.hispeed.ch [80.219.18.72]) by mx.google.com with ESMTPS id a48sm3589361eei.0.2010.10.02.05.44.08 (version=SSLv3 cipher=RC4-MD5); Sat, 02 Oct 2010 05:44:09 -0700 (PDT) Message-ID: <4CA72917.8060209@gmail.com> Date: Sat, 02 Oct 2010 14:44:07 +0200 From: Anselm Strauss User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100723 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <4CA3B8F5.80904@gmail.com> <4CA4E0C3.1050707@gmail.com> <201009302138.51616.hselasky@c2i.net> In-Reply-To: <201009302138.51616.hselasky@c2i.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB disk on CS5536 unstable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 12:44:11 -0000 On 09/30/10 21:38, Hans Petter Selasky wrote: > On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote: >> Maybe sending it to just the USB list was too specific ... >> >> On 09/30/10 00:08, Anselm Strauss wrote: >>> Hi >>> >>> I have an ALIX board that has an AMD Geode and the CS5536 companion chip >>> with integrated USB on it. When I connect a USB disk I have observed >>> various problems. For example when I run fsck_ufs on a 250 GB partition >>> the process gets stuck in biord state and fsck reports unreadable >>> sectors. When I do a dd over the whole disk and direct it to /dev/null >>> it suddenly returns with no error, but having read only a small fraction >>> of the disk. I tried it with two different disks and two different ALIX >>> boards. I'm pretty sure the disks are okay since I tried them on other >>> hardware. >>> >>> As far as I know there was some trouble with the chip regarding >>> timeouts. Under load after some time the USB just stops responding. I >>> have tried 8.0 and 8.1. Is there any known problem? How can I track this >>> down? >>> >>> Anselm > > If you compile the kernel with USB_DEBUG, then there are some sysctls under > hw.usb.ehci which you can tweak. Needs to be set before boot. > > --HPS Did not know that there were configurable bug workarounds in sysctl. When I set hw.usb.ehci.lostintrbug=1 in /boot/loader.conf the problems seem gone. Without this setting I got the following kernel message when dd did abort: ehci_timeout: xfer=0xc29cd3c8 Thanks, Anselm From owner-freebsd-usb@FreeBSD.ORG Sat Oct 2 14:38:00 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87DF21065694; Sat, 2 Oct 2010 14:38:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id D78C58FC16; Sat, 2 Oct 2010 14:37:59 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=iBCGAMPDYtSF9sDXX85uHY3wcnYctfVT8vFpe3qPflY= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=QEZAVPXKQj2yEnUJ_F8A:9 a=5cxkDjqMIe2V7__GYdIA:7 a=zvbPjBMEg3KgyQa_pC4C_hKo-GQA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 29607635; Sat, 02 Oct 2010 16:37:57 +0200 From: Hans Petter Selasky To: Anselm Strauss Date: Sat, 2 Oct 2010 16:39:11 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4CA3B8F5.80904@gmail.com> <201009302138.51616.hselasky@c2i.net> <4CA72917.8060209@gmail.com> In-Reply-To: <4CA72917.8060209@gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010021639.11568.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB disk on CS5536 unstable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 14:38:00 -0000 On Saturday 02 October 2010 14:44:07 Anselm Strauss wrote: > On 09/30/10 21:38, Hans Petter Selasky wrote: > > On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote: > >> Maybe sending it to just the USB list was too specific ... > >> > >> On 09/30/10 00:08, Anselm Strauss wrote: > >>> Hi > >>> > >>> I have an ALIX board that has an AMD Geode and the CS5536 companion > >>> chip with integrated USB on it. When I connect a USB disk I have > >>> observed various problems. For example when I run fsck_ufs on a 250 GB > >>> partition the process gets stuck in biord state and fsck reports > >>> unreadable sectors. When I do a dd over the whole disk and direct it > >>> to /dev/null it suddenly returns with no error, but having read only a > >>> small fraction of the disk. I tried it with two different disks and > >>> two different ALIX boards. I'm pretty sure the disks are okay since I > >>> tried them on other hardware. > >>> > >>> As far as I know there was some trouble with the chip regarding > >>> timeouts. Under load after some time the USB just stops responding. I > >>> have tried 8.0 and 8.1. Is there any known problem? How can I track > >>> this down? > >>> > >>> Anselm > > > > If you compile the kernel with USB_DEBUG, then there are some sysctls > > under hw.usb.ehci which you can tweak. Needs to be set before boot. > > > > --HPS > > Did not know that there were configurable bug workarounds in sysctl. > When I set hw.usb.ehci.lostintrbug=1 in /boot/loader.conf the problems > seem gone. > > Without this setting I got the following kernel message when dd did abort: > > ehci_timeout: xfer=0xc29cd3c8 > > > Thanks, > Anselm Maybe you can report the PCI vendor ID and product so that we can add this quirk. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Oct 2 23:38:20 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A8E106566C for ; Sat, 2 Oct 2010 23:38:20 +0000 (UTC) (envelope-from glimp@live.com) Received: from blu0-omc1-s8.blu0.hotmail.com (blu0-omc1-s8.blu0.hotmail.com [65.55.116.19]) by mx1.freebsd.org (Postfix) with ESMTP id 646838FC17 for ; Sat, 2 Oct 2010 23:38:20 +0000 (UTC) Received: from BLU0-SMTP110 ([65.55.116.9]) by blu0-omc1-s8.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 2 Oct 2010 16:25:39 -0700 X-Originating-IP: [151.49.237.197] X-Originating-Email: [glimp@live.com] Message-ID: Received: from genki.collidiamo.net ([151.49.237.197]) by BLU0-SMTP110.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 2 Oct 2010 16:25:38 -0700 Date: Sun, 3 Oct 2010 01:19:18 +0200 From: dan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100920 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Oct 2010 23:25:38.0788 (UTC) FILETIME=[1F734240:01CB6289] Subject: ...but this USB device is more than a printer! X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 23:38:20 -0000 Hi all, I'll go straight to the point. Here's the output from "usbconfig dump_device_desc" #* ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x04e8 idProduct = 0x3413 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <8J21BAKYB28091W.> bNumConfigurations = 0x0001 #* and here's the output from "usbconfig dump_curr_config_desc" #* ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00c0 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0007 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0002 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 #* Userland software, such as sane-find-scanner, is currently sure this is is just a printer. I would like this device to introduce itself for what it is ... a printer + a color scanner. Is it feasible? Are there any well-established techniques to (try to) reach the goal? Thanks for any link/suggestion d