From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 09:28:51 2009 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 00B6C10656C0 for ; Sun, 8 Mar 2009 09:28:51 +0000 (UTC) (envelope-from admin.dragos@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2A18FC18 for ; Sun, 8 Mar 2009 09:28:50 +0000 (UTC) (envelope-from admin.dragos@gmail.com) Received: by bwz8 with SMTP id 8so800854bwz.43 for ; Sun, 08 Mar 2009 01:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=RluxGDmd0hfFI32Fzdj0ZJvAfV02KFsZBblf5Zh8XoM=; b=bjPRI+bnMaiOOcyzwBDcm1GQ+EotViYMxoEKK5/WVGkhuMe//BCg3GnqjZk1DFyuXK LxIKo1YMR4a9XTAAUO1pKeWrLfI3TcmRp0NYJWYVHJJQnnCPXLOf+FFU6i4oBfRgFezh Zjmku+kl11WWKiLY7+5FereTDQ1mYdr80mogs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Yk4I5gRgBPjc1hCeA94w+9vqYgBqT3pdPtzIuxejexLCYOlVLewEeMVy4NaJkJxF70 avvZ6OjeMXhO9rIGYyGWhbbFndHY10oYdpBdVUJzhvPheOyCu/JgxqQ0hvRKWR7VNRKJ Bd7vw81h1wlJ8jgPRNlHtF79fv4i6S0s202CA= Received: by 10.103.102.17 with SMTP id e17mr1986800mum.119.1236502631967; Sun, 08 Mar 2009 00:57:11 -0800 (PST) Received: from ?192.168.1.251? ([82.78.118.169]) by mx.google.com with ESMTPS id i5sm5287215mue.13.2009.03.08.00.57.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Mar 2009 00:57:11 -0800 (PST) Message-ID: <49B38863.2090507@gmail.com> Date: Sun, 08 Mar 2009 10:57:07 +0200 From: Dragos User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't work out which disk we are booting from X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: admin.dragos@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 09:28:51 -0000 Hi, I have installed freebsd 7.1 on a 8GB usb flash drive. Now, it seems that the freebsd loader is unable to identify the usb disk where is booting from(da0s1a). The loader runs fine from the stick but gets confused on the drive it runs from, and the kernel it's not loaded. Here is what the loader prints out: [...] Bios drive A: is disk0 [...] Can't work out which disk we are booting from. Guessed BIOS device 0x80 not found by probes, defaulting to disk0: can't load 'kernel' I installed grub too and grub is loading the freebsd loader just fine, but the freebsd loader still get confused. Unfortunately I wasn't able to load the kernel (/boot/kernel/kernel) directly from grub. From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 10:02:27 2009 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 D6A3F106564A; Sun, 8 Mar 2009 10:02:27 +0000 (UTC) (envelope-from mmakonnen@gmail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id D719D8FC1C; Sun, 8 Mar 2009 10:02:26 +0000 (UTC) (envelope-from mmakonnen@gmail.com) Received: by ewy10 with SMTP id 10so518085ewy.43 for ; Sun, 08 Mar 2009 03:02:26 -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 :content-type:content-transfer-encoding; bh=IDO2FHtJ0Y83BGLIzV6RXFD1oFtDfIg+qXmj19265HM=; b=MODNk9RqrHzRAVww+ddo83mSeabLhXeJq561UtkuBKCdvjbbQDkBmdxTj3bsoqBpPJ ah8fsjK3kxXAcczHfZBpkJBngaiThwX+nnJOLx49tJ7UkYN5YiEcLMjH8lIxniKe3zUO tGEVsf6/fH/aFNMHBZ2iNHcnjnQ3JFVVPvEk4= 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:content-type:content-transfer-encoding; b=J9TH3cvQLdzmvkdXQvMxgjVHtGoZaAWfEYNll2Km+iqBj4yev2DPHkx1naKFLElnfR kqzXYbFCbm37fz7Bfr72O20JSFFnmPoAW1zrlpFB7zktV4JtMTzxjgXkDWJWTryQwdmF gnr8UDggHx7/GZVFv/iUUStLMGrUQGSW+imKs= Received: by 10.210.11.13 with SMTP id 13mr1500957ebk.36.1236506545935; Sun, 08 Mar 2009 03:02:25 -0700 (PDT) Received: from storm.mike.lan ([213.55.89.170]) by mx.google.com with ESMTPS id 5sm3053122eyf.42.2009.03.08.03.02.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Mar 2009 03:02:25 -0700 (PDT) Message-ID: <49B397A4.8090508@gmail.com> Date: Sun, 08 Mar 2009 13:02:12 +0300 From: Mike Makonnen User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Brooks Davis References: <2fd864e0903020512i22b2c31fg487aaf37fed6398b@mail.gmail.com> <20090302.132522.-432836388.imp@bsdimp.com> <20090302233215.GA53763@duncan.reilly.home> <20090302.181513.1973603215.imp@bsdimp.com> <584bfc3f0903030833k70405609q7e2d3b28c8cf4c29@mail.gmail.com> <20090303180307.GA11134@lor.one-eyed-alien.net> <584bfc3f0903032212x25831c5bi35d9b637c1896e1d@mail.gmail.com> <7d6fde3d0903040004y1fcbb086i355cd0113717620b@mail.gmail.com> <20090304164953.GB1209@lor.one-eyed-alien.net> In-Reply-To: <20090304164953.GB1209@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: andrew-freebsd@areilly.bpc-users.org, astrodog@gmail.com, usb@freebsd.org, freebsd-current@freebsd.org, Garrett Cooper Subject: Re: The rc.d mess strikes back 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, 08 Mar 2009 10:02:28 -0000 Brooks Davis wrote: > On Wed, Mar 04, 2009 at 12:04:06AM -0800, Garrett Cooper wrote: >> On Tue, Mar 3, 2009 at 10:12 PM, Mike Telahun Makonnen >> wrote: >>> On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis wrote: >>>> I don't have much time to debug this, but I've not had problems with >>>> services starting too early on the systems I've been running with async >>>> dhcp. ?If there is a problem with the wait process we need to actually >>>> debug it. ?If the wait for a route/running interface isn't sufficent we >>>> should try to figure out what is. ?Synchronous dhcp sucks and yeilds >>>> justifed user complaints so it would be nice to kill it off. ?I switched >>>> the default because it worked for me and I hoped that people would help >>>> find and fix edge cases. >>> Can you elaborate why synchronous DHCP sucks ? >> The only reason I could see is bringup time. Am I correct in this assumption? > > If you use synchronous DHCP then every interface that wants to try to > get a DHCP address if it has link needs to run through the full link > timeout at boot. On a laptop this is annoying and generally pointless. Ok, I just turned synchronous dhclient on locally and I see what you mean. > The changes to defaultroute to wait for a default route to be set mean > that you consolidate the wait in one location and you don't waste time > starting dhclient on interfaces until a link exists (or an association > is made for wlan devices). OK, so that means that it's not just waiting for the default route, but it's also waiting for the link on any DHCP interfaces to come up as well. That's what confused me. When it's plugged in my NIC's link is always up by the time rc.d gets to the default route, so I didn't see the point in waiting the extra 30sec when it wasn't plugged in. The comments also seemed to imply that we should be checking whether the link is up. Anyways, given that synchronous dhclient re-introduces the same problem I was trying to fix in the first place I'll just back the whole thing out until we can come up with a better fix. Do you mind if I change the timeout to 15sec. (instead of 30s)? > There may well be something better to wait > or a need for a longer timeout in some environments. It's also quite > possible that we have an ordering problem and need to move some more > things after defaultroute or move the checks to a different location. > > -- Brooks Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mtm @ FreeBSD.Org | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 FreeBSD | http://www.freebsd.org From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 10:26:05 2009 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 9346E106564A for ; Sun, 8 Mar 2009 10:26:05 +0000 (UTC) (envelope-from kutizs@t-online.hu) Received: from mail01a.mail.t-online.hu (mail01a.mail.t-online.hu [84.2.40.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5440B8FC14 for ; Sun, 8 Mar 2009 10:26:05 +0000 (UTC) (envelope-from kutizs@t-online.hu) Received: from brain (catv54035270.pool.t-online.hu [84.3.82.112]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail01a.mail.t-online.hu (Postfix) with ESMTPSA id 2D6F443EC32 for ; Sun, 8 Mar 2009 11:08:10 +0100 (CET) Date: Sun, 8 Mar 2009 11:08:08 +0100 From: Zsolt =?ISO-8859-2?Q?K=FAti?= To: freebsd-usb@freebsd.org Message-ID: <20090308110808.3c97edfa@brain> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DCC-mail.t-online.hu-Metrics: mail01a.mail.t-online.hu 32710; Body=1 Fuz1=1 Fuz2=1 Subject: pendrive recognizing problem 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, 08 Mar 2009 10:26:05 -0000 Hello, First of all, please bear with me were this not the appropriate list for my question. I searched high and low for a clue to no avail. One of my pendrives (Kingston Datatraveler 2G) is recognized if no X is run before. If, however, an X session is already started all I see on the console after some time: uhub5: device problem (TIMEOUT), disabling port 5. (After this an old LEXAR pendrive works like charm on the same USB port.) I tried to run X without hald. Does not help. While this is certainly X related, I cant see why should this has an effect on a low level, device detection part of the OS. I appreciate any suggestion where to look for a solution. Thanks! Zsolt ps.: Please CC, as I am not on the list. From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 12:10:04 2009 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 93DF5106568B for ; Sun, 8 Mar 2009 12:10:04 +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 672898FC20 for ; Sun, 8 Mar 2009 12:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n28CA4tK037793 for ; Sun, 8 Mar 2009 12:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n28CA4Xt037780; Sun, 8 Mar 2009 12:10:04 GMT (envelope-from gnats) Date: Sun, 8 Mar 2009 12:10:04 GMT Message-Id: <200903081210.n28CA4Xt037780@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: David Guedj Cc: Subject: Re: usb/126848: [usb]: USB Keyboard hangs during Installation X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Guedj List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 12:10:05 -0000 The following reply was made to PR usb/126848; it has been noted by GNATS. From: David Guedj To: bug-followup@FreeBSD.org, f0ng@hotmail.com Cc: Subject: Re: usb/126848: [usb]: USB Keyboard hangs during Installation Date: Sun, 08 Mar 2009 12:44:32 +0100 I'm facing the exact same problem with 7.1 installation CD. USB Keyboard stop working as soon as the kernel loads. The mainboard is a Gigabyte GA-EP35C-DS3R. The problem is known to happen frequently on Gigabyte motherboards. I've tried myriad Linux distribution and none had this kind of problem. I've no other fix than unplug/plug the keyboard to make it working again. From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 18:10:54 2009 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 1453C1065677; Sun, 8 Mar 2009 18:10:54 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id B1FDA8FC16; Sun, 8 Mar 2009 18:10:53 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n28I9Z53009273; Sun, 8 Mar 2009 13:09:35 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n28I9YbQ009272; Sun, 8 Mar 2009 13:09:34 -0500 (CDT) (envelope-from brooks) Date: Sun, 8 Mar 2009 13:09:34 -0500 From: Brooks Davis To: Mike Makonnen Message-ID: <20090308180934.GA9147@lor.one-eyed-alien.net> References: <2fd864e0903020512i22b2c31fg487aaf37fed6398b@mail.gmail.com> <20090302.132522.-432836388.imp@bsdimp.com> <20090302233215.GA53763@duncan.reilly.home> <20090302.181513.1973603215.imp@bsdimp.com> <584bfc3f0903030833k70405609q7e2d3b28c8cf4c29@mail.gmail.com> <20090303180307.GA11134@lor.one-eyed-alien.net> <584bfc3f0903032212x25831c5bi35d9b637c1896e1d@mail.gmail.com> <7d6fde3d0903040004y1fcbb086i355cd0113717620b@mail.gmail.com> <20090304164953.GB1209@lor.one-eyed-alien.net> <49B397A4.8090508@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <49B397A4.8090508@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Sun, 08 Mar 2009 13:09:35 -0500 (CDT) Cc: andrew-freebsd@areilly.bpc-users.org, Brooks Davis , astrodog@gmail.com, usb@freebsd.org, freebsd-current@freebsd.org, Garrett Cooper Subject: Re: The rc.d mess strikes back 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, 08 Mar 2009 18:10:54 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 08, 2009 at 01:02:12PM +0300, Mike Makonnen wrote: > Brooks Davis wrote: >> On Wed, Mar 04, 2009 at 12:04:06AM -0800, Garrett Cooper wrote: >>> On Tue, Mar 3, 2009 at 10:12 PM, Mike Telahun Makonnen >>> wrote: >>>> On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis wrot= e: >>>>> I don't have much time to debug this, but I've not had problems with >>>>> services starting too early on the systems I've been running with asy= nc >>>>> dhcp. ?If there is a problem with the wait process we need to actually >>>>> debug it. ?If the wait for a route/running interface isn't sufficent = we >>>>> should try to figure out what is. ?Synchronous dhcp sucks and yeilds >>>>> justifed user complaints so it would be nice to kill it off. ?I switc= hed >>>>> the default because it worked for me and I hoped that people would he= lp >>>>> find and fix edge cases. >>>> Can you elaborate why synchronous DHCP sucks ? >>> The only reason I could see is bringup time. Am I correct in this assum= ption? >>=20 >> If you use synchronous DHCP then every interface that wants to try to >> get a DHCP address if it has link needs to run through the full link >> timeout at boot. On a laptop this is annoying and generally pointless. >=20 > Ok, I just turned synchronous dhclient on locally and I see what you > mean. >=20 >> The changes to defaultroute to wait for a default route to be set mean >> that you consolidate the wait in one location and you don't waste time >> starting dhclient on interfaces until a link exists (or an association >> is made for wlan devices). >=20 > OK, so that means that it's not just waiting for the default route, but > it's also waiting for the link on any DHCP interfaces to come up as > well. That's what confused me. When it's plugged in my NIC's link is > always up by the time rc.d gets to the default route, so I didn't see > the point in waiting the extra 30sec when it wasn't plugged in. The > comments also seemed to imply that we should be checking whether the > link is up. >=20 > Anyways, given that synchronous dhclient re-introduces the same problem > I was trying to fix in the first place I'll just back the whole thing out= =20 > until we can come up with a better fix. Do you mind if I change the timeo= ut=20 > to 15sec. (instead of 30s)? 15 is probably a bit short in practice for wpa networks. Someone a while back suggested that there's some reason (perhaps spanning tree, but I can't remember) why it it should be closer to 50sec for maximum reliability. One thing I've thought of adding is changing the sleeps to "read -t1", checking for a non-timeout result and adding "Press return to skip". Another option would be for each interface to set a minimum timeout based on it's type such as having WPA interfaces set it to 30 and others set it to 15. -- Brooks --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJtAndXY6L6fI4GtQRAqNkAKDLodO2GYwJCapCMRlQtQ04Hg+1kQCff/s/ Kom2CpzErZS19OtbyfvtGGw= =Rk/w -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 18:39:34 2009 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 020891065740; Sun, 8 Mar 2009 18:39:34 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id AF2BA8FC0A; Sun, 8 Mar 2009 18:39:33 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n28IdShG012302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Mar 2009 11:39:28 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49B410E0.4030803@freebsd.org> Date: Sun, 08 Mar 2009 11:39:28 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Brooks Davis References: <2fd864e0903020512i22b2c31fg487aaf37fed6398b@mail.gmail.com> <20090302.132522.-432836388.imp@bsdimp.com> <20090302233215.GA53763@duncan.reilly.home> <20090302.181513.1973603215.imp@bsdimp.com> <584bfc3f0903030833k70405609q7e2d3b28c8cf4c29@mail.gmail.com> <20090303180307.GA11134@lor.one-eyed-alien.net> <584bfc3f0903032212x25831c5bi35d9b637c1896e1d@mail.gmail.com> <7d6fde3d0903040004y1fcbb086i355cd0113717620b@mail.gmail.com> <20090304164953.GB1209@lor.one-eyed-alien.net> <49B397A4.8090508@gmail.com> <20090308180934.GA9147@lor.one-eyed-alien.net> In-Reply-To: <20090308180934.GA9147@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: andrew-freebsd@areilly.bpc-users.org, astrodog@gmail.com, Mike Makonnen , usb@freebsd.org, freebsd-current@freebsd.org, Garrett Cooper Subject: Re: The rc.d mess strikes back 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, 08 Mar 2009 18:39:34 -0000 Brooks Davis wrote: > On Sun, Mar 08, 2009 at 01:02:12PM +0300, Mike Makonnen wrote: > >> Brooks Davis wrote: >> >>> On Wed, Mar 04, 2009 at 12:04:06AM -0800, Garrett Cooper wrote: >>> >>>> On Tue, Mar 3, 2009 at 10:12 PM, Mike Telahun Makonnen >>>> wrote: >>>> >>>>> On Tue, Mar 3, 2009 at 9:03 PM, Brooks Davis wrote: >>>>> >>>>>> I don't have much time to debug this, but I've not had problems with >>>>>> services starting too early on the systems I've been running with async >>>>>> dhcp. ?If there is a problem with the wait process we need to actually >>>>>> debug it. ?If the wait for a route/running interface isn't sufficent we >>>>>> should try to figure out what is. ?Synchronous dhcp sucks and yeilds >>>>>> justifed user complaints so it would be nice to kill it off. ?I switched >>>>>> the default because it worked for me and I hoped that people would help >>>>>> find and fix edge cases. >>>>>> >>>>> Can you elaborate why synchronous DHCP sucks ? >>>>> >>>> The only reason I could see is bringup time. Am I correct in this assumption? >>>> >>> If you use synchronous DHCP then every interface that wants to try to >>> get a DHCP address if it has link needs to run through the full link >>> timeout at boot. On a laptop this is annoying and generally pointless. >>> >> Ok, I just turned synchronous dhclient on locally and I see what you >> mean. >> >> >>> The changes to defaultroute to wait for a default route to be set mean >>> that you consolidate the wait in one location and you don't waste time >>> starting dhclient on interfaces until a link exists (or an association >>> is made for wlan devices). >>> >> OK, so that means that it's not just waiting for the default route, but >> it's also waiting for the link on any DHCP interfaces to come up as >> well. That's what confused me. When it's plugged in my NIC's link is >> always up by the time rc.d gets to the default route, so I didn't see >> the point in waiting the extra 30sec when it wasn't plugged in. The >> comments also seemed to imply that we should be checking whether the >> link is up. >> >> Anyways, given that synchronous dhclient re-introduces the same problem >> I was trying to fix in the first place I'll just back the whole thing out >> until we can come up with a better fix. Do you mind if I change the timeout >> to 15sec. (instead of 30s)? >> > > 15 is probably a bit short in practice for wpa networks. Someone a > while back suggested that there's some reason (perhaps spanning tree, > but I can't remember) why it it should be closer to 50sec for maximum > reliability. One thing I've thought of adding is changing the sleeps to > "read -t1", checking for a non-timeout result and adding "Press return > to skip". Another option would be for each interface to set a minimum > timeout based on it's type such as having WPA interfaces set it to 30 > and others set it to 15. > wpa is typically not the issue unless wpa-eapol is involved (in which case you need to negotiate with a backend authentication server). wpa typically takes <100ms to handshake and plumb keys once you have an association. The more time consuming aspects of setting up a wireless connection are scanning (if dual-band and not done intelligently) and how fast the dhcp server is (I have observed 15-30 sec lag on some large corporate nets). One thing I don't understand is why we poll at all given that we can listen to the routing socket and figure out exactly what we need. This would require a new app but that's easy (just mod something like wlanwatch or route). We'd still need to decide how to handle the timeout and/or how to deal with interrupting the process. Sam From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 19:06:49 2009 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 AFC801065675 for ; Sun, 8 Mar 2009 19:06:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB568FC0A for ; Sun, 8 Mar 2009 19:06:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n28J6dPu082856 for ; Sun, 8 Mar 2009 13:06:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Mar 2009 13:06:59 -0600 (MDT) Message-Id: <20090308.130659.-1303465250.imp@bsdimp.com> To: usb@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Latest kernel breaks scanner 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, 08 Mar 2009 19:06:49 -0000 Sigh. Had a working system from Mar 4th. Upgraded now it doesn't work. Scanner not found by xsane. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 20:32:03 2009 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 21DD6106566B for ; Sun, 8 Mar 2009 20:32:03 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id DBBDF8FC19 for ; Sun, 8 Mar 2009 20:32:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id C8592FF6F; Mon, 9 Mar 2009 09:32:01 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uw-VnmRmGtZx; Mon, 9 Mar 2009 09:31:58 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 9 Mar 2009 09:31:58 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id B97DC1142F; Mon, 9 Mar 2009 09:31:57 +1300 (NZDT) Date: Sun, 8 Mar 2009 13:31:57 -0700 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090308203157.GC30672@citylink.fud.org.nz> References: <20090308.130659.-1303465250.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090308.130659.-1303465250.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 08 Mar 2009 20:32:03 -0000 On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't > work. Scanner not found by xsane. Are you sure its not this? 20090227: The /dev handling for the new USB stack has changed, a buildworld/installworld is required for libusb20. Does usbconfig list your devices? Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 20:46:52 2009 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 B343A10656C5 for ; Sun, 8 Mar 2009 20:46:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 494D98FC19 for ; Sun, 8 Mar 2009 20:46:52 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=p0lbXY6ahC0A:10 a=83Y5weSI77cA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=uS4Xiz84Tcq4ItM83HQA:9 a=iLtegaSDQq4kxPLDmiAxwyNKQRcA:4 a=50e4U0PicR4A:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1104348294; Sun, 08 Mar 2009 21:46:50 +0100 From: Hans Petter Selasky To: Boris Kotzev Date: Sun, 8 Mar 2009 21:49:21 +0100 User-Agent: KMail/1.9.7 References: <200903041946.15105.boris.kotzev@gmail.com> <200903062000.22447.hselasky@c2i.net> <200903062205.04687.boris.kotzev@gmail.com> In-Reply-To: <200903062205.04687.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903082149.21753.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 08 Mar 2009 20:46:53 -0000 Hi Boris, Based on the HID descriptor dump you sent I've found and corrected a couple of bugs in the FreeBSD kernel HID parser. 1) cvsup to latest current. 2) replace the two patched files with the version from USB P4 3) compile new kernel and modules If it doesn't work, then turn on ums debugging before plugging the devices and send me the result! Patch: http://perforce.freebsd.org/chv.cgi?CH=158868 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 21:43:02 2009 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 C7EF21065670 for ; Sun, 8 Mar 2009 21:43:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 717528FC1C for ; Sun, 8 Mar 2009 21:43:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n28LeGxY084396 for ; Sun, 8 Mar 2009 15:40:16 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Mar 2009 15:40:37 -0600 (MDT) Message-Id: <20090308.154037.1649769695.imp@bsdimp.com> To: usb@freebsd.org From: "M. Warner Losh" In-Reply-To: <20090308.130659.-1303465250.imp@bsdimp.com> References: <20090308.130659.-1303465250.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Latest kernel breaks scanner 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, 08 Mar 2009 21:43:03 -0000 In message: <20090308.130659.-1303465250.imp@bsdimp.com> "M. Warner Losh" writes: : Sigh. Had a working system from Mar 4th. Upgraded now it doesn't : work. Scanner not found by xsane. Most likely userland, since the kernel that it worked on last week doesn't work now. Warner : Warner : _______________________________________________ : 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 Mar 8 21:46:34 2009 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 C11CE106564A; Sun, 8 Mar 2009 21:46:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 81C6E8FC12; Sun, 8 Mar 2009 21:46:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n28LhWf5084419; Sun, 8 Mar 2009 15:43:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 08 Mar 2009 15:43:53 -0600 (MDT) Message-Id: <20090308.154353.-1350498283.imp@bsdimp.com> To: thompsa@freebsd.org From: "M. Warner Losh" In-Reply-To: <20090308203157.GC30672@citylink.fud.org.nz> References: <20090308.130659.-1303465250.imp@bsdimp.com> <20090308203157.GC30672@citylink.fud.org.nz> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 08 Mar 2009 21:46:35 -0000 In message: <20090308203157.GC30672@citylink.fud.org.nz> Andrew Thompson writes: : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't : > work. Scanner not found by xsane. : : Are you sure its not this? : : 20090227: : The /dev handling for the new USB stack has changed, a : buildworld/installworld is required for libusb20. Yes. Been there, done that. Also have the libmap.conf changes in place for old binaries that had worked for months before that. xsane used to just work in this setup, but now fails. Looks like some kind of mismatch in the ABI: found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 it used to print a real product/vendor there... : Does usbconfig list your devices? Yes. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 21:56:10 2009 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 140301065670 for ; Sun, 8 Mar 2009 21:56:10 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id C97218FC23 for ; Sun, 8 Mar 2009 21:56:09 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 0CF24FF82; Mon, 9 Mar 2009 10:56:09 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bg4S2sCaDMAX; Mon, 9 Mar 2009 10:56:05 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 9 Mar 2009 10:56:05 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id DEE121142F; Mon, 9 Mar 2009 10:56:04 +1300 (NZDT) Date: Sun, 8 Mar 2009 14:56:04 -0700 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090308215604.GD30672@citylink.fud.org.nz> References: <20090308.130659.-1303465250.imp@bsdimp.com> <20090308203157.GC30672@citylink.fud.org.nz> <20090308.154353.-1350498283.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090308.154353.-1350498283.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 08 Mar 2009 21:56:11 -0000 On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > In message: <20090308203157.GC30672@citylink.fud.org.nz> > Andrew Thompson writes: > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't > : > work. Scanner not found by xsane. > : > : Are you sure its not this? > : > : 20090227: > : The /dev handling for the new USB stack has changed, a > : buildworld/installworld is required for libusb20. > > Yes. Been there, done that. Also have the libmap.conf changes in > place for old binaries that had worked for months before that. xsane > used to just work in this setup, but now fails. Looks like some kind > of mismatch in the ABI: > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 Not sure what would have caused that. Before you spend too much time on this you may want to note that the integration patches for libusb into the ports build will likely be committed tomorrow. This will bump the port numbers so the affected ports rebuild, hopefully sane with DTRT after that. Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Mar 8 22:37:55 2009 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 7AAF9106564A for ; Sun, 8 Mar 2009 22:37:55 +0000 (UTC) (envelope-from conall@gmail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id DB45E8FC1E for ; Sun, 8 Mar 2009 22:37:54 +0000 (UTC) (envelope-from conall@gmail.com) Received: by ewy10 with SMTP id 10so642285ewy.43 for ; Sun, 08 Mar 2009 15:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=LSC8fHV1mCmxOK5C1E1nurXw6sdkFpHSHVqJHJDbS4s=; b=eNXX7rmAOPPRiRL2DOUnCjkIzla+st8/5SADG1EnyXsHyH+0vYrk/XfdMbGUx9BcpB wUzVAfHNZCyZCocA6hZtugYEWX+d5FscDWlACl+anxKw8enFWZ76fo5+/EknwR5AeKnO M6+iIOelZrwLrCRVnPwYU4yXP67ZJaFn2sZ3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=J+0JtHRhmqj6cCwHkRaNu8A/Po9f3Oo71DunXLt7OpVDy71YC+ARwtNDckVadbexcr aPPUQX8R8O0eIIV5odmC7lulYk1JfUmzkg2K0xn/QnwCDbqfyyUND/KIfgS/zFjHAsTZ bKfRrz9N1pu55V2QjVMD15mLU6e62IVbTMgJM= MIME-Version: 1.0 Received: by 10.216.15.85 with SMTP id e63mr1849638wee.199.1236550568342; Sun, 08 Mar 2009 15:16:08 -0700 (PDT) Date: Sun, 8 Mar 2009 22:16:08 +0000 Message-ID: <6721d4100903081516v19e46090if41d373b82b476c3@mail.gmail.com> From: "Conall O'Brien" To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 1wire sensor with ugen... 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, 08 Mar 2009 22:37:55 -0000 Hello, I've a 1wire USB device with a temperature sensor which I'm trying to set up. My FreeBSD 7.x (RELENG_7) system detects it on boot and IDs it correctly: ugen1: on uhub0 which results in /dev/ugen1 , /dev/ugen1.1 and /dev/ugen1.2 devices all being created. The sensor should be accessible as a straight serial device (9600 baud, etc), but my attempts using pyserial aren't working: >>> s = serial.Serial('/dev/ugen1', 9600, timeout=1) >>> s.read(10) Traceback (most recent call last): File "", line 1, in File "build/bdist.freebsd-7.1-STABLE-amd64/egg/serial/serialposix.py", line 344, in read serial.serialutil.SerialException: Port not open >>> s.isOpen() False I don't have much experience working directly with ugen devices, so any advice to get this working would be appreciated. Thanks! -- Conall O'Brien From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 00:05:05 2009 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 D2998106566C for ; Mon, 9 Mar 2009 00:05:05 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 268398FC19 for ; Mon, 9 Mar 2009 00:05:04 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by bwz8 with SMTP id 8so947247bwz.43 for ; Sun, 08 Mar 2009 17:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:references:in-reply-to:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=5mxTbmyLuXCQzNZ5Cz8QVDnbVvEfC/kWAWq5rG7eUKw=; b=USMfvupZ/hzL2XK9eMNxN2a88R0F6iR1GWLP4/Coy+p7X3rMy4AA1aT5jmqpMjkhyS KWpmwwigAfnFxBVa9bMrXv2TX1xkHKSwv+tPUxe2yqVo70wCKT4t5Ys6Zajr64Acots9 955/8dnvGKNeMqbjKPvxxQcgzHQcD9n1Vh/lE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to :cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=Cv+K5l6ezde68RqZOju2Uv+QXvsL5xXz9wRiJ2MbwWX3/Omc/NSnokNGrpa4oo/7ZV stVkJJqu8Rcx/0U31S0OcAXzKIotbo7tUcXZatXX6GY/9+cXVWamiSok9LzQl8mRMm9H S/V836HOQ79lwQL7ljiSR6CA3tbtZRdFEv1k0= Received: by 10.103.90.17 with SMTP id s17mr2332405mul.73.1236557103941; Sun, 08 Mar 2009 17:05:03 -0700 (PDT) Received: from host7.net62.hdsl-213-169.fastbg.net (host7.net62.HDSL-213-169.FastBG.NET [213.169.62.7]) by mx.google.com with ESMTPS id n7sm6721135mue.36.2009.03.08.17.05.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Mar 2009 17:05:03 -0700 (PDT) From: Boris Kotzev Organization: Home To: Hans Petter Selasky Date: Mon, 9 Mar 2009 02:05:00 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; amd64; ; ) References: <200903041946.15105.boris.kotzev@gmail.com> <200903062205.04687.boris.kotzev@gmail.com> <200903082149.21753.hselasky@c2i.net> In-Reply-To: <200903082149.21753.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903090205.01119.boris.kotzev@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 00:05:06 -0000 > Hi Boris, > > Based on the HID descriptor dump you sent I've found and corrected a couple > of bugs in the FreeBSD kernel HID parser. > > 1) cvsup to latest current. > 2) replace the two patched files with the version from USB P4 > 3) compile new kernel and modules > > If it doesn't work, then turn on ums debugging before plugging the devices > and send me the result! > > Patch: > > http://perforce.freebsd.org/chv.cgi?CH=158868 > > --HPS Hi Hans, I performed steps 1, 2 and 3 (in step 2 downloaded and then replaced the files usb_hid.c and usb_hid.h.) - there is no change in the behavior of the touchpad. It still does not function properly. Resetting the device with "hw.usb2.ums.debug" set to "1" produces the following output in dmesg : usbconfig -u 0 -a 2 reset ukbd0: at uhub0, port 2, addr 2 (disconnected) ums1: at uhub0, port 2, addr 2 (disconnected) ums_detach:608: sc=0xffffff00017c3400 uhid1: at uhub0, port 2, addr 2 (disconnected) ukbd0: on usbus0 kbd1 at ukbd0 ums1: on usbus0 ums1: 3 buttons and [XY] coordinates ums_attach:546: sc=0xffffff000d06a400 ums_attach:547: X 8/8 ums_attach:548: Y 16/8 ums_attach:549: Z 0/0 ums_attach:550: T 0/0 ums_attach:551: W 0/0 ums_attach:555: B1 0/1 ums_attach:555: B2 1/1 ums_attach:555: B3 2/1 ums_attach:557: size=64, id=0 uhid1: on usbus0 Best regards, Boris Kotzev From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 07:49:25 2009 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 611761065673 for ; Mon, 9 Mar 2009 07:49:25 +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 E98C78FC2B for ; Mon, 9 Mar 2009 07:49:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=p0lbXY6ahC0A:10 a=83Y5weSI77cA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=rDpnywgSn0zZCEzLB54A:9 a=yYKDeZnpfAkv-PLG5Z0wUeqTU9IA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1207666673; Mon, 09 Mar 2009 08:49:22 +0100 From: Hans Petter Selasky To: Boris Kotzev Date: Mon, 9 Mar 2009 08:51:51 +0100 User-Agent: KMail/1.9.7 References: <200903041946.15105.boris.kotzev@gmail.com> <200903082149.21753.hselasky@c2i.net> <200903090205.01119.boris.kotzev@gmail.com> In-Reply-To: <200903090205.01119.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903090851.53432.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 07:49:26 -0000 On Monday 09 March 2009, Boris Kotzev wrote: > > Hi Boris, > > > > Based on the HID descriptor dump you sent I've found and corrected a > > couple of bugs in the FreeBSD kernel HID parser. > > > > 1) cvsup to latest current. > > 2) replace the two patched files with the version from USB P4 > > 3) compile new kernel and modules > > > > If it doesn't work, then turn on ums debugging before plugging the > > devices and send me the result! > > > > Patch: > > > > http://perforce.freebsd.org/chv.cgi?CH=158868 > > > > --HPS > > Hi Hans, > > I performed steps 1, 2 and 3 (in step 2 downloaded and then replaced the > files usb_hid.c and usb_hid.h.) - there is no change in the behavior of the > touchpad. It still does not function properly. > > Resetting the device with "hw.usb2.ums.debug" set to "1" produces the > following output in dmesg : > > usbconfig -u 0 -a 2 reset > > ukbd0: at uhub0, port 2, addr 2 (disconnected) > ums1: at uhub0, port 2, addr 2 (disconnected) > ums_detach:608: sc=0xffffff00017c3400 > uhid1: at uhub0, port 2, addr 2 (disconnected) > ukbd0: on usbus0 > kbd1 at ukbd0 > ums1: on usbus0 > ums1: 3 buttons and [XY] coordinates > ums_attach:546: sc=0xffffff000d06a400 > ums_attach:547: X 8/8 > ums_attach:548: Y 16/8 > ums_attach:549: Z 0/0 > ums_attach:550: T 0/0 > ums_attach:551: W 0/0 > ums_attach:555: B1 0/1 > ums_attach:555: B2 1/1 > ums_attach:555: B3 2/1 > ums_attach:557: size=64, id=0 > uhid1: on usbus0 > Can you get me dmesg with ums debugging enabled when you move the cursor? What does: ps auxw |grep moused output ? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 11:31:27 2009 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 D737E1065670; Mon, 9 Mar 2009 11:31:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0D3908FC0C; Mon, 9 Mar 2009 11:31:26 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=xll7L2ZOAAAA:8 a=6I5d2MoRAAAA:8 a=bIvioFqq1CmBcyQuUmcA:9 a=8NTCQHZ-tAjMfby6j9LLyoDreJcA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 463430230; Mon, 09 Mar 2009 12:31:25 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 9 Mar 2009 12:33:53 +0100 User-Agent: KMail/1.9.7 References: <20090308.130659.-1303465250.imp@bsdimp.com> <20090308.154353.-1350498283.imp@bsdimp.com> <20090308215604.GD30672@citylink.fud.org.nz> In-Reply-To: <20090308215604.GD30672@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091233.55089.hselasky@c2i.net> Cc: usb@freebsd.org, Andrew Thompson Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 11:31:28 -0000 On Sunday 08 March 2009, Andrew Thompson wrote: > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > > > > Andrew Thompson writes: > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't > > : > work. Scanner not found by xsane. > > : > > : Are you sure its not this? > > : > > : 20090227: > > : The /dev handling for the new USB stack has changed, a > > : buildworld/installworld is required for libusb20. > > > > Yes. Been there, done that. Also have the libmap.conf changes in > > place for old binaries that had worked for months before that. xsane > > used to just work in this setup, but now fails. Looks like some kind > > of mismatch in the ABI: > > > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 > > Not sure what would have caused that. Before you spend too much time on > this you may want to note that the integration patches for libusb into > the ports build will likely be committed tomorrow. This will bump the > port numbers so the affected ports rebuild, hopefully sane with DTRT > after that. > Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb backend? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 11:32:50 2009 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 895EA106566B for ; Mon, 9 Mar 2009 11:32:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9558FC18 for ; Mon, 9 Mar 2009 11:32:49 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=9AB9cGMsO0weqp9aC-gA:9 a=BHioeUualayIYkJkaHlQuAZjmi8A:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1034502902; Mon, 09 Mar 2009 12:32:48 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 9 Mar 2009 12:35:17 +0100 User-Agent: KMail/1.9.7 References: <6721d4100903081516v19e46090if41d373b82b476c3@mail.gmail.com> In-Reply-To: <6721d4100903081516v19e46090if41d373b82b476c3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091235.19268.hselasky@c2i.net> Cc: Subject: Re: 1wire sensor with ugen... 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, 09 Mar 2009 11:32:50 -0000 On Sunday 08 March 2009, Conall O'Brien wrote: > Hello, > > I've a 1wire USB device with a temperature sensor which I'm trying to set > up. My FreeBSD 7.x (RELENG_7) system detects it on boot and IDs it > correctly: > > ugen1: on uhub0 > > which results in /dev/ugen1 , /dev/ugen1.1 and /dev/ugen1.2 devices all > being created. > > > The sensor should be accessible as a straight serial device (9600 baud, > > etc), but my attempts using pyserial aren't working: > >>> s = serial.Serial('/dev/ugen1', 9600, timeout=1) > >>> s.read(10) > > Traceback (most recent call last): > File "", line 1, in > File "build/bdist.freebsd-7.1-STABLE-amd64/egg/serial/serialposix.py", > line 344, in read > serial.serialutil.SerialException: Port not open > > >>> s.isOpen() > > False > > > I don't have much experience working directly with ugen devices, so any > advice to get this working would be appreciated. > > > Thanks! Hi, Ugen devices do not support setting the baud rate ... You need to add your device to the "ugensa" driver or make it look like a generic "umodem" device. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 11:45:06 2009 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 187131065670 for ; Mon, 9 Mar 2009 11:45:06 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 491D18FC1F for ; Mon, 9 Mar 2009 11:45:04 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by bwz8 with SMTP id 8so1074918bwz.43 for ; Mon, 09 Mar 2009 04:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:references:in-reply-to:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=A4z6MbxrhSOf21QgQxeSFHL6WGiqb2orJCoU0VPlJ+k=; b=ESvZ0LebXRdxPIQy3mn5ozO/xWZjImIujXt7TUewxmP5noRh211tLl6Pdg6V0lxvba XrPPN71H0gxg3EYVeyn/h9GIFka5spQCZmu5Dg9K59o776UCcWw+BfyvCEL8qJ7D1w31 0GClMq9F/4xb9cejJkN0QRntYhTXwHdsMc/yE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to :cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=ZBlKy2XjOBOP++D19DUDeZgMhVsiuig77EwY01qr1dWGlbV12WY6aoFAzqyey+EoNQ tJbZmI4rVbTkN7tYouPouFZelGbYDREJmUDUjgC32yqlWndhPMKcp/1z331O3ya/B2Tq 5e6QlVLkvZzWzGLrvoGtvygrsUcVK9Y+TrWCk= Received: by 10.103.131.18 with SMTP id i18mr2579630mun.74.1236599103895; Mon, 09 Mar 2009 04:45:03 -0700 (PDT) Received: from host7.net62.hdsl-213-169.fastbg.net (host7.net62.HDSL-213-169.FastBG.NET [213.169.62.7]) by mx.google.com with ESMTPS id j10sm7651002muh.31.2009.03.09.04.45.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Mar 2009 04:45:02 -0700 (PDT) From: Boris Kotzev Organization: Home To: Hans Petter Selasky Date: Mon, 9 Mar 2009 13:45:00 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; amd64; ; ) References: <200903041946.15105.boris.kotzev@gmail.com> <200903090205.01119.boris.kotzev@gmail.com> <200903090851.53432.hselasky@c2i.net> In-Reply-To: <200903090851.53432.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091345.00743.boris.kotzev@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 11:45:06 -0000 > > Can you get me dmesg with ums debugging enabled when you move the cursor? > > What does: > > ps auxw |grep moused > > output ? > > --HPS Hi Hans, With "hw.usb2.ums.debug" set to "5" the touchpad attaches as follows: ukbd0: on usbus0 kbd1 at ukbd0 ums1: on usbus0 ums1: 3 buttons and [XY] coordinates ums_attach:546: sc=0xffffff000e020c00 ums_attach:547: X 8/8 ums_attach:548: Y 16/8 ums_attach:549: Z 0/0 ums_attach:550: T 0/0 ums_attach:551: W 0/0 ums_attach:555: B1 0/1 ums_attach:555: B2 1/1 ums_attach:555: B3 2/1 ums_attach:557: size=64, id=0 uhid1: on usbus0 ums_open:701: ums_open:701: ums_ioctl:738: ums_ioctl:738: ums_ioctl:738: ums_ioctl:738: ums_ioctl:738: After raising the debug level to "6" the following messages begin scrolling on the console on end (without any input to the touchpad): ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff000e020c00 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 In contrast, the external usb mouse does not produce any dmesg output at the same debug level until moved. Moving the cursor results in the following dmesg output (hw.usb2.ums.debug=6): ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f9 00 00 00 00 00 ums_intr_callback:264: x:0 y:7 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fa ff 00 00 00 00 ums_intr_callback:264: x:0 y:6 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f9 00 00 00 00 00 ums_intr_callback:264: x:0 y:7 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 00 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 00 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 00 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f7 00 00 00 00 00 ums_intr_callback:264: x:0 y:9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 00 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f7 00 00 00 00 00 ums_intr_callback:264: x:0 y:9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 00 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 00 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 00 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 ff 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f5 00 00 00 00 00 ums_intr_callback:264: x:0 y:11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f5 00 00 00 00 00 ums_intr_callback:264: x:0 y:11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 ff 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f7 ff 00 00 00 00 ums_intr_callback:264: x:0 y:9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f5 00 00 00 00 00 ums_intr_callback:264: x:0 y:11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 ff 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f6 ff 00 00 00 00 ums_intr_callback:264: x:0 y:10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f7 ff 00 00 00 00 ums_intr_callback:264: x:0 y:9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 fe 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 ff 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f8 fe 00 00 00 00 ums_intr_callback:264: x:0 y:8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 f9 ff 00 00 00 00 ums_intr_callback:264: x:0 y:7 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fa ff 00 00 00 00 ums_intr_callback:264: x:0 y:6 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fb ff 00 00 00 00 ums_intr_callback:264: x:0 y:5 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fb ff 00 00 00 00 ums_intr_callback:264: x:0 y:5 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fc ff 00 00 00 00 ums_intr_callback:264: x:0 y:4 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fd ff 00 00 00 00 ums_intr_callback:264: x:0 y:3 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fd ff 00 00 00 00 ums_intr_callback:264: x:0 y:3 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 fe 00 00 00 00 00 ums_intr_callback:264: x:0 y:2 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 00 ff 00 00 00 00 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 02 00 00 00 00 00 ums_intr_callback:264: x:0 y:-2 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 03 01 00 00 00 00 ums_intr_callback:264: x:0 y:-3 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 04 00 00 00 00 00 ums_intr_callback:264: x:0 y:-4 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 05 01 00 00 00 00 ums_intr_callback:264: x:0 y:-5 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 06 01 00 00 00 00 ums_intr_callback:264: x:0 y:-6 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 07 01 00 00 00 00 ums_intr_callback:264: x:0 y:-7 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 08 01 00 00 00 00 ums_intr_callback:264: x:0 y:-8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 09 01 00 00 00 00 ums_intr_callback:264: x:0 y:-9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 09 02 00 00 00 00 ums_intr_callback:264: x:0 y:-9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0a 01 00 00 00 00 ums_intr_callback:264: x:0 y:-10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0b 02 00 00 00 00 ums_intr_callback:264: x:0 y:-11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0b 02 00 00 00 00 ums_intr_callback:264: x:0 y:-11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0b 02 00 00 00 00 ums_intr_callback:264: x:0 y:-11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0c 03 00 00 00 00 ums_intr_callback:264: x:0 y:-12 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0c 04 00 00 00 00 ums_intr_callback:264: x:0 y:-12 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0d 03 00 00 00 00 ums_intr_callback:264: x:0 y:-13 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0d 03 00 00 00 00 ums_intr_callback:264: x:0 y:-13 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0c 03 00 00 00 00 ums_intr_callback:264: x:0 y:-12 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0c 03 00 00 00 00 ums_intr_callback:264: x:0 y:-12 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0b 03 00 00 00 00 ums_intr_callback:264: x:0 y:-11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0b 02 00 00 00 00 ums_intr_callback:264: x:0 y:-11 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 0a 02 00 00 00 00 ums_intr_callback:264: x:0 y:-10 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 09 01 00 00 00 00 ums_intr_callback:264: x:0 y:-9 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 08 02 00 00 00 00 ums_intr_callback:264: x:0 y:-8 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 07 01 00 00 00 00 ums_intr_callback:264: x:0 y:-7 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 06 02 00 00 00 00 ums_intr_callback:264: x:0 y:-6 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 05 01 00 00 00 00 ums_intr_callback:264: x:0 y:-5 z:0 t:0 w:0 buttons:0x00000001 ums_intr_callback:174: sc=0xffffff00060c9000 actlen=4 ums_intr_callback:191: data = 02 00 00 00 00 00 00 00 All the time moused was running on the ums1 port only: ps auxw |grep moused root 1537 0,0 0,1 6968 1100 ?? Is 1:06pm 0:00,00 /usr/sbin/moused -p /dev/ums1 -t auto -I /var/run/moused.ums1.pi root 1560 0,0 0,1 8016 1232 1 S+ 1:07pm 0:00,00 grep moused I also killed all instances of moused and then started X with Option "Device" "/dev/ums1" in xorg.conf. The behavior of the touchpad was the same as when running under the moused. Best regards, Boris Kotzev From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 12:31:28 2009 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 47FA61065670 for ; Mon, 9 Mar 2009 12:31:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id CD2588FC12 for ; Mon, 9 Mar 2009 12:31:27 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=xll7L2ZOAAAA:8 a=6I5d2MoRAAAA:8 a=bIvioFqq1CmBcyQuUmcA:9 a=8NTCQHZ-tAjMfby6j9LLyoDreJcA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 463430230; Mon, 09 Mar 2009 12:31:25 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 9 Mar 2009 12:33:53 +0100 User-Agent: KMail/1.9.7 References: <20090308.130659.-1303465250.imp@bsdimp.com> <20090308.154353.-1350498283.imp@bsdimp.com> <20090308215604.GD30672@citylink.fud.org.nz> In-Reply-To: <20090308215604.GD30672@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091233.55089.hselasky@c2i.net> Cc: usb@freebsd.org, Andrew Thompson Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 12:31:28 -0000 On Sunday 08 March 2009, Andrew Thompson wrote: > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > > > > Andrew Thompson writes: > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't > > : > work. Scanner not found by xsane. > > : > > : Are you sure its not this? > > : > > : 20090227: > > : The /dev handling for the new USB stack has changed, a > > : buildworld/installworld is required for libusb20. > > > > Yes. Been there, done that. Also have the libmap.conf changes in > > place for old binaries that had worked for months before that. xsane > > used to just work in this setup, but now fails. Looks like some kind > > of mismatch in the ABI: > > > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 > > Not sure what would have caused that. Before you spend too much time on > this you may want to note that the integration patches for libusb into > the ports build will likely be committed tomorrow. This will bump the > port numbers so the affected ports rebuild, hopefully sane with DTRT > after that. > Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb backend? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 12:54:18 2009 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 8162B1065672 for ; Mon, 9 Mar 2009 12:54:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 175688FC25 for ; Mon, 9 Mar 2009 12:54:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=p0lbXY6ahC0A:10 a=83Y5weSI77cA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=fh_QREHEs6qpqviVR5gA:9 a=nnbu4v0q7Bp0j0Wsi1SSeACF33IA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 464093876; Mon, 09 Mar 2009 13:54:16 +0100 From: Hans Petter Selasky To: Boris Kotzev Date: Mon, 9 Mar 2009 13:56:46 +0100 User-Agent: KMail/1.9.7 References: <200903041946.15105.boris.kotzev@gmail.com> <200903090851.53432.hselasky@c2i.net> <200903091345.00743.boris.kotzev@gmail.com> In-Reply-To: <200903091345.00743.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091356.47621.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 12:54:18 -0000 On Monday 09 March 2009, Boris Kotzev wrote: > Boris Kotzev Try the following patch: http://perforce.freebsd.org/chv.cgi?CH=158916 Repeat with ums debugging turned on. I think I see what is wrong now. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 12:58:15 2009 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 01A991065670; Mon, 9 Mar 2009 12:58:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B34978FC0A; Mon, 9 Mar 2009 12:58:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n29Ctfl2000434; Mon, 9 Mar 2009 06:55:42 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 09 Mar 2009 06:55:58 -0600 (MDT) Message-Id: <20090309.065558.-432839106.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903091233.55089.hselasky@c2i.net> References: <20090308.154353.-1350498283.imp@bsdimp.com> <20090308215604.GD30672@citylink.fud.org.nz> <200903091233.55089.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@FreeBSD.org, thompsa@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 12:58:15 -0000 In message: <200903091233.55089.hselasky@c2i.net> Hans Petter Selasky writes: : On Sunday 08 March 2009, Andrew Thompson wrote: : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> : > > : > > Andrew Thompson writes: : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't : > > : > work. Scanner not found by xsane. : > > : : > > : Are you sure its not this? : > > : : > > : 20090227: : > > : The /dev handling for the new USB stack has changed, a : > > : buildworld/installworld is required for libusb20. : > > : > > Yes. Been there, done that. Also have the libmap.conf changes in : > > place for old binaries that had worked for months before that. xsane : > > used to just work in this setup, but now fails. Looks like some kind : > > of mismatch in the ABI: : > > : > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 : > : > Not sure what would have caused that. Before you spend too much time on : > this you may want to note that the integration patches for libusb into : > the ports build will likely be committed tomorrow. This will bump the : > port numbers so the affected ports rebuild, hopefully sane with DTRT : > after that. : > : : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb backend? never had to do that before... Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 12:58:15 2009 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 01A991065670; Mon, 9 Mar 2009 12:58:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B34978FC0A; Mon, 9 Mar 2009 12:58:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n29Ctfl2000434; Mon, 9 Mar 2009 06:55:42 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 09 Mar 2009 06:55:58 -0600 (MDT) Message-Id: <20090309.065558.-432839106.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903091233.55089.hselasky@c2i.net> References: <20090308.154353.-1350498283.imp@bsdimp.com> <20090308215604.GD30672@citylink.fud.org.nz> <200903091233.55089.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@FreeBSD.org, thompsa@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 12:58:15 -0000 In message: <200903091233.55089.hselasky@c2i.net> Hans Petter Selasky writes: : On Sunday 08 March 2009, Andrew Thompson wrote: : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> : > > : > > Andrew Thompson writes: : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't : > > : > work. Scanner not found by xsane. : > > : : > > : Are you sure its not this? : > > : : > > : 20090227: : > > : The /dev handling for the new USB stack has changed, a : > > : buildworld/installworld is required for libusb20. : > > : > > Yes. Been there, done that. Also have the libmap.conf changes in : > > place for old binaries that had worked for months before that. xsane : > > used to just work in this setup, but now fails. Looks like some kind : > > of mismatch in the ABI: : > > : > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 : > : > Not sure what would have caused that. Before you spend too much time on : > this you may want to note that the integration patches for libusb into : > the ports build will likely be committed tomorrow. This will bump the : > port numbers so the affected ports rebuild, hopefully sane with DTRT : > after that. : > : : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb backend? never had to do that before... Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 13:02:11 2009 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 468CA10656C1; Mon, 9 Mar 2009 13:02:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4E20A8FC1D; Mon, 9 Mar 2009 13:02:10 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=8kQB0OdkAAAA:8 a=xll7L2ZOAAAA:8 a=6I5d2MoRAAAA:8 a=wuJmI64MVVcqUQyr4AoA:9 a=zOHZ3qYl7LokAK99cy0A:7 a=uSw5tXOs2HivGFnoxOeoo7pPn3AA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1037915142; Mon, 09 Mar 2009 14:02:08 +0100 From: Hans Petter Selasky To: "M. Warner Losh" Date: Mon, 9 Mar 2009 14:04:34 +0100 User-Agent: KMail/1.9.7 References: <20090308.154353.-1350498283.imp@bsdimp.com> <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> In-Reply-To: <20090309.065558.-432839106.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091404.34912.hselasky@c2i.net> Cc: usb@freebsd.org, thompsa@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 13:02:11 -0000 On Monday 09 March 2009, M. Warner Losh wrote: > In message: <200903091233.55089.hselasky@c2i.net> > > Hans Petter Selasky writes: > : On Sunday 08 March 2009, Andrew Thompson wrote: > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > : > > > : > > Andrew Thompson writes: > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it > : > > : > doesn't work. Scanner not found by xsane. > : > > : > : > > : Are you sure its not this? > : > > : > : > > : 20090227: > : > > : The /dev handling for the new USB stack has changed, a > : > > : buildworld/installworld is required for libusb20. > : > > > : > > Yes. Been there, done that. Also have the libmap.conf changes in > : > > place for old binaries that had worked for months before that. xsane > : > > used to just work in this setup, but now fails. Looks like some kind > : > > of mismatch in the ABI: > : > > > : > > found USB scanner (UNKNOWN vendor and product) at device > : > > /dev/uscanner0 > : > > : > Not sure what would have caused that. Before you spend too much time on > : > this you may want to note that the integration patches for libusb into > : > the ports build will likely be committed tomorrow. This will bump the > : > port numbers so the affected ports rebuild, hopefully sane with DTRT > : > after that. > : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb > : backend? > > never had to do that before... Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is broken, and the fallback to libusb backend will maybe solve your problem temporarily if you rm /dev/uscanner0 . Actually that is another question: Should we remove ID's from uscanner.c which will work fine attaching through the libusb backend ? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 13:02:11 2009 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 468CA10656C1; Mon, 9 Mar 2009 13:02:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4E20A8FC1D; Mon, 9 Mar 2009 13:02:10 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=8kQB0OdkAAAA:8 a=xll7L2ZOAAAA:8 a=6I5d2MoRAAAA:8 a=wuJmI64MVVcqUQyr4AoA:9 a=zOHZ3qYl7LokAK99cy0A:7 a=uSw5tXOs2HivGFnoxOeoo7pPn3AA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1037915142; Mon, 09 Mar 2009 14:02:08 +0100 From: Hans Petter Selasky To: "M. Warner Losh" Date: Mon, 9 Mar 2009 14:04:34 +0100 User-Agent: KMail/1.9.7 References: <20090308.154353.-1350498283.imp@bsdimp.com> <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> In-Reply-To: <20090309.065558.-432839106.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091404.34912.hselasky@c2i.net> Cc: usb@freebsd.org, thompsa@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 13:02:11 -0000 On Monday 09 March 2009, M. Warner Losh wrote: > In message: <200903091233.55089.hselasky@c2i.net> > > Hans Petter Selasky writes: > : On Sunday 08 March 2009, Andrew Thompson wrote: > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > : > > > : > > Andrew Thompson writes: > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it > : > > : > doesn't work. Scanner not found by xsane. > : > > : > : > > : Are you sure its not this? > : > > : > : > > : 20090227: > : > > : The /dev handling for the new USB stack has changed, a > : > > : buildworld/installworld is required for libusb20. > : > > > : > > Yes. Been there, done that. Also have the libmap.conf changes in > : > > place for old binaries that had worked for months before that. xsane > : > > used to just work in this setup, but now fails. Looks like some kind > : > > of mismatch in the ABI: > : > > > : > > found USB scanner (UNKNOWN vendor and product) at device > : > > /dev/uscanner0 > : > > : > Not sure what would have caused that. Before you spend too much time on > : > this you may want to note that the integration patches for libusb into > : > the ports build will likely be committed tomorrow. This will bump the > : > port numbers so the affected ports rebuild, hopefully sane with DTRT > : > after that. > : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb > : backend? > > never had to do that before... Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is broken, and the fallback to libusb backend will maybe solve your problem temporarily if you rm /dev/uscanner0 . Actually that is another question: Should we remove ID's from uscanner.c which will work fine attaching through the libusb backend ? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 13:49:48 2009 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 D1225106564A; Mon, 9 Mar 2009 13:49:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 711BD8FC0C; Mon, 9 Mar 2009 13:49:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n29DmPA3001461; Mon, 9 Mar 2009 07:48:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 09 Mar 2009 07:39:31 -0600 (MDT) Message-Id: <20090309.073931.635732127.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903091404.34912.hselasky@c2i.net> References: <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> <200903091404.34912.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, thompsa@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 13:49:49 -0000 In message: <200903091404.34912.hselasky@c2i.net> Hans Petter Selasky writes: : On Monday 09 March 2009, M. Warner Losh wrote: : > In message: <200903091233.55089.hselasky@c2i.net> : > : > Hans Petter Selasky writes: : > : On Sunday 08 March 2009, Andrew Thompson wrote: : > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: : > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> : > : > > : > : > > Andrew Thompson writes: : > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: : > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it : > : > > : > doesn't work. Scanner not found by xsane. : > : > > : : > : > > : Are you sure its not this? : > : > > : : > : > > : 20090227: : > : > > : The /dev handling for the new USB stack has changed, a : > : > > : buildworld/installworld is required for libusb20. : > : > > : > : > > Yes. Been there, done that. Also have the libmap.conf changes in : > : > > place for old binaries that had worked for months before that. xsane : > : > > used to just work in this setup, but now fails. Looks like some kind : > : > > of mismatch in the ABI: : > : > > : > : > > found USB scanner (UNKNOWN vendor and product) at device : > : > > /dev/uscanner0 : > : > : > : > Not sure what would have caused that. Before you spend too much time on : > : > this you may want to note that the integration patches for libusb into : > : > the ports build will likely be committed tomorrow. This will bump the : > : > port numbers so the affected ports rebuild, hopefully sane with DTRT : > : > after that. : > : : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb : > : backend? : > : > never had to do that before... : : Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is : broken, and the fallback to libusb backend will maybe solve your problem : temporarily if you rm /dev/uscanner0 . Can't do it. devel/libusb is broken. Been there tried that: Didn't work. I do know that it has *NEVER* found the device when I don't have uscanner loaded, even when ugen was loaded... : Actually that is another question: : : Should we remove ID's from uscanner.c which will work fine attaching through : the libusb backend ? Unlikely, given my experience that it appears to be required... Anyway, it is going to be at least a week before I can do anything on this again because the scanner is at home right now, and I'm in the airport waiting for my flight to AsiaBSDCon 2009... Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 13:49:48 2009 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 D1225106564A; Mon, 9 Mar 2009 13:49:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 711BD8FC0C; Mon, 9 Mar 2009 13:49:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n29DmPA3001461; Mon, 9 Mar 2009 07:48:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 09 Mar 2009 07:39:31 -0600 (MDT) Message-Id: <20090309.073931.635732127.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903091404.34912.hselasky@c2i.net> References: <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> <200903091404.34912.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, thompsa@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 13:49:49 -0000 In message: <200903091404.34912.hselasky@c2i.net> Hans Petter Selasky writes: : On Monday 09 March 2009, M. Warner Losh wrote: : > In message: <200903091233.55089.hselasky@c2i.net> : > : > Hans Petter Selasky writes: : > : On Sunday 08 March 2009, Andrew Thompson wrote: : > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: : > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> : > : > > : > : > > Andrew Thompson writes: : > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: : > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it : > : > > : > doesn't work. Scanner not found by xsane. : > : > > : : > : > > : Are you sure its not this? : > : > > : : > : > > : 20090227: : > : > > : The /dev handling for the new USB stack has changed, a : > : > > : buildworld/installworld is required for libusb20. : > : > > : > : > > Yes. Been there, done that. Also have the libmap.conf changes in : > : > > place for old binaries that had worked for months before that. xsane : > : > > used to just work in this setup, but now fails. Looks like some kind : > : > > of mismatch in the ABI: : > : > > : > : > > found USB scanner (UNKNOWN vendor and product) at device : > : > > /dev/uscanner0 : > : > : > : > Not sure what would have caused that. Before you spend too much time on : > : > this you may want to note that the integration patches for libusb into : > : > the ports build will likely be committed tomorrow. This will bump the : > : > port numbers so the affected ports rebuild, hopefully sane with DTRT : > : > after that. : > : : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb : > : backend? : > : > never had to do that before... : : Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is : broken, and the fallback to libusb backend will maybe solve your problem : temporarily if you rm /dev/uscanner0 . Can't do it. devel/libusb is broken. Been there tried that: Didn't work. I do know that it has *NEVER* found the device when I don't have uscanner loaded, even when ugen was loaded... : Actually that is another question: : : Should we remove ID's from uscanner.c which will work fine attaching through : the libusb backend ? Unlikely, given my experience that it appears to be required... Anyway, it is going to be at least a week before I can do anything on this again because the scanner is at home right now, and I'm in the airport waiting for my flight to AsiaBSDCon 2009... Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 14:19:56 2009 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 885E41065670 for ; Mon, 9 Mar 2009 14:19:56 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 073A88FC15 for ; Mon, 9 Mar 2009 14:19:55 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by bwz8 with SMTP id 8so1131784bwz.43 for ; Mon, 09 Mar 2009 07:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:references:in-reply-to:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=g3g2q/zHK8LDLyq0BhWCbPIo5zD8XGlNm/SxXVLJjl4=; b=N1EK51ZbIjly+UfWmQeeTIISsCsCXPNKXPmlZjOvWU7ZMdkEUElkmPmKvJUeL4ZT++ 1tGYF/0QV9Mi2FcI0EEqzdz7Uer2xX/ZJCGnHQ0B5zgT2cOtXbyZRfckZEtL6eyOBgdT vNVH2Ui/QC2VJSLKZl0qL3/Ebw43sR0ltiwlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to :cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=rn9fs+3vRYUPbe6BlQu3a6VIYn/FcrCAQC2Nw81PSpd7YWJEEW5LXn4Y9+uN2XdcbF 56x989LLvurzN2Xcx7LyUjZDIVNTgx4jhQCEM60r9Hvq4u5wPub8Nnxx+jwFgQnC/9Zf bzDChIyAdppLDZtdj3m2lGHcHUSQDjJ+I5KnA= Received: by 10.103.220.18 with SMTP id x18mr2637928muq.135.1236608394829; Mon, 09 Mar 2009 07:19:54 -0700 (PDT) Received: from host7.net62.hdsl-213-169.fastbg.net (host7.net62.HDSL-213-169.FastBG.NET [213.169.62.7]) by mx.google.com with ESMTPS id u26sm7208643mug.29.2009.03.09.07.19.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Mar 2009 07:19:54 -0700 (PDT) From: Boris Kotzev Organization: Home To: Hans Petter Selasky Date: Mon, 9 Mar 2009 16:19:51 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; amd64; ; ) References: <200903041946.15105.boris.kotzev@gmail.com> <200903091345.00743.boris.kotzev@gmail.com> <200903091356.47621.hselasky@c2i.net> In-Reply-To: <200903091356.47621.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091619.51682.boris.kotzev@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 14:19:56 -0000 > Try the following patch: > > http://perforce.freebsd.org/chv.cgi?CH=158916 > > Repeat with ums debugging turned on. I think I see what is wrong now. > > --HPS The touchpad is functioning properly now! dmesg output with "sysctl hw.usb2.ums.debug=5": ums1: on usbus0 ums1: 3 buttons and [XY] coordinates ums_attach:543: sc=0xffffff000e0ad800 ums_attach:545: X 8/8 id=2 ums_attach:547: Y 16/8 id=2 ums_attach:549: Z 0/0 id=0 ums_attach:551: T 0/0 id=0 ums_attach:553: W 0/0 id=0 ums_attach:558: B1 0/1 id=2 ums_attach:558: B2 1/1 id=2 ums_attach:558: B3 2/1 id=2 ums_attach:560: size=64, id=2 uhid1: on usbus0 ums_open:704: ums_open:704: ums_ioctl:741: ums_ioctl:741: ums_ioctl:741: ums_ioctl:741: ums_ioctl:741: Thank you very much for your work! Let me know if you need more information. Best regards, Boris Kotzev From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 15:18:18 2009 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 F1191106564A; Mon, 9 Mar 2009 15:18:18 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8F35F8FC18; Mon, 9 Mar 2009 15:18:18 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 48B90FF67; Tue, 10 Mar 2009 04:18:17 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QpJCpA9NAU8w; Tue, 10 Mar 2009 04:18:13 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 10 Mar 2009 04:18:13 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id C1E1211432; Tue, 10 Mar 2009 04:18:12 +1300 (NZDT) Date: Mon, 9 Mar 2009 08:18:11 -0700 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090309151811.GA40452@citylink.fud.org.nz> References: <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> <200903091404.34912.hselasky@c2i.net> <20090309.073931.635732127.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090309.073931.635732127.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 15:18:19 -0000 On Mon, Mar 09, 2009 at 07:39:31AM -0600, M. Warner Losh wrote: > In message: <200903091404.34912.hselasky@c2i.net> > Hans Petter Selasky writes: > : On Monday 09 March 2009, M. Warner Losh wrote: > : > In message: <200903091233.55089.hselasky@c2i.net> > : > > : > Hans Petter Selasky writes: > : > : On Sunday 08 March 2009, Andrew Thompson wrote: > : > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > : > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > : > : > > > : > : > > Andrew Thompson writes: > : > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > : > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it > : > : > > : > doesn't work. Scanner not found by xsane. > : > : > > : > : > : > > : Are you sure its not this? > : > : > > : > : > : > > : 20090227: > : > : > > : The /dev handling for the new USB stack has changed, a > : > : > > : buildworld/installworld is required for libusb20. > : > : > > > : > : > > Yes. Been there, done that. Also have the libmap.conf changes in > : > : > > place for old binaries that had worked for months before that. xsane > : > : > > used to just work in this setup, but now fails. Looks like some kind > : > : > > of mismatch in the ABI: > : > : > > > : > : > > found USB scanner (UNKNOWN vendor and product) at device > : > : > > /dev/uscanner0 > : > : > > : > : > Not sure what would have caused that. Before you spend too much time on > : > : > this you may want to note that the integration patches for libusb into > : > : > the ports build will likely be committed tomorrow. This will bump the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > : > : > port numbers so the affected ports rebuild, hopefully sane with DTRT > : > : > after that. > : > : > : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb > : > : backend? > : > > : > never had to do that before... > : > : Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is > : broken, and the fallback to libusb backend will maybe solve your problem > : temporarily if you rm /dev/uscanner0 . > > Can't do it. devel/libusb is broken. Been there tried that: Didn't > work. > > I do know that it has *NEVER* found the device when I don't have > uscanner loaded, even when ugen was loaded... > > : Actually that is another question: > : > : Should we remove ID's from uscanner.c which will work fine attaching through > : the libusb backend ? > > Unlikely, given my experience that it appears to be required... > > Anyway, it is going to be at least a week before I can do anything on > this again because the scanner is at home right now, and I'm in the > airport waiting for my flight to AsiaBSDCon 2009... This is about to be fixed, see above. Hopefully everything is good on your return :) Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 15:18:18 2009 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 F1191106564A; Mon, 9 Mar 2009 15:18:18 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8F35F8FC18; Mon, 9 Mar 2009 15:18:18 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 48B90FF67; Tue, 10 Mar 2009 04:18:17 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QpJCpA9NAU8w; Tue, 10 Mar 2009 04:18:13 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 10 Mar 2009 04:18:13 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id C1E1211432; Tue, 10 Mar 2009 04:18:12 +1300 (NZDT) Date: Mon, 9 Mar 2009 08:18:11 -0700 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090309151811.GA40452@citylink.fud.org.nz> References: <200903091233.55089.hselasky@c2i.net> <20090309.065558.-432839106.imp@bsdimp.com> <200903091404.34912.hselasky@c2i.net> <20090309.073931.635732127.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090309.073931.635732127.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Latest kernel breaks scanner 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, 09 Mar 2009 15:18:19 -0000 On Mon, Mar 09, 2009 at 07:39:31AM -0600, M. Warner Losh wrote: > In message: <200903091404.34912.hselasky@c2i.net> > Hans Petter Selasky writes: > : On Monday 09 March 2009, M. Warner Losh wrote: > : > In message: <200903091233.55089.hselasky@c2i.net> > : > > : > Hans Petter Selasky writes: > : > : On Sunday 08 March 2009, Andrew Thompson wrote: > : > : > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > : > : > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > : > : > > > : > : > > Andrew Thompson writes: > : > : > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > : > : > > : > Sigh. Had a working system from Mar 4th. Upgraded now it > : > : > > : > doesn't work. Scanner not found by xsane. > : > : > > : > : > : > > : Are you sure its not this? > : > : > > : > : > : > > : 20090227: > : > : > > : The /dev handling for the new USB stack has changed, a > : > : > > : buildworld/installworld is required for libusb20. > : > : > > > : > : > > Yes. Been there, done that. Also have the libmap.conf changes in > : > : > > place for old binaries that had worked for months before that. xsane > : > : > > used to just work in this setup, but now fails. Looks like some kind > : > : > > of mismatch in the ABI: > : > : > > > : > : > > found USB scanner (UNKNOWN vendor and product) at device > : > : > > /dev/uscanner0 > : > : > > : > : > Not sure what would have caused that. Before you spend too much time on > : > : > this you may want to note that the integration patches for libusb into > : > : > the ports build will likely be committed tomorrow. This will bump the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > : > : > port numbers so the affected ports rebuild, hopefully sane with DTRT > : > : > after that. > : > : > : > : Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb > : > : backend? > : > > : > never had to do that before... > : > : Or recompile all of the sane backends. Probably an IOCTL on the uscanner0 is > : broken, and the fallback to libusb backend will maybe solve your problem > : temporarily if you rm /dev/uscanner0 . > > Can't do it. devel/libusb is broken. Been there tried that: Didn't > work. > > I do know that it has *NEVER* found the device when I don't have > uscanner loaded, even when ugen was loaded... > > : Actually that is another question: > : > : Should we remove ID's from uscanner.c which will work fine attaching through > : the libusb backend ? > > Unlikely, given my experience that it appears to be required... > > Anyway, it is going to be at least a week before I can do anything on > this again because the scanner is at home right now, and I'm in the > airport waiting for my flight to AsiaBSDCon 2009... This is about to be fixed, see above. Hopefully everything is good on your return :) Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 15:26:33 2009 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 274A0106566B for ; Mon, 9 Mar 2009 15:26:33 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id DD8258FC0C for ; Mon, 9 Mar 2009 15:26:32 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 4A17AFF67; Tue, 10 Mar 2009 04:26:32 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UBRHLnaWbI0o; Tue, 10 Mar 2009 04:26:29 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 10 Mar 2009 04:26:29 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id DB8281142F; Tue, 10 Mar 2009 04:26:28 +1300 (NZDT) Date: Mon, 9 Mar 2009 08:26:28 -0700 From: Andrew Thompson To: Boris Kotzev Message-ID: <20090309152628.GB40452@citylink.fud.org.nz> References: <200903041946.15105.boris.kotzev@gmail.com> <200903091345.00743.boris.kotzev@gmail.com> <200903091356.47621.hselasky@c2i.net> <200903091619.51682.boris.kotzev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903091619.51682.boris.kotzev@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-usb@freebsd.org Subject: Re: usb touchpad not working properly on CURRENT with usb2 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, 09 Mar 2009 15:26:33 -0000 On Mon, Mar 09, 2009 at 04:19:51PM +0200, Boris Kotzev wrote: > > Try the following patch: > > > > http://perforce.freebsd.org/chv.cgi?CH=158916 > > > > Repeat with ums debugging turned on. I think I see what is wrong now. > > > > --HPS > > The touchpad is functioning properly now! > Committed in r189583. Andrew From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 17:15:14 2009 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 D8D4310656CB for ; Mon, 9 Mar 2009 17:15:14 +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 BFD248FC0C for ; Mon, 9 Mar 2009 17:15:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n29HFES7045429 for ; Mon, 9 Mar 2009 17:15:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29HFELF045425 for freebsd-usb@FreeBSD.org; Mon, 9 Mar 2009 17:15:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Mar 2009 17:15:14 GMT Message-Id: <200903091715.n29HFELF045425@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, 09 Mar 2009 17:15:20 -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/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum 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/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co 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 f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh 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 [newusb] DVD drive detects as 'da' device o usb/129964 usb [newusb] disconnection of ugen devices isn't logged o bin/129963 usb [newusb] usbconfig(8) fails with misleading error when o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o 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 f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c f 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/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if 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/125264 usb [patch] sysctl for set usb mouse rate (very useful for 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/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work 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/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 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/122621 usb [patch] [request] New driver for Sierra Wireless 3G US 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/122025 usb [uscanner] [patch] uscanner does not attach to Epson R 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/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e 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 [umass] [patch] quirk to support ASUS P535 as umass (a 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround 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 [uaudio] [patch] Not possible to record with Plantroni 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 [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb [usb] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar 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/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w 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/91629 usb [usb] usbd_abort_pipe() may result in infinite loop 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 f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu 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 " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, 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 o 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 o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o 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 i386/46371 usb USB controller cannot be initialized on IBM Netfinity 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 305 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 20:14:53 2009 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 ED921106566B for ; Mon, 9 Mar 2009 20:14:53 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id B48AC8FC12 for ; Mon, 9 Mar 2009 20:14:53 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id E8672FF7A for ; Tue, 10 Mar 2009 09:14:52 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BDEW+OZ7UvQ2 for ; Tue, 10 Mar 2009 09:14:49 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP for ; Tue, 10 Mar 2009 09:14:49 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 344651142F; Tue, 10 Mar 2009 09:14:49 +1300 (NZDT) Date: Mon, 9 Mar 2009 13:14:48 -0700 From: Andrew Thompson To: usb@freebsd.org Message-ID: <20090309201448.GB55506@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: HEADSUP: usb ports should be fixed 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, 09 Mar 2009 20:14:54 -0000 Hi, Stanislav has updated the usb ports that depend on libusb to use the library from the base system, this should fix the majority of usb apps. Please see /usr/ports/UPDATING for instructions about this. Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 05:06:25 2009 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 629D7106566C; Tue, 10 Mar 2009 05:06:25 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 85E8A8FC13; Tue, 10 Mar 2009 05:06:24 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2A4u7kZ039217; Tue, 10 Mar 2009 07:56:07 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236660967; bh=DnjP3MWoiq/W9XGRnZy1XHdTet2jaX+cEx/f9Ncjk+o=; l=640; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=Mb5sSIHF2aQmc73Wk5oabOzhCCpkLWiHfmjGZHoXhhRC4Qx3dxClul8T+izo8EP+2 OYyV1OMomhVCUFigp3tUv4EYutnySMqVWKdU7UrudhZ5ygjyP/nYlEXwEqB4qa8G0R 7ck/sUaOWtAz8qlCxBp8mH2frETWzlQXEaIN7BG0= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2A4u60K039215; Tue, 10 Mar 2009 07:56:06 +0300 (MSK) (envelope-from ache) Date: Tue, 10 Mar 2009 07:56:06 +0300 From: Andrey Chernov To: current@freebsd.org Message-ID: <20090310045605.GA38857@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , current@freebsd.org, usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: usb@freebsd.org Subject: USB2 makes moused insane 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, 10 Mar 2009 05:06:25 -0000 Every pure mouse movement now acts like pressing several buttons at the same time which cause parts of console text under cursor copied/pasted randomly. This is "Logitech G3" mouse, corresponding dmesg entries are: ugen2.2: at usbus2 ums0: on usbus2 ums0: 16 buttons and [XYZ] coordinates uhid0: on usbus2 moused -d -i all -p /dev/ums0 moused: proto params: f8 80 00 00 8 00 ff /dev/ums0 usb sysmouse generic Please fix, it works with old usb just nice. -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 05:46:49 2009 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 DD4CC106564A for ; Tue, 10 Mar 2009 05:46:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 79DDE8FC16 for ; Tue, 10 Mar 2009 05:46:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 25676 invoked by uid 399); 10 Mar 2009 05:20:07 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Mar 2009 05:20:07 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B5F885.1050508@FreeBSD.org> Date: Mon, 09 Mar 2009 22:20:05 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Andrey Chernov , current@freebsd.org, usb@freebsd.org, Andrew Thompson References: <20090310045605.GA38857@nagual.pp.ru> In-Reply-To: <20090310045605.GA38857@nagual.pp.ru> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 05:46:50 -0000 Andrey Chernov wrote: > Every pure mouse movement now acts like pressing several buttons at the > same time which cause parts of console text under cursor copied/pasted > randomly. > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > ugen2.2: at usbus2 > ums0: on usbus2 > ums0: 16 buttons and [XYZ] coordinates > uhid0: on usbus2 > > moused -d -i all -p /dev/ums0 > moused: proto params: f8 80 00 00 8 00 ff > /dev/ums0 usb sysmouse generic > > Please fix, it works with old usb just nice. Try reverting back to r189546. I had a similar problem with the mouse which I narrowed down to http://svn.freebsd.org/changeset/base/189547 If that works, it's not the USBII changes generally, it's this specific change related to HID devices. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 06:04:44 2009 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 243EF106566C; Tue, 10 Mar 2009 06:04:44 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 79C0A8FC15; Tue, 10 Mar 2009 06:04:43 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2A64grs040509; Tue, 10 Mar 2009 09:04:42 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236665082; bh=XcVqzt9nI1iFTiqJbkVgogZqJqKb3ErFXe3D4KQ5cOs=; l=1145; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=YyZOC3LZV9avqpqSg8OD5bevXymg9Ek9wzxYINLkG3keoK1w0ytfv56lTMTeA1Q0I dxRSGwkOBigylbCUnh1j2oPkEkLTdYJoKAddnbUKu3qwDeb5UCHGdRWT9CJiaQNctu YB8PCHZePVw1J+vrou+lJZQig5TTVT8oswu51WEE= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2A64g9f040508; Tue, 10 Mar 2009 09:04:42 +0300 (MSK) (envelope-from ache) Date: Tue, 10 Mar 2009 09:04:42 +0300 From: Andrey Chernov To: Doug Barton Message-ID: <20090310060441.GA40479@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Doug Barton , current@freebsd.org, usb@freebsd.org, Andrew Thompson References: <20090310045605.GA38857@nagual.pp.ru> <49B5F885.1050508@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49B5F885.1050508@FreeBSD.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: usb@freebsd.org, current@freebsd.org, Andrew Thompson Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 06:04:44 -0000 On Mon, Mar 09, 2009 at 10:20:05PM -0700, Doug Barton wrote: > Andrey Chernov wrote: > > Every pure mouse movement now acts like pressing several buttons at the > > same time which cause parts of console text under cursor copied/pasted > > randomly. > > > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > > > ugen2.2: at usbus2 > > ums0: on usbus2 > > ums0: 16 buttons and [XYZ] coordinates > > uhid0: on usbus2 > > > > moused -d -i all -p /dev/ums0 > > moused: proto params: f8 80 00 00 8 00 ff > > /dev/ums0 usb sysmouse generic > > > > Please fix, it works with old usb just nice. > > Try reverting back to r189546. I had a similar problem with the mouse > which I narrowed down to http://svn.freebsd.org/changeset/base/189547 > > If that works, it's not the USBII changes generally, it's this > specific change related to HID devices. Yes, reverting back to r189546 fix the problem. Something wrong done to HID in r189547 -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 06:25:12 2009 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 59AEC1065673; Tue, 10 Mar 2009 06:25:12 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from bsdevel.akherb.com (bsdevel.akherb.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id 339B88FC25; Tue, 10 Mar 2009 06:25:12 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.akherb.com (163-146-42-72.gci.net [72.42.146.163]) by bsdevel.akherb.com (Postfix) with ESMTP id 76E3F28E10E7; Tue, 10 Mar 2009 06:06:30 +0000 (UTC) From: Beech Rintoul Organization: FreeBSD To: freebsd-current@freebsd.org Date: Mon, 9 Mar 2009 22:06:29 -0800 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; ; ) References: <20090310045605.GA38857@nagual.pp.ru> In-Reply-To: <20090310045605.GA38857@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903092206.29775.beech@freebsd.org> Cc: usb@freebsd.org, Andrey Chernov , current@freebsd.org, Beech Rintoul Subject: Re: USB2 makes moused insane X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akbeech@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 06:25:13 -0000 On Monday 09 March 2009 20:56:06 Andrey Chernov wrote: > Every pure mouse movement now acts like pressing several buttons at the > same time which cause parts of console text under cursor copied/pasted > randomly. > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > ugen2.2: at usbus2 > ums0: on > usbus2 ums0: 16 buttons and [XYZ] coordinates > uhid0: on > usbus2 > > moused -d -i all -p /dev/ums0 > moused: proto params: f8 80 00 00 8 00 ff > /dev/ums0 usb sysmouse generic > > Please fix, it works with old usb just nice. I see the exact same thing with my logitech USB mouse. Reverting to a kernel from about a week ago fixes the problem. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 07:38:28 2009 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 A0E7D1065680; Tue, 10 Mar 2009 07:38:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swipnet.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id A93C18FC17; Tue, 10 Mar 2009 07:38:27 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=ycxm3nvIL8Z0083CVuMA:9 a=sMh60SaNiEgKka7Ctn8A:7 a=lMtwy6YUJeCOAJ3kMDbDRZ6t26EA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 817768733; Tue, 10 Mar 2009 08:38:25 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, akbeech@gmail.com Date: Tue, 10 Mar 2009 08:40:55 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org> In-Reply-To: <200903092206.29775.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903100840.57018.hselasky@c2i.net> Cc: usb@freebsd.org, Andrey Chernov , current@freebsd.org, Beech Rintoul Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 07:38:31 -0000 On Tuesday 10 March 2009, Beech Rintoul wrote: > On Monday 09 March 2009 20:56:06 Andrey Chernov wrote: > > Every pure mouse movement now acts like pressing several buttons at the > > same time which cause parts of console text under cursor copied/pasted > > randomly. > > > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > > > ugen2.2: at usbus2 > > ums0: on > > usbus2 ums0: 16 buttons and [XYZ] coordinates > > uhid0: on > > usbus2 > > > > moused -d -i all -p /dev/ums0 > > moused: proto params: f8 80 00 00 8 00 ff > > /dev/ums0 usb sysmouse generic > > > > Please fix, it works with old usb just nice. > > I see the exact same thing with my logitech USB mouse. Reverting to a > kernel from about a week ago fixes the problem. > > Beech Hi, Please dump the HID descriptors of mouse devices using USB config and send me the result and I will fix the issue. Replace 1 and 3 with the ugenX.Y for your device: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 Parameters after u and a must be correct. You can also dump interface #0: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100 And the other interfaces if you want. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 13:28:07 2009 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 76F931065674; Tue, 10 Mar 2009 13:28:07 +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 AA0AC8FC08; Tue, 10 Mar 2009 13:28:06 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=xAXwWAOefBw9poPy-FUA:9 a=DHzRYINBlG4tfk8XVAsGq0ICLZIA:4 a=2uiCRmbCp6AA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1212059251; Tue, 10 Mar 2009 14:28:04 +0100 From: Hans Petter Selasky To: Paul Wootton Date: Tue, 10 Mar 2009 14:30:34 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <200903101300.24502.paul@fletchermoorland.co.uk> In-Reply-To: <200903101300.24502.paul@fletchermoorland.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903101430.35346.hselasky@c2i.net> Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 13:28:08 -0000 Have you tried the following patch: http://perforce.freebsd.org/chv.cgi?CH=158916 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 14:18:59 2009 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 3D36C106566B for ; Tue, 10 Mar 2009 14:18:59 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id A3CBF8FC1A for ; Tue, 10 Mar 2009 14:18:58 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2AEIrGi050201; Tue, 10 Mar 2009 17:18:53 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236694734; bh=N1LyQfW8xFtU5sqfnmjO+7dXtaJX573T/YtqRJxHa3A=; l=307; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=aniEHfqub6O8FqvIsajV0LNBnj6GDmVGB06slfLlMtBC48RqzZF7fHT7ZiXBrvEKe 2BcDuHaUVWnVG14S3r7ymnC+eR0xEtNrHGn0xPQ71hsb0G2gIsTI7wUjhtpaqbyLgw 8cts5p6Gphk3nYciKTNW8vFWtscIcA7gEwgAkjdw= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2AEIqrg050199; Tue, 10 Mar 2009 17:18:52 +0300 (MSK) (envelope-from ache) Date: Tue, 10 Mar 2009 17:18:49 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090310141848.GA50012@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , Paul Wootton , usb@freebsd.org, freebsd-current@freebsd.org References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <200903101300.24502.paul@fletchermoorland.co.uk> <200903101430.35346.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903101430.35346.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: usb@freebsd.org, freebsd-current@freebsd.org, Paul Wootton Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 14:18:59 -0000 On Tue, Mar 10, 2009 at 02:30:34PM +0100, Hans Petter Selasky wrote: > Have you tried the following patch: > > http://perforce.freebsd.org/chv.cgi?CH=158916 It seems that this version already is in the head (so doesn't help) or I mess something in perforce interface :) -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 14:34:33 2009 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 2CFAF106566B for ; Tue, 10 Mar 2009 14:34:33 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id D54088FC20 for ; Tue, 10 Mar 2009 14:34:32 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1063055qwe.7 for ; Tue, 10 Mar 2009 07:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aRHzqsKG8gQwgMpGTaAL0+snm0SmHULJgQoNCkM7DOM=; b=wPBCAM4Ujo12Sw2ahV2pFPQavSTxVQ3zvmCHEjORd37OgbU0wNJf6vMON8Nn7X385t JdrzbnS4XSA+ksf1Pu00Q3dIkUKuaHgt+Nc5SNKxO1nto5ownHHsnUxWfr//yHOkRBDy mIc7XNH7k7Sb/muWofM50osFdyVukkRUFwySY= 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:content-transfer-encoding; b=I/YbBfRvCWbDglXLG7W5cB937rJexAOM+T4M3M9LMwwlT3Ms7sbTk+rZoPEeCfo7J5 O4GG3TO7dQ/jTT+WALdsGDZI2fD+iRTvBuJwEnJ9bPK0w5uJpL3rRxPkmXeRqh1QC2ar 8+bn2It4rKy87Edy+Pxrx8NSSMITktBUCwkcA= MIME-Version: 1.0 Received: by 10.220.45.205 with SMTP id g13mr2326317vcf.64.1236694120053; Tue, 10 Mar 2009 07:08:40 -0700 (PDT) In-Reply-To: <200903100840.57018.hselasky@c2i.net> References: <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org> <200903100840.57018.hselasky@c2i.net> Date: Tue, 10 Mar 2009 11:08:39 -0300 Message-ID: <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> From: Renato Botelho To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Beech Rintoul , Andrey Chernov , akbeech@gmail.com, usb@freebsd.org, freebsd-current@freebsd.org, current@freebsd.org Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 14:34:33 -0000 On Tue, Mar 10, 2009 at 4:40 AM, Hans Petter Selasky wrote: > On Tuesday 10 March 2009, Beech Rintoul wrote: >> On Monday 09 March 2009 20:56:06 Andrey Chernov wrote: >> > Every pure mouse movement now acts like pressing several buttons at the >> > same time which cause parts of console text under cursor copied/pasted >> > randomly. >> > >> > This is "Logitech G3" mouse, corresponding dmesg entries are: >> > >> > ugen2.2: at usbus2 >> > ums0: on >> > usbus2 ums0: 16 buttons and [XYZ] coordinates >> > uhid0: on >> > usbus2 >> > >> > moused -d -i all -p /dev/ums0 >> > moused: proto params: f8 80 00 00 8 00 ff >> > /dev/ums0 usb sysmouse generic >> > >> > Please fix, it works with old usb just nice. >> >> I see the exact same thing with my logitech USB mouse. Reverting to a >> kernel from about a week ago fixes the problem. >> >> Beech > > Hi, > > Please dump the HID descriptors of mouse devices using USB config and send me > the result and I will fix the issue. > > Replace 1 and 3 with the ugenX.Y for your device: > > usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 I'm having same problem here, output of usbconfig you ask is available here: http://freebsd.pastebin.com/f2831347 Thanks -- Renato Botelho From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 15:20:00 2009 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 56C8910656BE; Tue, 10 Mar 2009 15:19:59 +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 07C8E8FC1D; Tue, 10 Mar 2009 15:19:58 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=WIzA8VWxLzNumuo3VFQA:9 a=6c_FBc6Bh5P1nDUqMCXATNbpZXMA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1205804507; Tue, 10 Mar 2009 16:19:57 +0100 From: Hans Petter Selasky To: Paul Wootton , Andrew Thompson Date: Tue, 10 Mar 2009 16:22:26 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <200903101300.24502.paul@fletchermoorland.co.uk> In-Reply-To: <200903101300.24502.paul@fletchermoorland.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903101622.28277.hselasky@c2i.net> Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 15:20:01 -0000 On Tuesday 10 March 2009, Paul Wootton wrote: > Paul Wootton Hi Paul, After looking at the HID descriptor, the following patch should fix your mouse: http://perforce.freebsd.org/chv.cgi?CH=159001 Sorry for the inconvenience, but it was neccessary to clean up the HID parsing. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 15:23:28 2009 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 B1262106567A; Tue, 10 Mar 2009 15:23:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id E4BB78FC08; Tue, 10 Mar 2009 15:23:27 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=fGO4tVQLAAAA:8 a=6I5d2MoRAAAA:8 a=tG_LL-5FlI1POTL6h6cA:9 a=SLT2JlXONVG4Uou7bXDIitAvXrEA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 464086545; Tue, 10 Mar 2009 16:23:26 +0100 From: Hans Petter Selasky To: Renato Botelho Date: Tue, 10 Mar 2009 16:25:55 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> In-Reply-To: <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903101625.57647.hselasky@c2i.net> Cc: usb@freebsd.org, Andrey Chernov , freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 15:23:29 -0000 On Tuesday 10 March 2009, Renato Botelho wrote: > http://freebsd.pastebin.com/f2831347 Try this patch: http://perforce.freebsd.org/chv.cgi?CH=159001 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 15:28:25 2009 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 E8F931065689; Tue, 10 Mar 2009 15:28:25 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id A11A48FC24; Tue, 10 Mar 2009 15:28:25 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id F0535FF32; Wed, 11 Mar 2009 04:28:24 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pGnHP1hwcGaF; Wed, 11 Mar 2009 04:28:20 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 11 Mar 2009 04:28:20 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 05C7B1142F; Wed, 11 Mar 2009 04:28:20 +1300 (NZDT) Date: Tue, 10 Mar 2009 08:28:19 -0700 From: Andrew Thompson To: Hans Petter Selasky Message-ID: <20090310152819.GB63136@citylink.fud.org.nz> References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> <200903101625.57647.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903101625.57647.hselasky@c2i.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Doug Barton , Beech Rintoul , Andrey Chernov , akbeech@gmail.com, usb@freebsd.org, freebsd-current@freebsd.org, Renato Botelho Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 15:28:28 -0000 On Tue, Mar 10, 2009 at 04:25:55PM +0100, Hans Petter Selasky wrote: > On Tuesday 10 March 2009, Renato Botelho wrote: > > http://freebsd.pastebin.com/f2831347 > > Try this patch: > > http://perforce.freebsd.org/chv.cgi?CH=159001 A regular diff for those not familiar with the p4web interface. http://people.freebsd.org/~thompsa/usb_hid.diff Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 15:51:11 2009 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 F36AD1065686; Tue, 10 Mar 2009 15:51:10 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 855EC8FC13; Tue, 10 Mar 2009 15:51:10 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1087004qwe.7 for ; Tue, 10 Mar 2009 08:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0D7iIqT2+CBHu+TlILPBzgNQAm7l0oCR2g04hPv7iBo=; b=Ynzc18ZhYPx7ABhagO5DDESrBWt6nK5wZqwJc8OzvE5tO97lYIR1QIK1LgHbYUkysb ilTvWxmrAq4DaSOaXmfZes/UdgfvGi7ejS1+QFTqwJFTXGdPpjqGjzA4X8nc2X3RaLh3 HeZ/OZhfUNLJIH4ornbLZgtPZIucWdz55spiQ= 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:content-transfer-encoding; b=MXBNsqqWJYwCiSZGy2f5N1maHk6mDuutbj/YcNhSA2O2OfgpR2gfrL8tQL9wiRNFOc My9Nujc5O1vL/qJxeAgQblj5QzdDoeBJwS2ri66fZaklKHHiMiK12qYB4mBhc7MqiE+T 7VD/MBeHPGKZe9oMmOy1kFTcXlA7mtOZzgONk= MIME-Version: 1.0 Received: by 10.220.92.194 with SMTP id s2mr2534901vcm.10.1236700269387; Tue, 10 Mar 2009 08:51:09 -0700 (PDT) In-Reply-To: <200903101625.57647.hselasky@c2i.net> References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> <200903101625.57647.hselasky@c2i.net> Date: Tue, 10 Mar 2009 12:51:09 -0300 Message-ID: <747dc8f30903100851o7e8ba37dl71bcd59056571232@mail.gmail.com> From: Renato Botelho To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, Andrey Chernov , freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 15:51:12 -0000 On Tue, Mar 10, 2009 at 12:25 PM, Hans Petter Selasky wrote: > On Tuesday 10 March 2009, Renato Botelho wrote: >> http://freebsd.pastebin.com/f2831347 > > Try this patch: > > http://perforce.freebsd.org/chv.cgi?CH=159001 Worked fine. Thanks!!! -- Renato Botelho From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 18:23:12 2009 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 EA29E10656DA; Tue, 10 Mar 2009 18:23:12 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from bsdevel.akherb.com (bsdevel.akherb.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id C0C6D8FC0C; Tue, 10 Mar 2009 18:23:12 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.akherb.com (163-146-42-72.gci.net [72.42.146.163]) by bsdevel.akherb.com (Postfix) with ESMTP id EEBC528E10E7; Tue, 10 Mar 2009 18:23:11 +0000 (UTC) From: Beech Rintoul Organization: FreeBSD To: freebsd-current@freebsd.org, akbeech@gmail.com Date: Tue, 10 Mar 2009 10:23:09 -0800 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; ; ) References: <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org> In-Reply-To: <200903092206.29775.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903101023.10146.beech@freebsd.org> Cc: usb@freebsd.org, Andrey Chernov , current@freebsd.org Subject: Re: USB2 makes moused insane X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akbeech@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 18:23:14 -0000 On Monday 09 March 2009 22:06:29 Beech Rintoul wrote: > On Monday 09 March 2009 20:56:06 Andrey Chernov wrote: > > Every pure mouse movement now acts like pressing several buttons at the > > same time which cause parts of console text under cursor copied/pasted > > randomly. > > > > This is "Logitech G3" mouse, corresponding dmesg entries are: > > > > ugen2.2: at usbus2 > > ums0: on > > usbus2 ums0: 16 buttons and [XYZ] coordinates > > uhid0: on > > usbus2 > > > > moused -d -i all -p /dev/ums0 > > moused: proto params: f8 80 00 00 8 00 ff > > /dev/ums0 usb sysmouse generic > > > > Please fix, it works with old usb just nice. > > I see the exact same thing with my logitech USB mouse. Reverting to a > kernel from about a week ago fixes the problem. > > Beech That patch fixes my issues as well, thanks :-) Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-usb@FreeBSD.ORG Tue Mar 10 22:06:04 2009 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 4C3F91065674 for ; Tue, 10 Mar 2009 22:06:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id DBAFA8FC14 for ; Tue, 10 Mar 2009 22:06:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 31521 invoked by uid 399); 10 Mar 2009 22:05:58 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Mar 2009 22:05:58 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B6E445.3000302@FreeBSD.org> Date: Tue, 10 Mar 2009 15:05:57 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090310045605.GA38857@nagual.pp.ru> <200903092206.29775.beech@freebsd.org> <200903100840.57018.hselasky@c2i.net> In-Reply-To: <200903100840.57018.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB2 makes moused insane 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, 10 Mar 2009 22:06:04 -0000 Hans Petter Selasky wrote: > Please dump the HID descriptors of mouse devices using USB config and send me > the result and I will fix the issue. > > Replace 1 and 3 with the ugenX.Y for your device: > > usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 > > Parameters after u and a must be correct. You can also dump interface #0: > > usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100 I'm up to r189646 now (Andrew's latest this morning) and the mouse pointer works, but I've lost the wheel. I also tried the version in http://perforce.freebsd.org/chv.cgi?CH=159001, same result. You mentioned http://perforce.freebsd.org/chv.cgi?CH=158916 in another post, but those changes seem to be in the tree as of r189646. Here is the information you requested: ugen4.7: at usbus4 ums0: on usbus4 usbconfig -u 4 -a 7 do_request 0x81 0x06 0x2200 1 0x100 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x05 0x09 0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x95 0x03 0x75 0x01 0x81 0x02 0x95 0x01 0x75 0x05 0x81 0x03 0x05 0x01 0x09 0x01 0xa1 0x00 0x09 0x30 0x09 0x31 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x02 0x81 0x06 0xc0 0x09 0x38 0x95 0x01 0x81 0x06 0x09 0x3c 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0xb1 0x22 0x95 0x07 0xb1 0x01 0x05 0x08 0x09 0x4b 0x15 0x00 0x25 0x03 0x95 0x01 0x75 0x02 0x09 0x3c 0xa1 0x02 0x09 0x41 0x09 0x3d 0x09 0x3f 0x09 0x40 0x91 0x00 0xc0 0x75 0x06 0x91 0x01 0xc0><)%uu01%u8%u"K%uA=?@u> usbconfig -u 4 -a 7 do_request 0x81 0x06 0x2200 0 0x100 REQUEST = Can I get my wheel back please? :) Doug -- This .signature sanitized for your protection From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 01:04:19 2009 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 7EA7D106564A; Wed, 11 Mar 2009 01:04:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 52EE88FC19; Wed, 11 Mar 2009 01:04:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (thompsa@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2B14J0X055620; Wed, 11 Mar 2009 01:04:19 GMT (envelope-from thompsa@freefall.freebsd.org) Received: (from thompsa@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2B14JIq055616; Wed, 11 Mar 2009 01:04:19 GMT (envelope-from thompsa) Date: Wed, 11 Mar 2009 01:04:19 GMT Message-Id: <200903110104.n2B14JIq055616@freefall.freebsd.org> To: ports@logvinov.com, thompsa@FreeBSD.org, freebsd-usb@FreeBSD.org From: thompsa@FreeBSD.org Cc: Subject: Re: usb/125072: [uplcom] [patch] add Mobile Action MA-620 Infrared 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, 11 Mar 2009 01:04:19 -0000 Synopsis: [uplcom] [patch] add Mobile Action MA-620 Infrared Adapter State-Changed-From-To: open->closed State-Changed-By: thompsa State-Changed-When: Wed Mar 11 01:04:03 UTC 2009 State-Changed-Why: MFC complete, thanks for the patch. http://www.freebsd.org/cgi/query-pr.cgi?pr=125072 From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 01:15:43 2009 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 8B8E6106564A; Wed, 11 Mar 2009 01:15:43 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id D9DAA8FC1B; Wed, 11 Mar 2009 01:15:42 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2B1Feq7066076; Wed, 11 Mar 2009 04:15:40 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236734140; bh=MonIxVZzYGAuaxoI5KAXWRtmqF3hLxP0twn+ootH0ZQ=; l=1172; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=UymznlRdTNM3xAdpXnrL4xqsPlK13qccXPY4QSsmctte9yQJNQ0H0bf8BhCMea93T 6jEu3VC7h+9lKcmgCOJVzgzwZeqM6oubZjbHY7o5dtb+1FUsDiRye8k8VFodqaBnp9 tY8j5A9xtUXfw1ndRQyNKxPkgh0BhBhMAe+HBeGY= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2B1FdLQ066074; Wed, 11 Mar 2009 04:15:39 +0300 (MSK) (envelope-from ache) Date: Wed, 11 Mar 2009 04:15:37 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090311011536.GB65734@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <747dc8f30903100708w1e08c47akd445314cf19a8442@mail.gmail.com> <200903101625.57647.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903101625.57647.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 01:15:45 -0000 On Tue, Mar 10, 2009 at 04:25:55PM +0100, Hans Petter Selasky wrote: > On Tuesday 10 March 2009, Renato Botelho wrote: > > http://freebsd.pastebin.com/f2831347 > > Try this patch: > > http://perforce.freebsd.org/chv.cgi?CH=159001 Mine one still not fixed by that. Here is debugging info as asked: usbconfig ... 1 ... REQUEST = <0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0> usbconfig ... 0 ... REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0x06 0x00 0xff 0x09 0x40 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x02 0x81 0x02 0x05 0x01 0x09 0x38 0x95 0x01 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0x05 0x01 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 0x06 0x05 0x09 0x19 0x09 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0xc0 0xc0><)%u@%u88&u01)%u> -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 08:26:23 2009 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 0A53F106568A; Wed, 11 Mar 2009 08:26:23 +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 409A18FC25; Wed, 11 Mar 2009 08:26:21 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=PoaUNj12BcRagLiM544A:9 a=_GfyPHehFSL2rAHP5zy7er_QckwA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1207762593; Wed, 11 Mar 2009 09:26:20 +0100 From: Hans Petter Selasky To: Doug Barton Date: Wed, 11 Mar 2009 09:28:50 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <49B6E445.3000302@FreeBSD.org> In-Reply-To: <49B6E445.3000302@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903110928.51384.hselasky@c2i.net> Cc: usb@freebsd.org, freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 08:26:23 -0000 On Tuesday 10 March 2009, Doug Barton wrote: > Hans Petter Selasky wrote: > > Please dump the HID descriptors of mouse devices using USB config and > > send me the result and I will fix the issue. > > > > Replace 1 and 3 with the ugenX.Y for your device: > > > > usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 > > > > Parameters after u and a must be correct. You can also dump interface #0: > > > > usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100 > > > Can I get my wheel back please? :) > After looking at the HID descriptors I have made the following patch: http://perforce.freebsd.org/chv.cgi?CH=159053 USB wheel should work again! --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 08:32:24 2009 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 B80AF106568E; Wed, 11 Mar 2009 08:32:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id E584A8FC16; Wed, 11 Mar 2009 08:32:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=RbB2bG2eyXgDzB2S_PEA:9 a=8Q0qYCTOaECmKVJ_oDRFP0b-Ul8A:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 464426002; Wed, 11 Mar 2009 09:32:21 +0100 From: Hans Petter Selasky To: Andrey Chernov Date: Wed, 11 Mar 2009 09:34:51 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> In-Reply-To: <20090311011536.GB65734@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903110934.53005.hselasky@c2i.net> Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 08:32:25 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > 0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 > 0x08 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0x06 0x00 0xff 0x09 > 0x40 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x02 0x81 0x02 0x05 0x01 0x09 0x38 > 0x95 0x01 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0x05 0x01 > 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 > 0x06 0x05 0x09 0x19 0x09 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 > 0x81 0x02 0xc0 0xc0 Hi, This patch should also fix your mouse. Please try and report back! http://perforce.freebsd.org/chv.cgi?CH=159053 Thanks for reporting. Now we have some nice reference HID descriptors on the e-mail lists to run tests against for the future! --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 18:33:55 2009 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 3EA411065672 for ; Wed, 11 Mar 2009 18:33:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id CCC3D8FC18 for ; Wed, 11 Mar 2009 18:33:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 17082 invoked by uid 399); 11 Mar 2009 18:33:51 -0000 Received: from localhost (HELO ?192.168.0.24?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Mar 2009 18:33:51 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B8040E.9090604@FreeBSD.org> Date: Wed, 11 Mar 2009 11:33:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090310045605.GA38857@nagual.pp.ru> <200903100840.57018.hselasky@c2i.net> <49B6E445.3000302@FreeBSD.org> <200903110928.51384.hselasky@c2i.net> In-Reply-To: <200903110928.51384.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 18:33:55 -0000 Hans Petter Selasky wrote: > After looking at the HID descriptors I have made the following patch: > > http://perforce.freebsd.org/chv.cgi?CH=159053 > > USB wheel should work again! Thanks for the quick response. One question, how do I generate a diff I can apply to my sources from the perforce web thingy? Thanks, Doug From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 19:44:19 2009 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 188F6106566C; Wed, 11 Mar 2009 19:44:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7F68FC08; Wed, 11 Mar 2009 19:44:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=KinevOXAuYzijgT_nnEA:9 a=HQKCovSvVu6m2PEL6-aeUJauywwA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1211582283; Wed, 11 Mar 2009 20:44:16 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 20:46:44 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903110928.51384.hselasky@c2i.net> <49B8040E.9090604@FreeBSD.org> In-Reply-To: <49B8040E.9090604@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112046.45540.hselasky@c2i.net> Cc: usb@freebsd.org, Doug Barton , Andrew Thompson Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 19:44:19 -0000 On Wednesday 11 March 2009, Doug Barton wrote: > Hans Petter Selasky wrote: > > After looking at the HID descriptors I have made the following patch: > > > > http://perforce.freebsd.org/chv.cgi?CH=159053 > > > > USB wheel should work again! > > Thanks for the quick response. One question, how do I generate a diff > I can apply to my sources from the perforce web thingy? > Hi, There is a link where you can download the complete file. Then you have to diff on your box. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 20:04:00 2009 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 1CC3E106564A for ; Wed, 11 Mar 2009 20:04:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id A1C828FC17 for ; Wed, 11 Mar 2009 20:03:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 27142 invoked by uid 399); 11 Mar 2009 20:03:55 -0000 Received: from localhost (HELO ?192.168.0.24?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Mar 2009 20:03:55 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B81923.1050204@FreeBSD.org> Date: Wed, 11 Mar 2009 13:03:47 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090310045605.GA38857@nagual.pp.ru> <200903110928.51384.hselasky@c2i.net> <49B8040E.9090604@FreeBSD.org> <200903112046.45540.hselasky@c2i.net> In-Reply-To: <200903112046.45540.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-current@freebsd.org, Andrew Thompson Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 20:04:00 -0000 Hans Petter Selasky wrote: > On Wednesday 11 March 2009, Doug Barton wrote: >> Hans Petter Selasky wrote: >>> After looking at the HID descriptors I have made the following patch: >>> >>> http://perforce.freebsd.org/chv.cgi?CH=159053 >>> >>> USB wheel should work again! >> Thanks for the quick response. One question, how do I generate a diff >> I can apply to my sources from the perforce web thingy? >> > > Hi, > > There is a link where you can download the complete file. > > Then you have to diff on your box. D'oh, I should have thought of that. Thanks. :) From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 20:59:00 2009 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 667CC106566B; Wed, 11 Mar 2009 20:59:00 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id B721C8FC0A; Wed, 11 Mar 2009 20:58:59 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2BKwkaq008866; Wed, 11 Mar 2009 23:58:46 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236805126; bh=R1xUpBg/xi2khc3fyDVSYl82X5oiBOYr7RT5fRQ62e8=; l=287; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=Yur4W7JAdJy/Hi9//xutxFSxAJBQzyA/baCVPdeh2zK2D75bYPXaJITxG2nlcExVp ZZcxHCNo1/r3E5ZOpK7t2l4AxPVvzpt55rgoJlRwfqzXFz2mY4z6CgidquOiaCVMNQ fVOVjd8JOzWl6Nq2q7m3eu+IuNvCPq5k5IOxSpU8= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2BKwjgN008865; Wed, 11 Mar 2009 23:58:45 +0300 (MSK) (envelope-from ache) Date: Wed, 11 Mar 2009 23:58:44 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090311205843.GA6101@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> <200903110934.53005.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903110934.53005.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 20:59:01 -0000 On Wed, Mar 11, 2009 at 09:34:51AM +0100, Hans Petter Selasky wrote: > Hi, > > This patch should also fix your mouse. Please try and report back! > > http://perforce.freebsd.org/chv.cgi?CH=159053 Just tried. It seems nothing is changed for my mice. -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:04:20 2009 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 11A5110656D2; Wed, 11 Mar 2009 21:04:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.tele2.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 45F978FC0A; Wed, 11 Mar 2009 21:04:18 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=yOqS4PQo9l7BqvPE0scA:9 a=QbTozbjkNxpD6VOjAMtPdv5WZ2UA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 818752271; Wed, 11 Mar 2009 22:04:17 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 22:06:44 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903110934.53005.hselasky@c2i.net> <20090311205843.GA6101@nagual.pp.ru> In-Reply-To: <20090311205843.GA6101@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112206.47108.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:04:21 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > On Wed, Mar 11, 2009 at 09:34:51AM +0100, Hans Petter Selasky wrote: > > Hi, > > > > This patch should also fix your mouse. Please try and report back! > > > > http://perforce.freebsd.org/chv.cgi?CH=159053 > > Just tried. It seems nothing is changed for my mice. Are you sure that you re-loaded the USB module? Send debugging when hw.usb2.ums.debug=15 and you plug and move mouse. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:06:20 2009 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 83CEF106580F; Wed, 11 Mar 2009 21:06:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swip.net [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id B5AE38FC12; Wed, 11 Mar 2009 21:06:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=x3RBLHoFJBi26WRG_VsA:9 a=49BHu9L9StEWt1YQXhgA:7 a=Eqp3EwxUoqLW-ysqETTUCOJNAfQA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 461970775; Wed, 11 Mar 2009 22:06:17 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903110934.53005.hselasky@c2i.net> <20090311205843.GA6101@nagual.pp.ru> In-Reply-To: <20090311205843.GA6101@nagual.pp.ru> MIME-Version: 1.0 Content-Disposition: inline Date: Wed, 11 Mar 2009 22:08:46 +0100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200903112208.49142.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:06:23 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > On Wed, Mar 11, 2009 at 09:34:51AM +0100, Hans Petter Selasky wrote: > > Hi, > > > > This patch should also fix your mouse. Please try and report back! > > > > http://perforce.freebsd.org/chv.cgi?CH=159053 > > Just tried. It seems nothing is changed for my mice. This patch also depends on some previous patches, which have not been committed yet, so maybe the best is to just grab the latest usb_hid.c file from P4 and compile that. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:30:49 2009 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 995881065785; Wed, 11 Mar 2009 21:30:49 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id E9C6D8FC1A; Wed, 11 Mar 2009 21:30:48 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2BLUkXm050682; Thu, 12 Mar 2009 00:30:46 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236807046; bh=ARvwvqa7ZXVzkhQNadOO8dHvbUr+7D4RvPq6CtM4Y3w=; l=2298; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=jj6CvHtmZQM4/KSFYaOqrDhdoaGw/Ag/7U2NnGhP/KKvxmt/VvsVuu1cqVmHZv9Cb tI7QkN6H2ypNMUKKxjhfKvnJ7b6hR2dkK2TcB/cgEI2thjKVvmx+P5hTbfhHj8wxPQ 2H9zy9yKzGIOEB5iqtmGo3AuABaraFoy1hTuiG8E= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2BLUkd5050681; Thu, 12 Mar 2009 00:30:46 +0300 (MSK) (envelope-from ache) Date: Thu, 12 Mar 2009 00:30:45 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090311213045.GB47787@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , freebsd-current@freebsd.org, Renato Botelho , usb@freebsd.org, Beech Rintoul , akbeech@gmail.com References: <20090310045605.GA38857@nagual.pp.ru> <200903110934.53005.hselasky@c2i.net> <20090311205843.GA6101@nagual.pp.ru> <200903112206.47108.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903112206.47108.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:30:51 -0000 On Wed, Mar 11, 2009 at 10:06:44PM +0100, Hans Petter Selasky wrote: > > Are you sure that you re-loaded the USB module? It is in the kernel. I use whole file from p4. > Send debugging when hw.usb2.ums.debug=15 and you plug and move mouse. As you can see, some lines have ff in the buttons while no buttons are pressed. The mice itself have 5 buttons (including wheel click). ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 00 ff 00 00 00 00 ff ums_intr_callback:255: x:0 y:256 z:1 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 e9 f9 00 00 e9 ff f9 ums_intr_callback:255: x:-5888 y:1537 z:7 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 f0 fe 00 00 f0 ff fe ums_intr_callback:255: x:-4096 y:257 z:2 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 fb 00 00 00 fb ff 00 ums_intr_callback:255: x:-1280 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 0e fc 00 00 0e 00 fc ums_intr_callback:255: x:3584 y:1024 z:4 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:45:15 2009 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 341551065675; Wed, 11 Mar 2009 21:45:15 +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 387DF8FC16; Wed, 11 Mar 2009 21:45:13 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=whLWPQiJkCWc9oRHttQA:9 a=7NQU7dZAtWvX9r20tl6I4sEplo4A:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1209186914; Wed, 11 Mar 2009 22:45:12 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 22:47:41 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903112206.47108.hselasky@c2i.net> <20090311213045.GB47787@nagual.pp.ru> In-Reply-To: <20090311213045.GB47787@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112247.42768.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:45:16 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > On Wed, Mar 11, 2009 at 10:06:44PM +0100, Hans Petter Selasky wrote: > > Are you sure that you re-loaded the USB module? > > It is in the kernel. I use whole file from p4. > > > Send debugging when hw.usb2.ums.debug=15 and you plug and move mouse. > Can you show me the dmesg right after you plug the device, that prints where the X,Y,Z and buttons are located. I think we are seeing a different problem where we have a zero-valued report ID. And also. Re-dump the HID descriptor if this a different mouse than before. --HPS > As you can see, some lines have ff in the buttons while no buttons are > pressed. The mice itself have 5 buttons (including wheel click). > > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 00 ff 00 00 00 00 ff > ums_intr_callback:255: x:0 y:256 z:1 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 e9 f9 00 00 e9 ff f9 > ums_intr_callback:255: x:-5888 y:1537 z:7 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 f0 fe 00 00 f0 ff fe > ums_intr_callback:255: x:-4096 y:257 z:2 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 fb 00 00 00 fb ff 00 > ums_intr_callback:255: x:-1280 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 > ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 0e fc 00 00 0e 00 fc > ums_intr_callback:255: x:3584 y:1024 z:4 t:0 w:0 buttons:0x0000ff00 > ums_intr_callback:181: sc=0xc517ec00 actlen=10 > ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 > ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:54:29 2009 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 62F7F1065676; Wed, 11 Mar 2009 21:54:29 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id B02148FC0A; Wed, 11 Mar 2009 21:54:28 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2BLsQTh051167; Thu, 12 Mar 2009 00:54:26 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236808466; bh=+dUYDakeF/wlzrBPi2u/ZLoPVMrclteXrrOQVJsuqio=; l=805; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=Eb1gOzbr5fNnDshfHNuLj5A9VWmgDf2aIZSxB5jUAEsKYYy7a4BLW09GsLz3eYRdD zmInvRhmM/K4vFhxAtYtO5DwTCCLDbilNUZ/bVcptoJrfuHn17r8Ig3V98DJ4yEiom peRlFPr8a+OPJqQlyzxOkRNP84aYw9URcKBqw1Fg= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2BLsPrE051166; Thu, 12 Mar 2009 00:54:25 +0300 (MSK) (envelope-from ache) Date: Thu, 12 Mar 2009 00:54:23 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090311215423.GA51085@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , freebsd-current@freebsd.org, Renato Botelho , usb@freebsd.org, Beech Rintoul , akbeech@gmail.com References: <20090310045605.GA38857@nagual.pp.ru> <200903112206.47108.hselasky@c2i.net> <20090311213045.GB47787@nagual.pp.ru> <200903112247.42768.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903112247.42768.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:54:30 -0000 On Wed, Mar 11, 2009 at 10:47:41PM +0100, Hans Petter Selasky wrote: > Can you show me the dmesg right after you plug the device, that prints where > the X,Y,Z and buttons are located. I think we are seeing a different problem > where we have a zero-valued report ID. Mouse is always plugged in, here is dmesg from my earlier message: ugen2.2: at usbus2 ums0: on usbus2 ums0: 16 buttons and [XYZ] coordinates uhid0: on usbus2 Or you need dmesg with mouse debug enabled? > And also. Re-dump the HID descriptor if this a different mouse than before. This is the same mouse. HID descriptors dumped are the same too. -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 21:57:20 2009 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 EAC6C106568B; Wed, 11 Mar 2009 21:57:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 29E488FC2A; Wed, 11 Mar 2009 21:57:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=HGYVYigTllPhOnafMDkA:9 a=AEoGnzaXACgYwkLGImYA:7 a=mfcodFlZXYhojx9UhtX9hb_986QA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1036093613; Wed, 11 Mar 2009 22:57:18 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 22:59:46 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903112247.42768.hselasky@c2i.net> <20090311215423.GA51085@nagual.pp.ru> In-Reply-To: <20090311215423.GA51085@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112259.48298.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 21:57:22 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > On Wed, Mar 11, 2009 at 10:47:41PM +0100, Hans Petter Selasky wrote: > > Can you show me the dmesg right after you plug the device, that prints > > where the X,Y,Z and buttons are located. I think we are seeing a > > different problem where we have a zero-valued report ID. > > Mouse is always plugged in, here is dmesg from my earlier message: > > ugen2.2: at usbus2 > ums0: on > usbus2 > ums0: 16 buttons and [XYZ] coordinates > uhid0: on > usbus2 > > Or you need dmesg with mouse debug enabled? Yes. > > > And also. Re-dump the HID descriptor if this a different mouse than > > before. > > This is the same mouse. HID descriptors dumped are the same too. From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 22:23:17 2009 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 6E02C106566B; Wed, 11 Mar 2009 22:23:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id A1E9C8FC08; Wed, 11 Mar 2009 22:23:16 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=YgvUXUHzidZui9uhOJEA:9 a=j45Zk44-FpP3_MHZZlC2zWxTtfYA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1035912230; Wed, 11 Mar 2009 23:23:14 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 11 Mar 2009 23:25:42 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> In-Reply-To: <20090311011536.GB65734@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903112325.44983.hselasky@c2i.net> Cc: Renato Botelho , Andrey Chernov , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 22:23:17 -0000 On Wednesday 11 March 2009, Andrey Chernov wrote: > Andrey Chernov Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem should be solved now! http://perforce.freebsd.org/chv.cgi?CH=159091 --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 11 22:36:12 2009 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 8E9131065676; Wed, 11 Mar 2009 22:36:12 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id DE6DC8FC18; Wed, 11 Mar 2009 22:36:11 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id n2BMa9YZ051869; Thu, 12 Mar 2009 01:36:09 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1236810969; bh=rDqvN6AXrvEMzVHQXMxA2/ye/V2nlQSugjg866yx1So=; l=348; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=k28p9JTTzD2ZC9iLmI3D2NW/2FOHn55zBdWUtyibn7ojyd3vKIz6jg94CmTAv5xA2 gok2h3bJf/TJhtzdcVBpap8D3GaOeV3KVbw2tZ486ZNRAVuLJLYePMDVCepMyGCicM QPJtX7BxRORb1awOE96nlz81qE/uJ7agP8LWHZA8= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id n2BMa9cX051868; Thu, 12 Mar 2009 01:36:09 +0300 (MSK) (envelope-from ache) Date: Thu, 12 Mar 2009 01:36:08 +0300 From: Andrey Chernov To: Hans Petter Selasky Message-ID: <20090311223607.GA51845@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hans Petter Selasky , freebsd-current@freebsd.org, Renato Botelho , akbeech@gmail.com, Beech Rintoul , usb@freebsd.org References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> <200903112325.44983.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903112325.44983.hselasky@c2i.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Renato Botelho , usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 11 Mar 2009 22:36:13 -0000 On Wed, Mar 11, 2009 at 11:25:42PM +0100, Hans Petter Selasky wrote: > On Wednesday 11 March 2009, Andrey Chernov wrote: > > Andrey Chernov > > Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem should > be solved now! > > http://perforce.freebsd.org/chv.cgi?CH=159091 Thanx, fixed now! -- http://ache.pp.ru/ From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 06:00:01 2009 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 68FC7106566B for ; Thu, 12 Mar 2009 06:00:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id EFB608FC0A for ; Thu, 12 Mar 2009 06:00:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 28603 invoked by uid 399); 12 Mar 2009 06:00:00 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 12 Mar 2009 06:00:00 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Wed, 11 Mar 2009 22:59:58 -0700 (PDT) From: Doug Barton To: Hans Petter Selasky In-Reply-To: <200903112325.44983.hselasky@c2i.net> Message-ID: References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> <200903112325.44983.hselasky@c2i.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB2 makes moused insane 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, 12 Mar 2009 06:00:02 -0000 On Wed, 11 Mar 2009, Hans Petter Selasky wrote: > On Wednesday 11 March 2009, Andrey Chernov wrote: >> Andrey Chernov > > Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem should > be solved now! > > http://perforce.freebsd.org/chv.cgi?CH=159091 woo hoo! Well done, it's all fine now. Doug -- This .signature sanitized for your protection From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 13:05:24 2009 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 29F5F1065670; Thu, 12 Mar 2009 13:05:24 +0000 (UTC) (envelope-from mlistsw@corp.iskratelecom.ru) Received: from corp.iskratelecom.ru (corp.iskratelecom.ru [82.199.96.130]) by mx1.freebsd.org (Postfix) with ESMTP id D54D18FC0A; Thu, 12 Mar 2009 13:05:23 +0000 (UTC) (envelope-from mlistsw@corp.iskratelecom.ru) Received: from 29-97-199-82.iskratelecom.ru ([82.199.97.29]) by corp.iskratelecom.ru with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lhjww-0007Bx-8O; Thu, 12 Mar 2009 15:23:46 +0300 Message-ID: <49B8FECF.60305@corp.iskratelecom.ru> Date: Thu, 12 Mar 2009 15:23:43 +0300 From: Andrey Urtaykin Organization: ISKRATELECOM JSC User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org References: <7280394.541236782303889.JavaMail.HALO$@halo> <10423240.561236782522127.JavaMail.HALO$@halo> <20090311155243.57fdcb25.freebsd@edvax.de> In-Reply-To: <20090311155243.57fdcb25.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: USB KVM Raritan DKX2-232 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mlistsw@corp.iskratelecom.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 13:05:24 -0000 Hi all This KVM (Raritan DKX2-232) uses only one USB connector for both mouse and keyboard. I have several servers with different hardware and FreeBSD from 6.2 to 7.1, and no one works properly the problem is: input doesn`t work at all OR/AND mouse moves interpretend as keyboard pressings OR/AND input with like CTRL pressed, (for example if you hit "T" KVM sending SIGUSR to terminal). Tryed all possible bios options(Legacy USB, Fast USB, etc) . BUT! IF i connect PS/2 keyboard to RUNNING server, and pressing several key on it - miracle happens and KVM works properly for sometime... Server info(this server interpretend mouse moves as text and keyboard pressings as signals): dmesg: uhci0: port 0x4040-0x405f irq 16 at device 29.0 on pci0 ukbd0: on uhub1 kbd2 at ukbd0 usbdevs -v: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, RU-CIM(0x1005), RU(0x14dd), rev 0.00 <<-- this is KVM uname -a: FreeBSD xx 7.1-RELEASE FreeBSD 7.1-RELEASE #3: Fri Jan 2 13:30:10 MSK 2009 fxp@xx:/usr/obj/usr/src/sys/GENERIC i386 kbdcontrol -k /dev/ukbd0 < /dev/console kbdcontrol: cannot open /dev/ukbd0: Device busy kldload kbdmux kldload: can't load kbdmux: File exists From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 14:37:06 2009 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 446CA106566C; Thu, 12 Mar 2009 14:37:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 7786C8FC08; Thu, 12 Mar 2009 14:37:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=MabWjhkdUlwfRxoF43cA:9 a=qSpDaiU_RpoLh2v7hr8A:7 a=gZIWQ0FZiivVLOZb1UCkpYAKlD0A:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1036488362; Thu, 12 Mar 2009 15:37:03 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 12 Mar 2009 15:39:34 +0100 User-Agent: KMail/1.9.7 References: <20090310045605.GA38857@nagual.pp.ru> <200903112325.44983.hselasky@c2i.net> <49B91BC3.2010205@zedat.fu-berlin.de> In-Reply-To: <49B91BC3.2010205@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903121539.35133.hselasky@c2i.net> Cc: usb@freebsd.org, "O. Hartmann" , Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 12 Mar 2009 14:37:06 -0000 On Thursday 12 March 2009, O. Hartmann wrote: > Hans Petter Selasky wrote: > > On Wednesday 11 March 2009, Andrey Chernov wrote: > >> Andrey Chernov > > > > Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem > > should be solved now! > > > > http://perforce.freebsd.org/chv.cgi?CH=159091 > > > > --HPS > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" > > When will the patches be merged into the source tree? I have several > boxes rendered useless at this very moment due to jumping mice cursors on > X. The patches are in -current as of today. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 14:51:49 2009 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 EBF2E1065673; Thu, 12 Mar 2009 14:51:49 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id A4C1F8FC18; Thu, 12 Mar 2009 14:51:49 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Lhlu6-0003Jt-Oy>; Thu, 12 Mar 2009 15:28:58 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Lhlu6-0002E3-La>; Thu, 12 Mar 2009 15:28:58 +0100 Message-ID: <49B91BC3.2010205@zedat.fu-berlin.de> Date: Thu, 12 Mar 2009 14:27:15 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.19 (X11/20090311) MIME-Version: 1.0 References: <20090310045605.GA38857@nagual.pp.ru> <200903101625.57647.hselasky@c2i.net> <20090311011536.GB65734@nagual.pp.ru> <200903112325.44983.hselasky@c2i.net> In-Reply-To: <200903112325.44983.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: usb@freebsd.org, freebsd-current@freebsd.org, Beech Rintoul , akbeech@gmail.com Subject: Re: USB2 makes moused insane 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, 12 Mar 2009 14:51:50 -0000 Hans Petter Selasky wrote: > On Wednesday 11 March 2009, Andrey Chernov wrote: >> Andrey Chernov > > Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem should > be solved now! > > http://perforce.freebsd.org/chv.cgi?CH=159091 > > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" When will the patches be merged into the source tree? I have several boxes rendered useless at this very moment due to jumping mice cursors on X. Regards, Oliver From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 17:11:32 2009 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 844B4106566B for ; Thu, 12 Mar 2009 17:11:32 +0000 (UTC) (envelope-from lintzuyau@gmail.com) Received: from mail-qy0-f128.google.com (mail-qy0-f128.google.com [209.85.221.128]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4E18FC21 for ; Thu, 12 Mar 2009 17:11:32 +0000 (UTC) (envelope-from lintzuyau@gmail.com) Received: by qyk34 with SMTP id 34so2133991qyk.3 for ; Thu, 12 Mar 2009 10:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cp6uoLaYeWfxb7nzpppGOrVch40XB5bkyoa4hnbgbiQ=; b=i7AbC/B4Dl8pn5/G99Mz1qkHbnhKvHoI2bFUChzrDmggJNjZwH6YeiwZD+Z1JHT14V EgT4uEvbB0M5ruB8/TTUX5D1UkZ6GPmx9rpBEFYc7f9DWy6MTOL/k7Elytyp3/tkUp+K IcAs2dTqXE7bjDH7qiLXYCPrOg8aym8f5NeTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fOUx4yJbnVhk6Qw/AGB5L9hlCQUGdYl/JWAtJEG2ULUwBY7Yjl6/rQxUjDUExzK6s4 h5ZGkE3xCTM8y9HjepyqZuSMCpvM/20S4v1Hg+wrDd2aDdZHxG4c0JbLl47Kr0hJ/xLl +eZd5ZbtfjbwF0k3s5/DETphc9Vgh6/RDZfkg= MIME-Version: 1.0 Received: by 10.231.12.138 with SMTP id x10mr51189ibx.16.1236876504090; Thu, 12 Mar 2009 09:48:24 -0700 (PDT) Date: Fri, 13 Mar 2009 00:48:24 +0800 Message-ID: From: tzu-yau Lin To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to add a USB vender in sys/dev/usb/usbdevs 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, 12 Mar 2009 17:11:32 -0000 Dear all: I bought a usb network device. according to its spec, it claims it is Davicom 9601 usb nic. but when I plug it in my freebsd 7.1-Release box, it shows as following: ugen0: on uhub4 I did the instruction from http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-04/msg00532.html Here are the modifications /usr/src/sys/dev/usb/if_udav.c, line 263 /* DAVICOM DM9601 Generic */ {{ USB_VENDOR_DAVICOM, USB_PRODUCT_DAVICOM_DM9601 }, 0}, As for /usr/src/sys/dev/usb/usbdevs add line 1080 /* Davicom Semiconductor products */ product DAVICOM DM9601 0x9601 DM9601 USB NIC I disable original DAVICOM data at line 158 /*vendor DAVICOM 0x04a6 Davicom*/ And add new definition at line 537 vendor DAVICOM 0x0fe6 Davicom I re-bulid my kernel and reload if_udav, but nothing happened. Most confusing me is why dmesg messages still shows "0x0fe6" not Davicom. Did I miss something? Thanks for your help!! From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 17:50:04 2009 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 2E5E71065672 for ; Thu, 12 Mar 2009 17:50:04 +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 01BCB8FC18 for ; Thu, 12 Mar 2009 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2CHo3Cq083308 for ; Thu, 12 Mar 2009 17:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2CHo3a1083301; Thu, 12 Mar 2009 17:50:03 GMT (envelope-from gnats) Date: Thu, 12 Mar 2009 17:50:03 GMT Message-Id: <200903121750.n2CHo3a1083301@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: John Hein Cc: Subject: Re: usb/122539: kernel panic: ohci_abort_xfer: not in process context X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Hein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 17:50:04 -0000 The following reply was made to PR usb/122539; it has been noted by GNATS. From: John Hein To: bug-followup@FreeBSD.org, artur.zabronski@gmail.com Cc: usb@FreeBSD.org Subject: Re: usb/122539: kernel panic: ohci_abort_xfer: not in process context Date: Thu, 12 Mar 2009 11:44:21 -0600 Note: this is not specific to ohci or the device originally used in this PR. The problem is more generic. This happens for us when hardware flow control is turned on when using a usb serial device (specifically an ftdi based one). Eventually if hardware flow has to kick in and RTS is to be set, uftdi_set() is called in uftdi.c (old usb stack). In uftdi_set() there is this... (void)usbd_do_request(ucom->sc_udev, &req, NULL); Since we're calling this from the interrupt context, the response to the request times out (because the reply is not processed), the ohci_abort_xfer which performas the panic because we're not in the process context. Here is a patch that uses the usbd_do_request_async() call (instead of the synchronous version) to assert flow control when the input buffer reaches the highwater mark (which is detected from within interupt context). (patch against today's version of uftdi.c in the old usb stack) Index: sys/legacy/dev/usb/uftdi.c =================================================================== RCS file: /base/FreeBSD-CVS/src/sys/legacy/dev/usb/uftdi.c,v retrieving revision 1.1 diff -u -p -r1.1 uftdi.c --- uftdi.c 23 Feb 2009 18:16:17 -0000 1.1 +++ uftdi.c 12 Mar 2009 17:34:27 -0000 @@ -557,7 +557,7 @@ uftdi_set(void *vsc, int portno, int reg DPRINTFN(2,("uftdi_set: reqtype=0x%02x req=0x%02x value=0x%04x " "index=0x%04x len=%d\n", req.bmRequestType, req.bRequest, UGETW(req.wValue), UGETW(req.wIndex), UGETW(req.wLength))); - (void)usbd_do_request(ucom->sc_udev, &req, NULL); + (void)usbd_do_request_async(ucom->sc_udev, &req, NULL); } static int This is not specific to FTDI devices. It would probably be better to handle this in the usb serial layer. Whatever better fix someone comes up with should be merged to 7.x if possible (and 6). I have not yet looked to see if the new usb stack has the same problem. Please let me know if someone does this analysis. From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 17:55:03 2009 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 932311065798 for ; Thu, 12 Mar 2009 17:55:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 29AF98FC26 for ; Thu, 12 Mar 2009 17:55:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=4Jin5yph2ocA:10 a=h2QmIYifjOUA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=KIcx_vOOQFUE2ObJH1kA:9 a=aDQEYfR1E_83DMAg9dtTCBDb01sA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1106492321; Thu, 12 Mar 2009 18:55:01 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 12 Mar 2009 18:57:31 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903121857.32241.hselasky@c2i.net> Cc: tzu-yau Lin Subject: Re: How to add a USB vender in sys/dev/usb/usbdevs 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, 12 Mar 2009 17:55:04 -0000 On Thursday 12 March 2009, tzu-yau Lin wrote: > vendor DAVICOM 0x0fe6 Davicom > > I re-bulid my kernel and reload if_udav, In FreeBSD-7 you need to load if_udav before the kernel is loaded, else ugen will grab the device. Try this: echo "if_udav_load=YES" >> /boot/loader.conf cat /boot/loader.conf --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 18:20:05 2009 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 CBE48106566B for ; Thu, 12 Mar 2009 18:20:05 +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 BA0008FC17 for ; Thu, 12 Mar 2009 18:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2CIK55Q021536 for ; Thu, 12 Mar 2009 18:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2CIK5qL021535; Thu, 12 Mar 2009 18:20:05 GMT (envelope-from gnats) Date: Thu, 12 Mar 2009 18:20:05 GMT Message-Id: <200903121820.n2CIK5qL021535@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: John Hein Cc: Subject: Re: usb/122539: kernel panic: ohci_abort_xfer: not in process context X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Hein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 18:20:06 -0000 The following reply was made to PR usb/122539; it has been noted by GNATS. From: John Hein To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/122539: kernel panic: ohci_abort_xfer: not in process context Date: Thu, 12 Mar 2009 12:14:42 -0600 The code to pull the patch out of the text of the last submission for the web page was too agressive and pulled some text into the patch blurb. So it's not missed, here is that last bit of text separately... ====================== This is not specific to FTDI devices. It would probably be better to handle this in the usb serial layer. Whatever better fix someone comes up with should be merged to 7.x if possible (and 6). I have not yet looked to see if the new usb stack has the same problem. Please let me know if someone does this analysis. ====================== From owner-freebsd-usb@FreeBSD.ORG Thu Mar 12 18:55:07 2009 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 69804106566B for ; Thu, 12 Mar 2009 18:55:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id EAFE78FC19 for ; Thu, 12 Mar 2009 18:55:06 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id n2CIAIrg003290 for ; Thu, 12 Mar 2009 12:10:20 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id n2CHiLvl022921; Thu, 12 Mar 2009 11:44:21 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id n2CHiLpN022918; Thu, 12 Mar 2009 11:44:21 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18873.18933.723897.835863@gromit.timing.com> Date: Thu, 12 Mar 2009 11:44:21 -0600 From: John Hein To: bug-followup@freebsd.org, artur.zabronski@gmail.com X-Mailer: VM 7.19 under Emacs 22.3.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: usb@freebsd.org Subject: Re: usb/122539: kernel panic: ohci_abort_xfer: not in process context 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, 12 Mar 2009 18:55:07 -0000 Note: this is not specific to ohci or the device originally used in this PR. The problem is more generic. This happens for us when hardware flow control is turned on when using a usb serial device (specifically an ftdi based one). Eventually if hardware flow has to kick in and RTS is to be set, uftdi_set() is called in uftdi.c (old usb stack). In uftdi_set() there is this... (void)usbd_do_request(ucom->sc_udev, &req, NULL); Since we're calling this from the interrupt context, the response to the request times out (because the reply is not processed), the ohci_abort_xfer which performas the panic because we're not in the process context. Here is a patch that uses the usbd_do_request_async() call (instead of the synchronous version) to assert flow control when the input buffer reaches the highwater mark (which is detected from within interupt context). (patch against today's version of uftdi.c in the old usb stack) Index: sys/legacy/dev/usb/uftdi.c =================================================================== RCS file: /base/FreeBSD-CVS/src/sys/legacy/dev/usb/uftdi.c,v retrieving revision 1.1 diff -u -p -r1.1 uftdi.c --- uftdi.c 23 Feb 2009 18:16:17 -0000 1.1 +++ uftdi.c 12 Mar 2009 17:34:27 -0000 @@ -557,7 +557,7 @@ uftdi_set(void *vsc, int portno, int reg DPRINTFN(2,("uftdi_set: reqtype=0x%02x req=0x%02x value=0x%04x " "index=0x%04x len=%d\n", req.bmRequestType, req.bRequest, UGETW(req.wValue), UGETW(req.wIndex), UGETW(req.wLength))); - (void)usbd_do_request(ucom->sc_udev, &req, NULL); + (void)usbd_do_request_async(ucom->sc_udev, &req, NULL); } static int This is not specific to FTDI devices. It would probably be better to handle this in the usb serial layer. Whatever better fix someone comes up with should be merged to 7.x if possible (and 6). I have not yet looked to see if the new usb stack has the same problem. Please let me know if someone does this analysis. From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 06:00:08 2009 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 34A971065674 for ; Fri, 13 Mar 2009 06:00: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 0962A8FC1C for ; Fri, 13 Mar 2009 06:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2D6077E029759 for ; Fri, 13 Mar 2009 06:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2D607DV029756; Fri, 13 Mar 2009 06:00:07 GMT (envelope-from gnats) Resent-Date: Fri, 13 Mar 2009 06:00:07 GMT Resent-Message-Id: <200903130600.n2D607DV029756@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, Martin Lesser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF65106564A for ; Fri, 13 Mar 2009 05:58:52 +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 9C2D08FC18 for ; Fri, 13 Mar 2009 05:58:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2D5wpbN058262 for ; Fri, 13 Mar 2009 05:58:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2D5wpeQ058261; Fri, 13 Mar 2009 05:58:51 GMT (envelope-from nobody) Message-Id: <200903130558.n2D5wpeQ058261@www.freebsd.org> Date: Fri, 13 Mar 2009 05:58:51 GMT From: Martin Lesser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/132594: USB subsystem causes page fault and crashes 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, 13 Mar 2009 06:00:08 -0000 >Number: 132594 >Category: usb >Synopsis: USB subsystem causes page fault and crashes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 13 06:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Martin Lesser >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD fs.bettercom.de 7.1-RELEASE FreeBSD 7.1-RELEASE #4: Thu Jan 15 10:42:38 CET 2009 root@fs.bettercom.de:/usr/obj/usr/src/sys/FSKERNEL i386 >Description: Infrequently the system crashes when - printing to an USB-printer - inserting or removing USB-sticks I have two savecores from such crashes (lines #7 and #8 are probably the problematic ones?): (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc054e2b3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc054e4be in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc078e38c in trap_fatal (frame=0xe5aeac0c, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc078e610 in trap_pfault (frame=0xe5aeac0c, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc078efa9 in trap (frame=0xe5aeac0c) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0777d4b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc04d7419 in usbd_setup_xfer (xfer=0x0, pipe=0x0, priv=0xc56ed600, buffer=0xc805c000, length=4096, flags=5, timeout=10, callback=0xc09d6480 ) at /usr/src/sys/dev/usb/usbdi.c:547 #8 0xc09d646d in ulpt_tick (xsc=0xc56ed600) at /usr/src/sys/modules/ulpt/../../dev/usb/ulpt.c:773 #9 0xc055fe07 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #10 0xc052e19b in ithread_loop (arg=0xc549f830) at /usr/src/sys/kern/kern_intr.c:1088 #11 0xc052adc6 in fork_exit (callout=0xc052dff0 , arg=0xc549f830, frame=0xe5aead38) at /usr/src/sys/kern/kern_fork.c:804 #12 0xc0777dc0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 What else information can I submit to help to solve this problem? >How-To-Repeat: >Fix: Not using USB-devices on my system ;-) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 11:37:58 2009 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 16F24106568A; Fri, 13 Mar 2009 11:37:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E6A2C8FC23; Fri, 13 Mar 2009 11:37:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 9F80A46B06; Fri, 13 Mar 2009 07:37:57 -0400 (EDT) Date: Fri, 13 Mar 2009 11:37:57 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Weongyo Jeong In-Reply-To: <20090217052121.GB86244@weongyo.cdnetworks.kr> Message-ID: References: <20090217052121.GB86244@weongyo.cdnetworks.kr> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: usb@freebsd.org, Hans Petter Selasky , thompsa@freebsd.org Subject: Re: USB support in NDIS -- IFF_NEEDSGIANT? 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, 13 Mar 2009 11:37:58 -0000 On Tue, 17 Feb 2009, Weongyo Jeong wrote: >> As you know, I've been gradually working to eliminate all non-MPSAFE >> network device driver infrastructure for 8.0, having removed non-MPSAFE >> network protocol infrastructure in 7.0. In reviewing remaining drivers >> using IFF_NEEDSGIANT, I spotted this in the NDIS code: ... >> Having taken a glance, it looks like this was added specifically to support >> USB devices attached via NDIS. > > AFAIK all of usb wireless drivers had it so I couldn't avoid it when I had > implemented. > >> With the new USB code, are NDIS drivers still supported? > > I think that it would be supported at 8.0 > >> And in the new world order, is this IFF_NEEDSGIANT still required? > > Probably we can remove the IFF_NEEDSGIANT flags at the new USB code. > >> Can I simply remove it once the old USB code is on the way out the door? > > IMHO yes I think. Dear all: A few weeks have passed, so I wanted to check in and see how this project was going -- are we at a point yet where removing IFF_NEEDSGIANT won't cause significant loss of functionality? Thanks, Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 14:37:55 2009 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 45DCE10656C7; Fri, 13 Mar 2009 14:37:55 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4A08FC21; Fri, 13 Mar 2009 14:37:54 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bl9BoFr_XwQA:10 a=lzAowTwBfswA:10 a=F9Ddb8ZnJZvc46m2WQEPHQ==:17 a=Coy6ztYMltRxVyoarD4A:9 a=HVntGogZZX_FnQwE5YYA:7 a=UDRPgHvC5ShGbnGHO3Oy73jfsuEA:4 a=LY0hPdMaydYA:10 a=_eTgx-yqqz6oJIgc:21 a=NCPyVS8tovhdUxJP:21 Received: from [85.19.79.136] (account mc467741@c2i.net HELO laptop.bitfrost.local) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1037083763; Fri, 13 Mar 2009 14:37:51 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 13 Mar 2009 14:40:20 +0100 User-Agent: KMail/1.9.7 References: <20090217052121.GB86244@weongyo.cdnetworks.kr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903131440.22224.hselasky@freebsd.org> Cc: usb@freebsd.org, Weongyo Jeong , Robert Watson , thompsa@freebsd.org Subject: Re: USB support in NDIS -- IFF_NEEDSGIANT? 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, 13 Mar 2009 14:37:56 -0000 On Friday 13 March 2009, Robert Watson wrote: > On Tue, 17 Feb 2009, Weongyo Jeong wrote: > >> As you know, I've been gradually working to eliminate all non-MPSAFE > >> network device driver infrastructure for 8.0, having removed non-MPSAFE > >> network protocol infrastructure in 7.0. In reviewing remaining drivers > >> using IFF_NEEDSGIANT, I spotted this in the NDIS code: > > ... > > >> Having taken a glance, it looks like this was added specifically to > >> support USB devices attached via NDIS. > > > > AFAIK all of usb wireless drivers had it so I couldn't avoid it when I > > had implemented. > > > >> With the new USB code, are NDIS drivers still supported? > > > > I think that it would be supported at 8.0 > > > >> And in the new world order, is this IFF_NEEDSGIANT still required? > > > > Probably we can remove the IFF_NEEDSGIANT flags at the new USB code. > > > >> Can I simply remove it once the old USB code is on the way out the door? > > > > IMHO yes I think. > > Dear all: > > A few weeks have passed, so I wanted to check in and see how this project > was going -- are we at a point yet where removing IFF_NEEDSGIANT won't > cause significant loss of functionality? I think both NDIS USB and USB Ethernet/WLAN drivers have been made Giant-free. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 14:37:55 2009 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 45DCE10656C7; Fri, 13 Mar 2009 14:37:55 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4A08FC21; Fri, 13 Mar 2009 14:37:54 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bl9BoFr_XwQA:10 a=lzAowTwBfswA:10 a=F9Ddb8ZnJZvc46m2WQEPHQ==:17 a=Coy6ztYMltRxVyoarD4A:9 a=HVntGogZZX_FnQwE5YYA:7 a=UDRPgHvC5ShGbnGHO3Oy73jfsuEA:4 a=LY0hPdMaydYA:10 a=_eTgx-yqqz6oJIgc:21 a=NCPyVS8tovhdUxJP:21 Received: from [85.19.79.136] (account mc467741@c2i.net HELO laptop.bitfrost.local) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1037083763; Fri, 13 Mar 2009 14:37:51 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 13 Mar 2009 14:40:20 +0100 User-Agent: KMail/1.9.7 References: <20090217052121.GB86244@weongyo.cdnetworks.kr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903131440.22224.hselasky@freebsd.org> Cc: usb@freebsd.org, Weongyo Jeong , Robert Watson , thompsa@freebsd.org Subject: Re: USB support in NDIS -- IFF_NEEDSGIANT? 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, 13 Mar 2009 14:37:56 -0000 On Friday 13 March 2009, Robert Watson wrote: > On Tue, 17 Feb 2009, Weongyo Jeong wrote: > >> As you know, I've been gradually working to eliminate all non-MPSAFE > >> network device driver infrastructure for 8.0, having removed non-MPSAFE > >> network protocol infrastructure in 7.0. In reviewing remaining drivers > >> using IFF_NEEDSGIANT, I spotted this in the NDIS code: > > ... > > >> Having taken a glance, it looks like this was added specifically to > >> support USB devices attached via NDIS. > > > > AFAIK all of usb wireless drivers had it so I couldn't avoid it when I > > had implemented. > > > >> With the new USB code, are NDIS drivers still supported? > > > > I think that it would be supported at 8.0 > > > >> And in the new world order, is this IFF_NEEDSGIANT still required? > > > > Probably we can remove the IFF_NEEDSGIANT flags at the new USB code. > > > >> Can I simply remove it once the old USB code is on the way out the door? > > > > IMHO yes I think. > > Dear all: > > A few weeks have passed, so I wanted to check in and see how this project > was going -- are we at a point yet where removing IFF_NEEDSGIANT won't > cause significant loss of functionality? I think both NDIS USB and USB Ethernet/WLAN drivers have been made Giant-free. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 16:15:06 2009 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 216C1106566B; Fri, 13 Mar 2009 16:15:06 +0000 (UTC) (envelope-from jlevine@boulder.nist.gov) Received: from ridley.nist.gov (ridley.nist.gov [129.6.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id DA54A8FC16; Fri, 13 Mar 2009 16:15:05 +0000 (UTC) (envelope-from jlevine@boulder.nist.gov) Received: from tide.boulder.nist.gov (tide.colorado.edu [128.138.140.135]) (authenticated bits=0) by ridley.nist.gov (8.13.7/8.13.7) with ESMTP id n2DGELlS004930; Fri, 13 Mar 2009 12:14:22 -0400 (EDT) Message-Id: <7.0.0.16.2.20090313100539.023d8488@boulder.nist.gov> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Fri, 13 Mar 2009 10:14:33 -0600 To: gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: Judah Levine In-Reply-To: <200902251049.n1PAnWXo002536@freefall.freebsd.org> References: <200902251049.n1PAnWXo002536@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner-From: jlevine@boulder.nist.gov Cc: fein@nist.gov Subject: Re: usb/132066: [ukbd] Keyboard failure USB keyboard DELL 760 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, 13 Mar 2009 16:15:06 -0000 Hello, I have fixed this problem, but I don't understand why it works. I made the following changes to the config file and re-built the kernel: 1. remove device atkb 2. add device puc 3. add: options UKBD_DFLT_KEYMAP options UKBD_DFLT_KEYMAP=us.unix I have installed the same software with USB keyboards on many different systems, and this is the first time that I had to do this. The system now works correctly both using the command-line and X-windows. Is it possible that the keyboard is not being recognized correctly during the bootstrap process? Judah Levine Time and Frequency Division NIST Boulder From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 17:28:22 2009 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 7656A106564A for ; Fri, 13 Mar 2009 17:28:22 +0000 (UTC) (envelope-from lintzuyau@gmail.com) Received: from mail-gx0-f177.google.com (mail-gx0-f177.google.com [209.85.217.177]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0B88FC19 for ; Fri, 13 Mar 2009 17:28:21 +0000 (UTC) (envelope-from lintzuyau@gmail.com) Received: by gxk25 with SMTP id 25so636732gxk.19 for ; Fri, 13 Mar 2009 10:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=QSJkDJNvWJj7gZCrhX3FmDh+QC8kU1Z2Ofo7FeYYg14=; b=sSANo/4WdPyUHDVicpAR5Wo3TC1eCv6HW5VZPAbbgdhQYEPoiv4moFspuJCaydUS4R J485QZdQppCqO6g3hMSxvLfQkx6KZbLxS16yfwLTWnHe4yW3rWu28TKAnrQ9l304tC0G bi/MFAkyJyR3lAz3kr3+VROJ2Rx538ofSOHPE= 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=EjiKUSwcKE6Nr21pKWFBsQiyO8Zi4+HTbBETxCDd7vC8WvMe2UQdbq9FkvYm4nBuic iw2HH+/wyEpRGzkRkjI54vh565y8b2sRXBXKAWTSFkjYznHJ2lPmXsc9lp2QqdluaPN0 LsMmiks//t/Ik4RvcfJZUpMtB4HpqxZYtoMho= MIME-Version: 1.0 Received: by 10.231.15.130 with SMTP id k2mr338377iba.31.1236965301214; Fri, 13 Mar 2009 10:28:21 -0700 (PDT) In-Reply-To: <200903121857.32241.hselasky@c2i.net> References: <200903121857.32241.hselasky@c2i.net> Date: Sat, 14 Mar 2009 01:28:21 +0800 Message-ID: From: tzu-yau Lin To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: How to add a USB vender in sys/dev/usb/usbdevs 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, 13 Mar 2009 17:28:22 -0000 On Fri, Mar 13, 2009 at 1:57 AM, Hans Petter Selasky wrote: > > > In FreeBSD-7 you need to load if_udav before the kernel is loaded, else > ugen > will grab the device. > > Try this: > > echo "if_udav_load=YES" >> /boot/loader.conf > > cat /boot/loader.conf > > > --HPS > Dear HPS and all: I've found the solution. The problem is due to the vendor ID and product ID incorrect. I wrote a patch and now it works. 2 files need to be changed. It seems working now. ========================= if_udav.c.patch ========================= --- if_udav.c 2009-03-14 00:56:17.000000000 +0800 +++ if_udav.c.new 2009-03-14 00:56:17.000000000 +0800 @@ -260,11 +260,9 @@ static const struct udav_type { {{ USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB_TXC }, 0}, /* ShanTou ST268 USB NIC */ {{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ST268 }, 0}, -#if 0 - /* DAVICOM DM9601 Generic? */ - /* XXX: The following ids was obtained from the data sheet. */ - {{ 0x0a46, 0x9601 }, 0}, -#endif + /* DAVICOM DM9601 Generic */ + {{ USB_VENDOR_DAVICOM, USB_PRODUCT_DAVICOM_DM9601 }, 0}, + }; #define udav_lookup(v, p) ((const struct udav_type *)usb_lookup(udav_devs, v, p)) ========================= usbdevs.patch ========================= --- usbdevs 2009-03-14 00:56:25.000000000 +0800 +++ usbdevs.new 2009-03-14 00:56:25.000000000 +0800 @@ -155,7 +155,7 @@ vendor YAMAHA 0x0499 YAMAHA vendor COMPAQ 0x049f Compaq vendor HITACHI 0x04a4 Hitachi vendor ACERP 0x04a5 Acer Peripherals -vendor DAVICOM 0x04a6 Davicom +/*vendor DAVICOM 0x04a6 Davicom*/ vendor VISIONEER 0x04a7 Visioneer vendor CANON 0x04a9 Canon vendor NIKON 0x04b0 Nikon @@ -534,6 +534,7 @@ vendor VTECH 0x0f88 VTech vendor FALCOM 0x0f94 Falcom Wireless Communications GmbH vendor RIM 0x0fca Research In Motion vendor DYNASTREAM 0x0fcf Dynastream Innovations +vendor DAVICOM 0x0fe6 Davicom vendor QUALCOMM 0x1004 Qualcomm vendor DESKNOTE 0x1019 Desknote vendor GIGABYTE 0x1044 GIGABYTE @@ -1076,6 +1077,10 @@ product CYPRESS FMRADIO 0x1002 FM Radio product CYPRESS USBRS232 0x5500 USB-RS232 Interface product CYPRESS SLIM_HUB 0x6560 Slim Hub +/* Davicom Semiconductor products */ +/*product DAVICOM DM9601 0x9601 DM9601 USB NIC*/ +product DAVICOM DM9601 0x8101 DM9601 USB NIC + /* Daisy Technology products */ product DAISY DMC 0x6901 USB MultiMedia Reader From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 23:11:13 2009 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 1275C106566B for ; Fri, 13 Mar 2009 23:11:13 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5CC8FC08 for ; Fri, 13 Mar 2009 23:11:12 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [92.113.64.129] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902185842 for freebsd-usb@freebsd.org; Sat, 14 Mar 2009 01:11:09 +0200 From: man@email.com.ua Organization: Vega To: freebsd-usb@freebsd.org Date: Sat, 14 Mar 2009 01:14:22 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903140114.22511.man@email.com.ua> Subject: support for logitech mx610 mouse 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, 13 Mar 2009 23:11:13 -0000 Hi. I have logitech mx610. This mouse have a lot of buttons, but not all of this buttons work (volume control, mail, im and tilt wheel). ums0: on usbus0 ums0: 16 buttons and [XYZ] coordinates kldunload ums kldunload uhid kldload uhid uhid0: on usbus0 uhid1: on usbus0 usbhidctl -f /dev/uhid0 -ar Report descriptor: Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input size=1 count=1 page=Button usage=Button_1, logical range 0..1 Input size=1 count=1 page=Button usage=Button_2, logical range 0..1 Input size=1 count=1 page=Button usage=Button_3, logical range 0..1 Input size=1 count=1 page=Button usage=Button_4, logical range 0..1 Input size=1 count=1 page=Button usage=Button_5, logical range 0..1 Input size=1 count=1 page=Button usage=Button_6, logical range 0..1 Input size=1 count=1 page=Button usage=Button_7, logical range 0..1 Input size=1 count=1 page=Button usage=Button_8, logical range 0..1 Input size=1 count=1 page=Button usage=Button_9, logical range 0..1 Input size=1 count=1 page=Button usage=Button_10, logical range 0..1 Input size=1 count=1 page=Button usage=Button_11, logical range 0..1 Input size=1 count=1 page=Button usage=Button_12, logical range 0..1 Input size=1 count=1 page=Button usage=Button_13, logical range 0..1 Input size=1 count=1 page=Button usage=Button_14, logical range 0..1 Input size=1 count=1 page=Button usage=Button_15, logical range 0..1 Input size=1 count=1 page=Button usage=Button_16, logical range 0..1 Input size=12 count=1 page=Generic_Desktop usage=X, logical range -2047..2047 Input size=12 count=1 page=Generic_Desktop usage=Y, logical range -2047..2047 Input size=8 count=1 page=Generic_Desktop usage=Wheel, logical range -127..127 Input size=8 count=1 page=Consumer usage=AC_Pan, logical range -127..127 End collection End collection Total input size 7 bytes Total output size 0 bytes Total feature size 0 bytes usbhidctl: USB_SET_IMMED: Device not configured usbhidctl -f /dev/uhid1 -ar Report descriptor: Total input size 0 bytes Total output size 0 bytes Total feature size 0 bytes usbhidctl: USB_SET_IMMED: Device not configured usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x60 0xc0 0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0> I see from this report, what tilt wheel is defined as AC_Pan (expected button) - this is not supported by Xorg. Can I remap this? All of the additional buttons would have to determine at uhid1, but not decided. This can be done? Thanks in advance. You gave hope that the usb subsystem will be released at a high level of implementation. IMHO your job - is a big step forward for support FreeBSD at desktop. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 08:30:56 2009 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 5341A106566B for ; Sat, 14 Mar 2009 08:30:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swip.net [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id AE3118FC12 for ; Sat, 14 Mar 2009 08:30:55 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=93AayTmb9UcA:10 a=AcdjiWDHAAAA:8 a=v500imFIFI8JHvQl_W0A:9 a=H0qRVy30j994-HV1DQAA:7 a=d6tZGYOscv3neycaYXoLga8W_1sA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 466138670; Sat, 14 Mar 2009 09:30:53 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 14 Mar 2009 09:33:23 +0100 User-Agent: KMail/1.9.7 References: <200903140114.22511.man@email.com.ua> In-Reply-To: <200903140114.22511.man@email.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903140933.24547.hselasky@c2i.net> Cc: Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 08:30:56 -0000 On Saturday 14 March 2009, man@email.com.ua wrote: > Hi. > I have logitech mx610. This mouse have a lot of buttons, but not all of > this buttons work (volume control, mail, im and tilt wheel). > > ums0: on usbus0 > ums0: 16 buttons and [XYZ] coordinates > > kldunload ums > kldunload uhid > kldload uhid > > uhid0: on usbus0 > uhid1: on usbus0 > > usbhidctl -f /dev/uhid0 -ar > Report descriptor: > Collection page=Generic_Desktop usage=Mouse > Collection page=Generic_Desktop usage=Pointer > Input size=1 count=1 page=Button usage=Button_1, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_2, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_3, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_4, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_5, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_6, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_7, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_8, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_9, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_10, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_11, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_12, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_13, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_14, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_15, logical range 0..1 > Input size=1 count=1 page=Button usage=Button_16, logical range 0..1 > Input size=12 count=1 page=Generic_Desktop usage=X, logical range > -2047..2047 Input size=12 count=1 page=Generic_Desktop usage=Y, logical > range -2047..2047 Input size=8 count=1 page=Generic_Desktop usage=Wheel, > logical range -127..127 Input size=8 count=1 page=Consumer usage=AC_Pan, > logical range -127..127 End collection > End collection > Total input size 7 bytes > Total output size 0 bytes > Total feature size 0 bytes > usbhidctl: USB_SET_IMMED: Device not configured > > usbhidctl -f /dev/uhid1 -ar > Report descriptor: > Total input size 0 bytes > Total output size 0 bytes > Total feature size 0 bytes > usbhidctl: USB_SET_IMMED: Device not configured > > usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 > REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 > 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x60 0xc0 0x06 0x00 0xff > 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 > 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 > 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 > 0x00 0x09 0x02 0x91 0x00 0xc0> > > > I see from this report, what tilt wheel is defined as AC_Pan (expected > button) - this is not supported by Xorg. Can I remap this? You can re-map in /sys/dev/usb/input/ums.c > All of the > additional buttons would have to determine at uhid1, but not decided. This > can be done? I need some samples of the data format, when you a) move mouse b) press buttons. Can you write a small C-program? f = open("/dev/uhid0", O_RDONLY); if (f < 0) return; uint8_t buf[256]; int len; while (1) { len = read(f, buf, sizeof(buf)); if (len < 0) break; } dump buf in HEX. --HPS > > Thanks in advance. > > You gave hope that the usb subsystem will be released at a high level of > implementation. IMHO your job - is a big step forward for support FreeBSD > at desktop. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 10:59:20 2009 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 3DB82106564A for ; Sat, 14 Mar 2009 10:59:20 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id B3C728FC0C for ; Sat, 14 Mar 2009 10:59:19 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [94.179.19.200] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902574718; Sat, 14 Mar 2009 12:59:18 +0200 From: man@email.com.ua Organization: Vega To: Hans Petter Selasky Date: Sat, 14 Mar 2009 13:03:11 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) References: <200903140114.22511.man@email.com.ua> <200903140933.24547.hselasky@c2i.net> In-Reply-To: <200903140933.24547.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_v74uJL7egE8OFZu" Message-Id: <200903141303.11883.man@email.com.ua> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 10:59:20 -0000 --Boundary-00=_v74uJL7egE8OFZu Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline > I need some samples of the data format, when you a) move mouse b) press > buttons. Can you write a small C-program? Of course, but to my surprise, the program does not read any data from uhid0. I tried an even more simple test cat /dev/uhid0 ^C Nothing But on FreeBSD 7.1 - nice read (see attached file, result of cat) >a) move mouse b) press buttons. Only press additional buttons expected. This mouse create 2 uhid devices - first report about moving and press standard button (hidden when loaded ums), second - about additional buttons. --Boundary-00=_v74uJL7egE8OFZu Content-Type: application/octet-stream; name="uhid0" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="uhid0" AwAA6QADAAAAAAMAAOkAAwAAAAADAADpAAMAAAAAAwAA6gADAAAAAAMAAOoAAwAAAAADAADqAAMA AAAAAwAA4gADAAAAAAMAAOIAAwAAAAADAADiAAMAAAAAA4oBAAADAAAAAAOKAQAAAwAAAAADigEA AAMAAAAAA7wBAAADAAAAAAO8AQAAAwAAAAADvAEAAAMAAAAA --Boundary-00=_v74uJL7egE8OFZu-- From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 11:02:52 2009 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 3E7C0106566B for ; Sat, 14 Mar 2009 11:02:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id C60298FC16 for ; Sat, 14 Mar 2009 11:02:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=93AayTmb9UcA:10 a=AcdjiWDHAAAA:8 a=4WShUQFyMyeEtbRmrHQA:9 a=eW92VB0KAUivAjjzlcbAjMDJgysA:4 a=8UL1S1SzPDgA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1213048610; Sat, 14 Mar 2009 12:02:49 +0100 From: Hans Petter Selasky To: man@email.com.ua Date: Sat, 14 Mar 2009 12:05:19 +0100 User-Agent: KMail/1.9.7 References: <200903140114.22511.man@email.com.ua> <200903140933.24547.hselasky@c2i.net> <200903141303.11883.man@email.com.ua> In-Reply-To: <200903141303.11883.man@email.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141205.20848.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 11:02:52 -0000 Try open up the endpoint(s) instead: see /dev/usb/xxx --HPS On Saturday 14 March 2009, man@email.com.ua wrote: > > I need some samples of the data format, when you a) move mouse b) press > > buttons. Can you write a small C-program? > > Of course, but to my surprise, the program does not read any data from > uhid0. I tried an even more simple test > cat /dev/uhid0 > ^C > Nothing > > But on FreeBSD 7.1 - nice read (see attached file, result of cat) > > >a) move mouse b) press buttons. > > Only press additional buttons expected. This mouse create 2 uhid devices - > first report about moving and press standard button (hidden when loaded > ums), second - about additional buttons. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 11:10:01 2009 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 86C69106564A for ; Sat, 14 Mar 2009 11:10:01 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0778FC14 for ; Sat, 14 Mar 2009 11:10:00 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [94.179.19.200] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902581907; Sat, 14 Mar 2009 13:09:59 +0200 From: man@email.com.ua Organization: Vega To: Hans Petter Selasky Date: Sat, 14 Mar 2009 13:13:53 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) References: <200903140114.22511.man@email.com.ua> <200903141303.11883.man@email.com.ua> <200903141205.20848.hselasky@c2i.net> In-Reply-To: <200903141205.20848.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141313.53345.man@email.com.ua> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 11:10:02 -0000 > Try open up the endpoint(s) instead: > > see /dev/usb/xxx Inconclusive :( From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 11:14:23 2009 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 37881106566C for ; Sat, 14 Mar 2009 11:14:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id C388A8FC19 for ; Sat, 14 Mar 2009 11:14:22 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=93AayTmb9UcA:10 a=AcdjiWDHAAAA:8 a=nv39uhf8uHsr045CY2IA:9 a=QSRPbRZEPLQivnHF-WDtdNlb2ykA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1040711145; Sat, 14 Mar 2009 12:14:21 +0100 From: Hans Petter Selasky To: man@email.com.ua Date: Sat, 14 Mar 2009 12:16:44 +0100 User-Agent: KMail/1.9.7 References: <200903140114.22511.man@email.com.ua> <200903141205.20848.hselasky@c2i.net> <200903141313.53345.man@email.com.ua> In-Reply-To: <200903141313.53345.man@email.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141216.44932.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 11:14:23 -0000 On Saturday 14 March 2009, man@email.com.ua wrote: > > Try open up the endpoint(s) instead: > > > > see /dev/usb/xxx > > Inconclusive :( The format is: /dev/usb/X.Y.Z X is USB BUS Y is device index Z is endpoint & 0xF The the usbconfig's dump_curr_config_desc which endpoint belongs to your driver. Also see the show_ifdrv command to see which driver is connected to which interface. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 12:11:45 2009 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 F19B01065672 for ; Sat, 14 Mar 2009 12:11:45 +0000 (UTC) (envelope-from man@alkar.net) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 382B98FC08 for ; Sat, 14 Mar 2009 12:11:44 +0000 (UTC) (envelope-from man@alkar.net) Received: from [94.179.19.200] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902605863; Sat, 14 Mar 2009 13:41:42 +0200 Received-SPF: none receiver=mail.alkar.net; client-ip=94.179.19.200; envelope-from=man@alkar.net From: Artyom Mirgorodsky Organization: Vega To: Hans Petter Selasky Date: Sat, 14 Mar 2009 13:45:36 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) References: <200903140114.22511.man@email.com.ua> <200903141313.53345.man@email.com.ua> <200903141216.44932.hselasky@c2i.net> In-Reply-To: <200903141216.44932.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200903141345.36631.man@alkar.net> X-Mailman-Approved-At: Sat, 14 Mar 2009 12:23:21 +0000 Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 12:11:46 -0000 > The format is: > > /dev/usb/X.Y.Z > > X is USB BUS > Y is device index > Z is endpoint & 0xF > > The the usbconfig's dump_curr_config_desc which endpoint belongs to your > driver. Also see the show_ifdrv command to see which driver is connected to > which interface. I understand that. But I can't read from this devices does. usbconfig show_ifdrv ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.1.0: uhub0: ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.1.0: uhub1: ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen0.2.0: ums0: usbconfig dump_curr_config_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr= ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x003b bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0004 bmAttributes = 0x00a0 bMaxPower = 0x0031 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0002 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x11 RAW dump: 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x43, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x000a bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x11 RAW dump: 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x4f, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x000a bRefresh = 0x0000 bSynchAddress = 0x0000 I'm unload ums and reload uhid then try read again: uhid0: on usbus0 uhid1: on usbus0 cat /dev/usb/0.2.1 ^C cat /dev/usb/0.2.2 ^C cat /dev/uhid0 0Oåý_üoüoýþoÿoþ@ÿOþ_û_þOûOø?õ/ÝëïÿèÿÿPÿ ÿÐÿàÿðÿÀÿ àÿÿ P ``pð`P@ ÿÿÿïÿÿßÿÿÿÿ P ÿ/þ?ý?üOòøOö?õ/ôõö÷ùúûÿÿðÿàÿÐÿÐÿÀÿÐÿ°ÿ ÿÀÿÀÿ°ÿ ÿ cat /dev/uhid1 ^C Only mouse moving produce any data from uhid. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 12:34:23 2009 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 DF7FC1065672 for ; Sat, 14 Mar 2009 12:34:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6598FC12 for ; Sat, 14 Mar 2009 12:34:22 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=93AayTmb9UcA:10 a=YFK24tF_9smPnxU2_EYA:9 a=il6rH8Bi_r-BnHBo11AmlZfLykAA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 463400778; Sat, 14 Mar 2009 13:34:21 +0100 From: Hans Petter Selasky To: Artyom Mirgorodsky Date: Sat, 14 Mar 2009 13:36:50 +0100 User-Agent: KMail/1.9.7 References: <200903140114.22511.man@email.com.ua> <200903141216.44932.hselasky@c2i.net> <200903141345.36631.man@alkar.net> In-Reply-To: <200903141345.36631.man@alkar.net> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903141336.51769.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 12:34:24 -0000 On Saturday 14 March 2009, Artyom Mirgorodsky wrote: > > The format is: > > > > /dev/usb/X.Y.Z > > > > X is USB BUS > > Y is device index > > Z is endpoint & 0xF > > > > The the usbconfig's dump_curr_config_desc which endpoint belongs to your > > driver. Also see the show_ifdrv command to see which driver is connected > > to which interface. > > I understand that. But I can't read from this devices does. > > usbconfig show_ifdrv > ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (= 12Mbps) > pwr=3DON ugen0.1.0: uhub0: addr 1> ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd= =3DHIGH > (480Mbps) pwr=3DON ugen1.1.0: uhub1: 2.00/1.00, addr 1> ugen0.2: at usbus0, cfg=3D0 > md=3DHOST spd=3DLOW (1.5Mbps) pwr=3DON ugen0.2.0: ums0: class 0/0, rev 2.00/42.00, addr 2> > > > usbconfig dump_curr_config_desc > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (= 1.5Mbps) > pwr=3D ON > > > Configuration index 0 > > bLength =3D 0x0009 > bDescriptorType =3D 0x0002 > wTotalLength =3D 0x003b > bNumInterfaces =3D 0x0002 > bConfigurationValue =3D 0x0001 > iConfiguration =3D 0x0004 > bmAttributes =3D 0x00a0 > bMaxPower =3D 0x0031 > > Interface 0 > bLength =3D 0x0009 > bDescriptorType =3D 0x0004 > bInterfaceNumber =3D 0x0000 > bAlternateSetting =3D 0x0000 > bNumEndpoints =3D 0x0001 > bInterfaceClass =3D 0x0003 > bInterfaceSubClass =3D 0x0001 > bInterfaceProtocol =3D 0x0002 > iInterface =3D 0x0000 > > Additional Descriptor > > bLength =3D 0x09 > bDescriptorType =3D 0x21 > bDescriptorSubType =3D 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x43, > 0x08 | 0x00 > > Endpoint 0 > bLength =3D 0x0007 > bDescriptorType =3D 0x0005 > bEndpointAddress =3D 0x0081 > bmAttributes =3D 0x0003 > wMaxPacketSize =3D 0x0008 > bInterval =3D 0x000a > bRefresh =3D 0x0000 > bSynchAddress =3D 0x0000 > > > Interface 1 > bLength =3D 0x0009 > bDescriptorType =3D 0x0004 > bInterfaceNumber =3D 0x0001 > bAlternateSetting =3D 0x0000 > bNumEndpoints =3D 0x0001 > bInterfaceClass =3D 0x0003 > bInterfaceSubClass =3D 0x0000 > bInterfaceProtocol =3D 0x0000 > iInterface =3D 0x0000 > > Additional Descriptor > > bLength =3D 0x09 > bDescriptorType =3D 0x21 > bDescriptorSubType =3D 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x4f, > 0x08 | 0x00 > > Endpoint 0 > bLength =3D 0x0007 > bDescriptorType =3D 0x0005 > bEndpointAddress =3D 0x0082 > bmAttributes =3D 0x0003 > wMaxPacketSize =3D 0x0008 > bInterval =3D 0x000a > bRefresh =3D 0x0000 > bSynchAddress =3D 0x0000 > > I'm unload ums and reload uhid then try read again: > uhid0: on usbu= s0 > uhid1: on usbu= s0 > > cat /dev/usb/0.2.1 > ^C > cat /dev/usb/0.2.2 > ^C > > cat /dev/uhid0 > 0O=E5=FD_=FCo=FCo=FD=FEo=FFo=FE@=FFO=FE_=FB_=FEO=FBO=F8?=F5/=DD=EB=EF=FF= =E8=FF=FFP=FF=A0=FF=D0=FF=E0=FF=F0=FF=C0=FF =E0=FF=FF > P ``p=F0`P@ =FF=FF=FF=EF=FF=FF=DF=FF=FF=FF=FF P =20 > =FF/=FE?=FD?=FCO=F2=F8O=F6?=F5/=F4=F5=F6=F7=F9=FA=FB=FF=FF=F0=FF=E0=FF=D0= =FF=D0=FF=C0=FF=D0=FF=B0=FF=A0=FF=C0=FF=C0=FF=B0=FF=A0=FF cat /dev/uhid1 > ^C > > Only mouse moving produce any data from uhid. Can you get this data dumped into HEX ? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 12:56:57 2009 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 2E7BA10656C5 for ; Sat, 14 Mar 2009 12:56:57 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 812398FC20 for ; Sat, 14 Mar 2009 12:56:56 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [94.179.19.200] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902661047; Sat, 14 Mar 2009 14:56:54 +0200 From: Artyom Mirgorodsky To: Hans Petter Selasky Date: Sat, 14 Mar 2009 15:00:47 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) References: <200903140114.22511.man@email.com.ua> <200903141345.36631.man@alkar.net> <200903141336.51769.hselasky@c2i.net> In-Reply-To: <200903141336.51769.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Aq6uJirw+hbz4ho" Message-Id: <200903141500.48042.man@email.com.ua> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 12:56:57 -0000 --Boundary-00=_Aq6uJirw+hbz4ho Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline > Can you get this data dumped into HEX ? See attached file --Boundary-00=_Aq6uJirw+hbz4ho Content-Type: text/plain; charset="KOI8-R"; name="buf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="buf" 1 0 0 F0 FF 0 0 0 0 46 A0 FF 0 0 0 0 2 0 0 0 0 0 0 3 0 0 0 0 0 0 4 0 0 0 0 = 0 0 4 10 0 0 0 0 0 5 20 0 0 0 0 0 7 20 0 0 0 0 0 10 60 0 0 0 0 0 A 50 0 0 0= 0 0 B 40 0 0 0 0 0 9 60 0 0 0 0 0 D 40 0 0 0 0 0 9 40 0 0 0 0 0 7 40 0 0 0= 0 0 8 50 0 0 0 0 0 E 40 0 0 0 0 0 16 C0 0 0 0 0 0 A 70 0 0 0 0 0 7 70 0 0 = 0 0 0 7 80 0 0 0 0 0 6 90 0 0 0 0 0 4 80 0 0 0 0 0 4 A0 0 0 0 0 0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2 0 0 0 0 0 0 2 0 0 0 0 0 0 3 F0 FF 0 0 0 0 2 0 0 0 0 0 0 2 0 0= 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 FF 0 0 FF F 0 0 0 0 0 FF F 0 0= 0 0 0 FE F 0 0 0 0 0 FD F 0 0 0 0 0 F4 EF FF 0 0 0 0 F9 EF FF 0 0 0 0 F7 E= =46 FF 0 0 0 0 F9 EF FF 0 0 0 0 FA FF FF 0 0 0 0 FC FF FF 0 0 0 0 FE F 0 0 = 0 0 0 0 F0 FF 0 0 0 0 5 0 0 0 0 0 0 3 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0= 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0 5 0 0 0 0 0 0 5 0 0 0 0 0 0 5 = 0 0 0 0=20 --Boundary-00=_Aq6uJirw+hbz4ho-- From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 13:51:31 2009 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 753D11065675 for ; Sat, 14 Mar 2009 13:51:31 +0000 (UTC) (envelope-from man@email.com.ua) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.freebsd.org (Postfix) with ESMTP id 94FA48FC1C for ; Sat, 14 Mar 2009 13:51:30 +0000 (UTC) (envelope-from man@email.com.ua) Received: from [94.179.19.200] (account man@email.com.ua HELO home.alkar.net) by mail.alkar.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1902701505; Sat, 14 Mar 2009 15:51:28 +0200 From: Artyom Mirgorodsky To: freebsd-usb@freebsd.org Date: Sat, 14 Mar 2009 15:55:21 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.1; i386; svn-915845; 2009-01-20) References: <200903140114.22511.man@email.com.ua> <200903141336.51769.hselasky@c2i.net> <200903141500.48042.man@email.com.ua> In-Reply-To: <200903141500.48042.man@email.com.ua> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Jd7uJNQ8RyFtEmF" Message-Id: <200903141555.21815.man@email.com.ua> Cc: Subject: Re: support for logitech mx610 mouse 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, 14 Mar 2009 13:51:32 -0000 --Boundary-00=_Jd7uJNQ8RyFtEmF Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline > See attached file Sorry. I don't post data when only move mouse. In attach --Boundary-00=_Jd7uJNQ8RyFtEmF Content-Type: text/plain; charset="KOI8-R"; name="buf_only_move" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="buf_only_move" 0 0 B 70 0 0 0 0 0 C 80 0 0 0 0 0 3 10 1 0 0 0 0 3 F0 0 0 0 0 0 2 90 0 0 0 = 0 0 2 70 0 0 0 0 0 1 50 0 0 0 0 0 0 C0 1 0 0 0 0 0 A0 1 0 0 0 0 2 10 1 0 0 = 0 0 0 40 1 0 0 0 0 FB 4F 1 0 0 0 0 F6 6F 1 0 0 0 0 DB 8F 2 0 0 0 0 E5 4F 1 = 0 0 0 0 DE 3F 1 0 0 0 0 DC 3F 1 0 0 0 0 DA 2F 1 0 0 0 0 D8 2F 1 0 0 0 0 D8 = EF 0 0 0 0 0 DA BF 0 0 0 0 0 DA 8F 0 0 0 0 0 DC 3F 0 0 0 0 0 C0 FF FF 0 0 0= 0 E9 6F FF 0 0 0 0 E9 6F FF 0 0 0 0 EF 2F FF 0 0 0 0 F3 1F FF 0 0 0 0 F5 E= =46 FE 0 0 0 0 F7 AF FE 0 0 0 0 FB 8F FE 0 0 0 0 FC 7F FE 0 0 0 0 0 40 FE 0= 0 0 0 9 50 FC 0 0 0 0 8 10 F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 0 0 D7 AF 0 0 0 0 0 D7 7F 0 0 0 0 0 D9 5F 0 0 0 0= 0 D8 2F 0 0 0 0 0 D8 FF FF 0 0 0 0 D6 CF FF 0 0 0 0 D6 8F FF 0 0 0 0 D6 6F= FF 0 0 0 0 AD 7F FE 0 0 0 0 D9 F FF 0 0 0 0 DA DF FE 0 0 0 0 DB 8F FE 0 0 = 0 0 E2 7F FE 0 0 0 0 EA 2F FE 0 0 0 0 F1 4F FE 0 0 0 0 F5 3F FE 0 0 0 0 F4 = 4F FE 0 0 0 0 F5 FF FD 0 0 0 0 ED 8F FB 0 0 0 0 F9 6F FD 0 0 0 0 FC 5F FD 0= 0 0 0 0 20 FD 0 0 0 0 4 0 FD 0 0 0 0 3 0 FD 0 0 0 0 9 C0 FC 0 0 0 0 D C0 F= C 0 0 0 0 11 C0 FC 0 0 0 0 14 A0 FC 0 0 0 0 33 10 F9 0 0 0 0 1D 60 FC 0 0 0= 0 21 50 FC 0 0 0 0 25 70 FC 0 0 0 0 27 50 FC 0 0 0 0 29 40 FC 0 0 0 0 2D 6= 0 FC 0 0 0 0 2F 70 FC 0 0 0 0 37 E1 EE 0 0 0 0 39 B0 FD 0 0 0 0 3B E0 FD 0 = 0 0 0 3B 0 FE 0 0 0 0 3C 30 FE 0 0 0 0 3C 50 FE 0 0 0 0 77 10 FD 0 0 0 0 2B= 80 FE 0 0 0 0 2B D0 FE 0 0 0 0 20 10 FF 0 0 0 0 18 50 FF 0 0 0 0 0 10 0 0 = 0 0 0 0 30 0 0 0 0 0 2C 20 0 0 0 0 0 28 50 0 0 0 0 0 28 0 0 0 0=20 --Boundary-00=_Jd7uJNQ8RyFtEmF-- From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 16:56:08 2009 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 A9920106564A for ; Sat, 14 Mar 2009 16:56:08 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0108FC13 for ; Sat, 14 Mar 2009 16:56:08 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.38,363,1233529200"; d="scan'208";a="1702859" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 14 Mar 2009 17:26:27 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id EEACD1B07E2; Sat, 14 Mar 2009 17:26:26 +0100 (CET) Date: Sat, 14 Mar 2009 17:26:26 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: problem with usb 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, 14 Mar 2009 16:56:08 -0000 hi there. i'm having a problem with my usb printer. it's being recognised as ulpt0, but i cannot print. i'm using the cups port for printing. i've set hw.usb2.ulpt.debug=15 and this is the output: uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling port 2 ugen0.3: at usbus0 ulpt_probe:472: ulpt_attach:498: sc=0xc6f6be80 ulpt0: on usbus0 ulpt_attach:538: setting alternate config number: 0 ulpt0: using bi-directional mode ulpt_reset:164: ulpt_write_callback:203: state=0x0 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x2 after turning off the device i constantly get this output: ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED ulpt_status_callback:328: error=USB_ERR_STALLED the cups daemon cannot be stopped (even with kill -9) and none of the lp* apps work anymore. also i'm not able to attach any new usb devices. so a reboot is the only solution that worked in order to get my computer fully operational again. i'm running: FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #6 r189789M: Sat Mar 14 13:37:49 UTC 2009 root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL i386 cheers. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 17:38:05 2009 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 F0EB41065673 for ; Sat, 14 Mar 2009 17:38:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB538FC12 for ; Sat, 14 Mar 2009 17:38:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RCm3F3yzGhgzEp0jo5wA:9 a=THeKh3tpaPaloglMik8A:7 a=HKQww18MluAZ-phJi-mdhOxKkpsA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1040811010; Sat, 14 Mar 2009 18:38:03 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 14 Mar 2009 18:40:33 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141840.33955.hselasky@c2i.net> Cc: Alexander Best Subject: Re: problem with usb 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, 14 Mar 2009 17:38:06 -0000 On Saturday 14 March 2009, Alexander Best wrote: > hi there. > > i'm having a problem with my usb printer. it's being recognised as ulpt0, > but i cannot print. i'm using the cups port for printing. i've set > hw.usb2.ulpt.debug=15 and this is the output: > > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling port 2 > ugen0.3: at usbus0 > ulpt_probe:472: > ulpt_attach:498: sc=0xc6f6be80 > ulpt0: 1.10/1.00, addr 3> on usbus0 > ulpt_attach:538: setting alternate config number: 0 > ulpt0: using bi-directional mode > ulpt_reset:164: > ulpt_write_callback:203: state=0x0 > ulpt_write_callback:203: state=0x1 > ulpt_write_callback:203: state=0x1 > ulpt_write_callback:203: state=0x2 > > after turning off the device i constantly get this output: > > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > > the cups daemon cannot be stopped (even with kill -9) and none of the lp* > apps work anymore. also i'm not able to attach any new usb devices. so a > reboot is the only solution that worked in order to get my computer fully > operational again. What happens if you try to reset the usb device? Maybe you could press CTRL + ALT + ESC and dump all the threads or at least threads having the word "ulpt" in the function names in the backtrace? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 18:54:57 2009 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 A330F106564A for ; Sat, 14 Mar 2009 18:54:57 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id 35F818FC0C for ; Sat, 14 Mar 2009 18:54:56 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.38,363,1233529200"; d="scan'208";a="1704827" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 14 Mar 2009 19:54:55 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 56CB41B07E2; Sat, 14 Mar 2009 19:54:55 +0100 (CET) Date: Sat, 14 Mar 2009 19:54:54 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <200903141840.33955.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: problem with usb 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, 14 Mar 2009 18:54:58 -0000 what do you mean by reset the device? turning it off and on again? nothing! there's no detach notice or attach notice being printed to the console. what actually happens is this: when i try to print a testpage from the cups web interface it says "Processing page 1...". however the print job doesn't get printed. what happens is that a red light on my printer starts flashing telling me that there's an error. if i try to print the testpage another time the whole web interface stops responding. if i run commands like lp or lpq the apps just hang. also running usbconfig lust let's the application hang. if i turn off the printer the console get's flooded with the ulpt_status_callback:328: error=USB_ERR_STALLED message. before flooding the console with those warnings this one get's printed out: ulpt_write_callback:203: state=0x2 if i reboot the system using reboot the flooding stops and the detach info that wasn't output when i unplugged the device get's printed then. i'm not sure at which pint exactly the following warnings are being produced: ulpt_write_callback:203: state=0x0 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x2 i'll reboot my machine and check it out. i tried hitting ctrl+alt+esc. unfortunately i'm not able to use my keyboard anymore after entering the debugger. :( cheers. Hans Petter Selasky schrieb am 2009-03-14: > On Saturday 14 March 2009, Alexander Best wrote: > > hi there. > > i'm having a problem with my usb printer. it's being recognised as > > ulpt0, > > but i cannot print. i'm using the cups port for printing. i've set > > hw.usb2.ulpt.debug=15 and this is the output: > > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling > > port 2 > > ugen0.3: at usbus0 > > ulpt_probe:472: > > ulpt_attach:498: sc=0xc6f6be80 > > ulpt0: > 0/0, rev > > 1.10/1.00, addr 3> on usbus0 > > ulpt_attach:538: setting alternate config number: 0 > > ulpt0: using bi-directional mode > > ulpt_reset:164: > > ulpt_write_callback:203: state=0x0 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x2 > > after turning off the device i constantly get this output: > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > the cups daemon cannot be stopped (even with kill -9) and none of > > the lp* > > apps work anymore. also i'm not able to attach any new usb devices. > > so a > > reboot is the only solution that worked in order to get my computer > > fully > > operational again. > What happens if you try to reset the usb device? > Maybe you could press CTRL + ALT + ESC and dump all the threads or at > least > threads having the word "ulpt" in the function names in the > backtrace? > --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 19:17:00 2009 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 E28EB1065676 for ; Sat, 14 Mar 2009 19:17:00 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id 767808FC0A for ; Sat, 14 Mar 2009 19:17:00 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.38,363,1233529200"; d="scan'208";a="1705101" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 14 Mar 2009 20:16:59 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 5E14B1B07E2; Sat, 14 Mar 2009 20:16:59 +0100 (CET) Date: Sat, 14 Mar 2009 20:16:58 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <200903141840.33955.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: problem with usb 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, 14 Mar 2009 19:17:01 -0000 alright. here's some more information. when i attach the printer i get the following output: uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling port 2 ugen0.3: at usbus0 ulpt_probe:472: ulpt_attach:498: sc=0xc5f81200 ulpt0: on usbus0 ulpt_attach:538: setting alternate config number: 0 ulpt0: using bi-directional mode when i simply issue a print command using `lp file` i get the following output: ulpt_reset:164: ulpt_write_callback:203: state=0x0 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 at this point the printers light flashes a few times indicating that it's about to print. but nothing get's printed. `lpq` tells me that the job has been finished succesfully. the problem where the console get's flooded with warnings and the printer's led reports an error appears randomly. i'm trying to figure out how to exactly to reproduce it. alex Hans Petter Selasky schrieb am 2009-03-14: > On Saturday 14 March 2009, Alexander Best wrote: > > hi there. > > i'm having a problem with my usb printer. it's being recognised as > > ulpt0, > > but i cannot print. i'm using the cups port for printing. i've set > > hw.usb2.ulpt.debug=15 and this is the output: > > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling > > port 2 > > ugen0.3: at usbus0 > > ulpt_probe:472: > > ulpt_attach:498: sc=0xc6f6be80 > > ulpt0: > 0/0, rev > > 1.10/1.00, addr 3> on usbus0 > > ulpt_attach:538: setting alternate config number: 0 > > ulpt0: using bi-directional mode > > ulpt_reset:164: > > ulpt_write_callback:203: state=0x0 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x2 > > after turning off the device i constantly get this output: > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > the cups daemon cannot be stopped (even with kill -9) and none of > > the lp* > > apps work anymore. also i'm not able to attach any new usb devices. > > so a > > reboot is the only solution that worked in order to get my computer > > fully > > operational again. > What happens if you try to reset the usb device? > Maybe you could press CTRL + ALT + ESC and dump all the threads or at > least > threads having the word "ulpt" in the function names in the > backtrace? > --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 19:47:36 2009 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 43EDC1065670 for ; Sat, 14 Mar 2009 19:47:36 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out2.uni-muenster.de (ZIVM-OUT2.UNI-MUENSTER.DE [128.176.192.9]) by mx1.freebsd.org (Postfix) with ESMTP id CA65D8FC2D for ; Sat, 14 Mar 2009 19:47:35 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.38,363,1233529200"; d="scan'208";a="211912542" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay2.uni-muenster.de with ESMTP; 14 Mar 2009 20:47:34 +0100 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id 375F81B0762; Sat, 14 Mar 2009 20:47:34 +0100 (CET) Date: Sat, 14 Mar 2009 20:47:33 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <200903141840.33955.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: problem with usb 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, 14 Mar 2009 19:47:36 -0000 i've been able to reproduce the error. it only occurs when i print a testpage from the cups web interface. if i simply print a page using `lp` the problem doesn't occur. also the printer needs to have the following device line configured: DeviceURI file:/dev/ulpt0 if DeviceURI is set to usb:/dev/ulpt0 the error doesn't occur when i print a testpage. i'm not sure which exact command is being issued when a testpage is being printed. obviously the error i described only appears in rare situations. so it might not be worth fixing it. however apart from this error i'm not able to print at all. even though there's no crash, nothing get's printed. cheers. Hans Petter Selasky schrieb am 2009-03-14: > On Saturday 14 March 2009, Alexander Best wrote: > > hi there. > > i'm having a problem with my usb printer. it's being recognised as > > ulpt0, > > but i cannot print. i'm using the cups port for printing. i've set > > hw.usb2.ulpt.debug=15 and this is the output: > > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling > > port 2 > > ugen0.3: at usbus0 > > ulpt_probe:472: > > ulpt_attach:498: sc=0xc6f6be80 > > ulpt0: > 0/0, rev > > 1.10/1.00, addr 3> on usbus0 > > ulpt_attach:538: setting alternate config number: 0 > > ulpt0: using bi-directional mode > > ulpt_reset:164: > > ulpt_write_callback:203: state=0x0 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x1 > > ulpt_write_callback:203: state=0x2 > > after turning off the device i constantly get this output: > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > ulpt_status_callback:328: error=USB_ERR_STALLED > > the cups daemon cannot be stopped (even with kill -9) and none of > > the lp* > > apps work anymore. also i'm not able to attach any new usb devices. > > so a > > reboot is the only solution that worked in order to get my computer > > fully > > operational again. > What happens if you try to reset the usb device? > Maybe you could press CTRL + ALT + ESC and dump all the threads or at > least > threads having the word "ulpt" in the function names in the > backtrace? > --HPS