From owner-freebsd-usb@FreeBSD.ORG Sun Jan 28 03:50:07 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71B2216A402 for ; Sun, 28 Jan 2007 03:50:07 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6E913C4AA for ; Sun, 28 Jan 2007 03:50:07 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l0S3W3aC021198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 27 Jan 2007 19:32:03 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l0S3W3rx021196 for freebsd-usb@freebsd.org; Sat, 27 Jan 2007 19:32:03 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14332; Sat, 27 Jan 07 18:54:09 PST Date: Sat, 27 Jan 2007 18:56:16 -0800 From: perryh@pluto.rain.com To: freebsd-usb@freebsd.org Message-Id: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: adding quirks to umass(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 03:50:07 -0000 I think I need to add a quirk entry to get umass(4) to handle my camera, but I haven't found any coverage of this in the handbook. Is there a "how to" somewhere (or is there something else I should be doing)? Upon connecting the camera, I get: umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2 umass0: Get Max Lun not supported (SHORT_XFER) umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 so I guess I need to set CAM_QUIRK_NOLUNS and something to adjust the sig. This is on a Dell Optiplex GX1 with 6.1, and the camera is a Vivitar ViviCam 3825. From owner-freebsd-usb@FreeBSD.ORG Sun Jan 28 10:21:04 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6335B16A403 for ; Sun, 28 Jan 2007 10:21:04 +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 0438913C46B for ; Sun, 28 Jan 2007 10:21:03 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe06.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 396648279; Sun, 28 Jan 2007 11:21:02 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 28 Jan 2007 11:20:39 +0100 User-Agent: KMail/1.9.5 References: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> In-Reply-To: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701281120.39855.hselasky@c2i.net> Cc: Subject: Re: adding quirks to umass(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 10:21:04 -0000 On Sunday 28 January 2007 03:56, perryh@pluto.rain.com wrote: > I think I need to add a quirk entry to get umass(4) to handle my > camera, but I haven't found any coverage of this in the handbook. > Is there a "how to" somewhere (or is there something else I should > be doing)? > > Upon connecting the camera, I get: > > umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2 > umass0: Get Max Lun not supported (SHORT_XFER) > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > > so I guess I need to set CAM_QUIRK_NOLUNS and something to adjust > the sig. This is on a Dell Optiplex GX1 with 6.1, and the camera > is a Vivitar ViviCam 3825. There is a quirk, WRONG_CSWSIG, that will fix this. To me it seems like we should just accept both of these signatures, and avoid that growing quirk table. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Jan 28 16:40:21 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CB2B16A411 for ; Sun, 28 Jan 2007 16:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 776A813C4C2 for ; Sun, 28 Jan 2007 16:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0SGeKMF063130 for ; Sun, 28 Jan 2007 16:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0SGeKLW063129; Sun, 28 Jan 2007 16:40:20 GMT (envelope-from gnats) Date: Sun, 28 Jan 2007 16:40:20 GMT Message-Id: <200701281640.l0SGeKLW063129@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Leidinger Cc: Subject: Re: usb/106462: Motorola U6 PEBL not recognized by system via USB [patch attached] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Leidinger List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 16:40:21 -0000 The following reply was made to PR usb/106462; it has been noted by GNATS. From: Alexander Leidinger To: Maxim Azarov Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/106462: Motorola U6 PEBL not recognized by system via USB [patch attached] Date: Sun, 28 Jan 2007 17:33:43 +0100 Quoting Maxim Azarov (Thu, 7 Dec 2006 22:08:31 GMT): > >Description: > Motorola U6 PEBL phone is not recognized by system. I made a > little patch that adds it as a device and enaples charge and > other USB functions of this phone (including data transfer, > GPRS and so on). I have a MOTOKRZR and it has the same device ID as your U6 PEBL. I don't need a quirk to enable the battery charging (tested with ugen and the ucom driver). With the ucom driver I get: ---snip--- ucom0: on uhub1 ucom0: Motorola Inc. Motorola Phone (K1), rev 1.10/0.01, addr 5, iclass 2/2 ucom0: data interface 1, has CM over data, has no break ucom0: status change notification available ---snip--- How did you test the functionality and how did you noticed a change in behavior with/without the quirk? Note: your patch contains the same quirk at two locations in the same file. Bye, Alexander. -- If a man is not a liberal at 25, he has no heart. If he's not a conservative by 45, he has no brain. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Sun Jan 28 19:20:21 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A28B616A403 for ; Sun, 28 Jan 2007 19:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9077A13C4A7 for ; Sun, 28 Jan 2007 19:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0SJKLJV071822 for ; Sun, 28 Jan 2007 19:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0SJKLIq071817; Sun, 28 Jan 2007 19:20:21 GMT (envelope-from gnats) Date: Sun, 28 Jan 2007 19:20:21 GMT Message-Id: <200701281920.l0SJKLIq071817@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Maxim Azarov" Cc: Subject: Re: usb/106462: Motorola U6 PEBL not recognized by system via USB [patch attached] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Azarov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 19:20:21 -0000 The following reply was made to PR usb/106462; it has been noted by GNATS. From: "Maxim Azarov" To: "Alexander Leidinger" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/106462: Motorola U6 PEBL not recognized by system via USB [patch attached] Date: Sun, 28 Jan 2007 21:45:14 +0300 ------=_Part_54871_33065174.1170009914892 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline SSdtIHN1Y2Nlc3NmdWxseSB1c2luZyBwYXRjaGVkIHZlcnNpb24gd2l0aCBwcHAgZm9yIEdQUlMg YW5kIGhhZCBubyBwcm9ibGVtcwp5ZXQgKGZvciBhYm91dCBhIHllYXIgYWxyZWFkeSkuCgpPbiAx LzI4LzA3LCBBbGV4YW5kZXIgTGVpZGluZ2VyIDxBbGV4YW5kZXJAbGVpZGluZ2VyLm5ldD4gd3Jv dGU6Cj4KPiBRdW90aW5nIE1heGltIEF6YXJvdjxtYXhpbUBhemFyb3YuY29tPiAoVGh1LCA3IERl YyAyMDA2IDIyOjA4OjMxIEdNVCk6Cj4KPiA+ID5EZXNjcmlwdGlvbjoKPiA+IE1vdG9yb2xhIFU2 IFBFQkwgcGhvbmUgaXMgbm90IHJlY29nbml6ZWQgYnkgc3lzdGVtLiBJIG1hZGUgYQo+ID4gbGl0 dGxlIHBhdGNoIHRoYXQgYWRkcyBpdCBhcyBhIGRldmljZSBhbmQgZW5hcGxlcyBjaGFyZ2UgYW5k Cj4gPiBvdGhlciBVU0IgZnVuY3Rpb25zIG9mIHRoaXMgcGhvbmUgKGluY2x1ZGluZyBkYXRhIHRy YW5zZmVyLAo+ID4gR1BSUyBhbmQgc28gb24pLgo+Cj4gSSBoYXZlIGEgTU9UT0tSWlIgYW5kIGl0 IGhhcyB0aGUgc2FtZSBkZXZpY2UgSUQgYXMgeW91ciBVNiBQRUJMLiBJCj4gZG9uJ3QgbmVlZCBh IHF1aXJrIHRvIGVuYWJsZSB0aGUgYmF0dGVyeSBjaGFyZ2luZyAodGVzdGVkIHdpdGgKPiB1Z2Vu IGFuZCB0aGUgdWNvbSBkcml2ZXIpLiBXaXRoIHRoZSB1Y29tIGRyaXZlciBJIGdldDoKPiAtLS1z bmlwLS0tCj4gdWNvbTA6IDxNb3Rvcm9sYSBJbmMuIE1vdG9yb2xhIFBob25lIChLMSksIGNsYXNz IDIvMCwgcmV2IDEuMTAvMC4wMSwgYWRkcgo+IDU+IG9uIHVodWIxCj4gdWNvbTA6IE1vdG9yb2xh IEluYy4gTW90b3JvbGEgUGhvbmUgKEsxKSwgcmV2IDEuMTAvMC4wMSwgYWRkciA1LCBpY2xhc3MK PiAyLzIKPiB1Y29tMDogZGF0YSBpbnRlcmZhY2UgMSwgaGFzIENNIG92ZXIgZGF0YSwgaGFzIG5v IGJyZWFrCj4gdWNvbTA6IHN0YXR1cyBjaGFuZ2Ugbm90aWZpY2F0aW9uIGF2YWlsYWJsZQo+IC0t LXNuaXAtLS0KPgo+IEhvdyBkaWQgeW91IHRlc3QgdGhlIGZ1bmN0aW9uYWxpdHkgYW5kIGhvdyBk aWQgeW91IG5vdGljZWQgYSBjaGFuZ2UKPiBpbiBiZWhhdmlvciB3aXRoL3dpdGhvdXQgdGhlIHF1 aXJrPwo+Cj4gTm90ZTogeW91ciBwYXRjaCBjb250YWlucyB0aGUgc2FtZSBxdWlyayBhdCB0d28g bG9jYXRpb25zIGluIHRoZSBzYW1lCj4gZmlsZS4KPgo+IEJ5ZSwKPiBBbGV4YW5kZXIuCj4KPiAt LQo+IElmIGEgbWFuIGlzIG5vdCBhIGxpYmVyYWwgYXQgMjUsIGhlIGhhcyBubyBoZWFydC4KPiBJ ZiBoZSdzIG5vdCBhIGNvbnNlcnZhdGl2ZSBieSA0NSwgaGUgaGFzIG5vIGJyYWluLgo+IGh0dHA6 Ly93d3cuTGVpZGluZ2VyLm5ldCAgQWxleGFuZGVyIEAgTGVpZGluZ2VyLm5ldDogUEdQIElEID0g QjAwNjNGRTcKPiBodHRwOi8vd3d3LkZyZWVCU0Qub3JnICAgICBuZXRjaGlsZCBAIEZyZWVCU0Qu b3JnICA6IFBHUCBJRCA9IDcyMDc3MTM3Cj4KCgoKLS0gCvMg1dfB1sXOycXNLArtwcvTyc0g4drB 0s/XCg== ------=_Part_54871_33065174.1170009914892 Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: base64 Content-Disposition: inline SSYjMzk7bSBzdWNjZXNzZnVsbHkgdXNpbmcgcGF0Y2hlZCB2ZXJzaW9uIHdpdGggcHBwIGZvciBH UFJTIGFuZCBoYWQgbm8gcHJvYmxlbXMgeWV0IChmb3IgYWJvdXQgYSB5ZWFyIGFscmVhZHkpLjxi cj48YnI+PGRpdj48c3BhbiBjbGFzcz0iZ21haWxfcXVvdGUiPk9uIDEvMjgvMDcsIDxiIGNsYXNz PSJnbWFpbF9zZW5kZXJuYW1lIj5BbGV4YW5kZXIgTGVpZGluZ2VyPC9iPiAmbHQ7PGEgaHJlZj0i bWFpbHRvOkFsZXhhbmRlckBsZWlkaW5nZXIubmV0Ij4KQWxleGFuZGVyQGxlaWRpbmdlci5uZXQ8 L2E+Jmd0OyB3cm90ZTo8L3NwYW4+PGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHls ZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0LCAyMDQsIDIwNCk7IG1hcmdpbjogMHB0 IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4OyI+UXVvdGluZyBNYXhpbSBBemFyb3Ym bHQ7PGEgaHJlZj0ibWFpbHRvOm1heGltQGF6YXJvdi5jb20iPgptYXhpbUBhemFyb3YuY29tPC9h PiZndDsgKFRodSwgNyBEZWMgMjAwNiAyMjowODozMSBHTVQpOjxicj48YnI+Jmd0OyAmZ3Q7RGVz Y3JpcHRpb246PGJyPiZndDsgTW90b3JvbGEgVTYgUEVCTCBwaG9uZSBpcyBub3QgcmVjb2duaXpl ZCBieSBzeXN0ZW0uIEkgbWFkZSBhPGJyPiZndDsgbGl0dGxlIHBhdGNoIHRoYXQgYWRkcyBpdCBh cyBhIGRldmljZSBhbmQgZW5hcGxlcyBjaGFyZ2UgYW5kCjxicj4mZ3Q7IG90aGVyIFVTQiBmdW5j dGlvbnMgb2YgdGhpcyBwaG9uZSAoaW5jbHVkaW5nIGRhdGEgdHJhbnNmZXIsPGJyPiZndDsgR1BS UyBhbmQgc28gb24pLjxicj48YnI+SSBoYXZlIGEgTU9UT0tSWlIgYW5kIGl0IGhhcyB0aGUgc2Ft ZSBkZXZpY2UgSUQgYXMgeW91ciBVNiBQRUJMLiBJPGJyPmRvbiYjMzk7dCBuZWVkIGEgcXVpcmsg dG8gZW5hYmxlIHRoZSBiYXR0ZXJ5IGNoYXJnaW5nICh0ZXN0ZWQgd2l0aAo8YnI+dWdlbiBhbmQg dGhlIHVjb20gZHJpdmVyKS4gV2l0aCB0aGUgdWNvbSBkcml2ZXIgSSBnZXQ6PGJyPi0tLXNuaXAt LS08YnI+dWNvbTA6ICZsdDtNb3Rvcm9sYSBJbmMuIE1vdG9yb2xhIFBob25lIChLMSksIGNsYXNz IDIvMCwgcmV2IDEuMTAvMC4wMSwgYWRkciA1Jmd0OyBvbiB1aHViMTxicj51Y29tMDogTW90b3Jv bGEgSW5jLiBNb3Rvcm9sYSBQaG9uZSAoSzEpLCByZXYgMS4xMAovMC4wMSwgYWRkciA1LCBpY2xh c3MgMi8yPGJyPnVjb20wOiBkYXRhIGludGVyZmFjZSAxLCBoYXMgQ00gb3ZlciBkYXRhLCBoYXMg bm8gYnJlYWs8YnI+dWNvbTA6IHN0YXR1cyBjaGFuZ2Ugbm90aWZpY2F0aW9uIGF2YWlsYWJsZTxi cj4tLS1zbmlwLS0tPGJyPjxicj5Ib3cgZGlkIHlvdSB0ZXN0IHRoZSBmdW5jdGlvbmFsaXR5IGFu ZCBob3cgZGlkIHlvdSBub3RpY2VkIGEgY2hhbmdlPGJyPgppbiBiZWhhdmlvciB3aXRoL3dpdGhv dXQgdGhlIHF1aXJrPzxicj48YnI+Tm90ZTogeW91ciBwYXRjaCBjb250YWlucyB0aGUgc2FtZSBx dWlyayBhdCB0d28gbG9jYXRpb25zIGluIHRoZSBzYW1lPGJyPmZpbGUuPGJyPjxicj5CeWUsPGJy PkFsZXhhbmRlci48YnI+PGJyPi0tPGJyPklmIGEgbWFuIGlzIG5vdCBhIGxpYmVyYWwgYXQgMjUs IGhlIGhhcyBubyBoZWFydC48YnI+SWYgaGUmIzM5O3Mgbm90IGEgY29uc2VydmF0aXZlIGJ5IDQ1 LCBoZSBoYXMgbm8gYnJhaW4uCjxicj48YSBocmVmPSJodHRwOi8vd3d3LkxlaWRpbmdlci5uZXQi Pmh0dHA6Ly93d3cuTGVpZGluZ2VyLm5ldDwvYT4mbmJzcDsmbmJzcDtBbGV4YW5kZXIgQCA8YSBo cmVmPSJodHRwOi8vTGVpZGluZ2VyLm5ldCI+TGVpZGluZ2VyLm5ldDwvYT46IFBHUCBJRCA9IEIw MDYzRkU3PGJyPjxhIGhyZWY9Imh0dHA6Ly93d3cuRnJlZUJTRC5vcmciPmh0dHA6Ly93d3cuRnJl ZUJTRC5vcmc8L2E+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IG5ldGNoaWxkIEAgCkZyZWVCU0Qu b3JnJm5ic3A7Jm5ic3A7OiBQR1AgSUQgPSA3MjA3NzEzNzxicj48L2Jsb2NrcXVvdGU+PC9kaXY+ PGJyPjxiciBjbGVhcj0iYWxsIj48YnI+LS0gPGJyPvMg1dfB1sXOycXNLDxicj7twcvTyc0g4drB 0s/XCg== ------=_Part_54871_33065174.1170009914892-- From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 01:10:23 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0261016A535 for ; Mon, 29 Jan 2007 01:10:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id CEA1713C4B6 for ; Mon, 29 Jan 2007 01:10:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0T1AMvq099106 for ; Mon, 29 Jan 2007 01:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0T1AMof099105; Mon, 29 Jan 2007 01:10:22 GMT (envelope-from gnats) Date: Mon, 29 Jan 2007 01:10:22 GMT Message-Id: <200701290110.l0T1AMof099105@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Matthew Byng-Maddick Cc: Subject: Re: usb/104352: [ural] ural driver doesn't work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Byng-Maddick List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 01:10:23 -0000 The following reply was made to PR usb/104352; it has been noted by GNATS. From: Matthew Byng-Maddick To: bug-followup@FreeBSD.org, hannes.hauswedell@gmail.com Cc: Subject: Re: usb/104352: [ural] ural driver doesn't work Date: Mon, 29 Jan 2007 00:37:12 +0000 Having just had the same problem, I made the following patch to the ural driver: --- /usr/src/sys/dev/usb/usbdevs.orig Mon Jan 29 00:31:57 2007 +++ /usr/src/sys/dev/usb/usbdevs Sun Jan 28 17:59:57 2007 @@ -1448,6 +1448,7 @@ /* Ralink Technology products */ product RALINK RT2570 0x1706 RT2500USB wireless adapter product RALINK RT2570_2 0x2570 RT2500USB wireless adapter +product RALINK RT2570_3 0x2573 RT2500USB wireless adapter /* ReakTek products */ product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet (GREEN HOUSE) --- /usr/src/sys/dev/usb/if_ural.c.orig Mon Jan 29 00:33:44 2007 +++ /usr/src/sys/dev/usb/if_ural.c Sun Jan 28 18:00:30 2007 @@ -101,6 +101,7 @@ { USB_VENDOR_NOVATECH, USB_PRODUCT_NOVATECH_NV902 }, { USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570 }, { USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570_2 }, + { USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2570_3 }, { USB_VENDOR_VTECH, USB_PRODUCT_VTECH_RT2570 }, { USB_VENDOR_ZINWELL, USB_PRODUCT_ZINWELL_RT2570 } }; This seemed to compile for me, but I can't get the device to get a carrier in either hostap or ibss mode (ifconfig wouldn't let me do ibss-master). Hope this helps a little, at least Cheers MBM From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 02:31:17 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A029D16A405 for ; Mon, 29 Jan 2007 02:31:17 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 85E4B13C471 for ; Mon, 29 Jan 2007 02:31:17 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l0T2VAxp025408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 28 Jan 2007 18:31:10 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l0T2V9Md025407; Sun, 28 Jan 2007 18:31:09 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA15483; Sun, 28 Jan 07 18:26:36 PST Date: Sun, 28 Jan 2007 18:28:44 -0800 From: perryh@pluto.rain.com To: hselasky@c2i.net Message-Id: <45bd5bdc.A/uT8ocOP1CCCWnH%perryh@pluto.rain.com> References: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> <200701281120.39855.hselasky@c2i.net> In-Reply-To: <200701281120.39855.hselasky@c2i.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: adding quirks to umass(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 02:31:17 -0000 > > umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2 > > umass0: Get Max Lun not supported (SHORT_XFER) > > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 ... > > so I guess I need to set CAM_QUIRK_NOLUNS and something to adjust > > the sig. This is on a Dell Optiplex GX1 with 6.1, and the camera > > is a Vivitar ViviCam 3825. > > There is a quirk, WRONG_CSWSIG, that will fix this. How do I do that? Do I need to edit kernel sources and rebuild, or can quirks be set up using something like camcontrol(8)? From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 06:32:38 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC8E816A520 for ; Mon, 29 Jan 2007 06:32:38 +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 5D5A613C4AA for ; Mon, 29 Jan 2007 06:32:38 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 397834364; Mon, 29 Jan 2007 07:32:36 +0100 From: Hans Petter Selasky To: perryh@pluto.rain.com Date: Mon, 29 Jan 2007 07:32:13 +0100 User-Agent: KMail/1.9.5 References: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> <200701281120.39855.hselasky@c2i.net> <45bd5bdc.A/uT8ocOP1CCCWnH%perryh@pluto.rain.com> In-Reply-To: <45bd5bdc.A/uT8ocOP1CCCWnH%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701290732.13714.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: adding quirks to umass(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 06:32:38 -0000 On Monday 29 January 2007 03:28, perryh@pluto.rain.com wrote: > > > umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2 > > > umass0: Get Max Lun not supported (SHORT_XFER) > > > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > > ... > > > > so I guess I need to set CAM_QUIRK_NOLUNS and something to adjust > > > the sig. This is on a Dell Optiplex GX1 with 6.1, and the camera > > > is a Vivitar ViviCam 3825. > > > > There is a quirk, WRONG_CSWSIG, that will fix this. > > How do I do that? Do I need to edit kernel sources and rebuild, > or can quirks be set up using something like camcontrol(8)? You need to edit the "sys/dev/usb/umass.c" sources. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 08:22:24 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E72B816A400; Mon, 29 Jan 2007 08:22:24 +0000 (UTC) (envelope-from bel@orel.ru) Received: from mail.orel.ru (relay.orel.ru [89.113.48.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF4F13C441; Mon, 29 Jan 2007 08:22:24 +0000 (UTC) (envelope-from bel@orel.ru) Received: from [192.168.99.99] (ford.ct.orel.ru [89.113.48.75]) by mail.orel.ru (8.13.8/8.13.4) with ESMTP id l0T7iHdE025344; Mon, 29 Jan 2007 10:44:21 +0300 (MSK) (envelope-from bel@orel.ru) Message-ID: <45BDA5D1.70507@orel.ru> Date: Mon, 29 Jan 2007 10:44:17 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Thunderbird 1.5 (X11/20060123) MIME-Version: 1.0 To: Hans Petter Selasky References: <200701261551.18485.hselasky@freebsd.org> In-Reply-To: <200701261551.18485.hselasky@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on mail.orel.ru host X-Antivirus-Code: 100000 X-Zombi-Check: on netra2.orel.ru Cc: freebsd-usb@freebsd.org Subject: Re: New USB stack on non x86 processors 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, 29 Jan 2007 08:22:25 -0000 Hi, Hans! Hans Petter Selasky wrote: > If you've got problems getting the new USB stack working on non-x86 > processors, try to disable all compiler optimizations when you compile the > USB module. I am sorry to say that there is a bug in GCC that prevents some > parts of the USB code from functioning correctly. And don't ask how many > hours were wasted debugging this. And yes, the code is plain simple C. The problem on sparc64 is resolved in /usr/include/machine/endian.h two months ago: Now the new USB stack works with default optimization options (-O2 -fno-strict-aliasing). Thanks, --bel From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 09:40:13 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7467716A400 for ; Mon, 29 Jan 2007 09:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 516B313C4A6 for ; Mon, 29 Jan 2007 09:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0T9eDs5036649 for ; Mon, 29 Jan 2007 09:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0T9eDDj036648; Mon, 29 Jan 2007 09:40:13 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jan 2007 09:40:13 GMT Resent-Message-Id: <200701290940.l0T9eDDj036648@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, Ken POLIZZI Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1588C16A401 for ; Mon, 29 Jan 2007 09:35:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 03DE513C441 for ; Mon, 29 Jan 2007 09:35:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0T9ZuCS060905 for ; Mon, 29 Jan 2007 09:35:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0T9Zupi060904; Mon, 29 Jan 2007 09:35:56 GMT (envelope-from nobody) Message-Id: <200701290935.l0T9Zupi060904@www.freebsd.org> Date: Mon, 29 Jan 2007 09:35:56 GMT From: Ken POLIZZI To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/108509: Freebsd hang at startup after ehci0 detected (CD Loader 1.2) 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, 29 Jan 2007 09:40:13 -0000 >Number: 108509 >Category: usb >Synopsis: Freebsd hang at startup after ehci0 detected (CD Loader 1.2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 09:40:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ken POLIZZI >Release: 5.2 >Organization: Jaguar Network >Environment: standard compaq evo n800v laptop >Description: Freebsd hang at startup while trying to install it. It hangs just after ehci0 [GIANT LOCKED] I had this problem with all FreeBSD installer CD post 5.2 version. 5.2 works fine. Maybe a problem with CD Loader 1.2 ? I tried all BIOS configurations, ACPI disabled / enabled, same issue. Hope it'll help. Here is the laptop configuration (standard) : Motherboard: CPU Type Mobile Intel Pentium 4M, 1200 MHz (3 x 400) Motherboard Name Compaq Evo N800v Motherboard Chipset Intel Brookdale i845MP System Memory 768 MB (DDR SDRAM) BIOS Type Compaq (11/22/02) Communication Port Port de communication (COM1) Communication Port Port imprimante ECP (LPT1) Display: Video Adapter MOBILITY RADEON 7500 (32 MB) Video Adapter MOBILITY RADEON 7500 (32 MB) 3D Accelerator ATI M7 Monitor Écran Plug-and-Play [NoDB] (122010010) Monitor Écran Plug-and-Play [NoDB] Multimedia: Audio Adapter Intel 82801CA ICH3-S - AC'97 Audio Controller [B-1] Storage: Disk Drive IC25N040ATCS05-0 (40 GB, 5400 RPM, Ultra-ATA/100) Optical Drive HL-DT-ST RW/DVD GCC-4240N (DVD:8x, CD:24x/10x/24x DVD-ROM/CD-RW) Partitions: C: (NTFS) 31657 MB (7181 MB free) Input: Keyboard Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 Mouse Souris HID Mouse Synaptics PS/2 Port TouchPad Network: Network Adapter Cisco Systems 350 Series PCMCIA Wireless LAN Adapter Network Adapter Connexion réseau Intel(R) PRO/100 Modem SoftV92 Data Fax Modem Peripherals: USB Device Périphérique d'interface utilisateur USB --------[ DMI ]--------------------------------------------------------------------------------------------------------- [ BIOS ] BIOS Properties: Vendor Compaq Version 68P4M Ver. F.18 Release Date 11/22/2002 Size 1024 KB Boot Devices Floppy Disk, Hard Disk, CD-ROM, LS-120 Capabilities Flash BIOS, Shadow BIOS, Selectable Boot, EDD, BBS, Smart Battery Supported Standards DMI, APM, ACPI, PnP Expansion Capabilities PCI, AGP, PCMCIA, USB [ System ] System Properties: Manufacturer Compaq Product Evo N800v Version F.18 Wake-Up Type Power Switch [ Motherboard ] Motherboard Properties: Manufacturer Compaq Product 07D8 Version H8 Version 14.1F [ Chassis ] Chassis Properties: Manufacturer Compaq Chassis Type Notebook [ Processors / Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ] Processor Properties: Manufacturer Mobile I Version Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz External Clock 133 MHz Maximum Clock 2000 MHz Current Clock 1200 MHz Type Central Processor Voltage 1.8 V Status Enabled Upgrade None Socket Designation U10 [ Caches / Internal L1 Cache ] Cache Properties: Type Internal Status Enabled Operational Mode Write-Back Associativity 4-way Set-Associative Maximum Size 16 KB Installed Size 16 KB Supported SRAM Type Burst Current SRAM Type Burst Socket Designation Internal L1 Cache [ Caches / Internal L2 Cache ] Cache Properties: Type External Status Enabled Operational Mode Write-Back Associativity 4-way Set-Associative Maximum Size 512 KB Installed Size 512 KB Supported SRAM Type Burst Current SRAM Type Burst Error Correction None Socket Designation Internal L2 Cache [ Memory Devices / DIMM #1 ] Memory Device Properties: Form Factor SODIMM Type Detail Synchronous Size 512 MB Speed 142 MHz Total Width 64-bit Data Width 64-bit Device Locator DIMM #1 Bank Locator DD000000 [ Memory Devices / DIMM #2 ] Memory Device Properties: Form Factor SODIMM Type Detail Synchronous Size 256 MB Speed 142 MHz Total Width 64-bit Data Width 64-bit Device Locator DIMM #2 Bank Locator 031DE65A [ Memory Devices / SST49F008A ] Memory Device Properties: Form Factor Chip Type FLASH Type Detail Non-volatile Size 1024 KB Total Width 8-bit Data Width 8-bit [ System Slots / PC CARD-Slot 0 ] System Slot Properties: Slot Designation PC CARD-Slot 0 Type PC Card (PCMCIA) Usage Empty Data Bus Width 32-bit Length Short --------[ Sensor ]------------------------------------------------------------------------------------------------------ Sensor Properties: Sensor Type Analog Devices ADM1030 Sensor Access SMBus 2Ch --------[ CPU ]--------------------------------------------------------------------------------------------------------- CPU Properties: CPU Type Mobile Intel Pentium 4M, 1200 MHz (3 x 400) CPU Alias Northwood, A80532 Original Clock 2000 MHz L1 Trace Cache 12K Instructions L1 Data Cache 8 KB L2 Cache 512 KB (On-Die, ATC, Full-Speed) CPU Manufacturer: Company Name Intel Corporation Product Information http://www.intel.com/products/browse/processor.htm CPU Utilization: CPU #1 0 % --------[ CPUID ]------------------------------------------------------------------------------------------------------- CPUID Properties: CPUID Manufacturer GenuineIntel CPUID CPU Name Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz CPUID Revision 0F27h IA Brand ID FAh (Intel Pentium 4M) Platform ID 11h (Mobile uFCPGA478) IA CPU Serial Number Unknown Instruction Set: AMD 3DNow! Not Supported AMD 3DNow! Professional Not Supported AMD Enhanced 3DNow! Not Supported AMD Extended MMX Not Supported AMD64 Not Supported Cyrix Extended MMX Not Supported IA-64 Not Supported IA MMX Supported IA SSE Supported IA SSE 2 Supported IA SSE 3 Not Supported CLFLUSH Instruction Supported CMPXCHG8B Instruction Supported CMPXCHG16B Instruction Not Supported Conditional Move Instruction Supported FEMMS Instruction Not Supported MONITOR / MWAIT Instruction Not Supported CPUID Features: 36-bit Page Size Extension Supported Advanced Cryptography Engine Not Supported Alternate Instruction Set Not Supported Automatic Clock Control Supported CPL Qualified Debug Store Not Supported Debug Trace Store Supported Debugging Extension Supported Enhanced SpeedStep Technology Not Supported Fast Save & Restore Supported Fast System Call Supported Hyper-Threading Technology Not Supported L1 Context ID Supported Local APIC On Chip Not Supported LongRun Not Supported LongRun Table Interface Not Supported Machine-Check Architecture Supported Machine-Check Exception Supported Memory Type Range Registers Supported Model Specific Registers Supported No-Execute Page Protection Not Supported Page Attribute Table Supported Page Global Extension Supported Page Size Extension Supported Pending Break Event Supported Physical Address Extension Supported Processor Duty Cycle Control Supported Processor Serial Number Not Supported Random Number Generator Not Supported Self-Snoop Supported Thermal Monitor Supported Thermal Monitor 2 Not Supported Time Stamp Counter Supported Virtual Mode Extension Supported --------[ Motherboard ]------------------------------------------------------------------------------------------------- Motherboard Properties: Motherboard ID Motherboard Name Compaq Evo N800v Front Side Bus Properties: Bus Type Intel NetBurst Bus Width 64-bit Real Clock 100 MHz (QDR) Effective Clock 400 MHz Bandwidth 3200 MB/s Memory Bus Properties: Bus Type DDR SDRAM Bus Width 64-bit Real Clock 133 MHz (DDR) Effective Clock 267 MHz Bandwidth 2133 MB/s Chipset Bus Properties: Bus Type Intel Hub Interface Bus Width 8-bit Real Clock 67 MHz (QDR) Effective Clock 267 MHz Bandwidth 267 MB/s Motherboard Manufacturer: Company Name Hewlett-Packard Company Product Information http://www.compaq.com BIOS Download http://support.hp.com --------[ Memory ]------------------------------------------------------------------------------------------------------ Physical Memory: Total 767 MB Used 476 MB Free 290 MB Utilization 62 % Swap Space: Total 1876 MB Used 408 MB Free 1467 MB Utilization 22 % Virtual Memory: Total 2643 MB Used 884 MB Free 1758 MB Utilization 33 % --------[ SPD ]--------------------------------------------------------------------------------------------------------- [ 512 MB PC2700 DDR SDRAM ] Memory Module Properties: Module Size 512 MB (1 rows, 4 banks) Module Type Unbuffered Memory Type DDR SDRAM Memory Speed PC2700 (166 MHz) Module Width 64 bit Module Voltage SSTL 2.5 Error Detection Method None Refresh Rate Reduced (7.8 us), Self-Refresh Highest CAS Latency 2.5 (6.0 ns @ 166 MHz) 2nd Highest CAS Latency 2.0 (7.5 ns @ 133 MHz) Memory Module Features: Early RAS# Precharge Not Supported Auto-Precharge Not Supported Precharge All Not Supported Write1/Read Burst Not Supported Buffered Address/Control Inputs Not Supported Registered Address/Control Inputs Not Supported On-Card PLL (Clock) Not Supported Buffered DQMB Inputs Not Supported Registered DQMB Inputs Not Supported Differential Clock Input Supported Redundant Row Address Not Supported [ Infineon 64D32020GDL7B ] Memory Module Properties: Module Name Infineon 64D32020GDL7B Manufacture Date Week 1 / 2003 Module Size 256 MB (2 rows, 4 banks) Module Type Unbuffered Memory Type DDR SDRAM Memory Speed PC2100 (133 MHz) Module Width 64 bit Module Voltage SSTL 2.5 Error Detection Method None Refresh Rate Reduced (7.8 us), Self-Refresh Highest CAS Latency 2.5 (7.0 ns @ 142 MHz) 2nd Highest CAS Latency 2.0 (7.5 ns @ 133 MHz) Memory Module Features: Early RAS# Precharge Supported Auto-Precharge Not Supported Precharge All Not Supported Write1/Read Burst Not Supported Buffered Address/Control Inputs Not Supported Registered Address/Control Inputs Not Supported On-Card PLL (Clock) Not Supported Buffered DQMB Inputs Not Supported Registered DQMB Inputs Not Supported Differential Clock Input Supported Redundant Row Address Not Supported Memory Module Manufacturer: Company Name Infineon Technologies AG Product Information http://www.infineon.com/cgi/ecrm.dll/ecrm/scripts/prod_cat.jsp?oid=-8003 --------[ Chipset ]----------------------------------------------------------------------------------------------------- Chipset Properties: Motherboard Chipset Intel Brookdale i845MP In-Order Queue Depth 12 CAS Latency 2T RAS To CAS Delay 3T RAS Precharge 3T RAS Active Time 6T AC'97 Audio Controller: Audio Controller Type Intel 82801CA ICH3-S Codec Name Analog Devices AD1886A Codec ID 41445363h Memory Slots: DRAM Slot #1 512 MB (DDR SDRAM) DRAM Slot #2 256 MB (DDR SDRAM) AGP Properties: AGP Version 2.00 AGP Status Enabled AGP Aperture Size 256 MB Supported AGP Speeds 1x, 2x, 4x Current AGP Speed 4x Fast-Write Supported, Disabled Side Band Addressing Supported, Enabled Chipset Manufacturer: Company Name Intel Corporation Product Information http://www.intel.com/products/browse/chipsets.htm Driver Download http://support.intel.com/support/chipsets/index.htm --------[ BIOS ]-------------------------------------------------------------------------------------------------------- BIOS Properties: BIOS Type Compaq Compaq BIOS Ownership Tag Unknown Compaq BIOS UUID Unknown System BIOS Date 11/22/02 Video BIOS Date 02/10/23 BIOS Manufacturer: Company Name Hewlett-Packard Company Product Information http://www.compaq.com/showroom Problems & Suggestions: Suggestion System BIOS is more than 2 years old. Update it if necessary. --------[ Windows Video ]----------------------------------------------------------------------------------------------- [ MOBILITY RADEON 7500 ] Video Adapter Properties: Device Description MOBILITY RADEON 7500 Adapter String MOBILITY RADEON 7500 BIOS String BK6.0.0 VR006.007.006.007.002.001.001.001 j Chip Type ATI MOBILITY RADEON 7500 AGP (0x4C57) DAC Type Internal DAC(400MHz) Installed Drivers ati2dvag (6.14.10.6542) Memory Size 32 MB Video Adapter Manufacturer: Company Name ATI Technologies Inc. Product Information http://www.ati.com/products/home-office.html Driver Download http://www.ati.com/support/driver.html [ MOBILITY RADEON 7500 ] Video Adapter Properties: Device Description MOBILITY RADEON 7500 Adapter String MOBILITY RADEON 7500 BIOS String BK6.0.0 VR006.007.006.007.002.001.001.001 j Chip Type ATI MOBILITY RADEON 7500 AGP (0x4C57) DAC Type Internal DAC(400MHz) Installed Drivers ati2dvag (6.14.10.6542) Memory Size 32 MB Video Adapter Manufacturer: Company Name ATI Technologies Inc. Product Information http://www.ati.com/products/home-office.html Driver Download http://www.ati.com/support/driver.html --------[ PCI / AGP Video ]--------------------------------------------------------------------------------------------- ATI Mobility Radeon 7500 (M7) Video Adapter ATI M7 3D Accelerator --------[ GPU ]--------------------------------------------------------------------------------------------------------- Graphics Processor Properties: Video Adapter ATI Mobility Radeon 7500 (M7) GPU Code Name M7 PCI Device 1002 / 4C57 Bus Type AGP Memory Size 32 MB GPU Clock 261 MHz Pixel Pipelines 2 TMU Per Pipeline 3 Vertex Shaders 1 (v1.1) Pixel Shaders 1 (v0.5) DirectX Hardware Support DirectX v7.0 Pixel Fillrate 522 MPixel/s Texel Fillrate 1566 MTexel/s Memory Bus Properties: Bus Type DDR Bus Width 128-bit Real Clock 176 MHz (DDR) Effective Clock 352 MHz Bandwidth 5632 MB/s Graphics Processor Manufacturer: Company Name ATI Technologies Inc. Product Information http://www.ati.com/products/home-office.html Driver Download http://www.ati.com/support/driver.html ATI Registers: ati-0F8 02000000 ati-140 29002901 ati-154 34444444 ati-158 55320032 ati-CLKIND-0A 00749C0C ati-CLKIND-0B 58001200 ati-CLKIND-0C 0400A430 ati-CLKIND-0D 00000002 ati-CLKIND-0E 0411BC00 ati-CLKIND-0F 03980398 ati-CLKIND-12 AA022323 --------[ Monitor ]----------------------------------------------------------------------------------------------------- [ Écran par défaut ] [ Écran Plug-and-Play [NoDB] ] Monitor Properties: Monitor Name Écran Plug-and-Play [NoDB] Monitor ID LGP9F04 Manufacture Date 2002 Max. Visible Display Size 30 cm x 23 cm (14.9") Picture Aspect Ratio 4:3 Gamma 2.20 DPMS Mode Support Active-Off [ Generic Television ] --------[ PCI / PnP Audio ]--------------------------------------------------------------------------------------------- Intel 82801CA ICH3-S - AC'97 Audio Controller [B-1] PCI --------[ Windows Storage ]--------------------------------------------------------------------------------------------- Device Properties: Driver Description IC25N040ATCS05-0 Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File disk.inf Disk Device Physical Info: Manufacturer IBM Hard Disk Family Travelstar 40GNX Family Code Name Cascade Form Factor 2.5" Formatted Capacity 40 GB Disks 2 Recording Surfaces 4 Physical Dimensions 100 x 70 x 9.5 mm Max. Weight 102 g Average Rotational Latency 5.5 ms Rotational Speed 5400 RPM Max. Internal Data Rate 297 Mbit/s Average Seek 12 ms Track-To-Track Seek 2.5 ms Full Seek 23 ms Interface Ultra-ATA/100 Buffer-to-Host Data Rate 100 MB/s Buffer Size 8 MB Device Manufacturer: Company Name Hitachi Global Storage Technologies Product Information http://www.hgst.com/products [ HL-DT-ST RW/DVD GCC-4240N ] Device Properties: Driver Description HL-DT-ST RW/DVD GCC-4240N Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File cdrom.inf Optical Drive Properties: Manufacturer Hitachi-LG Device Type DVD-ROM/CD-RW Speed DVD:8x, CD:24x/10x/24x Device Manufacturer: Company Name LG Electronics Product Information http://www.lge.com/catalog/proddivergent?categoryId=CTG1000500 [ Canal IDE principal ] Device Properties: Driver Description Canal IDE principal Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File mshdc.inf Device Resources: IRQ 14 Port 01F0-01F7 Port 03F6-03F6 [ Canal IDE secondaire ] Device Properties: Driver Description Canal IDE secondaire Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File mshdc.inf Device Resources: IRQ 15 Port 0170-0177 Port 0376-0376 --------[ Logical Drives ]---------------------------------------------------------------------------------------------- C: Local Disk NTFS B0D9-0B0E 31657 MB 7181 MB 23 % F: Optical Drive --------[ Physical Drives ]--------------------------------------------------------------------------------------------- [ Drive #1 (37.3 GB) ] #1 (Active) NTFS C: 0 MB 31657 MB --------[ Optical Drives ]---------------------------------------------------------------------------------------------- HL-DT-ST RW/DVD GCC-4240N Hitachi-LG DVD-ROM/CD-RW DVD:8x, CD:24x/10x/24x --------[ ATA ]--------------------------------------------------------------------------------------------------------- [ IC25N040ATCS05-0 (CLP429F4JDM4MA) ] ATA Device Properties: Revision CS4OA61A Parameters 77520 cylinders, 16 heads, 63 sectors per track, 512 bytes per sector LBA Sectors 78140160 Buffer 7898 KB (Dual Ported, Read Ahead) Multiple Sectors 16 ECC Bytes 4 Max. PIO Transfer Mode PIO 4 Max. UDMA Transfer Mode UDMA 5 (ATA-100) Active UDMA Transfer Mode UDMA 5 (ATA-100) Unformatted Capacity 38154 MB ATA Device Features: SMART Supported Security Mode Supported Power Management Supported Advanced Power Management Supported Write Cache Supported Host Protected Area Supported Power-Up In Standby Supported Automatic Acoustic Management Not Supported 48-bit LBA Not Supported Device Configuration Overlay Supported ATA Device Physical Info: Manufacturer IBM Hard Disk Family Travelstar 40GNX Family Code Name Cascade Form Factor 2.5" Formatted Capacity 40 GB Disks 2 Recording Surfaces 4 Physical Dimensions 100 x 70 x 9.5 mm Max. Weight 102 g Average Rotational Latency 5.5 ms Rotational Speed 5400 RPM Max. Internal Data Rate 297 Mbit/s Average Seek 12 ms Track-To-Track Seek 2.5 ms Full Seek 23 ms Interface Ultra-ATA/100 Buffer-to-Host Data Rate 100 MB/s Buffer Size 8 MB ATA Device Manufacturer: Company Name Hitachi Global Storage Technologies Product Information http://www.hgst.com/products --------[ SMART ]------------------------------------------------------------------------------------------------------- 01 Raw Read Error Rate 62 100 94 0 OK: Value is normal 02 Throughput Performance 40 100 100 0 OK: Value is normal 03 Spin Up Time 33 223 100 1 OK: Value is normal 04 Start/Stop Count 0 98 98 3916 OK: Always passing 05 Reallocated Sector Count 5 100 100 131088 OK: Value is normal 07 Seek Error Rate 67 100 100 0 OK: Value is normal 08 Seek Time Performance 40 100 98 0 OK: Value is normal 09 Power-On Time Count 0 68 68 14362 OK: Always passing 0A Spin Retry Count 60 100 100 0 OK: Value is normal 0C Power Cycle Count 0 99 99 2424 OK: Always passing BF G-Sense Error Rate 0 99 91 131072 OK: Always passing C0 Power-Off Retract Count 0 98 98 417 OK: Always passing C1 Load/Unload Cycle Count 0 60 60 409804 OK: Always passing C2 Temperature 0 130 83 6, 42 OK: Always passing C4 Reallocation Event Count 0 100 100 5 OK: Always passing C5 Current Pending Sector Count 0 100 100 2 OK: Always passing C6 Off-Line Uncorrectable Sector Count 0 100 100 0 OK: Always passing C7 Ultra ATA CRC Error Rate 0 200 200 0 OK: Always passing D2 1 100 100 0 OK: Value is normal --------[ Keyboard ]---------------------------------------------------------------------------------------------------- Keyboard Properties: Keyboard Name Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 Keyboard Type IBM enhanced (101- or 102-key) keyboard Keyboard Layout Français ANSI Code Page 1252 - Europe occidentale (Windows) OEM Code Page 850 Repeat Delay 1 Repeat Rate 31 --------[ Mouse ]------------------------------------------------------------------------------------------------------- Mouse Properties: Mouse Name Souris HID Mouse Buttons 5 Mouse Hand Right Pointer Speed 1 Double-Click Time 500 msec X/Y Threshold 6 / 10 Wheel Scroll Lines 6 Mouse Features: Active Window Tracking Disabled ClickLock Disabled Hide Pointer While Typing Enabled Mouse Wheel Present Move Pointer To Default Button Disabled Pointer Trails Disabled Sonar Disabled --------[ PCI / PnP Network ]------------------------------------------------------------------------------------------- Intel PRO/100 VE Network Connection PCI --------[ Windows Devices ]--------------------------------------------------------------------------------------------- [ Devices ] Batteries: Adaptateur secteur Microsoft 5.1.2535.0 Batterie à méthode de contrôle compatible ACPI Microsoft5.1.2535.0 Batterie à méthode de contrôle compatible ACPI Microsoft5.1.2535.0 Cartes graphiques: MOBILITY RADEON 7500 6.14.10.6542 Cartes PCMCIA: Contrôleur CardBus Texas Instruments PCI-1410 5.1.2600.0 Cartes réseau: 802.11b Wireless CardBus PC Card - Miniport d'ordonnancement de paquets5.1.2535.0 Carte réseau sans fil Cisco Systems 340 Series - Miniport d'ordonnancement de paquets5.1.2535.0 Cisco Systems 350 Series PCMCIA Wireless LAN Adapter8.1.7.31 Connexion réseau Intel(R) PRO/100 5.41.22.0 Connexion réseau Intel(R) PRO/100 - Miniport d'ordonnancement de paquets5.1.2535.0 IEEE 802.11 Wireless LAN/PC Card(3V) - Miniport d'ordonnancement de paquets5.1.2535.0 Miniport réseau étendu (IP) 5.1.2535.0 Miniport réseau étendu (IP) - Miniport d'ordonnancement de paquets5.1.2535.0 Miniport réseau étendu (L2TP) 5.1.2535.0 Miniport réseau étendu (Moniteur réseau) 5.1.2535.0 Miniport réseau étendu (Moniteur réseau) - Miniport d'ordonnancement de paquets5.1.2535.0 Miniport réseau étendu (PPTP) 5.1.2535.0 Miniport WAN (PPPOE) 5.1.2535.0 Parallèle direct 5.1.2535.0 Port infrarouge 5.1.2535.0 TAP-Win32 Adapter V8 8.0.0.1 TAP-Win32 Adapter V8 - Miniport d'ordonnancement de paquets5.1.2535.0 VMware Virtual Ethernet Adapter for VMnet1 4.0.0.0 VMware Virtual Ethernet Adapter for VMnet8 4.0.0.0 Claviers: Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/25.1.2600.2180 Contrôleurs ATA/ATAPI IDE: Canal IDE principal 5.1.2600.2180 Canal IDE secondaire 5.1.2600.2180 Contrôleur de stockage 248A Intel(R) 82801CAM Ultra ATA5.1.2600.2180 Contrôleurs audio, vidéo et jeu: Codecs audio 5.1.2535.0 Codecs vidéo 5.1.2535.0 Mélangeur audio Wave de noyau Microsoft 5.1.2535.0 Périphérique audio système du noyau Microsoft 5.1.2535.0 Périphériques de capture vidéo hérités 5.1.2535.0 Périphériques MCI 5.1.2535.0 Pilote WINMM de compatibilité audio WDM Microsoft 5.1.2535.0 Pilotes audio hérités 5.1.2535.0 SoundMAX Integrated Digital Audio 5.12.1.3920 Contrôleurs de bus USB: Concentrateur USB racine 5.1.2600.2180 Concentrateur USB racine 5.1.2600.2180 Concentrateur USB racine 5.1.2600.2180 Contrôleur d'hôte ouvert PCI vers USB NEC 5.1.2600.2180 Contrôleur d'hôte ouvert PCI vers USB NEC 5.1.2600.2180 Contrôleur hôte amélioré NEC PCI vers USB (B1) 5.1.2600.0 Lecteurs de CD-ROM/DVD-ROM: HL-DT-ST RW/DVD GCC-4240N 5.1.2535.0 Lecteurs de disque: IC25N040ATCS05-0 5.1.2535.0 Modems: SoftV92 Data Fax Modem 7.12.9.0 Moniteurs: Écran par défaut 5.1.2001.0 Écran Plug-and-Play 5.1.2001.0 Écran Plug-and-Play 5.1.2001.0 Télévision standard 5.1.2001.0 Ordinateur: PC à interface de configuration et d'énergie avancée (ACPI)5.1.2600.0 Périphériques d'interface utilisateur (HID): Périphérique de contrôle consommateur conforme aux Périphériques d'interface utilisateur (HID)5.1.2600.2180 Périphérique d'interface utilisateur USB 5.1.2600.2180 Périphériques infrarouge: Port infrarouge IrDA Fast 1.0.0.0 Périphériques système: Batterie composite Microsoft 5.1.2535.0 Bouton de fonctionnalité définie ACPI 5.1.2600.2180 Bouton marche-arrêt ACPI 5.1.2600.2180 Bouton veille ACPI 5.1.2600.2180 Bus d'E/S étendu 5.1.2600.2180 Bus PCI 5.1.2600.2180 Carte système 5.1.2600.2180 Contrôleur d'accès direct en mémoire 5.1.2600.2180 Contrôleur d'interface LPC Intel(R) 82801CAM - 248C5.1.2600.2180 Contrôleur d'interruptions programmable 5.1.2600.2180 Contrôleur intégré compatible ACPI Microsoft 5.1.2535.0 Contrôleur processeur Intel(r) 82845 vers AGP - 1A315.1.2600.2180 Contrôleur processeur Intel(r) 82845 vers E/S - 1A305.1.2600.2180 Coprocesseur arithmétique 5.1.2600.2180 Couvercle ACPI 5.1.2600.2180 Énumérateur de périphérique logiciel Plug-and-Play5.1.2600.2180 Gestionnaire de volume 5.1.2600.2180 Haut-parleur système 5.1.2600.2180 Horloge système 5.1.2600.2180 Horloge système CMOS/temps réel 5.1.2600.2180 Interface logique du port imprimante 5.1.2600.2180 Périphérique de mise à jour microcode 5.1.2600.2180 Pilote BIOS de gestion de systèmes Microsoft 5.1.2600.2180 Pilote clavier de Terminal Server 5.1.2600.2180 Pilote souris de Terminal Server 5.1.2600.2180 Pont Intel(R) 82801 PCI - 2448 5.1.2600.2180 Port de lecture de données ISAPNP 5.1.2600.2180 Redirecteur de périphérique Terminal Server 5.1.2600.2180 Ressources de la carte mère 5.1.2600.2180 Ressources de la carte mère 5.1.2600.2180 Système compatible ACPI Microsoft 5.1.2535.0 Ventilateur ACPI 5.1.2600.2180 Ventilateur ACPI 5.1.2600.2180 Ventilateur ACPI 5.1.2600.2180 Ventilateur ACPI 5.1.2600.2180 Zone thermique ACPI 5.1.2600.2180 Zone thermique ACPI 5.1.2600.2180 Zone thermique ACPI 5.1.2600.2180 [ Cartes graphiques / MOBILITY RADEON 7500 ] Device Properties: Driver Description MOBILITY RADEON 7500 Driver Date 07/06/2005 Driver Version 6.14.10.6542 Driver Provider ATI Technologies Inc. INF File oem8.inf Device Resources: IRQ 11 Memory 000A0000-000BFFFF Memory 88000000-8FFFFFFF Memory FFEF0000-FFEFFFFF Port 03B0-03BB Port 03C0-03DF Port 3000-30FF [ Cartes PCMCIA / Contrôleur CardBus Texas Instruments PCI-1410 ] Device Properties: Driver Description Contrôleur CardBus Texas Instruments PCI-1410 Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File pcmcia.inf Device Resources: IRQ 11 Memory 000DF000-000DFFFF Memory 80100000-80100FFF Memory FBB00000-FFAFFFFF Memory FFDFE000-FFDFEFFF Port FD00-FDFF Port FE00-FEFF [ Cartes réseau / 802.11b Wireless CardBus PC Card - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description 802.11b Wireless CardBus PC Card - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / Carte réseau sans fil Cisco Systems 340 Series - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description Carte réseau sans fil Cisco Systems 340 Series - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / Cisco Systems 350 Series PCMCIA Wireless LAN Adapter ] Device Properties: Driver Description Cisco Systems 350 Series PCMCIA Wireless LAN Adapter Driver Date 03/05/2003 Driver Version 8.1.7.31 Driver Provider WildPackets INF File oem21.inf Device Resources: IRQ 07 Port FF40-FF7F [ Cartes réseau / Connexion réseau Intel(R) PRO/100 ] Device Properties: Driver Description Connexion réseau Intel(R) PRO/100 Driver Date 01/07/2001 Driver Version 5.41.22.0 Driver Provider Microsoft INF File net557.inf Device Resources: IRQ 10 Memory 80180000-80180FFF Port 2000-203F [ Cartes réseau / Connexion réseau Intel(R) PRO/100 - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description Connexion réseau Intel(R) PRO/100 - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / IEEE 802.11 Wireless LAN/PC Card(3V) - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description IEEE 802.11 Wireless LAN/PC Card(3V) - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / Miniport réseau étendu (IP) ] Device Properties: Driver Description Miniport réseau étendu (IP) Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Miniport réseau étendu (IP) - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description Miniport réseau étendu (IP) - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / Miniport réseau étendu (L2TP) ] Device Properties: Driver Description Miniport réseau étendu (L2TP) Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Miniport réseau étendu (Moniteur réseau) ] Device Properties: Driver Description Miniport réseau étendu (Moniteur réseau) Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Miniport réseau étendu (Moniteur réseau) - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description Miniport réseau étendu (Moniteur réseau) - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / Miniport réseau étendu (PPTP) ] Device Properties: Driver Description Miniport réseau étendu (PPTP) Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Miniport WAN (PPPOE) ] Device Properties: Driver Description Miniport WAN (PPPOE) Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Parallèle direct ] Device Properties: Driver Description Parallèle direct Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / Port infrarouge ] Device Properties: Driver Description Port infrarouge Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netrasa.inf [ Cartes réseau / TAP-Win32 Adapter V8 ] Device Properties: Driver Description TAP-Win32 Adapter V8 Driver Date 15/05/2004 Driver Version 8.0.0.1 Driver Provider TAP-Win32 Provider INF File oem4.inf [ Cartes réseau / TAP-Win32 Adapter V8 - Miniport d'ordonnancement de paquets ] Device Properties: Driver Description TAP-Win32 Adapter V8 - Miniport d'ordonnancement de paquets Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File netpsa.inf [ Cartes réseau / VMware Virtual Ethernet Adapter for VMnet1 ] Device Properties: Driver Description VMware Virtual Ethernet Adapter for VMnet1 Driver Date 05/08/2004 Driver Version 4.0.0.0 Driver Provider VMware, Inc. INF File oem13.inf [ Cartes réseau / VMware Virtual Ethernet Adapter for VMnet8 ] Device Properties: Driver Description VMware Virtual Ethernet Adapter for VMnet8 Driver Date 05/08/2004 Driver Version 4.0.0.0 Driver Provider VMware, Inc. INF File oem13.inf [ Claviers / Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 ] Device Properties: Driver Description Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File keyboard.inf Device Resources: IRQ 01 Port 0060-0060 Port 0064-0064 [ Contrôleurs ATA/ATAPI IDE / Canal IDE principal ] Device Properties: Driver Description Canal IDE principal Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File mshdc.inf Device Resources: IRQ 14 Port 01F0-01F7 Port 03F6-03F6 [ Contrôleurs ATA/ATAPI IDE / Canal IDE secondaire ] Device Properties: Driver Description Canal IDE secondaire Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File mshdc.inf Device Resources: IRQ 15 Port 0170-0177 Port 0376-0376 [ Contrôleurs ATA/ATAPI IDE / Contrôleur de stockage 248A Intel(R) 82801CAM Ultra ATA ] Device Properties: Driver Description Contrôleur de stockage 248A Intel(R) 82801CAM Ultra ATA Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File mshdc.inf Device Resources: Memory FFDFFC00-FFDFFFFF Port 4440-444F [ Contrôleurs audio, vidéo et jeu / Codecs audio ] Device Properties: Driver Description Codecs audio Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wave.inf [ Contrôleurs audio, vidéo et jeu / Codecs vidéo ] Device Properties: Driver Description Codecs vidéo Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wave.inf [ Contrôleurs audio, vidéo et jeu / Mélangeur audio Wave de noyau Microsoft ] Device Properties: Driver Description Mélangeur audio Wave de noyau Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wdmaudio.inf [ Contrôleurs audio, vidéo et jeu / Périphérique audio système du noyau Microsoft ] Device Properties: Driver Description Périphérique audio système du noyau Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wdmaudio.inf [ Contrôleurs audio, vidéo et jeu / Périphériques de capture vidéo hérités ] Device Properties: Driver Description Périphériques de capture vidéo hérités Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wave.inf [ Contrôleurs audio, vidéo et jeu / Périphériques MCI ] Device Properties: Driver Description Périphériques MCI Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wave.inf [ Contrôleurs audio, vidéo et jeu / Pilote WINMM de compatibilité audio WDM Microsoft ] Device Properties: Driver Description Pilote WINMM de compatibilité audio WDM Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wdmaudio.inf [ Contrôleurs audio, vidéo et jeu / Pilotes audio hérités ] Device Properties: Driver Description Pilotes audio hérités Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File wave.inf [ Contrôleurs audio, vidéo et jeu / SoundMAX Integrated Digital Audio ] Device Properties: Driver Description SoundMAX Integrated Digital Audio Driver Date 17/12/2003 Driver Version 5.12.1.3920 Driver Provider Analog Devices INF File oem5.inf Device Resources: IRQ 05 Port 4000-40FF Port 4400-443F [ Contrôleurs de bus USB / Concentrateur USB racine ] Device Properties: Driver Description Concentrateur USB racine Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File usbport.inf [ Contrôleurs de bus USB / Concentrateur USB racine ] Device Properties: Driver Description Concentrateur USB racine Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File usbport.inf [ Contrôleurs de bus USB / Concentrateur USB racine ] Device Properties: Driver Description Concentrateur USB racine Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File usbport.inf [ Contrôleurs de bus USB / Contrôleur d'hôte ouvert PCI vers USB NEC ] Device Properties: Driver Description Contrôleur d'hôte ouvert PCI vers USB NEC Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File usbport.inf Device Resources: IRQ 10 Memory 80200000-80200FFF [ Contrôleurs de bus USB / Contrôleur d'hôte ouvert PCI vers USB NEC ] Device Properties: Driver Description Contrôleur d'hôte ouvert PCI vers USB NEC Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File usbport.inf Device Resources: IRQ 10 Memory 80280000-80280FFF [ Contrôleurs de bus USB / Contrôleur hôte amélioré NEC PCI vers USB (B1) ] Device Properties: Driver Description Contrôleur hôte amélioré NEC PCI vers USB (B1) Driver Date 01/06/2002 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File usbport.inf Device Resources: IRQ 10 Memory 80300000-803000FF [ Lecteurs de CD-ROM/DVD-ROM / HL-DT-ST RW/DVD GCC-4240N ] Device Properties: Driver Description HL-DT-ST RW/DVD GCC-4240N Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File cdrom.inf [ Lecteurs de disque / IC25N040ATCS05-0 ] Device Properties: Driver Description IC25N040ATCS05-0 Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File disk.inf [ Modems / SoftV92 Data Fax Modem ] Device Properties: Driver Description SoftV92 Data Fax Modem Driver Date 18/07/2003 Driver Version 7.12.9.0 Driver Provider Microsoft INF File mdmcxsf2.inf Device Resources: IRQ 05 Memory 80080000-8008FFFF Port 2040-2047 [ Moniteurs / Écran par défaut ] Device Properties: Driver Description Écran par défaut Driver Date 06/06/2001 Driver Version 5.1.2001.0 Driver Provider Microsoft INF File monitor.inf [ Moniteurs / Écran Plug-and-Play ] Device Properties: Driver Description Écran Plug-and-Play Driver Date 06/06/2001 Driver Version 5.1.2001.0 Driver Provider Microsoft INF File monitor.inf [ Moniteurs / Écran Plug-and-Play ] Device Properties: Driver Description Écran Plug-and-Play Driver Date 06/06/2001 Driver Version 5.1.2001.0 Driver Provider Microsoft INF File monitor.inf [ Moniteurs / Télévision standard ] Device Properties: Driver Description Télévision standard Driver Date 06/06/2001 Driver Version 5.1.2001.0 Driver Provider Microsoft INF File monitor.inf [ Ordinateur / PC à interface de configuration et d'énergie avancée (ACPI) ] Device Properties: Driver Description PC à interface de configuration et d'énergie avancée (ACPI) Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File hal.inf [ Périphériques d'interface utilisateur (HID) / Périphérique de contrôle consommateur conforme aux Périphériques d'interface utilisateur (HID) ] Device Properties: Driver Description Périphérique de contrôle consommateur conforme aux Périphériques d'interface utilisateur (HID) Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File hidserv.inf [ Périphériques d'interface utilisateur (HID) / Périphérique d'interface utilisateur USB ] Device Properties: Driver Description Périphérique d'interface utilisateur USB Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File input.inf [ Périphériques infrarouge / Port infrarouge IrDA Fast ] Device Properties: Driver Description Port infrarouge IrDA Fast Driver Date 17/03/2001 Driver Version 1.0.0.0 Driver Provider National Semiconductor INF File irnsc.inf Device Resources: DMA 03 IRQ 03 Port 03E8-03EF [ Périphériques système / Batterie composite Microsoft ] Device Properties: Driver Description Batterie composite Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File acpi.inf [ Périphériques système / Bouton de fonctionnalité définie ACPI ] Device Properties: Driver Description Bouton de fonctionnalité définie ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Bouton marche-arrêt ACPI ] Device Properties: Driver Description Bouton marche-arrêt ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Bouton veille ACPI ] Device Properties: Driver Description Bouton veille ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Bus d'E/S étendu ] Device Properties: Driver Description Bus d'E/S étendu Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Bus PCI ] Device Properties: Driver Description Bus PCI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Memory 000A0000-000BFFFF Memory 000D0000-000DFFFF Memory 30000000-FFFFFFFF Port 0000-0CF7 Port 0D00-FFFF [ Périphériques système / Carte système ] Device Properties: Driver Description Carte système Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Memory 00000000-0009FFFF Memory 000E0000-000FFFFF Memory 00100000-2FFFFFFF [ Périphériques système / Contrôleur d'accès direct en mémoire ] Device Properties: Driver Description Contrôleur d'accès direct en mémoire Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: DMA 04 Port 0000-000F Port 0080-008F Port 00C0-00DF [ Périphériques système / Contrôleur d'interface LPC Intel(R) 82801CAM - 248C ] Device Properties: Driver Description Contrôleur d'interface LPC Intel(R) 82801CAM - 248C Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Contrôleur d'interruptions programmable ] Device Properties: Driver Description Contrôleur d'interruptions programmable Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Port 0020-0021 Port 00A0-00A1 [ Périphériques système / Contrôleur intégré compatible ACPI Microsoft ] Device Properties: Driver Description Contrôleur intégré compatible ACPI Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File acpi.inf Device Resources: Port 0062-0062 Port 0066-0066 [ Périphériques système / Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 ] Device Properties: Driver Description Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Memory 000A0000-000BFFFF Memory 88000000-900FFFFF Memory A0000000-AFFFFFFF Memory FFE00000-FFEFFFFF Port 03B0-03BB Port 03C0-03DF Port 3000-3FFF [ Périphériques système / Contrôleur processeur Intel(r) 82845 vers E/S - 1A30 ] Device Properties: Driver Description Contrôleur processeur Intel(r) 82845 vers E/S - 1A30 Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Coprocesseur arithmétique ] Device Properties: Driver Description Coprocesseur arithmétique Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: IRQ 13 Port 00F0-00FF [ Périphériques système / Couvercle ACPI ] Device Properties: Driver Description Couvercle ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Énumérateur de périphérique logiciel Plug-and-Play ] Device Properties: Driver Description Énumérateur de périphérique logiciel Plug-and-Play Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Gestionnaire de volume ] Device Properties: Driver Description Gestionnaire de volume Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Haut-parleur système ] Device Properties: Driver Description Haut-parleur système Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Port 0061-0061 [ Périphériques système / Horloge système ] Device Properties: Driver Description Horloge système Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: IRQ 00 Port 0040-0043 [ Périphériques système / Horloge système CMOS/temps réel ] Device Properties: Driver Description Horloge système CMOS/temps réel Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: IRQ 08 Port 0070-0071 Port 0072-0073 [ Périphériques système / Interface logique du port imprimante ] Device Properties: Driver Description Interface logique du port imprimante Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Périphérique de mise à jour microcode ] Device Properties: Driver Description Périphérique de mise à jour microcode Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Pilote BIOS de gestion de systèmes Microsoft ] Device Properties: Driver Description Pilote BIOS de gestion de systèmes Microsoft Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Pilote clavier de Terminal Server ] Device Properties: Driver Description Pilote clavier de Terminal Server Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Pilote souris de Terminal Server ] Device Properties: Driver Description Pilote souris de Terminal Server Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Pont Intel(R) 82801 PCI - 2448 ] Device Properties: Driver Description Pont Intel(R) 82801 PCI - 2448 Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Port de lecture de données ISAPNP ] Device Properties: Driver Description Port de lecture de données ISAPNP Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Port 0274-0277 Port 0279-0279 Port 0A79-0A79 [ Périphériques système / Redirecteur de périphérique Terminal Server ] Device Properties: Driver Description Redirecteur de périphérique Terminal Server Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Ressources de la carte mère ] Device Properties: Driver Description Ressources de la carte mère Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Memory FFC00000-FFC003FF Port 04D0-04D1 Port 1000-107F Port 1100-113F Port 1200-121F [ Périphériques système / Ressources de la carte mère ] Device Properties: Driver Description Ressources de la carte mère Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf Device Resources: Memory FFB00000-FFBFFFFF Memory FFF00000-FFFFFFFF Port 0010-001F Port 0024-003D Port 004E-004F Port 0050-0053 Port 0074-0077 Port 0090-009F Port 00A4-00BD [ Périphériques système / Système compatible ACPI Microsoft ] Device Properties: Driver Description Système compatible ACPI Microsoft Driver Date 01/07/2001 Driver Version 5.1.2535.0 Driver Provider Microsoft INF File acpi.inf Device Resources: IRQ 09 [ Périphériques système / Ventilateur ACPI ] Device Properties: Driver Description Ventilateur ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Ventilateur ACPI ] Device Properties: Driver Description Ventilateur ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Ventilateur ACPI ] Device Properties: Driver Description Ventilateur ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Ventilateur ACPI ] Device Properties: Driver Description Ventilateur ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Zone thermique ACPI ] Device Properties: Driver Description Zone thermique ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Zone thermique ACPI ] Device Properties: Driver Description Zone thermique ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Périphériques système / Zone thermique ACPI ] Device Properties: Driver Description Zone thermique ACPI Driver Date 01/07/2001 Driver Version 5.1.2600.2180 Driver Provider Microsoft INF File machine.inf [ Ports (COM et LPT) / Port de communication (COM1) ] Device Properties: Driver Description Port de communication (COM1) Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File msports.inf Device Resources: IRQ 04 Port 03F8-03FF [ Ports (COM et LPT) / Port imprimante ECP (LPT1) ] Device Properties: Driver Description Port imprimante ECP (LPT1) Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File msports.inf Device Resources: Port 0378-037F Port 0778-077F [ Processeurs / Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ] Device Properties: Driver Description Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Driver Date 01/04/2004 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File cpu.inf [ Souris et autres périphériques de pointage / Souris HID ] Device Properties: Driver Description Souris HID Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File msmouse.inf [ Souris et autres périphériques de pointage / Synaptics PS/2 Port TouchPad ] Device Properties: Driver Description Synaptics PS/2 Port TouchPad Driver Date 04/11/2004 Driver Version 7.12.7.0 Driver Provider Synaptics INF File oem18.inf Device Resources: IRQ 12 [ Volumes de stockage / Volume générique ] Device Properties: Driver Description Volume générique Driver Date 01/07/2001 Driver Version 5.1.2600.0 Driver Provider Microsoft INF File volume.inf --------[ Physical Devices ]-------------------------------------------------------------------------------------------- PCI Devices: Bus 1, Device 0, Function 0 ATI Mobility Radeon 7500 (M7) Video Adapter Bus 2, Device 4, Function 0 Harmonics (Conexant) HSF 56k HSFi Modem Bus 0, Device 31, Function 5 Intel 82801CA ICH3-S - AC'97 Audio Controller [B-1] Bus 0, Device 31, Function 3 Intel 82801CA ICH3-S - SMBus Controller [B-1] Bus 0, Device 31, Function 1 Intel 82801CAM ICH3-M - ATA-100 IDE Controller Bus 0, Device 31, Function 0 Intel 82801CAM ICH3-M - LPC Bridge Bus 0, Device 30, Function 0 Intel 82801xxM Mobile I/O Controller Hub Bus 0, Device 1, Function 0 Intel 82845(MP) AGP Controller [B-0] Bus 0, Device 0, Function 0 Intel 82845(MP) Memory Controller Hub [B-0] Bus 2, Device 8, Function 0 Intel PRO/100 VE Network Connection Bus 2, Device 14, Function 0 NEC PCI-USB Open Host Controller Bus 2, Device 14, Function 1 NEC PCI-USB Open Host Controller Bus 2, Device 14, Function 2 NEC USB Enhanced Host Controller [B-1] Bus 2, Device 6, Function 0 Texas Instruments PCI-1410 CardBus Controller PnP Devices: PNP0303 101/102-Key or MS Natural Keyboard PNP0501 16550A-compatible UART Serial Port PNP0C08 ACPI Driver/BIOS ACPI0003 Adaptateur secteur Microsoft FIXEDBUTTON Bouton de fonctionnalité définie ACPI PNP0C0A Control Method Battery PNP0C0A Control Method Battery PNP0200 DMA Controller PNP0401 ECP Parallel Port PNP0C09 Embedded Controller Device PNP0A06 Extended IO Bus PNP0C0B Fan PNP0C0B Fan PNP0C0B Fan PNP0C0B Fan PNP0C0D Lid GENUINEINTEL_-_X86_FAMILY_15_MODEL_2 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz PNP0C02 Motherboard Resources PNP0C02 Motherboard Resources NSC6001 NSC IrDA Fast Infrared Port PNP0C04 Numeric Data Processor PNP0800 PC Speaker PNP0A03 PCI Bus PNP0C0C Power Button PNP0000 Programmable Interrupt Controller PNP0B00 Real-Time Clock PNP0C0E Sleep Button SYN0100 Synaptics PS/2 Port TouchPad PNP0C01 System Board Extension PNP0100 System Timer THERMALZONE Zone thermique ACPI THERMALZONE Zone thermique ACPI THERMALZONE Zone thermique ACPI LPT PnP Devices: MICROSOFTRAWPORT Interface logique du port imprimante USB Devices: 045E 00D2 Périphérique d'interface utilisateur USB PCMCIA Devices: CISCO_SYSTEMS-350_SERIES_WIRELESS_LAN_ADAPTER-512ACisco Systems 350 Series PCMCIA Wireless LAN Adapter Ports: COM1 Port de communication (COM1) LPT1 Port imprimante ECP (LPT1) --------[ Device Resources ]-------------------------------------------------------------------------------------------- DMA 03 Exclusive Port infrarouge IrDA Fast DMA 04 Exclusive Contrôleur d'accès direct en mémoire IRQ 00 Exclusive Horloge système IRQ 01 Exclusive Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 IRQ 03 Exclusive Port infrarouge IrDA Fast IRQ 04 Exclusive Port de communication (COM1) IRQ 05 Shared SoftV92 Data Fax Modem IRQ 05 Shared SoundMAX Integrated Digital Audio IRQ 07 Exclusive Cisco Systems 350 Series PCMCIA Wireless LAN Adapter IRQ 08 Exclusive Horloge système CMOS/temps réel IRQ 09 Shared Système compatible ACPI Microsoft IRQ 10 Shared Connexion réseau Intel(R) PRO/100 IRQ 10 Shared Contrôleur d'hôte ouvert PCI vers USB NEC IRQ 10 Shared Contrôleur d'hôte ouvert PCI vers USB NEC IRQ 10 Shared Contrôleur hôte amélioré NEC PCI vers USB (B1) IRQ 11 Shared Contrôleur CardBus Texas Instruments PCI-1410 IRQ 11 Shared MOBILITY RADEON 7500 IRQ 12 Exclusive Synaptics PS/2 Port TouchPad IRQ 13 Exclusive Coprocesseur arithmétique IRQ 14 Exclusive Canal IDE principal IRQ 15 Exclusive Canal IDE secondaire Memory 00000000-0009FFFF Exclusive Carte système Memory 000A0000-000BFFFF Shared Bus PCI Memory 000A0000-000BFFFF Shared MOBILITY RADEON 7500 Memory 000A0000-000BFFFF Undetermined Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Memory 000D0000-000DFFFF Shared Bus PCI Memory 000DF000-000DFFFF Exclusive Contrôleur CardBus Texas Instruments PCI-1410 Memory 000E0000-000FFFFF Exclusive Carte système Memory 00100000-2FFFFFFF Exclusive Carte système Memory 30000000-FFFFFFFF Shared Bus PCI Memory 80080000-8008FFFF Exclusive SoftV92 Data Fax Modem Memory 80100000-80100FFF Exclusive Contrôleur CardBus Texas Instruments PCI-1410 Memory 80180000-80180FFF Exclusive Connexion réseau Intel(R) PRO/100 Memory 80200000-80200FFF Exclusive Contrôleur d'hôte ouvert PCI vers USB NEC Memory 80280000-80280FFF Exclusive Contrôleur d'hôte ouvert PCI vers USB NEC Memory 80300000-803000FF Exclusive Contrôleur hôte amélioré NEC PCI vers USB (B1) Memory 88000000-8FFFFFFF Exclusive MOBILITY RADEON 7500 Memory 88000000-900FFFFF Exclusive Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Memory A0000000-AFFFFFFF Exclusive Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Memory FBB00000-FFAFFFFF Undetermined Contrôleur CardBus Texas Instruments PCI-1410 Memory FFB00000-FFBFFFFF Exclusive Ressources de la carte mère Memory FFC00000-FFC003FF Exclusive Ressources de la carte mère Memory FFDFE000-FFDFEFFF Exclusive Contrôleur CardBus Texas Instruments PCI-1410 Memory FFDFFC00-FFDFFFFF Exclusive Contrôleur de stockage 248A Intel(R) 82801CAM Ultra ATA Memory FFE00000-FFEFFFFF Exclusive Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Memory FFEF0000-FFEFFFFF Exclusive MOBILITY RADEON 7500 Memory FFF00000-FFFFFFFF Exclusive Ressources de la carte mère Port 0000-000F Exclusive Contrôleur d'accès direct en mémoire Port 0000-0CF7 Shared Bus PCI Port 0010-001F Exclusive Ressources de la carte mère Port 0020-0021 Exclusive Contrôleur d'interruptions programmable Port 0024-003D Exclusive Ressources de la carte mère Port 0040-0043 Exclusive Horloge système Port 004E-004F Exclusive Ressources de la carte mère Port 0050-0053 Exclusive Ressources de la carte mère Port 0060-0060 Exclusive Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 Port 0061-0061 Exclusive Haut-parleur système Port 0062-0062 Exclusive Contrôleur intégré compatible ACPI Microsoft Port 0064-0064 Exclusive Clavier standard 101/102 touches ou clavier Microsoft Natural Keyboard PS/2 Port 0066-0066 Exclusive Contrôleur intégré compatible ACPI Microsoft Port 0070-0071 Exclusive Horloge système CMOS/temps réel Port 0072-0073 Exclusive Horloge système CMOS/temps réel Port 0074-0077 Exclusive Ressources de la carte mère Port 0080-008F Exclusive Contrôleur d'accès direct en mémoire Port 0090-009F Exclusive Ressources de la carte mère Port 00A0-00A1 Exclusive Contrôleur d'interruptions programmable Port 00A4-00BD Exclusive Ressources de la carte mère Port 00C0-00DF Exclusive Contrôleur d'accès direct en mémoire Port 00F0-00FF Exclusive Coprocesseur arithmétique Port 0170-0177 Exclusive Canal IDE secondaire Port 01F0-01F7 Exclusive Canal IDE principal Port 0274-0277 Exclusive Port de lecture de données ISAPNP Port 0279-0279 Exclusive Port de lecture de données ISAPNP Port 0376-0376 Exclusive Canal IDE secondaire Port 0378-037F Exclusive Port imprimante ECP (LPT1) Port 03B0-03BB Shared MOBILITY RADEON 7500 Port 03B0-03BB Undetermined Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Port 03C0-03DF Shared MOBILITY RADEON 7500 Port 03C0-03DF Undetermined Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Port 03E8-03EF Exclusive Port infrarouge IrDA Fast Port 03F6-03F6 Exclusive Canal IDE principal Port 03F8-03FF Exclusive Port de communication (COM1) Port 04D0-04D1 Exclusive Ressources de la carte mère Port 0778-077F Exclusive Port imprimante ECP (LPT1) Port 0A79-0A79 Exclusive Port de lecture de données ISAPNP Port 0D00-FFFF Shared Bus PCI Port 1000-107F Exclusive Ressources de la carte mère Port 1100-113F Exclusive Ressources de la carte mère Port 1200-121F Exclusive Ressources de la carte mère Port 2000-203F Exclusive Connexion réseau Intel(R) PRO/100 Port 2040-2047 Exclusive SoftV92 Data Fax Modem Port 3000-30FF Exclusive MOBILITY RADEON 7500 Port 3000-3FFF Exclusive Contrôleur processeur Intel(r) 82845 vers AGP - 1A31 Port 4000-40FF Exclusive SoundMAX Integrated Digital Audio Port 4400-443F Exclusive SoundMAX Integrated Digital Audio Port 4440-444F Exclusive Contrôleur de stockage 248A Intel(R) 82801CAM Ultra ATA Port FD00-FDFF Exclusive Contrôleur CardBus Texas Instruments PCI-1410 Port FE00-FEFF Exclusive Contrôleur CardBus Texas Instruments PCI-1410 Port FF40-FF7F Exclusive Cisco Systems 350 Series PCMCIA Wireless LAN Adapter >How-To-Repeat: Just insert a FreeBSD installer CD post 5.2 version and i'll repeat the same issue. I was able to boot installer CD 5.2 and fully install the OS, but with 5.2/5.4/5.5/6.0/6.1/6.2 it hangs. >Fix: none >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 11:08:52 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D11DE16A61F for ; Mon, 29 Jan 2007 11:08:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BD4AB13C48E for ; Mon, 29 Jan 2007 11:08:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TB8q3s042234 for ; Mon, 29 Jan 2007 11:08:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TB8p9U042230 for freebsd-usb@FreeBSD.org; Mon, 29 Jan 2007 11:08:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Jan 2007 11:08:51 GMT Message-Id: <200701291108.l0TB8p9U042230@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 29 Jan 2007 11:08:52 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/40792 usb signals lead to data loss on device ugen o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity f usb/55555 usb [ums] system freezes with access to /dev/ums0 o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/62309 usb [ugen] [panic] panic: ugen(4) driver o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f f usb/76204 usb panic while using usb attached modem o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb kernel panic on USB device disconnect o usb/77294 usb ucom + ulpcom panic o usb/77940 usb [patch] [panic] insertion of usb keyboard panics syste f i386/78218 usb [kue] kue not detected on Sony PCG-F370 VAIO o usb/78989 usb please add USB keyboard support to install CD's o usb/79140 usb WD Firewire/USB Combo hangs under load on USB interfac o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit f usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua f usb/80260 usb Travan USB tape drive fails to write o usb/80361 usb mounting of usb-stick fails o usb/80373 usb usb keyboard does not respond o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/81308 usb [ugen] [patch] polling a ugen(4) control endpoint caus f usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 player f usb/82272 usb Can not recognize Casio camera EX-Z40 as a umass devic o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected o usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [usb] SpeedTouch USB stop working on recent current (a o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb Microsoft Intellimouse Explorer 4.0A doesn't work. o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84936 usb install - usb keyboard not recognized o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] bogus "slice starts beyond end of the disk:..." o usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not found o usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS cards o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb kldunload ucom.ko returns "Device busy" error. o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89218 usb flash disk o usb/89954 usb [usb] USB Disk driver race condition? f usb/89997 usb [umass] [panic] panic on iPod mini detach o usb/90162 usb [usb] [patch] Add support for the MS Wireless USB Mous o usb/90700 usb Kernel panic on connect/mount/use umass device o usb/91238 usb USB tape unit fails to write a second tape file to the o usb/91263 usb [patch] USB quirk needed for Logitec USB Hard disk LHD o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb Unable to print to EPSON CX3500 o usb/91906 usb FreeBSD hangs while booting with USB legacy support on o usb/92052 usb usbd causes defunct process with busy file-handle o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb /dev/ulpt0: device busy USB printer does not work o usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes choppy m f usb/93496 usb USB2.0 umass stalls on VIA o usb/93640 usb device ehci causes interrupt storm on this MSI amd64 m o usb/93828 usb ohci causes panic on boot (HP Pavillion d4100e) o usb/93949 usb ugen(4)-related repeatable kernel panic in 6.1-PRERELE o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb kernel panic with usb2 hardware o usb/94717 usb Reading from /dev/ulpt can break work of a UHCI hub o usb/94742 usb [umass] [patch] umass driver does not recognise YANO e o usb/94813 usb mounting write-protected umass device freezes computer o usb/94897 usb Kernel Panic when cleanly unmounting USB disk o usb/95131 usb Boot/setup process does not accept key strokes o usb/95348 usb USB keyboard unplug causes noise on screen o usb/95562 usb Write Stress in USB Mass drive cause: [vinvalbuf: dir o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb fatback on umass = reboot o usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doesn't work o usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherboards) doesn't o usb/101096 usb USB WLAN occasionally causes kernel-panics during larg o usb/101752 usb [panic] 6.1-RELEASE kernel panic on usb device inserti o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb /usr/sbin/usbd does not handle multiple devices in one o i386/103025 usb [USB] the wrong in USB device for freeBSD 6.1 and AMD o usb/104292 usb system lockup on forced umount of usb-storage device o usb/104830 usb system crashes when copying data to umass devices o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb uftdi module does not automatically load with the FTDI o usb/106648 usb USB Floppy on D1950 10 min Hang on Insert w/o Floppy D o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107101 usb [umass] [patch] Quirk for Denver MP3 player o usb/107116 usb [usb] panic while accessing usb msdos pccard o usb/107128 usb [usb] panic while accessing usb msdos flashkey o usb/107248 usb [PATCH] scsi_da.c quirk for Cowon iAUDIO X5 MP3 player o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb problem with samsung flash o usb/107924 usb usbd does not call detach o usb/108097 usb [usbgen] [patch] ADMtek 851X USB-to-LAN adapter 109 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem s usb/32653 usb Added patches to improve USB scanner supportOB o usb/40948 usb [usb] USB HP CDW8200 does not work f usb/41415 usb [usb] [patch] Some USB scanners cannot talk to uscanne o usb/48342 usb [PATCH] usbd dynamic device list. o kern/51958 usb [usb] [patch] update for urio driver o kern/52026 usb [usb] feature request: umass driver support for InSyst o usb/53025 usb [ugen] [patch] ugen does not allow O_NONBLOCK for inte o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio f usb/60248 usb [patch] Problem with USB printer HP LaserJet 1300 o usb/61234 usb [usb] [patch] usbhidaction(1) doesn't support using an o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o kern/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB MP3 player o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/70942 usb [usb] Genius Wireless USB mouse: moused doesn't work c o usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) detach is no o usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) communicatio o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/71605 usb [umass] [patch] umass doesn't recognize multiple slots o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72732 usb [patch] Kyocera 7135 quirk. o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in f usb/73553 usb [usb] Microsoft USB Internet Keyboard not recongized o usb/74211 usb USB flash drive causes CAM status 0x4 on 4.10Release f usb/74358 usb [umass] unplugging at boot time an umass device crashe o usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) doe o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/74609 usb [usb] [patch] allowing cdma modems to work at full spe o usb/74849 usb [usb] [patch] Samsung SPH-i500 does not attach properl o usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm fails to atac o kern/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb ucom1: init failed STALLED error in time of sync with o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76732 usb Mouse problems with USB KVM Switch f usb/78371 usb Philips Wearable Audio Player (128) fails to attach f usb/78984 usb Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/79725 usb [usb] [patch] USB device speed is not double-checked o usb/79893 usb [umass] [patch] new usbdevs/umass quirks derived from o usb/80010 usb [aue] [patch] add support for the AEI USB to LAN adapt f usb/80420 usb atapicam stops iPod functionality f usb/80773 usb "usbd_get_string()" could have taken a length paramete o usb/80774 usb have "usbd_find_desc" in line with the other "usbd_fin o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb uvisor.c is not work with CLIE TH55. o usb/81191 usb Support for Curitel HX-550C USB modem to 5.4 RELEASE. f usb/81621 usb external hd hangs under load on ehci o usb/82436 usb [patch] USL101 Host-to-Host bridge support on FreeBSD o usb/83022 usb ALI USB 2.0 EHCI Controller is not detected o usb/83863 usb Communication problem between opensc/openct via USB wi o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85992 usb [uhid] [patch] USB stops working when trying to read f o usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECOM LD-USB20" t o usb/86298 usb Known good USB mouse won't work with correct settings o usb/86438 usb Fix for non-working iPod over USB is in NetBSD CVS o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb axe0 read PHY failed o usb/88939 usb Fix cheapy Myson USB-IDE adapter f usb/89087 usb usb external harddrive hangs with BBB reset failed, TI f usb/91191 usb HP LaserJet 1020 (USB printer) not recognized f usb/91516 usb [umass] umass0 problems, with Freecom Classic SL Hard o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92306 usb [quirk] [patch] Support for iRiver U10 USB media playe o usb/92403 usb [uplcom] uplcom.c needs new entry for 4.00 revision of o usb/92852 usb Vertical scroll not working properly on A4Tech WOP-49 f usb/93011 usb HP ScanJet 6200C & uscanner problem o usb/93389 usb Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclosure f usb/94147 usb doesn't recognise my USB keyboard o usb/94148 usb Make if_cdce work with ARM linux handhelds o usb/94311 usb [ugen][PATCH] allow interrupt IN transactions to be af o usb/94439 usb [patch] Add support for JNC MP3 Player o usb/94946 usb [uhub][patch] code dynamic status size for status chan o usb/95037 usb USB disk didnt recognized on hot-plug. o usb/95173 usb [usb] cannot mount external usb harddisk VIA Technolog o usb/95241 usb Patch to add USB ID for OEM Pharos 360 GPS o usb/95803 usb Add support for AnyData ADU-E100H o usb/95805 usb Add Support for Siemens ES75 modem o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st p usb/96546 usb [usb] [patch] Add support (quirk) for EasyMP3 EM732X U o usb/96714 usb Update uvisor to support the Fossil Abacus Wrist PDA o usb/97175 usb USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb BBB reset failed errors with Creative Muvo MP3 player; o usb/99419 usb external usb harddrive slow to accept o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101757 usb [patch] uhid.4: correct structure field names to match o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102976 usb Casio Exilim Digital Camera cause panic o usb/103046 usb [patch] ulpt event driven I/O with select(2) and nonbl o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb QUIRK: TOSHIBA DVD-RAM drive (libretto DVD Dock) o usb/104352 usb [ural] ural driver doesnt work o usb/104645 usb QUIRK: Rave C-201 MP3 player o usb/105065 usb SATA - USB Bridge o usb/105361 usb Kernel panic during unmounting mass storage (Creative o usb/105518 usb epson perfection 3490 usb scanner def o kern/106033 usb [usb] [patch] support for 3G/WCDMA cards Option Globet o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106070 usb devd recognizes ucom, but ttyU is the device actually o usb/106462 usb Motorola U6 PEBL not recognized by system via USB [pat o usb/106538 usb [patch] Can not burn DVD on Sony DRX-820UL external US o usb/106621 usb [usb] DLINK DUB-E100 support broken o usb/106861 usb [PATCH]: usbdevs update: Add product ACER Zeevo BT-500 o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107526 usb Patch to support the Crystalfontz CFA-635 20x4 USB LCD o usb/107642 usb [patch]Ralink Technology RT2501USB/RT2601USB chipset d o kern/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb usbd ignores "detach" o usb/107935 usb [uplcom] panic while accessing /dev/cuaU0 o usb/108056 usb Mouse gets powered off during device probe when plugge o usb/108344 usb kernel with atausb panics when unplugging USB Flash o usb/108427 usb QUIRK-SAMSUNG MP0402H o usb/108509 usb Freebsd hang at startup after ehci0 detected (CD Loade 132 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 11:46:26 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCC1316A404 for ; Mon, 29 Jan 2007 11:46:26 +0000 (UTC) (envelope-from polizzi_ken@hotmail.com) Received: from bay0-omc2-s16.bay0.hotmail.com (bay0-omc2-s16.bay0.hotmail.com [65.54.246.152]) by mx1.freebsd.org (Postfix) with ESMTP id A9C9713C48E for ; Mon, 29 Jan 2007 11:46:26 +0000 (UTC) (envelope-from polizzi_ken@hotmail.com) Received: from BAY124-W9 ([207.46.11.172]) by bay0-omc2-s16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 29 Jan 2007 03:34:27 -0800 Message-ID: X-Originating-IP: [82.235.224.116] From: ken polizzi To: Date: Mon, 29 Jan 2007 12:34:26 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 29 Jan 2007 11:34:27.0227 (UTC) FILETIME=[6EDB46B0:01C74399] X-Mailman-Approved-At: Mon, 29 Jan 2007 12:29:37 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: msitake in a report 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, 29 Jan 2007 11:46:26 -0000 hi guys, =20 here is my bug report : http://www.freebsd.org/cgi/query-pr.cgi?pr=3D108509 =20 i made a mistake in the "how-to-repeat" part of the document : =20 wrote=20 Just insert a FreeBSD installer CD post 5.2 version and i'll repeat the sam= e issue.I was able to boot installer CD 5.2 and fully install the OS, but w= ith 5.2/5.4/5.5/6.0/6.1/6.2 it hangs. should have written : Just insert a FreeBSD installer CD post 5.2 version and it'll repeat the sa= me issue.I was able to boot installer CD 5.2 and fully install the OS, but = with 5.4/5.5/6.0/6.1/6.2 it hangs during initial boot process. =20 =20 thanks =20 Ken =20 _________________________________________________________________ Essayez Live.com, votre nouvelle page d'accueil ! Personnalisez-la en quelq= ues clics pour retrouver tout ce qui vous int=E9resse au m=EAme endroit. http://www.live.com/getstarted= From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 12:50:19 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1D5116A400 for ; Mon, 29 Jan 2007 12:50:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7760113C441 for ; Mon, 29 Jan 2007 12:50:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TCoJ78056460 for ; Mon, 29 Jan 2007 12:50:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TCoJk3056459; Mon, 29 Jan 2007 12:50:19 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jan 2007 12:50:19 GMT Resent-Message-Id: <200701291250.l0TCoJk3056459@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, Tim Howe Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00F4516A401 for ; Mon, 29 Jan 2007 12:42:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id E55E613C467 for ; Mon, 29 Jan 2007 12:42:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0TCgbsd066666 for ; Mon, 29 Jan 2007 12:42:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0TCgbAe066665; Mon, 29 Jan 2007 12:42:37 GMT (envelope-from nobody) Message-Id: <200701291242.l0TCgbAe066665@www.freebsd.org> Date: Mon, 29 Jan 2007 12:42:37 GMT From: Tim Howe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: usb/108513: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) 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, 29 Jan 2007 12:50:19 -0000 >Number: 108513 >Category: usb >Synopsis: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 12:50:18 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Tim Howe >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD rash.quadium.net 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Mon Jan 29 05:31:05 EST 2007 root@rash.quadium.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have a 1GB Creative MuVo TX FM which works perfectly in 6.1-RELEASE. However in 6.2-RELEASE, or -STABLE, the umass driver attaches but a "da" device never appears. Eventually (or as soon as I unplug the player) I got a lot of BBB errors, as follows: umass2: CREATIVE MuVo TX FM, rev 2.00/12.02, addr 9 umass2: BBB reset failed, STALLED umass2: BBB bulk-in clear stall failed, STALLED umass2: BBB bulk-out clear stall failed, STALLED umass2: BBB reset failed, STALLED umass2: BBB bulk-in clear stall failed, STALLED umass2: BBB bulk-out clear stall failed, STALLED umass2: BBB reset failed, STALLED umass2: BBB bulk-in clear stall failed, STALLED umass2: BBB bulk-out clear stall failed, STALLED umass2: BBB reset failed, STALLED [...] >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 16:54:03 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 631DA16A406 for ; Mon, 29 Jan 2007 16:54:03 +0000 (UTC) (envelope-from vsync@quadium.net) Received: from knuth.hurstdog.org (knuth.hurstdog.org [69.55.236.147]) by mx1.freebsd.org (Postfix) with SMTP id 3D2AE13C4A5 for ; Mon, 29 Jan 2007 16:54:03 +0000 (UTC) (envelope-from vsync@quadium.net) Received: (qmail 65311 invoked from network); 29 Jan 2007 16:27:21 -0000 Received: from knuth.hurstdog.org (HELO fred.colohowes.org) (69.55.236.147) by knuth.hurstdog.org with SMTP; 29 Jan 2007 16:27:21 -0000 Received: from piro.quadium.net (piro.quadium.net [10.27.56.90]) by fred.colohowes.org (Postfix) with ESMTP id C91DE8FE64; Mon, 29 Jan 2007 09:44:14 -0700 (MST) Received: by piro.quadium.net (Postfix, from userid 1000) id 9602120F; Mon, 29 Jan 2007 09:37:08 -0700 (MST) To: FreeBSD-gnats-submit@FreeBSD.org References: <200701291250.l0TCoIYe056453@freefall.freebsd.org> From: Tim Howe Organization: quadium.net Date: Mon, 29 Jan 2007 09:37:08 -0700 In-Reply-To: <200701291250.l0TCoIYe056453@freefall.freebsd.org> (FreeBSD-gnats-submit@freebsd.org's message of "Mon, 29 Jan 2007 12:50:18 GMT") Message-ID: <87r6td4wnf.fsf@piro.quadium.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Social Property, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/108513: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) 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, 29 Jan 2007 16:54:03 -0000 >>Synopsis: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) Here's further output, with debugging turned on, and a few mostly useless printfs of my own thrown in. Jan 29 11:22:30 rash kernel: umass1: CREATIVE MuVo TX FM, rev 2.00/12.02, addr 8 Jan 29 11:22:30 rash kernel: umass1: SCSI over Bulk-Only; quirks = 0x0000 Jan 29 11:22:30 rash kernel: umass 1 Jan 29 11:22:30 rash kernel: umass 2 Jan 29 11:22:30 rash kernel: umass 3 Jan 29 11:22:30 rash kernel: umass 4 Jan 29 11:22:30 rash kernel: umass 5 Jan 29 11:22:30 rash kernel: umass 6 Jan 29 11:22:30 rash kernel: umass 7 Jan 29 11:22:30 rash kernel: umass 8 Jan 29 11:22:30 rash kernel: umass 9 Jan 29 11:22:30 rash kernel: umass 10 Jan 29 11:22:30 rash kernel: umass 11 Jan 29 11:22:30 rash kernel: umass1: Max Lun is 0 Jan 29 11:22:30 rash kernel: umass 12 Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:-1:-1:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_done Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_release_path Jan 29 11:22:30 rash kernel: umass1:1:1:-1: Attached to scbus1 Jan 29 11:22:30 rash kernel: umass 13 Jan 29 11:22:30 rash kernel: umass1: Attach finished Jan 29 11:22:30 rash kernel: scbus1: scanning for umass1:1:1:-1 Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_scan_bus Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:-1:-1:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_done Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_compile_path Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_scan_lun Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_done Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_compile_path Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_schedule Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): probestart Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:22:30 rash kernel: umass1: CBW 1: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:22:30 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, NORMAL_COMPLETION Jan 29 11:23:35 rash kernel: umass1: Handling BBB state 3 (BBB Data), xfer=0xc3dc6000, TIMEOUT Jan 29 11:23:35 rash kernel: umass1: Data-in 36b failed, TIMEOUT Jan 29 11:23:35 rash kernel: umass1: Bulk Reset Jan 29 11:24:40 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, TIMEOUT Jan 29 11:24:40 rash kernel: umass1: BBB reset failed, TIMEOUT Jan 29 11:24:40 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:29 rash vsync: now i give up and unplug Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, IOERROR Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, IOERROR Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 2: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 3: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 4: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 5: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_free_path Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_release_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_scan_bus Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_free_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_release_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_done Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): camisr Jan 29 11:25:35 rash kernel: xpt0: Rescan succeeded Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_free_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_release_path Jan 29 11:25:35 rash kernel: umass1: at uhub2 port 5 (addr 8) disconnected Jan 29 11:25:35 rash kernel: umass1: detached Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:25:35 rash kernel: (noperiph:dead_sim0:0:-1:-1): xpt_release_path Jan 29 11:25:35 rash kernel: umass1: detached From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 17:00:50 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40E3A16A404 for ; Mon, 29 Jan 2007 17:00:50 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E49DD13C4A5 for ; Mon, 29 Jan 2007 17:00:49 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TH0nla074858 for ; Mon, 29 Jan 2007 17:00:49 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TH0ncU074857; Mon, 29 Jan 2007 17:00:49 GMT (envelope-from gnats) Date: Mon, 29 Jan 2007 17:00:49 GMT Message-Id: <200701291700.l0TH0ncU074857@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Tim Howe Cc: Subject: Re: usb/108513: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tim Howe List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 17:00:50 -0000 The following reply was made to PR usb/108513; it has been noted by GNATS. From: Tim Howe To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/108513: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) Date: Mon, 29 Jan 2007 09:37:08 -0700 >>Synopsis: umass: Creative MuVo TX FM fails in 6.2-RELEASE (regression) Here's further output, with debugging turned on, and a few mostly useless printfs of my own thrown in. Jan 29 11:22:30 rash kernel: umass1: CREATIVE MuVo TX FM, rev 2.00/12.02, addr 8 Jan 29 11:22:30 rash kernel: umass1: SCSI over Bulk-Only; quirks = 0x0000 Jan 29 11:22:30 rash kernel: umass 1 Jan 29 11:22:30 rash kernel: umass 2 Jan 29 11:22:30 rash kernel: umass 3 Jan 29 11:22:30 rash kernel: umass 4 Jan 29 11:22:30 rash kernel: umass 5 Jan 29 11:22:30 rash kernel: umass 6 Jan 29 11:22:30 rash kernel: umass 7 Jan 29 11:22:30 rash kernel: umass 8 Jan 29 11:22:30 rash kernel: umass 9 Jan 29 11:22:30 rash kernel: umass 10 Jan 29 11:22:30 rash kernel: umass 11 Jan 29 11:22:30 rash kernel: umass1: Max Lun is 0 Jan 29 11:22:30 rash kernel: umass 12 Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:-1:-1:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_done Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:22:30 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_release_path Jan 29 11:22:30 rash kernel: umass1:1:1:-1: Attached to scbus1 Jan 29 11:22:30 rash kernel: umass 13 Jan 29 11:22:30 rash kernel: umass1: Attach finished Jan 29 11:22:30 rash kernel: scbus1: scanning for umass1:1:1:-1 Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_scan_bus Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:-1:-1:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_done Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_compile_path Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_scan_lun Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_done Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_compile_path Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_PATH_INQ:. Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_schedule Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): probestart Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:22:30 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:22:30 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:22:30 rash kernel: umass1: CBW 1: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:22:30 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, NORMAL_COMPLETION Jan 29 11:23:35 rash kernel: umass1: Handling BBB state 3 (BBB Data), xfer=0xc3dc6000, TIMEOUT Jan 29 11:23:35 rash kernel: umass1: Data-in 36b failed, TIMEOUT Jan 29 11:23:35 rash kernel: umass1: Bulk Reset Jan 29 11:24:40 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, TIMEOUT Jan 29 11:24:40 rash kernel: umass1: BBB reset failed, TIMEOUT Jan 29 11:24:40 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:29 rash vsync: now i give up and unplug Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, IOERROR Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, IOERROR Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 2: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 3: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 4: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Jan 29 11:25:35 rash kernel: umass1:1:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense Jan 29 11:25:35 rash kernel: umass1: CBW 5: cmd = 6b (0x120000002400), data = 36b, dir = in Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 2 (BBB CBW), xfer=0xc3dc5e00, IOERROR Jan 29 11:25:35 rash kernel: umass1: failed to send CBW Jan 29 11:25:35 rash kernel: umass1: Bulk Reset Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 8 (BBB Reset), xfer=0xc3cd2e00, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB reset failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x81 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 9 (BBB bulk-in clear stall), xfer=0xc3cd2900, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-in clear stall failed, STALLED Jan 29 11:25:35 rash kernel: umass1: Clear endpoint 0x02 stall Jan 29 11:25:35 rash kernel: umass1: Handling BBB state 10 (BBB bulk-out clear stall), xfer=0xc3d7a200, STALLED Jan 29 11:25:35 rash kernel: umass1: BBB bulk-out clear stall failed, STALLED Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): probedone Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_done Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_free_path Jan 29 11:25:35 rash kernel: (probe0:umass-sim1:1:0:0): xpt_release_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): camisr Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_scan_bus Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_setup_ccb Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_action Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_free_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:0:0): xpt_release_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_done Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): camisr Jan 29 11:25:35 rash kernel: xpt0: Rescan succeeded Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_free_path Jan 29 11:25:35 rash kernel: (xpt0:umass-sim1:1:-1:-1): xpt_release_path Jan 29 11:25:35 rash kernel: umass1: at uhub2 port 5 (addr 8) disconnected Jan 29 11:25:35 rash kernel: umass1: detached Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_compile_path Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:25:35 rash kernel: (noperiph:umass-sim1:1:-1:-1): xpt_async Jan 29 11:25:35 rash kernel: (noperiph:dead_sim0:0:-1:-1): xpt_release_path Jan 29 11:25:35 rash kernel: umass1: detached From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 20:09:36 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE88516A401; Mon, 29 Jan 2007 20:09:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC7813C478; Mon, 29 Jan 2007 20:09:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D5E9.dip.t-dialin.net [84.165.213.233]) by redbull.bpaserver.net (Postfix) with ESMTP id 498392E18F; Mon, 29 Jan 2007 20:49:47 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id EEA545B4873; Mon, 29 Jan 2007 20:38:52 +0100 (CET) Date: Mon, 29 Jan 2007 20:38:52 +0100 From: Alexander Leidinger To: freebsd-usb@freebsd.org Message-ID: <20070129203852.2f3d6a89@Magellan.Leidinger.net> In-Reply-To: <200701100050.l0A0oOTY002615@freefall.freebsd.org> References: <200701100050.l0A0oOTY002615@freefall.freebsd.org> X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.8; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Steinar Hamre , bug-followup@FreeBSD.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP 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, 29 Jan 2007 20:09:36 -0000 Quoting Steinar Hamre (Wed, 10 Jan 2007 00:50:24 GMT): > I have reworked the uscanner module so that it can use the device > simultaniously with the ulpt and umass modules. This panics my system at boot time probing. I think my scanner is not the first interface of the device. Bye, Alexander. -- 84: Psychologe neurolinguistischer Programmierer (Oliver Bandel) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 20:10:21 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1338E16A400 for ; Mon, 29 Jan 2007 20:10:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B739A13C491 for ; Mon, 29 Jan 2007 20:10:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TKAKXE085802 for ; Mon, 29 Jan 2007 20:10:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TKAKL3085800; Mon, 29 Jan 2007 20:10:20 GMT (envelope-from gnats) Date: Mon, 29 Jan 2007 20:10:20 GMT Message-Id: <200701292010.l0TKAKL3085800@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Leidinger Cc: Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Leidinger List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 20:10:21 -0000 The following reply was made to PR kern/107665; it has been noted by GNATS. From: Alexander Leidinger To: freebsd-usb@freebsd.org Cc: Steinar Hamre , bug-followup@FreeBSD.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP Date: Mon, 29 Jan 2007 20:38:52 +0100 Quoting Steinar Hamre (Wed, 10 Jan 2007 00:50:24 GMT): > I have reworked the uscanner module so that it can use the device > simultaniously with the ulpt and umass modules. This panics my system at boot time probing. I think my scanner is not the first interface of the device. Bye, Alexander. -- 84: Psychologe neurolinguistischer Programmierer (Oliver Bandel) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Tue Jan 30 00:33:52 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B31916A401 for ; Tue, 30 Jan 2007 00:33:52 +0000 (UTC) (envelope-from lynaghk@reed.edu) Received: from ultrasuede.reed.edu (ultrasuede.reed.edu [134.10.2.46]) by mx1.freebsd.org (Postfix) with ESMTP id E442213C461 for ; Tue, 30 Jan 2007 00:33:51 +0000 (UTC) (envelope-from lynaghk@reed.edu) Received: from unagi.reed.edu (unagi.reed.edu [134.10.140.10]) by ultrasuede.reed.edu (8.13.8/8.13.8) with ESMTP id l0U0NHvJ016631 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 29 Jan 2007 16:23:17 -0800 Received: from www-data by unagi.reed.edu with local (Exim 4.50) id 1HBgmL-0005ts-EZ for freebsd-usb@freebsd.org; Mon, 29 Jan 2007 16:23:17 -0800 Received: from c021h185.dorm.reed.edu (c021h185.dorm.reed.edu [134.10.21.185]) by webmail.reed.edu (Horde MIME library) with HTTP; Mon, 29 Jan 2007 16:23:17 -0800 Message-ID: <20070129162317.5l5p3n7lsvu8oo8c@unagi.reed.edu> Date: Mon, 29 Jan 2007 16:23:17 -0800 From: Kevin Lynagh To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) X-Scanned-By: MIMEDefang 2.58 on 134.10.2.46 Subject: MS Ergonomic 4000 USB keyboard keycode issues 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, 30 Jan 2007 00:33:52 -0000 Hello, I am running FreeBSD 6.2 on a Thinkpad T30 laptop. I am trying to use a Microsoft Ergonomic 4000 USB keyboard; the system recognizes it and most of the keys work. The space bar and u keys gives a "u ", and the 5 and v gives a "5v". Thanks to the new keyboard mixer, the laptop keyboard still works fine when the USB keyboard is attached. Does anyone have any suggestions as to how I might fix this, aside from buying an increasingly rare USB -> ps/2 adapter? Thanks, Kevin From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 01:04:52 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBB3216A403; Wed, 31 Jan 2007 01:04:52 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id CB55713C4A5; Wed, 31 Jan 2007 01:04:52 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l0V14hEo049613; Tue, 30 Jan 2007 17:04:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l0V14he1049612; Tue, 30 Jan 2007 17:04:43 -0800 (PST) (envelope-from rizzo) Date: Tue, 30 Jan 2007 17:04:43 -0800 From: Luigi Rizzo To: current@freebsd.org Message-ID: <20070130170443.A49225@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: usb@freebsd.org Subject: Call for Testers: FreeBSD webcam driver (and more) 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, 31 Jan 2007 01:04:53 -0000 I think I reached a first interesting milestone in my project to build an emulation layer to compile linux device drivers on FreeBSD. I managed to build a FreeBSD port of the linux 'gspca' driver (which claims to support 228 different webcams) with basically no modifications to the original source. So it would be good if someone could give a try to this code, either on -current or -stable, keeping in mind that this is NOT PRODUCTION READY yet. More details on how the thing works are at http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html together of course with source code, and even binary modules for FreeBSD 6.2. Basically I would like to know how it builds/works on -current, have reports on cameras that work with it and those which don't and so on. The driver supports the Video4Linux API so it should be useful for a variety of applications. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 01:28:06 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A05B16A400 for ; Wed, 31 Jan 2007 01:28:06 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outP.internet-mail-service.net (outP.internet-mail-service.net [216.240.47.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0F82113C46B for ; Wed, 31 Jan 2007 01:28:06 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 30 Jan 2007 16:55:46 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id ED114125AE5; Tue, 30 Jan 2007 17:17:10 -0800 (PST) Message-ID: <45BFEE16.1080605@elischer.org> Date: Tue, 30 Jan 2007 17:17:10 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 31 Jan 2007 01:28:06 -0000 Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. project "not_quite_as_evil" ? > > cheers > luigi > _______________________________________________ > 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 Wed Jan 31 05:19:11 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6052516A402; Wed, 31 Jan 2007 05:19:11 +0000 (UTC) (envelope-from ken@stox.org) Received: from flpi102.sbcis.sbc.com (flpi102.sbcis.sbc.com [207.115.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 34E1413C428; Wed, 31 Jan 2007 05:19:11 +0000 (UTC) (envelope-from ken@stox.org) X-ORBL: [75.4.60.233] Received: from [192.168.2.3] (adsl-75-4-60-233.dsl.emhril.sbcglobal.net [75.4.60.233]) by flpi102.sbcis.sbc.com (8.13.8 out.dk.spool/8.13.8) with ESMTP id l0V4xump016175; Tue, 30 Jan 2007 20:59:57 -0800 From: "Kenneth P. Stox" To: Julian Elischer In-Reply-To: <45BFEE16.1080605@elischer.org> References: <20070130170443.A49225@xorpc.icir.org> <45BFEE16.1080605@elischer.org> Content-Type: text/plain Organization: The Stox Organization Date: Tue, 30 Jan 2007 22:59:50 -0600 Message-Id: <1170219590.6824.4.camel@stox.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, Luigi Rizzo , current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ken@stox.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 05:19:11 -0000 On Tue, 2007-01-30 at 17:17 -0800, Julian Elischer wrote: > project "not_quite_as_evil" ? Looks more evil to me, in fact a whole new dimension of evil, "evil_of_the_second_kind"? Think of all the cheezy taglines we could use from horror movie sequels? Moo Ha Ha ( church of the evil cow ) From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 12:49:43 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B14816A400 for ; Wed, 31 Jan 2007 12:49:43 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id EECC213C441 for ; Wed, 31 Jan 2007 12:49:42 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so154829uge for ; Wed, 31 Jan 2007 04:49:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=om+AuZeg22be+JEzqmV11mHMpE5hqLn/sypUaWbk9qTVhGRvG+bsDjjmLkRPBn73Ev8Culi79djj/HBUq6OM/1XvYgQp70cbGcVXzxmy8OOqUfv63HOeEBMRUEa3/wfKIsWWzBcQOv8gaiuy3ukqKNC8xy72K6l+ZvFEH4ATfAw= Received: by 10.66.221.6 with SMTP id t6mr937053ugg.1170246151546; Wed, 31 Jan 2007 04:22:31 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id j1sm1002053ugf.2007.01.31.04.22.30; Wed, 31 Jan 2007 04:22:30 -0800 (PST) Message-ID: <45C08A29.4030509@gmail.com> Date: Wed, 31 Jan 2007 13:23:05 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 31 Jan 2007 12:49:43 -0000 Luigi Rizzo schreef: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > [...] > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. [...] The binary modules also load on CURRENT i386 as of 2007/01/30, dmesg shows > usb_spca5xx_init: gspca driver 01.00.12 registered but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : > spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 > spcaCameraDetect failed neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE laptop (Syntek, product 0xa311), at least no /dev/video* show up. > cheers > luigi Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 14:05:45 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70E3316A407; Wed, 31 Jan 2007 14:05:45 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5B78413C474; Wed, 31 Jan 2007 14:05:45 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l0VE5hon057344; Wed, 31 Jan 2007 06:05:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l0VE5hI3057343; Wed, 31 Jan 2007 06:05:43 -0800 (PST) (envelope-from rizzo) Date: Wed, 31 Jan 2007 06:05:43 -0800 From: Luigi Rizzo To: Rene Ladan Message-ID: <20070131060543.A57206@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <45C08A29.4030509@gmail.com>; from r.c.ladan@gmail.com on Wed, Jan 31, 2007 at 01:23:05PM +0100 Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 31 Jan 2007 14:05:45 -0000 On Wed, Jan 31, 2007 at 01:23:05PM +0100, Rene Ladan wrote: > Luigi Rizzo schreef: > > I think I reached a first interesting milestone in my project > > to build an emulation layer to compile linux device drivers on FreeBSD. > > > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > > to support 228 different webcams) with basically no modifications to > > the original source. So it would be good if someone could give a try > > to this code, either on -current or -stable, keeping in mind that > > this is NOT PRODUCTION READY yet. > > > [...] > > together of course with source code, and even binary modules > > for FreeBSD 6.2. > > Basically I would like to know how it builds/works on -current, > > have reports on cameras that work with it and those which don't > > and so on. > [...] > > The binary modules also load on CURRENT i386 as of 2007/01/30, > dmesg shows > > > usb_spca5xx_init: gspca driver 01.00.12 registered > > but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : > > > spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 > > spcaCameraDetect failed > > neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE > laptop (Syntek, product 0xa311), at least no /dev/video* show up. ok thanks for the work anyways... i see there is a project on sourceforge for this one but probably not complete yet http://syntekdriver.sourceforge.net/index.php?mode=documentation while i haven't found anything on the web for the xbox thing. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 14:12:34 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB87116A402 for ; Wed, 31 Jan 2007 14:12:34 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 37C2713C46B for ; Wed, 31 Jan 2007 14:12:34 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so544453nfc for ; Wed, 31 Jan 2007 06:12:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=c5K35nK/71mRq7ksB754g1olwchZnHNRQljsKh9ZyEgmJxEIcp98lE/vyhQHuwZGnEpBu7E2YZLwtZVcteRv8xp0x8hsQfWiMNx1wA7Z4x0CamyjQOcBUVglv4ViyaZuX4InOzgu2a5ypRHxn2GbdpkPGxkIVBe5sGz7sSI/NBw= Received: by 10.48.242.19 with SMTP id p19mr2528413nfh.1170252753018; Wed, 31 Jan 2007 06:12:33 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id b1sm6306665nfe.2007.01.31.06.12.31; Wed, 31 Jan 2007 06:12:32 -0800 (PST) Message-ID: <45C0A3F2.8080507@gmail.com> Date: Wed, 31 Jan 2007 15:13:06 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> In-Reply-To: <20070131060543.A57206@xorpc.icir.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 31 Jan 2007 14:12:34 -0000 Luigi Rizzo schreef: > On Wed, Jan 31, 2007 at 01:23:05PM +0100, Rene Ladan wrote: >> Luigi Rizzo schreef: >>> I think I reached a first interesting milestone in my project >>> to build an emulation layer to compile linux device drivers on FreeBSD. >>> >>> I managed to build a FreeBSD port of the linux 'gspca' driver (which claims >>> to support 228 different webcams) with basically no modifications to >>> the original source. So it would be good if someone could give a try >>> to this code, either on -current or -stable, keeping in mind that >>> this is NOT PRODUCTION READY yet. >>> >> [...] >>> together of course with source code, and even binary modules >>> for FreeBSD 6.2. >>> Basically I would like to know how it builds/works on -current, >>> have reports on cameras that work with it and those which don't >>> and so on. >> [...] >> >> The binary modules also load on CURRENT i386 as of 2007/01/30, >> dmesg shows >> >>> usb_spca5xx_init: gspca driver 01.00.12 registered >> but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : >> >>> spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 >>> spcaCameraDetect failed >> neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE >> laptop (Syntek, product 0xa311), at least no /dev/video* show up. > > ok thanks for the work anyways... i see there is a > project on sourceforge for this one but probably not complete yet > > http://syntekdriver.sourceforge.net/index.php?mode=documentation > Might be worth a try :) > while i haven't found anything on the web for the xbox thing. > Me neither. The xbox camera only creates a /dev/ugenX, but no /dev/ugenX.Y The camera is recognized as: > ugen0: Microsoft Video Camera, rev 2.00/1.50, addr 2 > cheers > luigi > Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 14:20:21 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7CC316A406 for ; Wed, 31 Jan 2007 14:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8709F13C461 for ; Wed, 31 Jan 2007 14:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0VEKL1Z085973 for ; Wed, 31 Jan 2007 14:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0VEKLaL085972; Wed, 31 Jan 2007 14:20:21 GMT (envelope-from gnats) Date: Wed, 31 Jan 2007 14:20:21 GMT Message-Id: <200701311420.l0VEKLaL085972@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Warren Baker Cc: Subject: Re: usb/91906: FreeBSD hangs while booting with USB legacy support on (MSI 865PE Neo2-P) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Warren Baker List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 14:20:21 -0000 The following reply was made to PR usb/91906; it has been noted by GNATS. From: Warren Baker To: bug-followup@FreeBSD.org, yazar256@yahoo.fr Cc: Subject: Re: usb/91906: FreeBSD hangs while booting with USB legacy support on (MSI 865PE Neo2-P) Date: Wed, 31 Jan 2007 11:49:10 +0200 This is a multi-part message in MIME format. --------------090705020106010804070604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I also am having a similar problem and not sure whether to log a separate bug entry for this. In any case the problem is that I have tried to install FreeBSD 6.1 and FreeBSD 6.2 without any luck on a Dell OptiPlex 320. However it hangs in the boot process once it probes the usb port the usb keyboard is plugged into. Details as follows: ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff7000 ioapic0: routing intpin 16 (PCI IRQ16) to vector 50 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff8000-0xdfff8fff irq 17 at device 19.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xdfff8000 ioapic0: routing intpin 7 (PCI IRQ 17) to vector 51 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support At this stage it just hangs. If i boot the PC without the keyboard plugged in and then plug it in once all the usb ports have been probed by FreeBSD it then picks up the keyboard and I can install FreeBSD. That is the usb keyboard is plugged in after the following section in the boot phase: usb5: waiting for BIOS to give up control usb5: EHCI version 1.0 usb5: compnaion controllers, 2 ports each: usb0 usb1 usb2 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub5: 10 ports with 10 removable, self powered . . . Obviously once it reboots, it hangs again in the same place if the keyboard is left in. I cant test without USB legacy support as the Dell BIOS doesnt offer this option, nor have the luxury of trying to use a PS2 keyboard. I have tried booting with safe mode as well, but no luck. I also tried creating a 6.1 ISO without OHCI support and just EHCI and UHCI support and still no luck. I then recompiled the kernel and created a 6.1 ISO with just UHCI support (no EHCI or OHCI support) and the box then booted ok and i could install the OS. I did not try this approach with 6.2, but im assuming ti would probably behave the same. I have attached a dmesg from a successful 6.2 boot when the keyboard was plugged in after the usb ports had been probed (this is with the GENERIC kernel). By the way I also notice that it reports a bad signature in the MP config table - which you can see in the dmesg. Please let me know if you need anything else. Thanks, Warren --------------090705020106010804070604 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC mptable_probe: MP Config Table has bad signature: \^V\M-+\M-p ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 3.06GHz (3066.79-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf49 Stepping = 9 Features=0xbfebfbff Features2=0x651d> AMD Features=0x20100000 AMD Features2=0x1 real memory = 233160704 (222 MB) avail memory = 218603520 (208 MB) ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) atapci0: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfecf mem 0xdfff6c00-0xdfff6fff irq 22 at device 18.0 on pci0 ata2: on atapci0 ata3: on atapci0 ohci0: mem 0xdfff7000-0xdfff7fff irq 16 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xdfff8000-0xdfff8fff irq 17 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xdfff9000-0xdfff9fff irq 18 at device 19.2 on pci0 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ohci3: mem 0xdfffa000-0xdfffafff irq 17 at device 19.3 on pci0 ohci3: [GIANT-LOCKED] usb3: OHCI version 1.0, legacy support usb3: on ohci3 usb3: USB revision 1.0 uhub3: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ohci4: mem 0xdfffb000-0xdfffbfff irq 18 at device 19.4 on pci0 ohci4: [GIANT-LOCKED] usb4: OHCI version 1.0, legacy support usb4: on ohci4 usb4: USB revision 1.0 uhub4: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered ehci0: mem 0xdfff6900-0xdfff69ff irq 19 at device 19.5 on pci0 ehci0: [GIANT-LOCKED] usb5: waiting for BIOS to give up control usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub5: 10 ports with 10 removable, self powered pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 20.1 on pci0 ata0: on atapci1 ata1: on atapci1 isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 fxp0: port 0xdc80-0xdcbf mem 0xdfcbc000-0xdfcbcfff,0xdfcc0000-0xdfcdffff irq 21 at device 1.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:0e:0c:b8:f9:08 fxp1: port 0xdcc0-0xdcff mem 0xdfcbd000-0xdfcbdfff,0xdfce0000-0xdfcfffff irq 22 at device 2.0 on pci2 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:0e:0c:b8:f8:7b bfe0: mem 0xdfcbe000-0xdfcbffff irq 21 at device 9.0 on pci2 miibus2: on bfe0 bmtphy0: on miibus2 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:18:8b:88:64:6e ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc9fff,0xca000-0xcbfff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: Microsoft Microsoft Internet Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 kbd2 at ukbd0 uhid0: Microsoft Microsoft Internet Keyboard, rev 1.10/1.00, addr 2, iclass 3/1 Timecounter "TSC" frequency 3066792159 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 ad4: 38146MB at ata2-master UDMA33 Trying to mount root from ufs:/dev/ad4s1a --------------090705020106010804070604-- From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 16:57:13 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14B6E16A403 for ; Wed, 31 Jan 2007 16:57:13 +0000 (UTC) (envelope-from cschueler@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5C8BB13C4AC for ; Wed, 31 Jan 2007 16:57:10 +0000 (UTC) (envelope-from cschueler@gmx.de) Received: (qmail invoked by alias); 31 Jan 2007 16:30:29 -0000 Received: from e177167094.adsl.alicedsl.de (EHLO [85.177.167.94]) [85.177.167.94] by mail.gmx.net (mp051) with SMTP; 31 Jan 2007 17:30:29 +0100 X-Authenticated: #4717294 Message-ID: <45C0C41E.9090904@gmx.de> Date: Wed, 31 Jan 2007 17:30:22 +0100 From: =?ISO-8859-1?Q?Christian_Sch=FCler?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: usb midi devices 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, 31 Jan 2007 16:57:13 -0000 Hi list, I'd like to know what support FreeBSD has for class-compatible midi keyboards in the usb driver. I read something about 'umidi' device but it doesn't seem to work. For instance, can I run programs like Rosegarden and they will detect the keyboard as midi-input device? For not to confuse the meaning of keyboard here, I'm talking about things like this: http://www.roland.com/products/en/PCR-500/index.html thanks in advance From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 19:10:27 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7EF116A494 for ; Wed, 31 Jan 2007 19:10:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B924A13C442 for ; Wed, 31 Jan 2007 19:10:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0VJAR8u009381 for ; Wed, 31 Jan 2007 19:10:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0VJAReU009379; Wed, 31 Jan 2007 19:10:27 GMT (envelope-from gnats) Date: Wed, 31 Jan 2007 19:10:27 GMT Message-Id: <200701311910.l0VJAReU009379@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Lars Engels Cc: Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 19:10:27 -0000 The following reply was made to PR usb/107642; it has been noted by GNATS. From: Lars Engels To: bug-followup@FreeBSD.org, valera@chikalov.dp.ua Cc: Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver Date: Wed, 31 Jan 2007 20:00:23 +0100 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline So, on 6.2 it's now working for me. The rt2573.ko kmod isn't automatically loaded by rum.ko at boottime. A manual kldunload/kldload does the trick. But on a CURRENT machine, I get the follwing error messages, when I try to compile the rum kmod: # cc -O2 -pipe -march=pentium-m -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I- -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c # In file included from /usr/src/sys/modules/rum/../../dev/usb/if_rum.c:69: # @/dev/usb/if_rumvar.h:82: error: syntax error before "USBBASEDEVICE" # /usr/src/sys/modules/rum/../../dev/usb/if_rum.c:91: error: `USB_PRODUCT_CONCEPTRONIC_C54RU2' undeclared here (not in a function) Fully formatted error message at: http://nopaste.bsdgroup.de/279 --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwOdHKc512sD3afgRAqaQAKDCsCLbNaH1Z296jsETLLD9Y3MCcACglOrm KfXkJu1zPYttkOJXshZ/o/M= =okyn -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi-- From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 23:01:56 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C65CD16A406 for ; Wed, 31 Jan 2007 23:01:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 633FE13C467 for ; Wed, 31 Jan 2007 23:01:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 380171620; Thu, 01 Feb 2007 00:01:54 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 1 Feb 2007 00:01:33 +0100 User-Agent: KMail/1.9.5 References: <45C0C41E.9090904@gmx.de> In-Reply-To: <45C0C41E.9090904@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702010001.33657.hselasky@c2i.net> Cc: Christian =?iso-8859-1?q?Sch=FCler?= Subject: Re: usb midi devices 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, 31 Jan 2007 23:01:56 -0000 On Wednesday 31 January 2007 17:30, Christian Sch=FCler wrote: > Hi list, > I'd like to know what support FreeBSD has for class-compatible midi > keyboards in the usb driver. I read something about 'umidi' device but > it doesn't seem to work. For instance, can I run programs like > Rosegarden and they will detect the keyboard as midi-input device? For > not to confuse the meaning of keyboard here, I'm talking about things > like this: > http://www.roland.com/products/en/PCR-500/index.html > thanks in advance > In the USB perforce project, uaudio.c contains a class driver for MIDI=20 devices, but it currently does not attach to the MIDI system available in=20 =46reeBSD. In only provides you with a raw MIDI device, /dev/umidiX.X . If you want to help improve the umidi stuff, have a look here: http://perforce.freebsd.org/fileLogView.cgi?FSPC=3D//depot/projects/usb/src= /sys/dev/sound/usb/uaudio.c =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 23:10:24 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5B4516A405 for ; Wed, 31 Jan 2007 23:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A4FF913C4B7 for ; Wed, 31 Jan 2007 23:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0VNAORt024983 for ; Wed, 31 Jan 2007 23:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0VNAO9G024982; Wed, 31 Jan 2007 23:10:24 GMT (envelope-from gnats) Date: Wed, 31 Jan 2007 23:10:24 GMT Message-Id: <200701312310.l0VNAO9G024982@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Steinar Hamre Cc: Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Steinar Hamre List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 23:10:24 -0000 The following reply was made to PR kern/107665; it has been noted by GNATS. From: Steinar Hamre To: Alexander Leidinger Cc: freebsd-usb@freebsd.org, bug-followup@FreeBSD.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP Date: Thu, 1 Feb 2007 00:09:20 +0100 On Mon, Jan 29, 2007 at 08:38:52PM +0100, Alexander Leidinger wrote: > Quoting Steinar Hamre (Wed, 10 Jan 2007 00:50:24 GMT): > > > I have reworked the uscanner module so that it can use the device > > simultaniously with the ulpt and umass modules. > > This panics my system at boot time probing. I think my scanner is not > the first interface of the device. uscanner has never supported attaching to other than the first interface on the device. This is hardcoded in USB_ATTACH(uscanner) and is not changed by my patch. Do you have a plain scanner or a multi function device? (What is the product number or output of usbdevs -av?) Did the device work without my patch? If your scanner previosly worked, the only reason I can think of is that your scanner needs usbd_set_config_no. If this is widespread for pure scanner devices, I may rework the patch to be able to attach to both devices and interfaces and use usbd_set_config_no if it did grab the entire device. The concept of set_config_no breaks all multi function devices. Steinar From owner-freebsd-usb@FreeBSD.ORG Wed Jan 31 23:47:41 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1B6816A403 for ; Wed, 31 Jan 2007 23:47:41 +0000 (UTC) (envelope-from steinarh@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.freebsd.org (Postfix) with ESMTP id 833E013C471 for ; Wed, 31 Jan 2007 23:47:39 +0000 (UTC) (envelope-from steinarh@pvv.ntnu.no) Received: from bacchus.pvv.ntnu.no ([129.241.210.178]) by decibel.pvv.ntnu.no with smtp (Exim 4.60) (envelope-from ) id 1HCOZs-0003vT-NB for freebsd-usb@freebsd.org; Thu, 01 Feb 2007 00:09:21 +0100 Received: (qmail 49503 invoked by uid 30273); 31 Jan 2007 23:09:20 -0000 Date: Thu, 1 Feb 2007 00:09:20 +0100 From: Steinar Hamre To: Alexander Leidinger Message-ID: <20070131230920.GA45997@pvv.ntnu.no> References: <200701100050.l0A0oOTY002615@freefall.freebsd.org> <20070129203852.2f3d6a89@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070129203852.2f3d6a89@Magellan.Leidinger.net> User-Agent: Mutt/1.4i Cc: bug-followup@FreeBSD.org, freebsd-usb@freebsd.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP 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, 31 Jan 2007 23:47:41 -0000 On Mon, Jan 29, 2007 at 08:38:52PM +0100, Alexander Leidinger wrote: > Quoting Steinar Hamre (Wed, 10 Jan 2007 00:50:24 GMT): > > > I have reworked the uscanner module so that it can use the device > > simultaniously with the ulpt and umass modules. > > This panics my system at boot time probing. I think my scanner is not > the first interface of the device. uscanner has never supported attaching to other than the first interface on the device. This is hardcoded in USB_ATTACH(uscanner) and is not changed by my patch. Do you have a plain scanner or a multi function device? (What is the product number or output of usbdevs -av?) Did the device work without my patch? If your scanner previosly worked, the only reason I can think of is that your scanner needs usbd_set_config_no. If this is widespread for pure scanner devices, I may rework the patch to be able to attach to both devices and interfaces and use usbd_set_config_no if it did grab the entire device. The concept of set_config_no breaks all multi function devices. Steinar From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 02:40:37 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D4C816A400 for ; Thu, 1 Feb 2007 02:40:37 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 4089613C471 for ; Thu, 1 Feb 2007 02:40:37 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so379676nzh for ; Wed, 31 Jan 2007 18:40:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:sender; b=VLXB5sUHS0MQ5CGOcdjCKEIkK9/cAVXomQaUVRTFg9uZQJ2hNNyaLaIv90a55+uL8336Wm4Hry97lMi5khWKPlcupaXy7mqGypg17aLE5av4kb2+zQlxOQWVAsyr1Pk4yDF2xLmu29LddijHXt8yMcqqrtFG3H8OptmZ2GDc0mU= Received: by 10.35.51.19 with SMTP id d19mr2913090pyk.1170295974363; Wed, 31 Jan 2007 18:12:54 -0800 (PST) Received: from ?10.8.0.32? ( [61.221.58.28]) by mx.google.com with ESMTP id 10sm7101860nzo.2007.01.31.18.12.52; Wed, 31 Jan 2007 18:12:54 -0800 (PST) From: "Eric L. Chen" To: Luigi Rizzo In-Reply-To: <20070130170443.A49225@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YCFsJEPDPD9iaSp2PgBI" Date: Thu, 01 Feb 2007 10:12:46 +0800 Message-Id: <1170295966.1467.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Sender: "Eric L. Chen" Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 01 Feb 2007 02:40:37 -0000 --=-YCFsJEPDPD9iaSp2PgBI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Luigi, The pwc.ko can detect my webcam (Orite MB-631), but pwcview cannot work. I am using FreeBSD 6-stable. The conosle log is here ----- spca50x_set_packet_size: Set packet size: size (0), alt becomes 0 spca5xx_setMode Looking for 352 x 288 palette 0x8 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 352 x 288 palette 0x2f method 0 Found code 0 method 0 Soft Win width height 352 x 288 Hard Win width height 352 x 288 spca50x_set_packet_size: Set packet size: size (2580), alt becomes 5 spca camera, call spca5xx_setMode alt now 5 em2820_init: to be done chipid 0x11 format 0x34 cwidth 0xa0 cheight 0x78 spca5xx_setMode Looking for 352 x 288 palette 0x8 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 352 x 288 palette 0x2f method 0 Found code 0 method 0 Soft Win width height 352 x 288 Hard Win width height 352 x 288 spcaCameraStart: unknown bridge 24 (non fatal but should) endpoint 2 frame size 2580 pwc0: Invalid packetsize (2580) for endpoint 130 ----- /Eric --=-YCFsJEPDPD9iaSp2PgBI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQBFwUyeymyXoUCp/cURAs0zAJ9DAOSLv2LieTZuXUEjQ4cWvTiwigCff6Tr R/gwYYZnZuK1numId5T0u7s= =Rtus -----END PGP SIGNATURE----- --=-YCFsJEPDPD9iaSp2PgBI-- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 05:17:27 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3846E16B3A7 for ; Thu, 1 Feb 2007 05:17:27 +0000 (UTC) (envelope-from mashtizadeh@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id C801D13C48D for ; Thu, 1 Feb 2007 05:17:26 +0000 (UTC) (envelope-from mashtizadeh@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so770272nfc for ; Wed, 31 Jan 2007 21:17:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=FcrWJolE+mQA0zg1c4S7CFSFcZCbvLhHfiFl712MJ9cE5y38NXw/yWa6sHstnEK9cVfhXgLjxYwLQpDsWgOLHUQjF+2uqMymSSSYQs8aMEsLz9/OeauvTY2u+gVea54izR0i9ik7izhUDcSRf9KgGNW0HJbxeIv2GiGqZ6OS+XE= Received: by 10.48.202.14 with SMTP id z14mr3798039nff.1170305436930; Wed, 31 Jan 2007 20:50:36 -0800 (PST) Received: by 10.48.162.13 with HTTP; Wed, 31 Jan 2007 20:50:36 -0800 (PST) Message-ID: <440b3e930701312050m4e6410e9k3b3758e46f0e407e@mail.gmail.com> Date: Wed, 31 Jan 2007 23:50:36 -0500 From: "Ali Mashtizadeh" To: "Eric L. Chen" In-Reply-To: <1170295966.1467.9.camel@localhost> MIME-Version: 1.0 References: <20070130170443.A49225@xorpc.icir.org> <1170295966.1467.9.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: usb@freebsd.org, Luigi Rizzo , current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 01 Feb 2007 05:17:27 -0000 SGksCgpHb29kIHRvIHNlZSB0aGF0IGEgZHJpdmVyIGlzIGNvbWluZyBmb3Igd2ViY2FtJ3MgYnV0 IHNvcnJ5IG5vIHN1Y2Nlc3Mgb24KZWl0aGVyIEkgaGF2ZSBvbiBtZSByaWdodCBub3c6CgpJQk0g UEMgQ2FtZXJhIC0gRmFpbGVkIHRvIHJlY29nbml6ZQoKc3BjYURldGVjdENhbWVyYSBjYWxsZWQg dmVuZCAweDU0NSBwcm9kIDB4ODA4MCBwIDB4YzkxYTQzMzQKc3BjYUNhbWVyYURldGVjdCBmYWls ZWQKc3BjYURldGVjdENhbWVyYSBjYWxsZWQgdmVuZCAweDU0NSBwcm9kIDB4ODA4MCBwIDB4Yzkx YTQzMzQKc3BjYUNhbWVyYURldGVjdCBmYWlsZWQKc3BjYURldGVjdENhbWVyYSBjYWxsZWQgdmVu ZCAweDU0NSBwcm9kIDB4ODA4MCBwIDB4YzkxYTQzMzQKc3BjYUNhbWVyYURldGVjdCBmYWlsZWQK c3BjYURldGVjdENhbWVyYSBjYWxsZWQgdmVuZCAweDU0NSBwcm9kIDB4ODA4MCBwIDB4YzkxYTQz MzQKc3BjYUNhbWVyYURldGVjdCBmYWlsZWQKdWdlbjE6IHZlbmRvciAweDA1NDUgVVNCIElNQUdJ TkcgREVWSUNFLCByZXYgMS4wMS8zLjBhLCBhZGRyIDUKCkludGVsIFBDIENhbWVyYSBDUzc4MCAt IEZhaWxlZCB0byByZWNvZ25pemUgYnV0IGl0IGNsaWNrZWQgYXMgaWYgaXQgdHJpZWQgdG8KdGFr ZSBhIHBpY3R1cmUgd2hlbiBJIHBsdWdnZWQgaW4gdGhhdHMgbm90IG5vcm1hbCB3aXRob3V0IHRo ZSBkcml2ZXIKCnNwY2FEZXRlY3RDYW1lcmEgY2FsbGVkIHZlbmQgMHg4MDg2IHByb2QgMHg3ODAg cCAweGM5MWExMzM0CnNwY2FDYW1lcmFEZXRlY3QgZmFpbGVkCnNwY2FEZXRlY3RDYW1lcmEgY2Fs bGVkIHZlbmQgMHg4MDg2IHByb2QgMHg3ODAgcCAweGM5MWExMzM0CnNwY2FDYW1lcmFEZXRlY3Qg ZmFpbGVkCnNwY2FEZXRlY3RDYW1lcmEgY2FsbGVkIHZlbmQgMHg4MDg2IHByb2QgMHg3ODAgcCAw eGM5MWExMzM0CnNwY2FDYW1lcmFEZXRlY3QgZmFpbGVkCnNwY2FEZXRlY3RDYW1lcmEgY2FsbGVk IHZlbmQgMHg4MDg2IHByb2QgMHg3ODAgcCAweGM5MWExMzM0CnNwY2FDYW1lcmFEZXRlY3QgZmFp bGVkCnNwY2FEZXRlY3RDYW1lcmEgY2FsbGVkIHZlbmQgMHg4MDg2IHByb2QgMHg3ODAgcCAweGM5 MWExMzM0CnNwY2FDYW1lcmFEZXRlY3QgZmFpbGVkCnNwY2FEZXRlY3RDYW1lcmEgY2FsbGVkIHZl bmQgMHg4MDg2IHByb2QgMHg3ODAgcCAweGM5MWExMzM0CnNwY2FDYW1lcmFEZXRlY3QgZmFpbGVk CnVnZW4wOiBJbnRlbCBDb3Jwb3JhdGlvbiBJbnRlbChyKSBQQyBDYW1lcmEgQ1M3ODAsIHJldiAx LjEwLzEuMDAsIGFkZHIgNAoKLS0gCkFsaSBNYXNodGl6YWRlaArYudmE24wg2YXYtNiq24wg2LLY p9iv2YcKCk9uIDEvMzEvMDcsIEVyaWMgTC4gQ2hlbiA8ZDkzNjQxMDRAbWFpbC5uY2h1LmVkdS50 dz4gd3JvdGU6Cj4KPiBIaSBMdWlnaSwKPiBUaGUgcHdjLmtvIGNhbiBkZXRlY3QgbXkgd2ViY2Ft IChPcml0ZSBNQi02MzEpLCBidXQgcHdjdmlldyBjYW5ub3Qgd29yay4KPiBJIGFtIHVzaW5nIEZy ZWVCU0QgNi1zdGFibGUuCj4gVGhlIGNvbm9zbGUgbG9nIGlzIGhlcmUKPiAtLS0tLQo+IHNwY2E1 MHhfc2V0X3BhY2tldF9zaXplOiBTZXQgcGFja2V0IHNpemU6IHNpemUgKDApLCBhbHQgYmVjb21l cyAwCj4gc3BjYTV4eF9zZXRNb2RlIExvb2tpbmcgZm9yIDM1MiB4IDI4OCBwYWxldHRlIDB4OAo+ IHNwY2E1eHhfc2V0TW9kZSBoYXZlIDAgeCAwIHBhbGV0dGUgMHgwIG1ldGhvZCAwCj4gc3BjYTV4 eF9zZXRNb2RlIGhhdmUgMCB4IDAgcGFsZXR0ZSAweDAgbWV0aG9kIDAKPiBzcGNhNXh4X3NldE1v ZGUgaGF2ZSAwIHggMCBwYWxldHRlIDB4MCBtZXRob2QgMAo+IHNwY2E1eHhfc2V0TW9kZSBoYXZl IDM1MiB4IDI4OCBwYWxldHRlIDB4MmYgbWV0aG9kIDAKPiBGb3VuZCBjb2RlIDAgbWV0aG9kIDAg U29mdCBXaW4gd2lkdGggaGVpZ2h0IDM1MiB4IDI4OCBIYXJkIFdpbiB3aWR0aAo+IGhlaWdodCAz NTIgeCAyODgKPiBzcGNhNTB4X3NldF9wYWNrZXRfc2l6ZTogU2V0IHBhY2tldCBzaXplOiBzaXpl ICgyNTgwKSwgYWx0IGJlY29tZXMgNQo+IHNwY2EgY2FtZXJhLCBjYWxsIHNwY2E1eHhfc2V0TW9k ZSBhbHQgbm93IDUKPiBlbTI4MjBfaW5pdDogdG8gYmUgZG9uZQo+IGNoaXBpZCAweDExCj4gZm9y bWF0IDB4MzQKPiBjd2lkdGggMHhhMAo+IGNoZWlnaHQgMHg3OAo+IHNwY2E1eHhfc2V0TW9kZSBM b29raW5nIGZvciAzNTIgeCAyODggcGFsZXR0ZSAweDgKPiBzcGNhNXh4X3NldE1vZGUgaGF2ZSAw IHggMCBwYWxldHRlIDB4MCBtZXRob2QgMAo+IHNwY2E1eHhfc2V0TW9kZSBoYXZlIDAgeCAwIHBh bGV0dGUgMHgwIG1ldGhvZCAwCj4gc3BjYTV4eF9zZXRNb2RlIGhhdmUgMCB4IDAgcGFsZXR0ZSAw eDAgbWV0aG9kIDAKPiBzcGNhNXh4X3NldE1vZGUgaGF2ZSAzNTIgeCAyODggcGFsZXR0ZSAweDJm IG1ldGhvZCAwCj4gRm91bmQgY29kZSAwIG1ldGhvZCAwIFNvZnQgV2luIHdpZHRoIGhlaWdodCAz NTIgeCAyODggSGFyZCBXaW4gd2lkdGgKPiBoZWlnaHQgMzUyIHggMjg4Cj4gc3BjYUNhbWVyYVN0 YXJ0OiB1bmtub3duIGJyaWRnZSAyNCAobm9uIGZhdGFsIGJ1dCBzaG91bGQpCj4gZW5kcG9pbnQg MiBmcmFtZSBzaXplIDI1ODAKPiBwd2MwOiBJbnZhbGlkIHBhY2tldHNpemUgKDI1ODApIGZvciBl bmRwb2ludCAxMzAKPiAtLS0tLQo+Cj4gL0VyaWMKPgo+Cj4K From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 06:46:45 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB3A916A402 for ; Thu, 1 Feb 2007 06:46:45 +0000 (UTC) (envelope-from anonymous@km20935-10.keymachine.de) Received: from km20935-10.keymachine.de (ns.km20935-10.keymachine.de [84.19.184.131]) by mx1.freebsd.org (Postfix) with ESMTP id 456DF13C442 for ; Thu, 1 Feb 2007 06:46:45 +0000 (UTC) (envelope-from anonymous@km20935-10.keymachine.de) Received: (qmail 26278 invoked by uid 48); 1 Feb 2007 03:31:48 +0300 Date: 1 Feb 2007 03:31:47 +0300 Message-ID: <20070201003147.26276.qmail@km20935-10.keymachine.de> From: Wachovia Alerts To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Stay on Top of Your Finances with Wachovia's eNews letter 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, 01 Feb 2007 06:46:46 -0000 [1]Home | [2]Customer Service [3]Wachovia logo [pulse_middletop.gif] [pulse_rightbar.gif] [pulse_bottombar.gif] [pulse_bottombar2.gif] WACHOVIA ENEWSLETTER [4]Wachovia eNewsletter Keep informed with [5]Wachovia eNewsletter and stay on top of your long-term financial goals. Get the latest in banking and investing delivered quarterly to your email inbox. Wachovia eNewsletter offers: * Helpful guidance on how to plan for long-term goals. * Time-saving tips on how to manage your money more effectively. * Insights that can give you more confidence in financial matters. Best of all it's free! View the latest issue and [6]sign up now. [7]Sign Up Now __________________________________________ [8]Unsubscribe | [9]Change Email Address Your [10]privacy is important to us. You received this message at: wachovia@emessage.wachovia.com This email was sent to you by Wachovia. To ensure delivery to your inbox (and not bulk or junk mail folders), please add wachovia@emessage.wachovia.com to your address book. [not_may_not_authenticated2.gif] Wachovia Securities is the trade name used by two separate, registered broker-dealers and non-bank affiliates of Wachovia Corporation, providing certain retail securities brokerage services; Wachovia Securities, LLC, member NYSE/SIPC, and Wachovia Securities Financial Network, LLC, member NASD/SIPC. © 2007 Wachovia Corporation, 301 South College Street, Suite 4000, One Wachovia Center, Charlotte, NC 28288-0013. All Rights Reserved. [pulse_middletop.gif] [pulse_rightbar.gif] [pulse_bottombar.gif] [pulse_bottombar2.gif] [11]About Wachovia | [12]Privacy | [13]Security | [14]Legal | [15]Merger References 1. http://mail.wtg.lviv.ua/www.wachovia.com 2. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/help 3. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/wachhome 4. http://mail.wtg.lviv.ua/www.wachovia.com 5. http://mail.wtg.lviv.ua/www.wachovia.com 6. http://mail.wtg.lviv.ua/www.wachovia.com 7. http://mail.wtg.lviv.ua/www.wachovia.com 8. http://mail.wtg.lviv.ua/www.wachovia.com 9. http://mail.wtg.lviv.ua/www.wachovia.com 10. http://mail.wtg.lviv.ua/www.wachovia.com 11. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/inside 12. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/privacy1 13. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/security 14. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/legal 15. http://emessage.wachovia.com/a/hBFiA7pAOa3K-A2QyPuA2jD95.AOiujKGy/merger From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 07:33:41 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6A0316A400; Thu, 1 Feb 2007 07:33:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9B31013C467; Thu, 1 Feb 2007 07:33:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5F3B4.dip.t-dialin.net [84.165.243.180]) by redbull.bpaserver.net (Postfix) with ESMTP id 760532E1D7; Thu, 1 Feb 2007 08:45:06 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id E27305B4DC7; Thu, 1 Feb 2007 08:33:33 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l117XXbY071677; Thu, 1 Feb 2007 08:33:33 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 01 Feb 2007 08:33:33 +0100 Message-ID: <20070201083333.rjvhpmnjggwk4wso@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 01 Feb 2007 08:33:33 +0100 From: Alexander Leidinger To: Steinar Hamre References: <200701100050.l0A0oOTY002615@freefall.freebsd.org> <20070129203852.2f3d6a89@Magellan.Leidinger.net> <20070131230920.GA45997@pvv.ntnu.no> In-Reply-To: <20070131230920.GA45997@pvv.ntnu.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: bug-followup@freebsd.org, freebsd-usb@freebsd.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP 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, 01 Feb 2007 07:33:42 -0000 Quoting Steinar Hamre (from Thu, 1 Feb 2007 =20 00:09:20 +0100): > On Mon, Jan 29, 2007 at 08:38:52PM +0100, Alexander Leidinger wrote: >> Quoting Steinar Hamre (Wed, 10 Jan 2007 =20 >> 00:50:24 GMT): >> >> > I have reworked the uscanner module so that it can use the device >> > simultaniously with the ulpt and umass modules. >> >> This panics my system at boot time probing. I think my scanner is not >> the first interface of the device. > > uscanner has never supported attaching to other than the first > interface on the device. This is hardcoded in USB_ATTACH(uscanner) > and is not changed by my patch. > > Do you have a plain scanner or a multi function device? It's a multi function device (scan-print-fax). > (What is the product number or output of usbdevs -av?) Vendor: BROTHER (see usbdevs) Product: 0x0100 > Did the device work without my patch? I never tried, I don't have a driver for this scanner (Brother has =20 binary only drivers for sane on linux only). Bye, Alexander. --=20 She's learned to say things with her eyes that others waste time putting into words. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 07:40:23 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 715BB16A402 for ; Thu, 1 Feb 2007 07:40:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD4113C4A8 for ; Thu, 1 Feb 2007 07:40:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l117eMRF065600 for ; Thu, 1 Feb 2007 07:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l117eM9Y065599; Thu, 1 Feb 2007 07:40:22 GMT (envelope-from gnats) Date: Thu, 1 Feb 2007 07:40:22 GMT Message-Id: <200702010740.l117eM9Y065599@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Leidinger Cc: Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Leidinger List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 07:40:23 -0000 The following reply was made to PR kern/107665; it has been noted by GNATS. From: Alexander Leidinger To: Steinar Hamre Cc: freebsd-usb@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/107665: [usb] [patch] uscanner support for epson stylus DX5050 MFP Date: Thu, 01 Feb 2007 08:33:33 +0100 Quoting Steinar Hamre (from Thu, 1 Feb 2007 =20 00:09:20 +0100): > On Mon, Jan 29, 2007 at 08:38:52PM +0100, Alexander Leidinger wrote: >> Quoting Steinar Hamre (Wed, 10 Jan 2007 =20 >> 00:50:24 GMT): >> >> > I have reworked the uscanner module so that it can use the device >> > simultaniously with the ulpt and umass modules. >> >> This panics my system at boot time probing. I think my scanner is not >> the first interface of the device. > > uscanner has never supported attaching to other than the first > interface on the device. This is hardcoded in USB_ATTACH(uscanner) > and is not changed by my patch. > > Do you have a plain scanner or a multi function device? It's a multi function device (scan-print-fax). > (What is the product number or output of usbdevs -av?) Vendor: BROTHER (see usbdevs) Product: 0x0100 > Did the device work without my patch? I never tried, I don't have a driver for this scanner (Brother has =20 binary only drivers for sane on linux only). Bye, Alexander. --=20 She's learned to say things with her eyes that others waste time putting into words. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 09:10:05 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1BE616A402; Thu, 1 Feb 2007 09:10:05 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id DCC7613C474; Thu, 1 Feb 2007 09:10:04 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([87.226.153.33]:61454 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S7773223AbXBAI5e (ORCPT + 1 other); Thu, 1 Feb 2007 11:57:34 +0300 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <45C1AB7A.8010002@yandex.ru> Date: Thu, 01 Feb 2007 11:57:30 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 01 Feb 2007 09:10:06 -0000 Luigi Rizzo wrote: > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. It builds, kldload/kldunload works, but camera don't recognized. My hardware: Notebook Maxselect GT3000 (seems like a Clevo M550J) http://www.clevo.com.tw/products/M550J.asp usbdevs -v port 8 addr 2: high speed, power 500 mA, config 1, USB2.0 Camera(0x5602), vendor 0x0402(0x0402), rev 1.00 I've found two related to this webcam projects: http://sourceforge.net/search/?type_of_search=soft&words=m560x But not yet tried this driver. -- WBR, Andrey V. Elsukov From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 12:30:26 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51C5416A494 for ; Thu, 1 Feb 2007 12:30:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3D20D13C4B9 for ; Thu, 1 Feb 2007 12:30:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l11CUPSH088402 for ; Thu, 1 Feb 2007 12:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l11CUPbm088398; Thu, 1 Feb 2007 12:30:25 GMT (envelope-from gnats) Date: Thu, 1 Feb 2007 12:30:25 GMT Message-Id: <200702011230.l11CUPbm088398@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Valery V.Chikalov" Cc: Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Valery V.Chikalov" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 12:30:26 -0000 The following reply was made to PR usb/107642; it has been noted by GNATS. From: "Valery V.Chikalov" To: bug-followup@FreeBSD.org, valera@chikalov.dp.ua Cc: Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver Date: Thu, 01 Feb 2007 13:50:42 +0200 This is a multi-part message in MIME format. --------------070401030006070808060902 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 patch fixed, reworked to fit to CURRENT -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwdP9760S3kDvEC4RAgXLAJ9sgZLzeFCjpw4Rcs2tWN3wNL0IYgCgvTum C77ikV7d5l0cIQIk7XUS0Zg= =S4Ye -----END PGP SIGNATURE----- --------------070401030006070808060902 Content-Type: text/plain; name="rum.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rum.patch.txt" ? sys/modules/rt2573/rum-rt2573 Index: sys/dev/usb/if_rum.c =================================================================== RCS file: sys/dev/usb/if_rum.c diff -N sys/dev/usb/if_rum.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/dev/usb/if_rum.c 1 Feb 2007 11:26:03 -0000 @@ -0,0 +1,2315 @@ +/* $OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $ */ +/* $NetBSD: if_rum.c,v 1.2 2006/11/01 08:39:25 xtraeme Exp $ */ + +/*- + * Copyright (c) 2005, 2006 Damien Bergamini + * Copyright (c) 2006 Niall O'Higgins + * Copyright (c) 2006, 2007 Valery V.Chikalov + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/*- + * Ralink Technology RT2501USB/RT2601USB chipset driver + * http://www.ralinktech.com/ + */ + +#if defined(__NetBSD__) +#include "opt_ns.h" +#endif +#if defined(__NetBSD__) +#include "bpfilter.h" +#endif +#if defined(__FreeBSD__) +#define NBPFILTER 1 +#endif +#if defined(__NetBSD__) +#include "rnd.h" +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include + +#include +#include +#include +#include "usbdevs.h" + +#include +#include + +#ifdef USB_DEBUG +#define RUM_DEBUG +#endif + +#ifdef RUM_DEBUG +#define DPRINTF(x) do { if (rum_debug) logprintf x; } while (0) +#define DPRINTFN(n, x) do { if (rum_debug >= (n)) logprintf x; } while (0) +int rum_debug = 0; +#else +#define DPRINTF(x) +#define DPRINTFN(n, x) +#endif + +/* various supported device vendors/products */ +static const struct usb_devno rum_devs[] = { + { USB_VENDOR_ABOCOM, USB_PRODUCT_ABOCOM_RT2573 }, + { USB_VENDOR_ASUS, USB_PRODUCT_ASUS_RT2573 }, + { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5D7050A }, + { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5D9050V3 }, + { USB_VENDOR_LINKSYS4, USB_PRODUCT_LINKSYS4_WUSB54GC }, + { USB_VENDOR_CONCEPTRONIC2, USB_PRODUCT_CONCEPTRONIC2_C54RU2 }, + { USB_VENDOR_DICKSMITH, USB_PRODUCT_DICKSMITH_CWD854F }, + { USB_VENDOR_DICKSMITH, USB_PRODUCT_DICKSMITH_RT2573 }, + { USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_DWLG122C1 }, + { USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_WUA1340 }, + { USB_VENDOR_GIGABYTE, USB_PRODUCT_GIGABYTE_GNWB01GS }, + { USB_VENDOR_GIGASET, USB_PRODUCT_GIGASET_RT2573 }, + { USB_VENDOR_GOODWAY, USB_PRODUCT_GOODWAY_RT2573 }, + { USB_VENDOR_HUAWEI3COM, USB_PRODUCT_HUAWEI3COM_RT2573 }, + { USB_VENDOR_MSI, USB_PRODUCT_MSI_RT2573 }, + { USB_VENDOR_MSI, USB_PRODUCT_MSI_RT2573_2 }, + { USB_VENDOR_MSI, USB_PRODUCT_MSI_RT2573_3 }, + { USB_VENDOR_PLANEX2, USB_PRODUCT_PLANEX2_GWUSMM }, + { USB_VENDOR_QCOM, USB_PRODUCT_QCOM_RT2573 }, + { USB_VENDOR_QCOM, USB_PRODUCT_QCOM_RT2573_2 }, + { USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2573 }, + { USB_VENDOR_RALINK, USB_PRODUCT_RALINK_RT2671 }, + { USB_VENDOR_SITECOMEU, USB_PRODUCT_SITECOMEU_WL113R2 }, + { USB_VENDOR_SITECOMEU, USB_PRODUCT_SITECOMEU_WL172 }, + { USB_VENDOR_SURECOM, USB_PRODUCT_SURECOM_RT2573 } +}; + +MODULE_DEPEND(rum, wlan, 1, 1, 1); +MODULE_DEPEND(rum, firmware, 1, 1, 1); + +static void rum_attachhook(void *); + +static void rum_start(struct ifnet *); +static void rum_watchdog(struct ifnet *); + +static int rum_ioctl(struct ifnet *, u_long, caddr_t); + +static int rum_alloc_tx_list(struct rum_softc *); +static void rum_free_tx_list(struct rum_softc *); +static int rum_alloc_rx_list(struct rum_softc *); +static void rum_free_rx_list(struct rum_softc *); + +static void rum_txeof(usbd_xfer_handle, usbd_private_handle, usbd_status); +static void rum_rxeof(usbd_xfer_handle, usbd_private_handle, usbd_status); + +static int rum_media_change(struct ifnet *); +static void rum_task(void *); +static void rum_next_scan(void *); +static int rum_newstate(struct ieee80211com *, enum ieee80211_state, int); +static uint8_t rum_rxrate(struct rum_rx_desc *); +static int rum_ack_rate(struct ieee80211com *, int); +static uint16_t rum_txtime(int, int, uint32_t); +static uint8_t rum_plcp_signal(int); +static void rum_setup_tx_desc(struct rum_softc *, struct rum_tx_desc *, uint32_t, uint16_t, int, int); +static int rum_tx_mgt(struct rum_softc *, struct mbuf *, struct ieee80211_node *); +static int rum_tx_data(struct rum_softc *, struct mbuf *, struct ieee80211_node *); + +static void rum_read_eeprom(struct rum_softc *); +static void rum_eeprom_read(struct rum_softc *, uint16_t, void *, int); +static uint32_t rum_read(struct rum_softc *, uint16_t); +static void rum_read_multi(struct rum_softc *, uint16_t, void *, int); +static void rum_write(struct rum_softc *, uint16_t, uint32_t); +static void rum_write_multi(struct rum_softc *, uint16_t, void *, size_t); + +static int rum_bbp_init(struct rum_softc *); +static void rum_bbp_write(struct rum_softc *, uint8_t, uint8_t); +static uint8_t rum_bbp_read(struct rum_softc *, uint8_t); + +static const char *rum_get_rf(int); +static void rum_rf_write(struct rum_softc *, uint8_t, uint32_t); +static void rum_select_antenna(struct rum_softc *); +static void rum_enable_mrr(struct rum_softc *); +static void rum_set_txpreamble(struct rum_softc *); +static void rum_set_basicrates(struct rum_softc *); +static void rum_select_band(struct rum_softc *, struct ieee80211_channel *); +static void rum_set_chan(struct rum_softc *, struct ieee80211_channel *); +static void rum_enable_tsf_sync(struct rum_softc *); +static void rum_update_slot(struct rum_softc *); +static void rum_set_bssid(struct rum_softc *, const uint8_t *); +static void rum_set_macaddr(struct rum_softc *, const uint8_t *); +static void rum_update_promisc(struct rum_softc *); + +static void rum_init(void *); +static void rum_stop(struct ifnet *); +static int rum_load_microcode(struct rum_softc *, const u_char *, size_t); +static int rum_prepare_beacon(struct rum_softc *); + +static void rum_amrr_start(struct rum_softc *, struct ieee80211_node *); +static void rum_amrr_timeout(void *); +static void rum_amrr_update(usbd_xfer_handle, usbd_private_handle, usbd_status status); +static void rum_ratectl(struct rum_amrr *, struct ieee80211_node *); + +/* + * Supported rates for 802.11a/b/g modes (in 500Kbps unit). + */ +static const struct ieee80211_rateset rum_rateset_11a = + { 8, { 12, 18, 24, 36, 48, 72, 96, 108 } }; + +static const struct ieee80211_rateset rum_rateset_11b = + { 4, { 2, 4, 11, 22 } }; + +static const struct ieee80211_rateset rum_rateset_11g = + { 12, { 2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108 } }; + +static const struct { + uint32_t reg; + uint32_t val; +} rum_def_mac[] = { + RT2573_DEF_MAC +}; + +static const struct { + uint8_t reg; + uint8_t val; +} rum_def_bbp[] = { + RT2573_DEF_BBP +}; + +static const struct rfprog { + uint8_t chan; + uint32_t r1, r2, r3, r4; +} rum_rf5226[] = { + RT2573_RF5226 +}, rum_rf5225[] = { + RT2573_RF5225 +}; + +USB_DECLARE_DRIVER(rum); + +USB_MATCH(rum) +{ + USB_MATCH_START(rum, uaa); + + if (uaa->iface != NULL) + return UMATCH_NONE; + + return (usb_lookup(rum_devs, uaa->vendor, uaa->product) != NULL) ? + UMATCH_VENDOR_PRODUCT : UMATCH_NONE; +} + +static void +rum_attachhook(void *xsc) +{ + struct rum_softc *sc = xsc; + const char *name = "rt2573"; + struct firmware *fp; + + fp = firmware_get(name); + + if (fp == NULL || fp->datasize == 0) { + printf("%s: failed loadfirmware of file %s\n", + device_get_nameunit(sc->sc_dev), name); + return; + } else { + //MYDEBUG + printf("%s: firmware loaded: name: %s, size:%d\n", device_get_nameunit(sc->sc_dev), fp->name, fp->datasize); + } + + if (rum_load_microcode(sc, fp->data, fp->datasize) != 0) { + printf("%s: could not load 8051 microcode\n", + device_get_nameunit(sc->sc_dev)); + } + +} + +USB_ATTACH(rum) +{ + USB_ATTACH_START(rum, sc, uaa); + struct ieee80211com *ic = &sc->sc_ic; + struct ifnet *ifp = NULL; + usb_interface_descriptor_t *id; + usb_endpoint_descriptor_t *ed; + usbd_status error; + char devinfo[1024]; + int i, ntries; + uint32_t tmp; + + sc->sc_udev = uaa->device; + sc->sc_flags = 0; + + usbd_devinfo(sc->sc_udev, 0, devinfo); + USB_ATTACH_SETUP; + printf("%s: %s\n", device_get_nameunit(sc->sc_dev), devinfo); + + if (usbd_set_config_no(sc->sc_udev, RT2573_CONFIG_NO, 0) != 0) { + printf("%s: could not set configuration no\n", + device_get_nameunit(sc->sc_dev)); + USB_ATTACH_ERROR_RETURN; + } + + /* get the first interface handle */ + error = usbd_device2interface_handle(sc->sc_udev, RT2573_IFACE_INDEX, + &sc->sc_iface); + if (error != 0) { + printf("%s: could not get interface handle\n", + device_get_nameunit(sc->sc_dev)); + USB_ATTACH_ERROR_RETURN; + } + + /* + * Find endpoints. + */ + id = usbd_get_interface_descriptor(sc->sc_iface); + + sc->sc_rx_no = sc->sc_tx_no = -1; + for (i = 0; i < id->bNumEndpoints; i++) { + ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); + if (ed == NULL) { + printf("%s: no endpoint descriptor for iface %d\n", + device_get_nameunit(sc->sc_dev), i); + USB_ATTACH_ERROR_RETURN; + } + + if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && + UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) + sc->sc_rx_no = ed->bEndpointAddress; + else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && + UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) + sc->sc_tx_no = ed->bEndpointAddress; + } + if (sc->sc_rx_no == -1 || sc->sc_tx_no == -1) { + printf("%s: missing endpoint\n", device_get_nameunit(sc->sc_dev)); + USB_ATTACH_ERROR_RETURN; + } + + usb_init_task(&sc->sc_task, rum_task, sc); + callout_init(&sc->scan_ch, debug_mpsafenet ? CALLOUT_MPSAFE : 0); + callout_init(&sc->amrr_ch, 0); + + /* retrieve RT2573 rev. no */ + for (ntries = 0; ntries < 1000; ntries++) { + if ((tmp = rum_read(sc, RT2573_MAC_CSR0)) != 0) + break; + DELAY(1000); + } + if (ntries == 1000) { + printf("%s: timeout waiting for chip to settle\n", + device_get_nameunit(sc->sc_dev)); + USB_ATTACH_ERROR_RETURN; + } + + /* retrieve MAC address and various other things from EEPROM */ + rum_read_eeprom(sc); + + printf("%s: MAC/BBP RT%04x (rev 0x%05x), RF %s, address %s\n", + device_get_nameunit(sc->sc_dev), sc->macbbp_rev, tmp, + rum_get_rf(sc->rf_rev), ether_sprintf(ic->ic_myaddr)); + + ifp = sc->sc_ifp = if_alloc(IFT_ETHER); + if (ifp == NULL) { + printf("%s: can not if_alloc()\n", device_get_nameunit(sc->sc_dev)); + USB_ATTACH_ERROR_RETURN; + } + +#if 1 + rum_attachhook(sc); +#endif + + ic->ic_ifp = ifp; + ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ + ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ + ic->ic_state = IEEE80211_S_INIT; + + /* set device capabilities */ + ic->ic_caps = + IEEE80211_C_IBSS | /* IBSS mode supported */ + IEEE80211_C_MONITOR | /* monitor mode supported */ + IEEE80211_C_HOSTAP | /* HostAp mode supported */ + IEEE80211_C_TXPMGT | /* tx power management */ + IEEE80211_C_SHPREAMBLE | /* short preamble supported */ + IEEE80211_C_SHSLOT | /* short slot time supported */ + IEEE80211_C_WPA; /* 802.11i */ + + if (sc->rf_rev == RT2573_RF_5225 || sc->rf_rev == RT2573_RF_5226) { + /* set supported .11a rates */ + ic->ic_sup_rates[IEEE80211_MODE_11A] = rum_rateset_11a; + + /* set supported .11a channels */ + for (i = 34; i <= 46; i += 4) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); + ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; + } + for (i = 36; i <= 64; i += 4) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); + ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; + } + for (i = 100; i <= 140; i += 4) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); + ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; + } + for (i = 149; i <= 165; i += 4) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); + ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; + } + } + + /* set supported .11b and .11g rates */ + ic->ic_sup_rates[IEEE80211_MODE_11B] = rum_rateset_11b; + ic->ic_sup_rates[IEEE80211_MODE_11G] = rum_rateset_11g; + + /* set supported .11b and .11g channels (1 through 14) */ + for (i = 1; i <= 14; i++) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_2GHZ); + ic->ic_channels[i].ic_flags = + IEEE80211_CHAN_CCK | IEEE80211_CHAN_OFDM | + IEEE80211_CHAN_DYN | IEEE80211_CHAN_2GHZ; + } + + ifp->if_softc = sc; + if_initname(ifp, "rum", device_get_unit(sc->sc_dev)); + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; + ifp->if_init = rum_init; + ifp->if_ioctl = rum_ioctl; + ifp->if_start = rum_start; + ifp->if_watchdog = rum_watchdog; + IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); + IFQ_SET_READY(&ifp->if_snd); + +// if_attach(ifp); + ieee80211_ifattach(ic); + + /* override state transition machine */ + sc->sc_newstate = ic->ic_newstate; + ic->ic_newstate = rum_newstate; + ieee80211_media_init(ic, rum_media_change, ieee80211_media_status); + +#if NBPFILTER > 0 + bpfattach2(ifp, DLT_IEEE802_11_RADIO, + sizeof (struct ieee80211_frame) + IEEE80211_RADIOTAP_HDRLEN, &sc->sc_drvbpf); + + sc->sc_rxtap_len = sizeof sc->sc_rxtapu; + sc->sc_rxtap.wr_ihdr.it_len = htole16(sc->sc_rxtap_len); + sc->sc_rxtap.wr_ihdr.it_present = htole32(RT2573_RX_RADIOTAP_PRESENT); + + sc->sc_txtap_len = sizeof sc->sc_txtapu; + sc->sc_txtap.wt_ihdr.it_len = htole16(sc->sc_txtap_len); + sc->sc_txtap.wt_ihdr.it_present = htole32(RT2573_TX_RADIOTAP_PRESENT); +#endif + + ieee80211_announce(ic); + + usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, + USBDEV(sc->sc_dev)); + + USB_ATTACH_SUCCESS_RETURN; +} + +USB_DETACH(rum) +{ + USB_DETACH_START(rum, sc); + struct ieee80211com *ic = &sc->sc_ic; + struct ifnet *ifp = sc->sc_ifp; + int s; + + s = splusb(); + + rum_stop(ifp); + usb_rem_task(sc->sc_udev, &sc->sc_task); + callout_stop(&sc->scan_ch); + callout_stop(&sc->amrr_ch); + + if (sc->amrr_xfer != NULL) { + usbd_free_xfer(sc->amrr_xfer); + sc->amrr_xfer = NULL; + } + + if (sc->sc_rx_pipeh != NULL) { + usbd_abort_pipe(sc->sc_rx_pipeh); + usbd_close_pipe(sc->sc_rx_pipeh); + } + + if (sc->sc_tx_pipeh != NULL) { + usbd_abort_pipe(sc->sc_tx_pipeh); + usbd_close_pipe(sc->sc_tx_pipeh); + } + + rum_free_rx_list(sc); + rum_free_tx_list(sc); + +#if NBPFILTER > 0 + bpfdetach(ifp); +#endif + ieee80211_ifdetach(ic); /* free all nodes */ + if_detach(ifp); + + splx(s); + + usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, + USBDEV(sc->sc_dev)); + + return 0; +} + +static int +rum_alloc_tx_list(struct rum_softc *sc) +{ + struct rum_tx_data *data; + int i, error; + + sc->tx_queued = 0; + + for (i = 0; i < RT2573_TX_LIST_COUNT; i++) { + data = &sc->tx_data[i]; + + data->sc = sc; + + data->xfer = usbd_alloc_xfer(sc->sc_udev); + if (data->xfer == NULL) { + printf("%s: could not allocate tx xfer\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + data->buf = usbd_alloc_buffer(data->xfer, + RT2573_TX_DESC_SIZE + MCLBYTES); + if (data->buf == NULL) { + printf("%s: could not allocate tx buffer\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + /* clean Tx descriptor */ + bzero(data->buf, RT2573_TX_DESC_SIZE); + } + + return 0; + +fail: rum_free_tx_list(sc); + return error; +} + +static void +rum_free_tx_list(struct rum_softc *sc) +{ + struct rum_tx_data *data; + int i; + + for (i = 0; i < RT2573_TX_LIST_COUNT; i++) { + data = &sc->tx_data[i]; + + if (data->xfer != NULL) { + usbd_free_xfer(data->xfer); + data->xfer = NULL; + } + + if (data->ni != NULL) { + ieee80211_free_node(data->ni); + data->ni = NULL; + } + } +} + +static int +rum_alloc_rx_list(struct rum_softc *sc) +{ + struct rum_rx_data *data; + int i, error; + + for (i = 0; i < RT2573_RX_LIST_COUNT; i++) { + data = &sc->rx_data[i]; + + data->sc = sc; + + data->xfer = usbd_alloc_xfer(sc->sc_udev); + if (data->xfer == NULL) { + printf("%s: could not allocate rx xfer\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + if (usbd_alloc_buffer(data->xfer, MCLBYTES) == NULL) { + printf("%s: could not allocate rx buffer\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + MGETHDR(data->m, M_DONTWAIT, MT_DATA); + if (data->m == NULL) { + printf("%s: could not allocate rx mbuf\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + MCLGET(data->m, M_DONTWAIT); + if (!(data->m->m_flags & M_EXT)) { + printf("%s: could not allocate rx mbuf cluster\n", + device_get_nameunit(sc->sc_dev)); + error = ENOMEM; + goto fail; + } + + data->buf = mtod(data->m, uint8_t *); + } + + return 0; + +fail: rum_free_tx_list(sc); + return error; +} + +static void +rum_free_rx_list(struct rum_softc *sc) +{ + struct rum_rx_data *data; + int i; + + for (i = 0; i < RT2573_RX_LIST_COUNT; i++) { + data = &sc->rx_data[i]; + + if (data->xfer != NULL) { + usbd_free_xfer(data->xfer); + data->xfer = NULL; + } + + if (data->m != NULL) { + m_freem(data->m); + data->m = NULL; + } + } +} + +static int +rum_media_change(struct ifnet *ifp) +{ + struct rum_softc *sc = ifp->if_softc; + int error; + + error = ieee80211_media_change(ifp); + if (error != ENETRESET) + return error; + + if ((ifp->if_flags & IFF_UP) && + (ifp->if_drv_flags & IFF_DRV_RUNNING)) + rum_init(sc); + + return 0; +} + +/* + * This function is called periodically (every 200ms) during scanning to + * switch from one channel to another. + */ +static void +rum_next_scan(void *arg) +{ + struct rum_softc *sc = arg; + struct ieee80211com *ic = &sc->sc_ic; + + if (ic->ic_state == IEEE80211_S_SCAN) + ieee80211_next_scan(ic); +} + +static void +rum_task(void *arg) +{ + struct rum_softc *sc = arg; + struct ieee80211com *ic = &sc->sc_ic; + enum ieee80211_state ostate; + struct ieee80211_node *ni; + uint32_t tmp; + + ostate = ic->ic_state; + + switch (sc->sc_state) { + case IEEE80211_S_INIT: + if (ostate == IEEE80211_S_RUN) { + /* abort TSF synchronization */ + tmp = rum_read(sc, RT2573_TXRX_CSR9); + rum_write(sc, RT2573_TXRX_CSR9, tmp & ~0x00ffffff); + } + break; + + case IEEE80211_S_SCAN: + rum_set_chan(sc, ic->ic_curchan); + callout_reset(&sc->scan_ch, hz / 5, rum_next_scan, sc); + break; + + case IEEE80211_S_AUTH: + rum_set_chan(sc, ic->ic_curchan); + break; + + case IEEE80211_S_ASSOC: + rum_set_chan(sc, ic->ic_curchan); + break; + + case IEEE80211_S_RUN: + rum_set_chan(sc, ic->ic_curchan); + + ni = ic->ic_bss; + + if (ic->ic_opmode != IEEE80211_M_MONITOR) { + rum_update_slot(sc); + rum_enable_mrr(sc); + rum_set_txpreamble(sc); + rum_set_basicrates(sc); + rum_set_bssid(sc, ni->ni_bssid); + } + + if (ic->ic_opmode == IEEE80211_M_HOSTAP || + ic->ic_opmode == IEEE80211_M_IBSS) + rum_prepare_beacon(sc); + + if (ic->ic_opmode != IEEE80211_M_MONITOR) + rum_enable_tsf_sync(sc); + + /* enable automatic rate adaptation in STA mode */ + if (ic->ic_opmode == IEEE80211_M_STA && + ic->ic_fixed_rate == IEEE80211_FIXED_RATE_NONE) + rum_amrr_start(sc, ni); + + break; + } + + sc->sc_newstate(ic, sc->sc_state, -1); +} + +static int +rum_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) +{ + struct rum_softc *sc = ic->ic_ifp->if_softc; + + usb_rem_task(sc->sc_udev, &sc->sc_task); + callout_stop(&sc->scan_ch); + callout_stop(&sc->amrr_ch); + + /* do it in a process context */ + sc->sc_state = nstate; + usb_add_task(sc->sc_udev, &sc->sc_task, USB_TASKQ_DRIVER); + + return 0; +} + +/* quickly determine if a given rate is CCK or OFDM */ +#define RUM_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22) + +#define RUM_ACK_SIZE 14 /* 10 + 4(FCS) */ +#define RUM_CTS_SIZE 14 /* 10 + 4(FCS) */ + +static void +rum_txeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) +{ + struct rum_tx_data *data = priv; + struct rum_softc *sc = data->sc; + struct ifnet *ifp = sc->sc_ifp; + int s; + + if (status != USBD_NORMAL_COMPLETION) { + if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) + return; + + printf("%s: could not transmit buffer: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(status)); + + if (status == USBD_STALLED) + usbd_clear_endpoint_stall_async(sc->sc_tx_pipeh); + + ifp->if_oerrors++; + return; + } + + s = splnet(); + + m_freem(data->m); + data->m = NULL; + ieee80211_free_node(data->ni); + data->ni = NULL; + + sc->tx_queued--; + ifp->if_opackets++; + + DPRINTFN(10, ("tx done\n")); + + sc->sc_tx_timer = 0; + ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; + rum_start(ifp); + + splx(s); +} + +static void +rum_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) +{ + struct rum_rx_data *data = priv; + struct rum_softc *sc = data->sc; + struct ieee80211com *ic = &sc->sc_ic; + struct ifnet *ifp = sc->sc_ifp; + struct rum_rx_desc *desc; + struct ieee80211_frame *wh; + struct ieee80211_node *ni; + struct mbuf *mnew, *m; + int s, len; + + if (status != USBD_NORMAL_COMPLETION) { + if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) + return; + + if (status == USBD_STALLED) + usbd_clear_endpoint_stall_async(sc->sc_rx_pipeh); + goto skip; + } + + usbd_get_xfer_status(xfer, NULL, NULL, &len, NULL); + + if (len < RT2573_RX_DESC_SIZE + sizeof (struct ieee80211_frame_min)) { + DPRINTF(("%s: xfer too short %d\n", device_get_nameunit(sc->sc_dev), + len)); + ifp->if_ierrors++; + goto skip; + } + + desc = (struct rum_rx_desc *)data->buf; + + if (le32toh(desc->flags) & RT2573_RX_CRC_ERROR) { + /* + * This should not happen since we did not request to receive + * those frames when we filled RT2573_TXRX_CSR0. + */ + DPRINTFN(5, ("CRC error\n")); + ifp->if_ierrors++; + goto skip; + } + + MGETHDR(mnew, M_DONTWAIT, MT_DATA); + if (mnew == NULL) { + printf("%s: could not allocate rx mbuf\n", + device_get_nameunit(sc->sc_dev)); + ifp->if_ierrors++; + goto skip; + } + + MCLGET(mnew, M_DONTWAIT); + if (!(mnew->m_flags & M_EXT)) { + printf("%s: could not allocate rx mbuf cluster\n", + device_get_nameunit(sc->sc_dev)); + m_freem(mnew); + ifp->if_ierrors++; + goto skip; + } + + m = data->m; + data->m = mnew; + data->buf = mtod(data->m, uint8_t *); + + /* finalize mbuf */ + m->m_pkthdr.rcvif = ifp; + m->m_data = (caddr_t)(desc + 1); + m->m_pkthdr.len = m->m_len = (le32toh(desc->flags) >> 16) & 0xfff; + + s = splnet(); + + if (sc->sc_drvbpf != NULL) { + struct rum_rx_radiotap_header *tap = &sc->sc_rxtap; + + tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; + tap->wr_rate = rum_rxrate(desc); + tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); + tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags); + tap->wr_antenna = sc->rx_ant; + tap->wr_antsignal = desc->rssi; + + bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m); + } + + wh = mtod(m, struct ieee80211_frame *); + ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); + + /* send the frame to the 802.11 layer */ + ieee80211_input(ic, m, ni, desc->rssi, 0); + + /* node is no longer needed */ + ieee80211_free_node(ni); + + splx(s); + + DPRINTFN(15, ("rx done\n")); + +skip: /* setup a new transfer */ + usbd_setup_xfer(xfer, sc->sc_rx_pipeh, data, data->buf, MCLBYTES, + USBD_SHORT_XFER_OK, USBD_NO_TIMEOUT, rum_rxeof); + usbd_transfer(xfer); +} + +/* + * This function is only used by the Rx radiotap code. It returns the rate at + * which a given frame was received. + */ +static uint8_t +rum_rxrate(struct rum_rx_desc *desc) +{ + if (le32toh(desc->flags) & RT2573_RX_OFDM) { + /* reverse function of rum_plcp_signal */ + switch (desc->rate) { + case 0xb: return 12; + case 0xf: return 18; + case 0xa: return 24; + case 0xe: return 36; + case 0x9: return 48; + case 0xd: return 72; + case 0x8: return 96; + case 0xc: return 108; + } + } else { + if (desc->rate == 10) + return 2; + if (desc->rate == 20) + return 4; + if (desc->rate == 55) + return 11; + if (desc->rate == 110) + return 22; + } + return 2; /* should not get there */ +} + +/* + * Return the expected ack rate for a frame transmitted at rate `rate'. + * XXX: this should depend on the destination node basic rate set. + */ +static int +rum_ack_rate(struct ieee80211com *ic, int rate) +{ + switch (rate) { + /* CCK rates */ + case 2: + return 2; + case 4: + case 11: + case 22: + return (ic->ic_curmode == IEEE80211_MODE_11B) ? 4 : rate; + + /* OFDM rates */ + case 12: + case 18: + return 12; + case 24: + case 36: + return 24; + case 48: + case 72: + case 96: + case 108: + return 48; + } + + /* default to 1Mbps */ + return 2; +} + +/* + * Compute the duration (in us) needed to transmit `len' bytes at rate `rate'. + * The function automatically determines the operating mode depending on the + * given rate. `flags' indicates whether short preamble is in use or not. + */ +static uint16_t +rum_txtime(int len, int rate, uint32_t flags) +{ + uint16_t txtime; + + if (RUM_RATE_IS_OFDM(rate)) { + /* IEEE Std 802.11a-1999, pp. 37 */ + txtime = (8 + 4 * len + 3 + rate - 1) / rate; + txtime = 16 + 4 + 4 * txtime + 6; + } else { + /* IEEE Std 802.11b-1999, pp. 28 */ + txtime = (16 * len + rate - 1) / rate; + if (rate != 2 && (flags & IEEE80211_F_SHPREAMBLE)) + txtime += 72 + 24; + else + txtime += 144 + 48; + } + return txtime; +} + +static uint8_t +rum_plcp_signal(int rate) +{ + switch (rate) { + /* CCK rates (returned values are device-dependent) */ + case 2: return 0x0; + case 4: return 0x1; + case 11: return 0x2; + case 22: return 0x3; + + /* OFDM rates (cf IEEE Std 802.11a-1999, pp. 14 Table 80) */ + case 12: return 0xb; + case 18: return 0xf; + case 24: return 0xa; + case 36: return 0xe; + case 48: return 0x9; + case 72: return 0xd; + case 96: return 0x8; + case 108: return 0xc; + + /* unsupported rates (should not get there) */ + default: return 0xff; + } +} + +static void +rum_setup_tx_desc(struct rum_softc *sc, struct rum_tx_desc *desc, + uint32_t flags, uint16_t xflags, int len, int rate) +{ + struct ieee80211com *ic = &sc->sc_ic; + uint16_t plcp_length; + int remainder; + + desc->flags = htole32(flags); + desc->flags |= htole32(RT2573_TX_VALID); + desc->flags |= htole32(len << 16); + + desc->xflags = htole16(xflags); + + desc->wme = htole16( + RT2573_QID(0) | + RT2573_AIFSN(2) | + RT2573_LOGCWMIN(4) | + RT2573_LOGCWMAX(10)); + + /* setup PLCP fields */ + desc->plcp_signal = rum_plcp_signal(rate); + desc->plcp_service = 4; + + len += IEEE80211_CRC_LEN; + if (RUM_RATE_IS_OFDM(rate)) { + desc->flags |= htole32(RT2573_TX_OFDM); + + plcp_length = len & 0xfff; + desc->plcp_length_hi = plcp_length >> 6; + desc->plcp_length_lo = plcp_length & 0x3f; + } else { + plcp_length = (16 * len + rate - 1) / rate; + if (rate == 22) { + remainder = (16 * len) % 22; + if (remainder != 0 && remainder < 7) + desc->plcp_service |= RT2573_PLCP_LENGEXT; + } + desc->plcp_length_hi = plcp_length >> 8; + desc->plcp_length_lo = plcp_length & 0xff; + + if (rate != 2 && (ic->ic_flags & IEEE80211_F_SHPREAMBLE)) + desc->plcp_signal |= 0x08; + } +} + +#define RUM_TX_TIMEOUT 5000 + +static int +rum_tx_mgt(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) +{ + struct ieee80211com *ic = &sc->sc_ic; + struct rum_tx_desc *desc; + struct rum_tx_data *data; + struct ieee80211_frame *wh; + uint32_t flags = 0; + uint16_t dur; + usbd_status error; + int xferlen, rate; + + data = &sc->tx_data[0]; + desc = (struct rum_tx_desc *)data->buf; + + rate = IEEE80211_IS_CHAN_5GHZ(ic->ic_curchan) ? 12 : 2; + + data->m = m0; + data->ni = ni; + + wh = mtod(m0, struct ieee80211_frame *); + + if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { + flags |= RT2573_TX_ACK; + + dur = rum_txtime(RUM_ACK_SIZE, rum_ack_rate(ic, rate), + ic->ic_flags) + sc->sifs; + *(uint16_t *)wh->i_dur = htole16(dur); + + /* tell hardware to set timestamp in probe responses */ + if ((wh->i_fc[0] & + (IEEE80211_FC0_TYPE_MASK | IEEE80211_FC0_SUBTYPE_MASK)) == + (IEEE80211_FC0_TYPE_MGT | IEEE80211_FC0_SUBTYPE_PROBE_RESP)) + flags |= RT2573_TX_TIMESTAMP; + } + +#if NBPFILTER > 0 + if (sc->sc_drvbpf != NULL) { + struct rum_tx_radiotap_header *tap = &sc->sc_txtap; + + tap->wt_flags = 0; + tap->wt_rate = rate; + tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq); + tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags); + tap->wt_antenna = sc->tx_ant; + + bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m0); + } +#endif + + m_copydata(m0, 0, m0->m_pkthdr.len, data->buf + RT2573_TX_DESC_SIZE); + rum_setup_tx_desc(sc, desc, flags, 0, m0->m_pkthdr.len, rate); + + /* align end on a 4-bytes boundary */ + xferlen = (RT2573_TX_DESC_SIZE + m0->m_pkthdr.len + 3) & ~3; + + /* + * No space left in the last URB to store the extra 4 bytes, force + * sending of another URB. + */ + if ((xferlen % 64) == 0) + xferlen += 4; + + DPRINTFN(10, ("sending msg frame len=%u rate=%u xfer len=%u\n", + m0->m_pkthdr.len + RT2573_TX_DESC_SIZE, rate, xferlen)); + + usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen, + USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof); + + error = usbd_transfer(data->xfer); + if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS) { + m_freem(m0); + return error; + } + + sc->tx_queued++; + + return 0; +} + +static int +rum_tx_data(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) +{ + struct ieee80211com *ic = &sc->sc_ic; + struct rum_tx_desc *desc; + struct rum_tx_data *data; + struct ieee80211_frame *wh; + struct ieee80211_key *k; + uint32_t flags = 0; + uint16_t dur; + usbd_status error; + int xferlen, rate; + + wh = mtod(m0, struct ieee80211_frame *); + + if (ic->ic_fixed_rate != IEEE80211_FIXED_RATE_NONE) + rate = ic->ic_bss->ni_rates.rs_rates[ic->ic_fixed_rate]; + else + rate = ni->ni_rates.rs_rates[ni->ni_txrate]; + rate &= IEEE80211_RATE_VAL; + + if (wh->i_fc[1] & IEEE80211_FC1_WEP) { + k = ieee80211_crypto_encap(ic, ni, m0); + if (k == NULL) { + m_freem(m0); + return ENOBUFS; + } + + /* packet header may have moved, reset our local pointer */ + wh = mtod(m0, struct ieee80211_frame *); + } + + data = &sc->tx_data[0]; + desc = (struct rum_tx_desc *)data->buf; + + data->m = m0; + data->ni = ni; + + if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { + flags |= RT2573_TX_ACK; + + dur = rum_txtime(RUM_ACK_SIZE, rum_ack_rate(ic, rate), + ic->ic_flags) + sc->sifs; + *(uint16_t *)wh->i_dur = htole16(dur); + } + +#if NBPFILTER > 0 + if (sc->sc_drvbpf != NULL) { + struct rum_tx_radiotap_header *tap = &sc->sc_txtap; + + tap->wt_flags = 0; + tap->wt_rate = rate; + tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq); + tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags); + tap->wt_antenna = sc->tx_ant; + + bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m0); + } +#endif + + m_copydata(m0, 0, m0->m_pkthdr.len, data->buf + RT2573_TX_DESC_SIZE); + rum_setup_tx_desc(sc, desc, flags, 0, m0->m_pkthdr.len, rate); + + /* align end on a 4-bytes boundary */ + xferlen = (RT2573_TX_DESC_SIZE + m0->m_pkthdr.len + 3) & ~3; + + /* + * No space left in the last URB to store the extra 4 bytes, force + * sending of another URB. + */ + if ((xferlen % 64) == 0) + xferlen += 4; + + DPRINTFN(10, ("sending data frame len=%u rate=%u xfer len=%u\n", + m0->m_pkthdr.len + RT2573_TX_DESC_SIZE, rate, xferlen)); + + usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen, + USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof); + + error = usbd_transfer(data->xfer); + if (error != USBD_NORMAL_COMPLETION && error != USBD_IN_PROGRESS) { + m_freem(m0); + return error; + } + + sc->tx_queued++; + + return 0; +} + +static void +rum_start(struct ifnet *ifp) +{ + struct rum_softc *sc = ifp->if_softc; + struct ieee80211com *ic = &sc->sc_ic; + struct mbuf *m0; + struct ether_header *eh; + struct ieee80211_node *ni; + + for (;;) { + IF_POLL(&ic->ic_mgtq, m0); + if (m0 != NULL) { + if (sc->tx_queued >= RT2573_TX_LIST_COUNT) { + ifp->if_drv_flags |= IFF_DRV_OACTIVE; + break; + } + IF_DEQUEUE(&ic->ic_mgtq, m0); + + ni = (struct ieee80211_node *)m0->m_pkthdr.rcvif; + m0->m_pkthdr.rcvif = NULL; + + if (ic->ic_rawbpf != NULL) + bpf_mtap(ic->ic_rawbpf, m0); + + if (rum_tx_mgt(sc, m0, ni) != 0) + break; + + } else { + if (ic->ic_state != IEEE80211_S_RUN) + break; + IFQ_POLL(&ifp->if_snd, m0); + if (m0 == NULL) + break; + if (sc->tx_queued >= RT2573_TX_LIST_COUNT) { +//FIXME + ifp->if_drv_flags |= IFF_DRV_OACTIVE; + break; + } + IFQ_DEQUEUE(&ifp->if_snd, m0); + if (m0->m_len < sizeof(struct ether_header) && + !(m0 = m_pullup(m0, sizeof(struct ether_header)))) + continue; + + eh = mtod(m0, struct ether_header *); + ni = ieee80211_find_txnode(ic, eh->ether_dhost); + if (ni == NULL) { + m_freem(m0); + continue; + } + if (ifp->if_bpf != NULL) + bpf_mtap(ifp->if_bpf, m0); + m0 = ieee80211_encap(ic, m0, ni); + if (m0 == NULL) { + ieee80211_free_node(ni); + continue; + } + + if (ic->ic_rawbpf != NULL) + bpf_mtap(ic->ic_rawbpf, m0); + + if (rum_tx_data(sc, m0, ni) != 0) { + ieee80211_free_node(ni); + ifp->if_oerrors++; + break; + } + } + + sc->sc_tx_timer = 5; + ifp->if_timer = 1; + } +} + +static void +rum_watchdog(struct ifnet *ifp) +{ + struct rum_softc *sc = ifp->if_softc; + struct ieee80211com *ic = &sc->sc_ic; + + ifp->if_timer = 0; + + if (sc->sc_tx_timer > 0) { + if (--sc->sc_tx_timer == 0) { + printf("%s: device timeout\n", device_get_nameunit(sc->sc_dev)); + /*rum_init(ifp); XXX needs a process context! */ + ifp->if_oerrors++; + return; + } + ifp->if_timer = 1; + } + + ieee80211_watchdog(ic); +} + +static int +rum_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) +{ + struct rum_softc *sc = ifp->if_softc; + struct ieee80211com *ic = &sc->sc_ic; + int s, error = 0; + + s = splnet(); + + switch (cmd) { + case SIOCSIFFLAGS: + if (ifp->if_flags & IFF_UP) { + if (ifp->if_drv_flags & IFF_DRV_RUNNING) + rum_update_promisc(sc); + else + rum_init(sc); + } else { + if (ifp->if_drv_flags & IFF_DRV_RUNNING) + rum_stop(ifp); + } + break; + + default: + error = ieee80211_ioctl(ic, cmd, data); + } + + if (error == ENETRESET) { + if ((ifp->if_flags & IFF_UP) && + (ifp->if_drv_flags & IFF_DRV_RUNNING)) + rum_init(sc); + error = 0; + } + + splx(s); + + return error; +} + +static void +rum_eeprom_read(struct rum_softc *sc, uint16_t addr, void *buf, int len) +{ + usb_device_request_t req; + usbd_status error; + + req.bmRequestType = UT_READ_VENDOR_DEVICE; + req.bRequest = RT2573_READ_EEPROM; + USETW(req.wValue, 0); + USETW(req.wIndex, addr); + USETW(req.wLength, len); + + error = usbd_do_request(sc->sc_udev, &req, buf); + if (error != 0) { + printf("%s: could not read EEPROM: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + } +} + +static uint32_t +rum_read(struct rum_softc *sc, uint16_t reg) +{ + uint32_t val; + + rum_read_multi(sc, reg, &val, sizeof val); + + return le32toh(val); +} + +static void +rum_read_multi(struct rum_softc *sc, uint16_t reg, void *buf, int len) +{ + usb_device_request_t req; + usbd_status error; + + req.bmRequestType = UT_READ_VENDOR_DEVICE; + req.bRequest = RT2573_READ_MULTI_MAC; + USETW(req.wValue, 0); + USETW(req.wIndex, reg); + USETW(req.wLength, len); + + error = usbd_do_request(sc->sc_udev, &req, buf); + if (error != 0) { + printf("%s: could not multi read MAC register: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + } +} + +static void +rum_write(struct rum_softc *sc, uint16_t reg, uint32_t val) +{ + uint32_t tmp = htole32(val); + + rum_write_multi(sc, reg, &tmp, sizeof tmp); +} + +static void +rum_write_multi(struct rum_softc *sc, uint16_t reg, void *buf, size_t len) +{ + usb_device_request_t req; + usbd_status error; + + req.bmRequestType = UT_WRITE_VENDOR_DEVICE; + req.bRequest = RT2573_WRITE_MULTI_MAC; + USETW(req.wValue, 0); + USETW(req.wIndex, reg); + USETW(req.wLength, len); + + error = usbd_do_request(sc->sc_udev, &req, buf); + if (error != 0) { + printf("%s: could not multi write MAC register: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + } +} + +static void +rum_bbp_write(struct rum_softc *sc, uint8_t reg, uint8_t val) +{ + uint32_t tmp; + int ntries; + + for (ntries = 0; ntries < 5; ntries++) { + if (!(rum_read(sc, RT2573_PHY_CSR3) & RT2573_BBP_BUSY)) + break; + } + if (ntries == 5) { + printf("%s: could not write to BBP\n", device_get_nameunit(sc->sc_dev)); + return; + } + + tmp = RT2573_BBP_BUSY | (reg & 0x7f) << 8 | val; + rum_write(sc, RT2573_PHY_CSR3, tmp); +} + +static uint8_t +rum_bbp_read(struct rum_softc *sc, uint8_t reg) +{ + uint32_t val; + int ntries; + + for (ntries = 0; ntries < 5; ntries++) { + if (!(rum_read(sc, RT2573_PHY_CSR3) & RT2573_BBP_BUSY)) + break; + } + if (ntries == 5) { + printf("%s: could not read BBP\n", device_get_nameunit(sc->sc_dev)); + return 0; + } + + val = RT2573_BBP_BUSY | RT2573_BBP_READ | reg << 8; + rum_write(sc, RT2573_PHY_CSR3, val); + + for (ntries = 0; ntries < 100; ntries++) { + val = rum_read(sc, RT2573_PHY_CSR3); + if (!(val & RT2573_BBP_BUSY)) + return val & 0xff; + DELAY(1); + } + + printf("%s: could not read BBP\n", device_get_nameunit(sc->sc_dev)); + return 0; +} + +static void +rum_rf_write(struct rum_softc *sc, uint8_t reg, uint32_t val) +{ + uint32_t tmp; + int ntries; + + for (ntries = 0; ntries < 5; ntries++) { + if (!(rum_read(sc, RT2573_PHY_CSR4) & RT2573_RF_BUSY)) + break; + } + if (ntries == 5) { + printf("%s: could not write to RF\n", device_get_nameunit(sc->sc_dev)); + return; + } + + tmp = RT2573_RF_BUSY | RT2573_RF_20BIT | (val & 0xfffff) << 2 | + (reg & 3); + rum_write(sc, RT2573_PHY_CSR4, tmp); + + /* remember last written value in sc */ + sc->rf_regs[reg] = val; + + DPRINTFN(15, ("RF R[%u] <- 0x%05x\n", reg & 3, val & 0xfffff)); +} + +static void +rum_select_antenna(struct rum_softc *sc) +{ + uint8_t bbp4, bbp77; + uint32_t tmp; + + bbp4 = rum_bbp_read(sc, 4); + bbp77 = rum_bbp_read(sc, 77); + + /* TBD */ + + /* make sure Rx is disabled before switching antenna */ + tmp = rum_read(sc, RT2573_TXRX_CSR0); + rum_write(sc, RT2573_TXRX_CSR0, tmp | RT2573_DISABLE_RX); + + rum_bbp_write(sc, 4, bbp4); + rum_bbp_write(sc, 77, bbp77); + + rum_write(sc, RT2573_TXRX_CSR0, tmp); +} + +/* + * Enable multi-rate retries for frames sent at OFDM rates. + * In 802.11b/g mode, allow fallback to CCK rates. + */ +static void +rum_enable_mrr(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + uint32_t tmp; + + tmp = rum_read(sc, RT2573_TXRX_CSR4); + + tmp &= ~RT2573_MRR_CCK_FALLBACK; + if (!IEEE80211_IS_CHAN_5GHZ(ic->ic_curchan)) + tmp |= RT2573_MRR_CCK_FALLBACK; + tmp |= RT2573_MRR_ENABLED; + + rum_write(sc, RT2573_TXRX_CSR4, tmp); +} + +static void +rum_set_txpreamble(struct rum_softc *sc) +{ + uint32_t tmp; + + tmp = rum_read(sc, RT2573_TXRX_CSR4); + + tmp &= ~RT2573_SHORT_PREAMBLE; + if (sc->sc_ic.ic_flags & IEEE80211_F_SHPREAMBLE) + tmp |= RT2573_SHORT_PREAMBLE; + + rum_write(sc, RT2573_TXRX_CSR4, tmp); +} + +static void +rum_set_basicrates(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + + /* update basic rate set */ + if (ic->ic_curmode == IEEE80211_MODE_11B) { + /* 11b basic rates: 1, 2Mbps */ + rum_write(sc, RT2573_TXRX_CSR5, 0x3); + } else if (IEEE80211_IS_CHAN_5GHZ(ic->ic_bss->ni_chan)) { + /* 11a basic rates: 6, 12, 24Mbps */ + rum_write(sc, RT2573_TXRX_CSR5, 0x150); + } else { + /* 11g basic rates: 1, 2, 5.5, 11, 6, 12, 24Mbps */ + rum_write(sc, RT2573_TXRX_CSR5, 0x15f); + } +} + +/* + * Reprogram MAC/BBP to switch to a new band. Values taken from the reference + * driver. + */ +static void +rum_select_band(struct rum_softc *sc, struct ieee80211_channel *c) +{ + uint8_t bbp17, bbp35, bbp96, bbp97, bbp98, bbp104; + uint32_t tmp; + + /* update all BBP registers that depend on the band */ + bbp17 = 0x20; bbp96 = 0x48; bbp104 = 0x2c; + bbp35 = 0x50; bbp97 = 0x48; bbp98 = 0x48; + if (IEEE80211_IS_CHAN_5GHZ(c)) { + bbp17 += 0x08; bbp96 += 0x10; bbp104 += 0x0c; + bbp35 += 0x10; bbp97 += 0x10; bbp98 += 0x10; + } + if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) || + (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) { + bbp17 += 0x10; bbp96 += 0x10; bbp104 += 0x10; + } + + sc->bbp17 = bbp17; + rum_bbp_write(sc, 17, bbp17); + rum_bbp_write(sc, 96, bbp96); + rum_bbp_write(sc, 104, bbp104); + + if ((IEEE80211_IS_CHAN_2GHZ(c) && sc->ext_2ghz_lna) || + (IEEE80211_IS_CHAN_5GHZ(c) && sc->ext_5ghz_lna)) { + rum_bbp_write(sc, 75, 0x80); + rum_bbp_write(sc, 86, 0x80); + rum_bbp_write(sc, 88, 0x80); + } + + rum_bbp_write(sc, 35, bbp35); + rum_bbp_write(sc, 97, bbp97); + rum_bbp_write(sc, 98, bbp98); + + tmp = rum_read(sc, RT2573_PHY_CSR0); + tmp &= ~(RT2573_PA_PE_2GHZ | RT2573_PA_PE_5GHZ); + if (IEEE80211_IS_CHAN_2GHZ(c)) + tmp |= RT2573_PA_PE_2GHZ; + else + tmp |= RT2573_PA_PE_5GHZ; + rum_write(sc, RT2573_PHY_CSR0, tmp); + + /* 802.11a uses a 16 microseconds short interframe space */ + sc->sifs = IEEE80211_IS_CHAN_5GHZ(c) ? 16 : 10; +} + +static void +rum_set_chan(struct rum_softc *sc, struct ieee80211_channel *c) +{ + struct ieee80211com *ic = &sc->sc_ic; + const struct rfprog *rfprog; + uint8_t bbp3, bbp94 = RT2573_BBPR94_DEFAULT; + int8_t power; + u_int i, chan; + + chan = ieee80211_chan2ieee(ic, c); + if (chan == 0 || chan == IEEE80211_CHAN_ANY) + return; + + /* select the appropriate RF settings based on what EEPROM says */ + rfprog = (sc->rf_rev == RT2573_RF_5225 || + sc->rf_rev == RT2573_RF_2527) ? rum_rf5225 : rum_rf5226; + + /* find the settings for this channel (we know it exists) */ + for (i = 0; rfprog[i].chan != chan; i++); + + power = sc->txpow[i]; + if (power < 0) { + bbp94 += power; + power = 0; + } else if (power > 31) { + bbp94 += power - 31; + power = 31; + } + + /* + * If we are switching from the 2GHz band to the 5GHz band or + * vice-versa, BBP registers need to be reprogrammed. + */ + if (c->ic_flags != ic->ic_curchan->ic_flags) { + rum_select_band(sc, c); + rum_select_antenna(sc); + } + ic->ic_curchan = c; + + rum_rf_write(sc, RT2573_RF1, rfprog[i].r1); + rum_rf_write(sc, RT2573_RF2, rfprog[i].r2); + rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7); + rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10); + + rum_rf_write(sc, RT2573_RF1, rfprog[i].r1); + rum_rf_write(sc, RT2573_RF2, rfprog[i].r2); + rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7 | 1); + rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10); + + rum_rf_write(sc, RT2573_RF1, rfprog[i].r1); + rum_rf_write(sc, RT2573_RF2, rfprog[i].r2); + rum_rf_write(sc, RT2573_RF3, rfprog[i].r3 | power << 7); + rum_rf_write(sc, RT2573_RF4, rfprog[i].r4 | sc->rffreq << 10); + + DELAY(10); + + /* enable smart mode for MIMO-capable RFs */ + bbp3 = rum_bbp_read(sc, 3); + + bbp3 &= ~RT2573_SMART_MODE; + if (sc->rf_rev == RT2573_RF_5225 || sc->rf_rev == RT2573_RF_2527) + bbp3 |= RT2573_SMART_MODE; + + rum_bbp_write(sc, 3, bbp3); + + if (bbp94 != RT2573_BBPR94_DEFAULT) + rum_bbp_write(sc, 94, bbp94); +} + +/* + * Enable TSF synchronization and tell h/w to start sending beacons for IBSS + * and HostAP operating modes. + */ +static void +rum_enable_tsf_sync(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + uint32_t tmp; + + if (ic->ic_opmode != IEEE80211_M_STA) { + /* + * Change default 16ms TBTT adjustment to 8ms. + * Must be done before enabling beacon generation. + */ + rum_write(sc, RT2573_TXRX_CSR10, 1 << 12 | 8); + } + + tmp = rum_read(sc, RT2573_TXRX_CSR9) & 0xff000000; + + /* set beacon interval (in 1/16ms unit) */ + tmp |= ic->ic_bss->ni_intval * 16; + + tmp |= RT2573_TSF_TICKING | RT2573_ENABLE_TBTT; + if (ic->ic_opmode == IEEE80211_M_STA) + tmp |= RT2573_TSF_MODE(1); + else + tmp |= RT2573_TSF_MODE(2) | RT2573_GENERATE_BEACON; + + rum_write(sc, RT2573_TXRX_CSR9, tmp); +} + +static void +rum_update_slot(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + uint8_t slottime; + uint32_t tmp; + + slottime = (ic->ic_flags & IEEE80211_F_SHSLOT) ? 9 : 20; + + tmp = rum_read(sc, RT2573_MAC_CSR9); + tmp = (tmp & ~0xff) | slottime; + rum_write(sc, RT2573_MAC_CSR9, tmp); + + DPRINTF(("setting slot time to %uus\n", slottime)); +} + +static void +rum_set_bssid(struct rum_softc *sc, const uint8_t *bssid) +{ + uint32_t tmp; + + tmp = bssid[0] | bssid[1] << 8 | bssid[2] << 16 | bssid[3] << 24; + rum_write(sc, RT2573_MAC_CSR4, tmp); + + tmp = bssid[4] | bssid[5] << 8 | RT2573_ONE_BSSID << 16; + rum_write(sc, RT2573_MAC_CSR5, tmp); +} + +static void +rum_set_macaddr(struct rum_softc *sc, const uint8_t *addr) +{ + uint32_t tmp; + + tmp = addr[0] | addr[1] << 8 | addr[2] << 16 | addr[3] << 24; + rum_write(sc, RT2573_MAC_CSR2, tmp); + + tmp = addr[4] | addr[5] << 8 | 0xff << 16; + rum_write(sc, RT2573_MAC_CSR3, tmp); +} + +static void +rum_update_promisc(struct rum_softc *sc) +{ + struct ifnet *ifp = sc->sc_ic.ic_ifp; + uint32_t tmp; + + tmp = rum_read(sc, RT2573_TXRX_CSR0); + + tmp &= ~RT2573_DROP_NOT_TO_ME; + if (!(ifp->if_flags & IFF_PROMISC)) + tmp |= RT2573_DROP_NOT_TO_ME; + + rum_write(sc, RT2573_TXRX_CSR0, tmp); + + DPRINTF(("%s promiscuous mode\n", (ifp->if_flags & IFF_PROMISC) ? + "entering" : "leaving")); +} + +static const char * +rum_get_rf(int rev) +{ + switch (rev) { + case RT2573_RF_2527: return "RT2527 (MIMO XR)"; + case RT2573_RF_2528: return "RT2528"; + case RT2573_RF_5225: return "RT5225 (MIMO XR)"; + case RT2573_RF_5226: return "RT5226"; + default: return "unknown"; + } +} + +static void +rum_read_eeprom(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + uint16_t val; +#ifdef RUM_DEBUG + int i; +#endif + + /* read MAC/BBP type */ + rum_eeprom_read(sc, RT2573_EEPROM_MACBBP, &val, 2); + sc->macbbp_rev = le16toh(val); + + /* read MAC address */ + rum_eeprom_read(sc, RT2573_EEPROM_ADDRESS, ic->ic_myaddr, 6); + + rum_eeprom_read(sc, RT2573_EEPROM_ANTENNA, &val, 2); + val = le16toh(val); + sc->rf_rev = (val >> 11) & 0x1f; + sc->hw_radio = (val >> 10) & 0x1; + sc->rx_ant = (val >> 4) & 0x3; + sc->tx_ant = (val >> 2) & 0x3; + sc->nb_ant = val & 0x3; + + DPRINTF(("RF revision=%d\n", sc->rf_rev)); + + rum_eeprom_read(sc, RT2573_EEPROM_CONFIG2, &val, 2); + val = le16toh(val); + sc->ext_5ghz_lna = (val >> 6) & 0x1; + sc->ext_2ghz_lna = (val >> 4) & 0x1; + + DPRINTF(("External 2GHz LNA=%d\nExternal 5GHz LNA=%d\n", + sc->ext_2ghz_lna, sc->ext_5ghz_lna)); + + rum_eeprom_read(sc, RT2573_EEPROM_RSSI_2GHZ_OFFSET, &val, 2); + val = le16toh(val); + if ((val & 0xff) != 0xff) + sc->rssi_2ghz_corr = (int8_t)(val & 0xff); /* signed */ + + rum_eeprom_read(sc, RT2573_EEPROM_RSSI_5GHZ_OFFSET, &val, 2); + val = le16toh(val); + if ((val & 0xff) != 0xff) + sc->rssi_5ghz_corr = (int8_t)(val & 0xff); /* signed */ + + DPRINTF(("RSSI 2GHz corr=%d\nRSSI 5GHz corr=%d\n", + sc->rssi_2ghz_corr, sc->rssi_5ghz_corr)); + + rum_eeprom_read(sc, RT2573_EEPROM_FREQ_OFFSET, &val, 2); + val = le16toh(val); + if ((val & 0xff) != 0xff) + sc->rffreq = val & 0xff; + + DPRINTF(("RF freq=%d\n", sc->rffreq)); + + /* read Tx power for all a/b/g channels */ + rum_eeprom_read(sc, RT2573_EEPROM_TXPOWER, sc->txpow, 14); + /* XXX default Tx power for 802.11a channels */ + memset(sc->txpow + 14, 24, sizeof (sc->txpow) - 14); +#ifdef RUM_DEBUG + for (i = 0; i < 14; i++) + DPRINTF(("Channel=%d Tx power=%d\n", i + 1, sc->txpow[i])); +#endif + + /* read default values for BBP registers */ + rum_eeprom_read(sc, RT2573_EEPROM_BBP_BASE, sc->bbp_prom, 2 * 16); +#ifdef RUM_DEBUG + for (i = 0; i < 14; i++) { + if (sc->bbp_prom[i].reg == 0 || sc->bbp_prom[i].reg == 0xff) + continue; + DPRINTF(("BBP R%d=%02x\n", sc->bbp_prom[i].reg, + sc->bbp_prom[i].val)); + } +#endif +} + +static int +rum_bbp_init(struct rum_softc *sc) +{ +#define N(a) (sizeof (a) / sizeof ((a)[0])) + int i, ntries; + uint8_t val; + + /* wait for BBP to be ready */ + for (ntries = 0; ntries < 100; ntries++) { + val = rum_bbp_read(sc, 0); + if (val != 0 && val != 0xff) + break; + DELAY(1000); + } + if (ntries == 100) { + printf("%s: timeout waiting for BBP\n", + device_get_nameunit(sc->sc_dev)); + return EIO; + } + + /* initialize BBP registers to default values */ + for (i = 0; i < N(rum_def_bbp); i++) + rum_bbp_write(sc, rum_def_bbp[i].reg, rum_def_bbp[i].val); + + /* write vendor-specific BBP values (from EEPROM) */ + for (i = 0; i < 16; i++) { + if (sc->bbp_prom[i].reg == 0 || sc->bbp_prom[i].reg == 0xff) + continue; + rum_bbp_write(sc, sc->bbp_prom[i].reg, sc->bbp_prom[i].val); + } + + return 0; +#undef N +} + +static void +rum_init(void *priv) +{ +#define N(a) (sizeof (a) / sizeof ((a)[0])) + struct rum_softc *sc = priv; + struct ieee80211com *ic = &sc->sc_ic; + struct ifnet *ifp = ic->ic_ifp; + struct rum_rx_data *data; + uint32_t tmp; + usbd_status error = 0; + int i, ntries; + +// if ((sc->sc_flags & RT2573_FWLOADED) == 0) { +// rum_attachhook(sc); +// } + + rum_stop(ifp); + + /* initialize MAC registers to default values */ + for (i = 0; i < N(rum_def_mac); i++) + rum_write(sc, rum_def_mac[i].reg, rum_def_mac[i].val); + + /* set host ready */ + rum_write(sc, RT2573_MAC_CSR1, 3); + rum_write(sc, RT2573_MAC_CSR1, 0); + + /* wait for BBP/RF to wakeup */ + for (ntries = 0; ntries < 1000; ntries++) { + if (rum_read(sc, RT2573_MAC_CSR12) & 8) + break; + rum_write(sc, RT2573_MAC_CSR12, 4); /* force wakeup */ + DELAY(1000); + } + if (ntries == 1000) { + printf("%s: timeout waiting for BBP/RF to wakeup\n", + device_get_nameunit(sc->sc_dev)); + goto fail; + } + + if ((error = rum_bbp_init(sc)) != 0) + goto fail; + + /* select default channel */ + rum_select_band(sc, ic->ic_curchan); + rum_select_antenna(sc); + rum_set_chan(sc, ic->ic_curchan); + + /* clear STA registers */ + rum_read_multi(sc, RT2573_STA_CSR0, sc->sta, sizeof sc->sta); + + IEEE80211_ADDR_COPY(ic->ic_myaddr, IF_LLADDR(ifp)); + rum_set_macaddr(sc, ic->ic_myaddr); + + /* initialize ASIC */ + rum_write(sc, RT2573_MAC_CSR1, 4); + + /* + * Allocate xfer for AMRR statistics requests. + */ + sc->amrr_xfer = usbd_alloc_xfer(sc->sc_udev); + if (sc->amrr_xfer == NULL) { + printf("%s: could not allocate AMRR xfer\n", + device_get_nameunit(sc->sc_dev)); + goto fail; + } + + /* + * Open Tx and Rx USB bulk pipes. + */ + error = usbd_open_pipe(sc->sc_iface, sc->sc_tx_no, USBD_EXCLUSIVE_USE, + &sc->sc_tx_pipeh); + if (error != 0) { + printf("%s: could not open Tx pipe: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + goto fail; + } + + error = usbd_open_pipe(sc->sc_iface, sc->sc_rx_no, USBD_EXCLUSIVE_USE, + &sc->sc_rx_pipeh); + if (error != 0) { + printf("%s: could not open Rx pipe: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + goto fail; + } + + /* + * Allocate Tx and Rx xfer queues. + */ + error = rum_alloc_tx_list(sc); + if (error != 0) { + printf("%s: could not allocate Tx list\n", + device_get_nameunit(sc->sc_dev)); + goto fail; + } + + error = rum_alloc_rx_list(sc); + if (error != 0) { + printf("%s: could not allocate Rx list\n", + device_get_nameunit(sc->sc_dev)); + goto fail; + } + + /* + * Start up the receive pipe. + */ + for (i = 0; i < RT2573_RX_LIST_COUNT; i++) { + data = &sc->rx_data[i]; + + usbd_setup_xfer(data->xfer, sc->sc_rx_pipeh, data, data->buf, + MCLBYTES, USBD_SHORT_XFER_OK, USBD_NO_TIMEOUT, rum_rxeof); + usbd_transfer(data->xfer); + } + + /* update Rx filter */ + tmp = rum_read(sc, RT2573_TXRX_CSR0) & 0xffff; + + tmp |= RT2573_DROP_PHY_ERROR | RT2573_DROP_CRC_ERROR; + if (ic->ic_opmode != IEEE80211_M_MONITOR) { + tmp |= RT2573_DROP_CTL | RT2573_DROP_VER_ERROR | + RT2573_DROP_ACKCTS; + if (ic->ic_opmode != IEEE80211_M_HOSTAP) + tmp |= RT2573_DROP_TODS; + if (!(ifp->if_flags & IFF_PROMISC)) + tmp |= RT2573_DROP_NOT_TO_ME; + } + rum_write(sc, RT2573_TXRX_CSR0, tmp); + + ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; + ifp->if_drv_flags |= IFF_DRV_RUNNING; + + if (ic->ic_opmode == IEEE80211_M_MONITOR) + ieee80211_new_state(ic, IEEE80211_S_RUN, -1); + else + ieee80211_new_state(ic, IEEE80211_S_SCAN, -1); + + return; + +fail: rum_stop(ifp); + return; +#undef N +} + +static void +rum_stop(struct ifnet *ifp) +{ + struct rum_softc *sc = ifp->if_softc; + struct ieee80211com *ic = &sc->sc_ic; + uint32_t tmp; + + ieee80211_new_state(ic, IEEE80211_S_INIT, -1); /* free all nodes */ + + sc->sc_tx_timer = 0; + ifp->if_timer = 0; + ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); + + /* disable Rx */ + tmp = rum_read(sc, RT2573_TXRX_CSR0); + rum_write(sc, RT2573_TXRX_CSR0, tmp | RT2573_DISABLE_RX); + + /* reset ASIC */ + rum_write(sc, RT2573_MAC_CSR1, 3); + rum_write(sc, RT2573_MAC_CSR1, 0); + + if (sc->sc_rx_pipeh != NULL) { + usbd_abort_pipe(sc->sc_rx_pipeh); + usbd_close_pipe(sc->sc_rx_pipeh); + sc->sc_rx_pipeh = NULL; + } + + if (sc->sc_tx_pipeh != NULL) { + usbd_abort_pipe(sc->sc_tx_pipeh); + usbd_close_pipe(sc->sc_tx_pipeh); + sc->sc_tx_pipeh = NULL; + } + + rum_free_rx_list(sc); + rum_free_tx_list(sc); +} + +static int +rum_load_microcode(struct rum_softc *sc, const u_char *ucode, size_t size) +{ + usb_device_request_t req; + uint16_t reg = RT2573_MCU_CODE_BASE; + usbd_status error; + + /* copy firmware image into NIC */ + for (; size >= 4; reg += 4, ucode += 4, size -= 4) + rum_write(sc, reg, UGETDW(ucode)); + + req.bmRequestType = UT_WRITE_VENDOR_DEVICE; + req.bRequest = RT2573_MCU_CNTL; + USETW(req.wValue, RT2573_MCU_RUN); + USETW(req.wIndex, 0); + USETW(req.wLength, 0); + + error = usbd_do_request(sc->sc_udev, &req, NULL); + if (error != 0) { + printf("%s: could not run firmware: %s\n", + device_get_nameunit(sc->sc_dev), usbd_errstr(error)); + } + return error; +} + +static int +rum_prepare_beacon(struct rum_softc *sc) +{ + struct ieee80211com *ic = &sc->sc_ic; + struct rum_tx_desc desc; + struct mbuf *m0; + int rate; + + m0 = ieee80211_beacon_alloc(ic, ic->ic_bss, &sc->sc_bo); + if (m0 == NULL) { + printf("%s: could not allocate beacon frame\n", + device_get_nameunit(sc->sc_dev)); + return ENOBUFS; + } + + /* send beacons at the lowest available rate */ + rate = IEEE80211_IS_CHAN_5GHZ(ic->ic_curchan) ? 12 : 2; + + rum_setup_tx_desc(sc, &desc, RT2573_TX_TIMESTAMP, RT2573_TX_HWSEQ, + m0->m_pkthdr.len, rate); + + /* copy the first 24 bytes of Tx descriptor into NIC memory */ + rum_write_multi(sc, RT2573_HW_BEACON_BASE0, (uint8_t *)&desc, 24); + + /* copy beacon header and payload into NIC memory */ + rum_write_multi(sc, RT2573_HW_BEACON_BASE0 + 24, mtod(m0, uint8_t *), + m0->m_pkthdr.len); + + m_freem(m0); + + return 0; +} + +#define RUM_AMRR_MIN_SUCCESS_THRESHOLD 1 +#define RUM_AMRR_MAX_SUCCESS_THRESHOLD 10 + +static void +rum_amrr_start(struct rum_softc *sc, struct ieee80211_node *ni) +{ + struct rum_amrr *amrr = &sc->amrr; + int i; + + /* clear statistic registers (STA_CSR0 to STA_CSR5) */ + rum_read_multi(sc, RT2573_STA_CSR0, sc->sta, sizeof sc->sta); + + amrr->success = 0; + amrr->recovery = 0; + amrr->txcnt = amrr->retrycnt = 0; + amrr->success_threshold = RUM_AMRR_MIN_SUCCESS_THRESHOLD; + +// ieee80211_amrr_node_init(&sc->amrr, &sc->amn); + + /* set rate to some reasonable initial value */ + for (i = ni->ni_rates.rs_nrates - 1; + i > 0 && (ni->ni_rates.rs_rates[i] & IEEE80211_RATE_VAL) > 72; + i--); + ni->ni_txrate = i; + + callout_reset(&sc->amrr_ch, hz, rum_amrr_timeout, sc); +} + +static void +rum_amrr_timeout(void *arg) +{ + struct rum_softc *sc = arg; + usb_device_request_t req; + int s; + + s = splusb(); + + /* + * Asynchronously read statistic registers (cleared by read). + */ + req.bmRequestType = UT_READ_VENDOR_DEVICE; + req.bRequest = RT2573_READ_MULTI_MAC; + USETW(req.wValue, 0); + USETW(req.wIndex, RT2573_STA_CSR0); + USETW(req.wLength, sizeof sc->sta); + + usbd_setup_default_xfer(sc->amrr_xfer, sc->sc_udev, sc, + USBD_DEFAULT_TIMEOUT, &req, sc->sta, sizeof sc->sta, 0, + rum_amrr_update); + (void)usbd_transfer(sc->amrr_xfer); + + splx(s); +} + +static void +rum_amrr_update(usbd_xfer_handle xfer, usbd_private_handle priv, + usbd_status status) +{ + struct rum_softc *sc = (struct rum_softc *)priv; + struct rum_amrr *amrr = &sc->amrr; + struct ifnet *ifp = sc->sc_ifp; //FIXME1 + + if (status != USBD_NORMAL_COMPLETION) { + device_printf(sc->sc_dev, "could not retrieve Tx statistics - " + "cancelling automatic rate control\n"); + return; + } + + /* count TX retry-fail as Tx errors */ + ifp->if_oerrors += le32toh(sc->sta[5]) >> 16; + + amrr->retrycnt = + (le32toh(sc->sta[4]) >> 16) + /* TX one-retry ok count */ + (le32toh(sc->sta[5]) & 0xffff) + /* TX more-retry ok count */ + (le32toh(sc->sta[5]) >> 16); /* TX retry-fail count */ + + amrr->txcnt = + amrr->retrycnt + + (le32toh(sc->sta[4]) & 0xffff); /* TX no-retry ok count */ + + rum_ratectl(amrr, sc->sc_ic.ic_bss); + + callout_reset(&sc->amrr_ch, hz, rum_amrr_timeout, sc); +} + +/*- + * Naive implementation of the Adaptive Multi Rate Retry algorithm: + * "IEEE 802.11 Rate Adaptation: A Practical Approach" + * Mathieu Lacage, Hossein Manshaei, Thierry Turletti + * INRIA Sophia - Projet Planete + * http://www-sop.inria.fr/rapports/sophia/RR-5208.html + * + * This algorithm is particularly well suited for rum since it does not + * require per-frame retry statistics. Note however that since h/w does + * not provide per-frame stats, we can't do per-node rate adaptation and + * thus automatic rate adaptation is only enabled in STA operating mode. + */ +#define is_success(amrr) \ + ((amrr)->retrycnt < (amrr)->txcnt / 10) +#define is_failure(amrr) \ + ((amrr)->retrycnt > (amrr)->txcnt / 3) +#define is_enough(amrr) \ + ((amrr)->txcnt > 10) +#define is_min_rate(ni) \ + ((ni)->ni_txrate == 0) +#define is_max_rate(ni) \ + ((ni)->ni_txrate == (ni)->ni_rates.rs_nrates - 1) +#define increase_rate(ni) \ + ((ni)->ni_txrate++) +#define decrease_rate(ni) \ + ((ni)->ni_txrate--) +#define reset_cnt(amrr) \ + do { (amrr)->txcnt = (amrr)->retrycnt = 0; } while (0) +static void +rum_ratectl(struct rum_amrr *amrr, struct ieee80211_node *ni) +{ + int need_change = 0; + + if (is_success(amrr) && is_enough(amrr)) { + amrr->success++; + if (amrr->success >= amrr->success_threshold && + !is_max_rate(ni)) { + amrr->recovery = 1; + amrr->success = 0; + increase_rate(ni); + need_change = 1; + } else { + amrr->recovery = 0; + } + } else if (is_failure(amrr)) { + amrr->success = 0; + if (!is_min_rate(ni)) { + if (amrr->recovery) { + amrr->success_threshold *= 2; + if (amrr->success_threshold > + RUM_AMRR_MAX_SUCCESS_THRESHOLD) + amrr->success_threshold = + RUM_AMRR_MAX_SUCCESS_THRESHOLD; + } else { + amrr->success_threshold = + RUM_AMRR_MIN_SUCCESS_THRESHOLD; + } + decrease_rate(ni); + need_change = 1; + } + amrr->recovery = 0; /* original paper was incorrect */ + } + + if (is_enough(amrr) || need_change) + reset_cnt(amrr); +} + + +/* +int +rum_activate(device_ptr_t self, enum devact act) +{ + switch (act) { + case DVACT_ACTIVATE: + return EOPNOTSUPP; + + case DVACT_DEACTIVATE: + //if_deactivate(&sc->sc_ic.ic_if); + break; + } + + return 0; +} +*/ + +DRIVER_MODULE(rum, uhub, rum_driver, rum_devclass, usbd_driver_load, 0); Index: sys/dev/usb/if_rumreg.h =================================================================== RCS file: sys/dev/usb/if_rumreg.h diff -N sys/dev/usb/if_rumreg.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/dev/usb/if_rumreg.h 1 Feb 2007 11:26:03 -0000 @@ -0,0 +1,390 @@ +/* $OpenBSD: if_rumreg.h,v 1.12 2006/08/09 08:21:08 damien Exp $ */ + +/*- + * Copyright (c) 2005, 2006 Damien Bergamini + * Copyright (c) 2006 Niall O'Higgins + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#define RT2573_TX_DESC_SIZE (sizeof (struct rum_tx_desc)) +#define RT2573_RX_DESC_SIZE (sizeof (struct rum_rx_desc)) + +#define RT2573_CONFIG_NO 1 +#define RT2573_IFACE_INDEX 0 + +#define RT2573_MCU_CNTL 0x01 +#define RT2573_WRITE_MAC 0x02 +#define RT2573_READ_MAC 0x03 +#define RT2573_WRITE_MULTI_MAC 0x06 +#define RT2573_READ_MULTI_MAC 0x07 +#define RT2573_READ_EEPROM 0x09 +#define RT2573_WRITE_LED 0x0a + +/* + * Control and status registers. + */ +#define RT2573_AIFSN_CSR 0x0400 +#define RT2573_CWMIN_CSR 0x0404 +#define RT2573_CWMAX_CSR 0x0408 +#define RT2573_MCU_CODE_BASE 0x0800 +#define RT2573_HW_BEACON_BASE0 0x2400 +#define RT2573_MAC_CSR0 0x3000 +#define RT2573_MAC_CSR1 0x3004 +#define RT2573_MAC_CSR2 0x3008 +#define RT2573_MAC_CSR3 0x300c +#define RT2573_MAC_CSR4 0x3010 +#define RT2573_MAC_CSR5 0x3014 +#define RT2573_MAC_CSR6 0x3018 +#define RT2573_MAC_CSR7 0x301c +#define RT2573_MAC_CSR8 0x3020 +#define RT2573_MAC_CSR9 0x3024 +#define RT2573_MAC_CSR10 0x3028 +#define RT2573_MAC_CSR11 0x302c +#define RT2573_MAC_CSR12 0x3030 +#define RT2573_MAC_CSR13 0x3034 +#define RT2573_MAC_CSR14 0x3038 +#define RT2573_MAC_CSR15 0x303c +#define RT2573_TXRX_CSR0 0x3040 +#define RT2573_TXRX_CSR1 0x3044 +#define RT2573_TXRX_CSR2 0x3048 +#define RT2573_TXRX_CSR3 0x304c +#define RT2573_TXRX_CSR4 0x3050 +#define RT2573_TXRX_CSR5 0x3054 +#define RT2573_TXRX_CSR6 0x3058 +#define RT2573_TXRX_CSR7 0x305c +#define RT2573_TXRX_CSR8 0x3060 +#define RT2573_TXRX_CSR9 0x3064 +#define RT2573_TXRX_CSR10 0x3068 +#define RT2573_TXRX_CSR11 0x306c +#define RT2573_TXRX_CSR12 0x3070 +#define RT2573_TXRX_CSR13 0x3074 +#define RT2573_TXRX_CSR14 0x3078 +#define RT2573_TXRX_CSR15 0x307c +#define RT2573_PHY_CSR0 0x3080 +#define RT2573_PHY_CSR1 0x3084 +#define RT2573_PHY_CSR2 0x3088 +#define RT2573_PHY_CSR3 0x308c +#define RT2573_PHY_CSR4 0x3090 +#define RT2573_PHY_CSR5 0x3094 +#define RT2573_PHY_CSR6 0x3098 +#define RT2573_PHY_CSR7 0x309c +#define RT2573_SEC_CSR0 0x30a0 +#define RT2573_SEC_CSR1 0x30a4 +#define RT2573_SEC_CSR2 0x30a8 +#define RT2573_SEC_CSR3 0x30ac +#define RT2573_SEC_CSR4 0x30b0 +#define RT2573_SEC_CSR5 0x30b4 +#define RT2573_STA_CSR0 0x30c0 +#define RT2573_STA_CSR1 0x30c4 +#define RT2573_STA_CSR2 0x30c8 +#define RT2573_STA_CSR3 0x30cc +#define RT2573_STA_CSR4 0x30d0 +#define RT2573_STA_CSR5 0x30d4 + + +/* possible flags for register RT2573_MAC_CSR1 */ +#define RT2573_RESET_ASIC (1 << 0) +#define RT2573_RESET_BBP (1 << 1) +#define RT2573_HOST_READY (1 << 2) + +/* possible flags for register MAC_CSR5 */ +#define RT2573_ONE_BSSID 3 + +/* possible flags for register TXRX_CSR0 */ +/* Tx filter flags are in the low 16 bits */ +#define RT2573_AUTO_TX_SEQ (1 << 15) +/* Rx filter flags are in the high 16 bits */ +#define RT2573_DISABLE_RX (1 << 16) +#define RT2573_DROP_CRC_ERROR (1 << 17) +#define RT2573_DROP_PHY_ERROR (1 << 18) +#define RT2573_DROP_CTL (1 << 19) +#define RT2573_DROP_NOT_TO_ME (1 << 20) +#define RT2573_DROP_TODS (1 << 21) +#define RT2573_DROP_VER_ERROR (1 << 22) +#define RT2573_DROP_MULTICAST (1 << 23) +#define RT2573_DROP_BROADCAST (1 << 24) +#define RT2573_DROP_ACKCTS (1 << 25) + +/* possible flags for register TXRX_CSR4 */ +#define RT2573_SHORT_PREAMBLE (1 << 18) +#define RT2573_MRR_ENABLED (1 << 19) +#define RT2573_MRR_CCK_FALLBACK (1 << 22) + +/* possible flags for register TXRX_CSR9 */ +#define RT2573_TSF_TICKING (1 << 16) +#define RT2573_TSF_MODE(x) (((x) & 0x3) << 17) +/* TBTT stands for Target Beacon Transmission Time */ +#define RT2573_ENABLE_TBTT (1 << 19) +#define RT2573_GENERATE_BEACON (1 << 20) + +/* possible flags for register PHY_CSR0 */ +#define RT2573_PA_PE_2GHZ (1 << 16) +#define RT2573_PA_PE_5GHZ (1 << 17) + +/* possible flags for register PHY_CSR3 */ +#define RT2573_BBP_READ (1 << 15) +#define RT2573_BBP_BUSY (1 << 16) +/* possible flags for register PHY_CSR4 */ +#define RT2573_RF_20BIT (20 << 24) +#define RT2573_RF_BUSY (1 << 31) + +/* LED values */ +#define RT2573_LED_RADIO (1 << 8) +#define RT2573_LED_G (1 << 9) +#define RT2573_LED_A (1 << 10) +#define RT2573_LED_ON 0x1e1e +#define RT2573_LED_OFF 0x0 + +#define RT2573_MCU_RUN (1 << 3) + +#define RT2573_SMART_MODE (1 << 0) + +#define RT2573_BBPR94_DEFAULT 6 + +#define RT2573_BBP_WRITE (1 << 15) + +/* dual-band RF */ +#define RT2573_RF_5226 1 +#define RT2573_RF_5225 3 +/* single-band RF */ +#define RT2573_RF_2528 2 +#define RT2573_RF_2527 4 + +#define RT2573_BBP_VERSION 0 + +struct rum_tx_desc { + uint32_t flags; +#define RT2573_TX_BURST (1 << 0) +#define RT2573_TX_VALID (1 << 1) +#define RT2573_TX_MORE_FRAG (1 << 2) +#define RT2573_TX_ACK (1 << 3) +#define RT2573_TX_TIMESTAMP (1 << 4) +#define RT2573_TX_OFDM (1 << 5) +#define RT2573_TX_IFS_SIFS (1 << 6) +#define RT2573_TX_LONG_RETRY (1 << 7) + + uint16_t wme; +#define RT2573_QID(v) (v) +#define RT2573_AIFSN(v) ((v) << 4) +#define RT2573_LOGCWMIN(v) ((v) << 8) +#define RT2573_LOGCWMAX(v) ((v) << 12) + + uint16_t xflags; +#define RT2573_TX_HWSEQ (1 << 12) + + uint8_t plcp_signal; + uint8_t plcp_service; +#define RT2573_PLCP_LENGEXT 0x80 + + uint8_t plcp_length_lo; + uint8_t plcp_length_hi; + + uint32_t iv; + uint32_t eiv; + + uint8_t offset; + uint8_t qid; + uint8_t txpower; +#define RT2573_DEFAULT_TXPOWER 0 + + uint8_t reserved; +} __packed; + +struct rum_rx_desc { + uint32_t flags; +#define RT2573_RX_BUSY (1 << 0) +#define RT2573_RX_DROP (1 << 1) +#define RT2573_RX_CRC_ERROR (1 << 6) +#define RT2573_RX_OFDM (1 << 7) + + uint8_t rate; + uint8_t rssi; + uint8_t reserved1; + uint8_t offset; + uint32_t iv; + uint32_t eiv; + uint32_t reserved2[2]; +} __packed; + +#define RT2573_RF1 0 +#define RT2573_RF2 2 +#define RT2573_RF3 1 +#define RT2573_RF4 3 + +#define RT2573_EEPROM_MACBBP 0x0000 +#define RT2573_EEPROM_ADDRESS 0x0004 +#define RT2573_EEPROM_ANTENNA 0x0020 +#define RT2573_EEPROM_CONFIG2 0x0022 +#define RT2573_EEPROM_BBP_BASE 0x0026 +#define RT2573_EEPROM_TXPOWER 0x0046 +#define RT2573_EEPROM_FREQ_OFFSET 0x005e +#define RT2573_EEPROM_RSSI_2GHZ_OFFSET 0x009a +#define RT2573_EEPROM_RSSI_5GHZ_OFFSET 0x009c + +/* + * Default values for MAC registers; values taken from the reference driver. + */ +#define RT2573_DEF_MAC \ + { RT2573_TXRX_CSR0, 0x025fb032 }, \ + { RT2573_TXRX_CSR1, 0x9eaa9eaf }, \ + { RT2573_TXRX_CSR2, 0x8a8b8c8d }, \ + { RT2573_TXRX_CSR3, 0x00858687 }, \ + { RT2573_TXRX_CSR7, 0x2e31353b }, \ + { RT2573_TXRX_CSR8, 0x2a2a2a2c }, \ + { RT2573_TXRX_CSR15, 0x0000000f }, \ + { RT2573_MAC_CSR6, 0x00000fff }, \ + { RT2573_MAC_CSR8, 0x016c030a }, \ + { RT2573_MAC_CSR10, 0x00000718 }, \ + { RT2573_MAC_CSR12, 0x00000004 }, \ + { RT2573_MAC_CSR13, 0x00007f00 }, \ + { RT2573_SEC_CSR0, 0x00000000 }, \ + { RT2573_SEC_CSR1, 0x00000000 }, \ + { RT2573_SEC_CSR5, 0x00000000 }, \ + { RT2573_PHY_CSR1, 0x000023b0 }, \ + { RT2573_PHY_CSR5, 0x00040a06 }, \ + { RT2573_PHY_CSR6, 0x00080606 }, \ + { RT2573_PHY_CSR7, 0x00000408 }, \ + { RT2573_AIFSN_CSR, 0x00002273 }, \ + { RT2573_CWMIN_CSR, 0x00002344 }, \ + { RT2573_CWMAX_CSR, 0x000034aa } + +/* + * Default values for BBP registers; values taken from the reference driver. + */ +#define RT2573_DEF_BBP \ + { 3, 0x80 }, \ + { 15, 0x30 }, \ + { 17, 0x20 }, \ + { 21, 0xc8 }, \ + { 22, 0x38 }, \ + { 23, 0x06 }, \ + { 24, 0xfe }, \ + { 25, 0x0a }, \ + { 26, 0x0d }, \ + { 32, 0x0b }, \ + { 34, 0x12 }, \ + { 37, 0x07 }, \ + { 39, 0xf8 }, \ + { 41, 0x60 }, \ + { 53, 0x10 }, \ + { 54, 0x18 }, \ + { 60, 0x10 }, \ + { 61, 0x04 }, \ + { 62, 0x04 }, \ + { 75, 0xfe }, \ + { 86, 0xfe }, \ + { 88, 0xfe }, \ + { 90, 0x0f }, \ + { 99, 0x00 }, \ + { 102, 0x16 }, \ + { 107, 0x04 } + +/* + * Default settings for RF registers; values taken from the reference driver. + */ +#define RT2573_RF5226 \ + { 1, 0x00b03, 0x001e1, 0x1a014, 0x30282 }, \ + { 2, 0x00b03, 0x001e1, 0x1a014, 0x30287 }, \ + { 3, 0x00b03, 0x001e2, 0x1a014, 0x30282 }, \ + { 4, 0x00b03, 0x001e2, 0x1a014, 0x30287 }, \ + { 5, 0x00b03, 0x001e3, 0x1a014, 0x30282 }, \ + { 6, 0x00b03, 0x001e3, 0x1a014, 0x30287 }, \ + { 7, 0x00b03, 0x001e4, 0x1a014, 0x30282 }, \ + { 8, 0x00b03, 0x001e4, 0x1a014, 0x30287 }, \ + { 9, 0x00b03, 0x001e5, 0x1a014, 0x30282 }, \ + { 10, 0x00b03, 0x001e5, 0x1a014, 0x30287 }, \ + { 11, 0x00b03, 0x001e6, 0x1a014, 0x30282 }, \ + { 12, 0x00b03, 0x001e6, 0x1a014, 0x30287 }, \ + { 13, 0x00b03, 0x001e7, 0x1a014, 0x30282 }, \ + { 14, 0x00b03, 0x001e8, 0x1a014, 0x30284 }, \ + \ + { 34, 0x00b03, 0x20266, 0x36014, 0x30282 }, \ + { 38, 0x00b03, 0x20267, 0x36014, 0x30284 }, \ + { 42, 0x00b03, 0x20268, 0x36014, 0x30286 }, \ + { 46, 0x00b03, 0x20269, 0x36014, 0x30288 }, \ + \ + { 36, 0x00b03, 0x00266, 0x26014, 0x30288 }, \ + { 40, 0x00b03, 0x00268, 0x26014, 0x30280 }, \ + { 44, 0x00b03, 0x00269, 0x26014, 0x30282 }, \ + { 48, 0x00b03, 0x0026a, 0x26014, 0x30284 }, \ + { 52, 0x00b03, 0x0026b, 0x26014, 0x30286 }, \ + { 56, 0x00b03, 0x0026c, 0x26014, 0x30288 }, \ + { 60, 0x00b03, 0x0026e, 0x26014, 0x30280 }, \ + { 64, 0x00b03, 0x0026f, 0x26014, 0x30282 }, \ + \ + { 100, 0x00b03, 0x0028a, 0x2e014, 0x30280 }, \ + { 104, 0x00b03, 0x0028b, 0x2e014, 0x30282 }, \ + { 108, 0x00b03, 0x0028c, 0x2e014, 0x30284 }, \ + { 112, 0x00b03, 0x0028d, 0x2e014, 0x30286 }, \ + { 116, 0x00b03, 0x0028e, 0x2e014, 0x30288 }, \ + { 120, 0x00b03, 0x002a0, 0x2e014, 0x30280 }, \ + { 124, 0x00b03, 0x002a1, 0x2e014, 0x30282 }, \ + { 128, 0x00b03, 0x002a2, 0x2e014, 0x30284 }, \ + { 132, 0x00b03, 0x002a3, 0x2e014, 0x30286 }, \ + { 136, 0x00b03, 0x002a4, 0x2e014, 0x30288 }, \ + { 140, 0x00b03, 0x002a6, 0x2e014, 0x30280 }, \ + \ + { 149, 0x00b03, 0x002a8, 0x2e014, 0x30287 }, \ + { 153, 0x00b03, 0x002a9, 0x2e014, 0x30289 }, \ + { 157, 0x00b03, 0x002ab, 0x2e014, 0x30281 }, \ + { 161, 0x00b03, 0x002ac, 0x2e014, 0x30283 }, \ + { 165, 0x00b03, 0x002ad, 0x2e014, 0x30285 } + +#define RT2573_RF5225 \ + { 1, 0x00b33, 0x011e1, 0x1a014, 0x30282 }, \ + { 2, 0x00b33, 0x011e1, 0x1a014, 0x30287 }, \ + { 3, 0x00b33, 0x011e2, 0x1a014, 0x30282 }, \ + { 4, 0x00b33, 0x011e2, 0x1a014, 0x30287 }, \ + { 5, 0x00b33, 0x011e3, 0x1a014, 0x30282 }, \ + { 6, 0x00b33, 0x011e3, 0x1a014, 0x30287 }, \ + { 7, 0x00b33, 0x011e4, 0x1a014, 0x30282 }, \ + { 8, 0x00b33, 0x011e4, 0x1a014, 0x30287 }, \ + { 9, 0x00b33, 0x011e5, 0x1a014, 0x30282 }, \ + { 10, 0x00b33, 0x011e5, 0x1a014, 0x30287 }, \ + { 11, 0x00b33, 0x011e6, 0x1a014, 0x30282 }, \ + { 12, 0x00b33, 0x011e6, 0x1a014, 0x30287 }, \ + { 13, 0x00b33, 0x011e7, 0x1a014, 0x30282 }, \ + { 14, 0x00b33, 0x011e8, 0x1a014, 0x30284 }, \ + \ + { 34, 0x00b33, 0x01266, 0x26014, 0x30282 }, \ + { 38, 0x00b33, 0x01267, 0x26014, 0x30284 }, \ + { 42, 0x00b33, 0x01268, 0x26014, 0x30286 }, \ + { 46, 0x00b33, 0x01269, 0x26014, 0x30288 }, \ + \ + { 36, 0x00b33, 0x01266, 0x26014, 0x30288 }, \ + { 40, 0x00b33, 0x01268, 0x26014, 0x30280 }, \ + { 44, 0x00b33, 0x01269, 0x26014, 0x30282 }, \ + { 48, 0x00b33, 0x0126a, 0x26014, 0x30284 }, \ + { 52, 0x00b33, 0x0126b, 0x26014, 0x30286 }, \ + { 56, 0x00b33, 0x0126c, 0x26014, 0x30288 }, \ + { 60, 0x00b33, 0x0126e, 0x26014, 0x30280 }, \ + { 64, 0x00b33, 0x0126f, 0x26014, 0x30282 }, \ + \ + { 100, 0x00b33, 0x0128a, 0x2e014, 0x30280 }, \ + { 104, 0x00b33, 0x0128b, 0x2e014, 0x30282 }, \ + { 108, 0x00b33, 0x0128c, 0x2e014, 0x30284 }, \ + { 112, 0x00b33, 0x0128d, 0x2e014, 0x30286 }, \ + { 116, 0x00b33, 0x0128e, 0x2e014, 0x30288 }, \ + { 120, 0x00b33, 0x012a0, 0x2e014, 0x30280 }, \ + { 124, 0x00b33, 0x012a1, 0x2e014, 0x30282 }, \ + { 128, 0x00b33, 0x012a2, 0x2e014, 0x30284 }, \ + { 132, 0x00b33, 0x012a3, 0x2e014, 0x30286 }, \ + { 136, 0x00b33, 0x012a4, 0x2e014, 0x30288 }, \ + { 140, 0x00b33, 0x012a6, 0x2e014, 0x30280 }, \ + \ + { 149, 0x00b33, 0x012a8, 0x2e014, 0x30287 }, \ + { 153, 0x00b33, 0x012a9, 0x2e014, 0x30289 }, \ + { 157, 0x00b33, 0x012ab, 0x2e014, 0x30281 }, \ + { 161, 0x00b33, 0x012ac, 0x2e014, 0x30283 }, \ + { 165, 0x00b33, 0x012ad, 0x2e014, 0x30285 } Index: sys/dev/usb/if_rumvar.h =================================================================== RCS file: sys/dev/usb/if_rumvar.h diff -N sys/dev/usb/if_rumvar.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/dev/usb/if_rumvar.h 1 Feb 2007 11:26:03 -0000 @@ -0,0 +1,158 @@ +/* $OpenBSD: if_rumvar.h,v 1.6 2006/08/18 15:11:12 damien Exp $ */ + +/*- + * Copyright (c) 2005, 2006 Damien Bergamini + * Copyright (c) 2006 Niall O'Higgins + * Copyright (c) 2006, 2007 Valery V.Chikalov + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#define RT2573_RX_LIST_COUNT 1 +#define RT2573_TX_LIST_COUNT 1 + +struct rum_rx_radiotap_header { + struct ieee80211_radiotap_header wr_ihdr; + uint8_t wr_flags; + uint8_t wr_rate; + uint16_t wr_chan_freq; + uint16_t wr_chan_flags; + uint8_t wr_antenna; + uint8_t wr_antsignal; +} __packed; + +#define RT2573_RX_RADIOTAP_PRESENT \ + ((1 << IEEE80211_RADIOTAP_FLAGS) | \ + (1 << IEEE80211_RADIOTAP_RATE) | \ + (1 << IEEE80211_RADIOTAP_CHANNEL) | \ + (1 << IEEE80211_RADIOTAP_ANTENNA) | \ + (1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL)) + +struct rum_tx_radiotap_header { + struct ieee80211_radiotap_header wt_ihdr; + uint8_t wt_flags; + uint8_t wt_rate; + uint16_t wt_chan_freq; + uint16_t wt_chan_flags; + uint8_t wt_antenna; +} __packed; + +#define RT2573_TX_RADIOTAP_PRESENT \ + ((1 << IEEE80211_RADIOTAP_FLAGS) | \ + (1 << IEEE80211_RADIOTAP_RATE) | \ + (1 << IEEE80211_RADIOTAP_CHANNEL) | \ + (1 << IEEE80211_RADIOTAP_ANTENNA)) + +struct rum_softc; + +struct rum_tx_data { + struct rum_softc *sc; + usbd_xfer_handle xfer; + uint8_t *buf; + struct mbuf *m; + struct ieee80211_node *ni; +}; + +struct rum_rx_data { + struct rum_softc *sc; + usbd_xfer_handle xfer; + uint8_t *buf; + struct mbuf *m; +}; + +struct rum_amrr { + int txcnt; + int retrycnt; + int success; + int success_threshold; + int recovery; +}; + +struct rum_softc { + device_t sc_dev; + struct ifnet *sc_ifp; + struct ieee80211com sc_ic; + int (*sc_newstate)(struct ieee80211com *, + enum ieee80211_state, int); + + usbd_device_handle sc_udev; + usbd_interface_handle sc_iface; + int sc_flags; +#define RT2573_FWLOADED (1 << 0) + + struct ieee80211_channel *sc_curchan; + + int sc_rx_no; + int sc_tx_no; + + uint16_t macbbp_rev; + uint8_t rf_rev; + uint8_t rffreq; + + usbd_xfer_handle amrr_xfer; + + usbd_pipe_handle sc_rx_pipeh; + usbd_pipe_handle sc_tx_pipeh; + + enum ieee80211_state sc_state; + struct usb_task sc_task; + + struct rum_amrr amrr; + + struct rum_rx_data rx_data[RT2573_RX_LIST_COUNT]; + struct rum_tx_data tx_data[RT2573_TX_LIST_COUNT]; + int tx_queued; + + struct ieee80211_beacon_offsets sc_bo; + + struct callout scan_ch; + struct callout amrr_ch; + + int sc_tx_timer; + + uint32_t sta[6]; + uint32_t rf_regs[4]; + uint8_t txpow[44]; + + struct { + uint8_t val; + uint8_t reg; + } __packed bbp_prom[16]; + + int hw_radio; + int rx_ant; + int tx_ant; + int nb_ant; + int ext_2ghz_lna; + int ext_5ghz_lna; + int rssi_2ghz_corr; + int rssi_5ghz_corr; + int sifs; + uint8_t bbp17; + + struct bpf_if *sc_drvbpf; + + union { + struct rum_rx_radiotap_header th; + uint8_t pad[64]; + } sc_rxtapu; +#define sc_rxtap sc_rxtapu.th + int sc_rxtap_len; + + union { + struct rum_tx_radiotap_header th; + uint8_t pad[64]; + } sc_txtapu; +#define sc_txtap sc_txtapu.th + int sc_txtap_len; +}; Index: sys/dev/usb/usbdevs =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.285 diff -u -r1.285 usbdevs --- sys/dev/usb/usbdevs 28 Jan 2007 10:46:32 -0000 1.285 +++ sys/dev/usb/usbdevs 1 Feb 2007 11:26:05 -0000 @@ -1,4 +1,4 @@ -$FreeBSD: src/sys/dev/usb/usbdevs,v 1.285 2007/01/28 10:46:32 takawata Exp $ +$FreeBSD: src/sys/dev/usb/usbdevs,v 1.232.2.16 2006/08/20 05:20:07 imp Exp $ /* $NetBSD: usbdevs,v 1.392 2004/12/29 08:38:44 imp Exp $ */ /*- @@ -355,6 +355,7 @@ vendor DIGITALSTREAM 0x074e Digital Stream vendor AUREAL 0x0755 Aureal vendor MIDIMAN 0x0763 Midiman +vendor SURECOM 0x0769 Surecom Technology vendor LINKSYS2 0x077b Linksys vendor GRIFFIN 0x077d Griffin vendor SANDISK 0x0781 SanDisk @@ -383,6 +384,7 @@ vendor AVERMEDIA 0x07ca AVerMedia vendor SIIG 0x07cc SIIG vendor CASIO 0x07cf CASIO +vendor DLINK2 0x07d1 D-Link vendor APTIO 0x07d2 Aptio vendor ARASAN 0x07da Arasan vendor ALLIEDCABLE 0x07e6 Allied Cable @@ -486,6 +488,7 @@ vendor ACDC 0x0d7e ACDC vendor ABC 0x0d8c ABC vendor CONCEPTRONIC 0x0d8e Conceptronic +vendor SITECOMEU 0x0df6 Sitecom Europe vendor MSI 0x0db0 Micro Star International vendor HAWKING 0x0e66 Hawking vendor GMATE 0x0e7e G.Mate, Inc @@ -515,9 +518,11 @@ vendor BELKIN2 0x1293 Belkin vendor AINCOMM 0x12fd Aincomm vendor MOBILITY 0x1342 Mobility +vendor DICKSMITH 0x1371 Dick Smith Electronics vendor LINKSYS4 0x13b1 Linksys vendor SHARK 0x13d2 Shark vendor RADIOSHACK 0x1453 Radio Shack +vendor HUAWEI3COM 0x1472 Huawei 3Com vendor SILICOM 0x1485 Silicom vendor RALINK 0x148f Ralink Technology vendor IMAGINATION 0x149a Imagination Technologies @@ -527,14 +532,17 @@ vendor SOHOWARE 0x15e8 SOHOware vendor UMAX 0x1606 UMAX vendor INSIDEOUT 0x1608 Inside Out Networks +vendor GOODWAY 0x1631 Good Way Technology vendor ENTREGA 0x1645 Entrega vendor ACTIONTEC 0x1668 Actiontec vendor ATHEROS 0x168c Atheros Communications vendor GIGASET 0x1690 Gigaset vendor GLOBALSUN 0x16ab Global Sun Technology vendor CMOTECH 0x16d8 CMOTECH CO., LTD. +vendor QCOM 0x18e8 Qcom vendor LINKSYS3 0x1915 Linksys vendor DLINK 0x2001 D-Link +vendor PLANEX2 0x2019 Planex Communications vendor ERICSSON 0x2282 Ericsson vendor MOTOROLA2 0x22b8 Motorola vendor TRIPPLITE 0x2478 Tripp-Lite @@ -555,7 +563,7 @@ vendor ONSPEC2 0x55aa OnSpec vendor ZINWELL 0x5a57 Zinwell vendor SITECOM 0x6189 Sitecom -vendor ARKMICRO 0x6547 Arkmicro Technologies +vendor ARKMICRO 0x6547 Arkmicro Technologies vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard @@ -590,6 +598,7 @@ product ABOCOM XX8 0x4102 XX8 product ABOCOM XX9 0x4104 XX9 product ABOCOM XX10 0xabc1 XX10 +product ABOCOM RT2573 0xb21d RT2573 /* Accton products */ product ACCTON USB320_EC 0x1046 USB320-EC Ethernet @@ -688,7 +697,7 @@ product APPLE IPODNANO 0x120a iPod Nano /* Arkmicro Technologies */ -product ARKMICRO ARK3116 0x0232 ARK3116 Serial +product ARKMICRO ARK3116 0x0232 ARK3116 Serial /* Asahi Optical products */ product ASAHIOPTICAL OPTIO230 0x0004 Digital camera @@ -699,6 +708,7 @@ /* ASUS products */ product ASUS WL167G 0x1707 WL-167g wireless adapter +product ASUS RT2573 0x1723 RT2573 /* ATen products */ product ATEN UC1284 0x2001 Parallel printer @@ -736,9 +746,12 @@ product BELKIN F5U109 0x0109 F5U109 Serial product BELKIN F5U208 0x0208 F5U208 VideoBus II product BELKIN F5U409 0x0409 F5U409 Serial -product BELKIN F6C550AVR 0x0551 F6C550-AVR UPS +product BELKIN F6C550AVR 0x0551 F6C550-AVR UPS product BELKIN F5U120 0x1203 F5U120-PC Hub product BELKIN F5D7050 0x7050 F5D7050 wireless adapter +product BELKIN F5D7050A 0x705a F5D705A 54g USB Network Adapter +product BELKIN F5D9050V3 0x905b F5D9050 ver 3 + /* Billionton products */ product BILLIONTON USB100 0x0986 USB100N 10/100 FastEthernet @@ -838,7 +851,7 @@ /* Cypress Semiconductor products */ product CYPRESS MOUSE 0x0001 mouse product CYPRESS THERMO 0x0002 thermometer -product CYPRESS WISPY 0x0bad MetaGeek Wi-Spy +product CYPRESS WISPY 0x0bad MetaGeek Wi-Spy product CYPRESS FMRADIO 0x1002 FM Radio product CYPRESS SLIM_HUB 0x6560 Slim Hub @@ -859,6 +872,10 @@ /* Diamond products */ product DIAMOND RIO500USB 0x0001 Rio 500 USB +/* Dick Smith Electronics (really C-Net) products */ +product DICKSMITH RT2573 0x9022 RT2573 +product DICKSMITH CWD854F 0x9032 C-Net CWD-854 rev F + /* Digi International products */ product DIGI ACCELEPORT2 0x0002 AccelePort USB 2 product DIGI ACCELEPORT4 0x0004 AccelePort USB 4 @@ -884,6 +901,8 @@ product DLINK DSB650TX3 0x400b 10/100 ethernet product DLINK DSB650TX2 0x4102 10/100 ethernet product DLINK DSB650 0xabc1 10/100 ethernet +product DLINK2 DWLG122C1 0x3c03 DWL-G122 rev C1 +product DLINK2 WUA1340 0x3c04 WUA-1340 /* EIZO products */ product EIZO HUB 0x0000 hub @@ -941,11 +960,11 @@ product EPSON 1670 0x011f Perfection 1670 scanner product EPSON 1270 0x0120 Perfection 1270 scanner product EPSON 2480 0x0121 Perfection 2480 scanner -product EPSON 3590 0x0122 Perfection 3590 scanner -product EPSON 4990 0x012a Perfection 4990 Photo scanner +product EPSON 3590 0x0122 Perfection 3590 scanner +product EPSON 4990 0x012a Perfection 4990 Photo scanner product EPSON 3500 0x080e CX-3500/3600/3650 MFP product EPSON RX425 0x080f Stylus Photo RX425 scanner -product EPSON 4200 0x0820 CX4200 MP scanner +product EPSON 4200 0x0820 CX4200 MP scanner /* e-TEK Labs products */ product ETEK 1COM 0x8007 Serial @@ -993,6 +1012,7 @@ product GIGABYTE GNBR402W 0x8002 GN-BR402W product GIGABYTE GNWLBM101 0x8003 GN-WLBM101 product GIGABYTE GNWBKG 0x8007 GN-WBKG +product GIGABYTE GNWB01GS 0x8008 GN-WB01GS /* Gigaset products */ product GIGASET WLAN 0x0701 WLAN @@ -1083,6 +1103,12 @@ /* HP products */ product HP2 C500 0x6002 PhotoSmart C500 +/* HUAWEI products */ +product HUAWEI3COM RT2573 0x0009 RT2573 + +/* Good Way Technology products */ +product GOODWAY RT2573 0xc019 RT2573 + /* IBM Corporation */ product IBM USBCDROMDRIVE 0x4427 USB CD-ROM Drive @@ -1226,6 +1252,7 @@ product LINKSYS4 WUSB54G 0x000d WUSB54G wireless adapter product LINKSYS4 WUSB54GP 0x0011 WUSB54GP wireless adapter product LINKSYS4 HU200TS 0x001a HU200TS wireless adapter +product LINKSYS4 WUSB54GC 0x0020 WUSB54GC /* Logitech products */ product LOGITECH M2452 0x0203 M2452 keyboard @@ -1241,11 +1268,11 @@ product LOGITECH WMMOUSE 0xc004 WingMan Gaming Mouse product LOGITECH BD58 0xc00c BD58 mouse product LOGITECH UN58A 0xc030 iFeel Mouse -product LOGITECH UN53B 0xc032 iFeel MouseMan +product LOGITECH UN53B 0xc032 iFeel MouseMan product LOGITECH WMPAD 0xc208 WingMan GamePad Extreme product LOGITECH WMRPAD 0xc20a WingMan RumblePad product LOGITECH WMJOY 0xc281 WingMan Force joystick -product LOGITECH BB13 0xc401 USB-PS/2 Trackball +product LOGITECH BB13 0xc401 USB-PS/2 Trackball product LOGITECH RK53 0xc501 Cordless mouse product LOGITECH RB6 0xc503 Cordless keyboard product LOGITECH MX700 0xc506 Cordless optical mouse @@ -1301,6 +1328,9 @@ product MSI RT2570 0x6861 RT2570 product MSI RT2570_2 0x6865 RT2570 product MSI RT2570_3 0x6869 RT2570 +product MSI RT2573 0x6877 RT2573 +product MSI RT2573_2 0xa861 RT2573 +product MSI RT2573_3 0xa874 RT2573 /* Microsoft products */ product MICROSOFT SIDEPREC 0x0008 SideWinder Precision Pro @@ -1387,7 +1417,7 @@ /* Netgear products */ product NETGEAR EA101 0x1001 Ethernet -product NETGEAR FA101 0x1020 Ethernet 10/100, USB1.1 +product NETGEAR FA101 0x1020 Ethernet 10/100, USB1.1 product NETGEAR FA120 0x1040 USB 2.0 Ethernet product NETGEAR3 WG111T 0x4250 WG111T product NETGEAR3 WG111T_NF 0x4251 WG111T (no firmware) @@ -1401,7 +1431,7 @@ product NIKON LS40 0x4000 CoolScan LS40 ED /* NovaTech Products */ -product NOVATECH NV902 0x9020 NovaTech NV-902W +product NOVATECH NV902 0x9020 NovaTech NV-902W /* Olympus products */ product OLYMPUS C1 0x0102 C-1 Digital Camera @@ -1428,7 +1458,7 @@ product PALM ZIRE 0x0070 Palm Zire /* Panasonic products */ -product PANASONIC KXL840AN 0x0d01 CD-R Drive KXL-840AN +product PANASONIC KXL840AN 0x0d01 CD-R Drive KXL-840AN product PANASONIC KXLRW32AN 0x0d09 CD-R Drive KXL-RW32AN product PANASONIC KXLCB20AN 0x0d0a CD-R Drive KXL-CB20AN product PANASONIC KXLCB35AN 0x0d0e DVD-ROM & CD-R/RW @@ -1456,6 +1486,10 @@ /* P.I. Engineering products */ product PIENGINEERING PS2USB 0x020b PS2 to Mac USB Adapter +/* Planex Communications products */ +product PLANEX2 GWUSMM 0xed02 GW-USMM + + /* Plextor Corp. */ product PLEXTOR 40_12_40U 0x0011 PlexWriter 40/12/40U @@ -1498,6 +1532,10 @@ /* Putercom products */ product PUTERCOM UPA100 0x047e USB-1284 BRIDGE +/* Qcom products */ +product QCOM RT2573 0x6196 RT2573 +product QCOM RT2573_2 0x6229 RT2573 + /* Qualcomm products */ product QUALCOMM CDMA_MSM 0x3196 CDMA Technologies MSM modem product QUALCOMM2 CDMA_MSM 0x6000 CDMA Technologies MSM phone @@ -1517,6 +1555,8 @@ /* Ralink Technology products */ product RALINK RT2570 0x1706 RT2500USB wireless adapter product RALINK RT2570_2 0x2570 RT2500USB wireless adapter +product RALINK RT2573 0x2573 RT2573 +product RALINK RT2671 0x2671 RT2671 /* ReakTek products */ product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet (GREEN HOUSE) @@ -1589,7 +1629,7 @@ product SIIG2 US2308 0x0421 Serial /* Silicom products */ -product SILICOM GPE 0x0002 Psion Gold Port Ethernet +product SILICOM GPE 0x0002 Psion Gold Port Ethernet /* Silicon Portals Inc. */ product SILICONPORTALS YAPPH_NF 0x0200 YAP Phone (no firmware) @@ -1602,6 +1642,11 @@ product SITECOM LN029 0x182d USB 2.0 Ethernet product SITECOM SERIAL 0x2068 USB to serial cable (v2) +/* Sitecom Europe products */ +product SITECOMEU WL172 0x90ac WL-172 +product SITECOMEU WL113R2 0x9712 WL-113 rev 2 + + /* SmartBridges products */ product SMARTBRIDGES SMARTLINK 0x0001 SmartLink USB ethernet product SMARTBRIDGES SMARTNIC 0x0003 smartNIC 2 PnP ethernet @@ -1667,6 +1712,9 @@ product DIAMOND2 RIO600USB 0x5001 Rio 600 USB product DIAMOND2 RIO800USB 0x5002 Rio 800 USB +/* Surecom Technology products */ +product SURECOM RT2573 0x31f3 RT2573 + /* System TALKS, Inc. */ product SYSTEMTALKS SGCX2UL 0x1920 SGC-X2UL Index: sys/modules/rt2573/Makefile =================================================================== RCS file: sys/modules/rt2573/Makefile diff -N sys/modules/rt2573/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/modules/rt2573/Makefile 1 Feb 2007 11:26:11 -0000 @@ -0,0 +1,3 @@ +KMOD= rt2573 +FIRMWS= rum-rt2573:rt2573:100 +.include Index: sys/modules/rum/Makefile =================================================================== RCS file: sys/modules/rum/Makefile diff -N sys/modules/rum/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/modules/rum/Makefile 1 Feb 2007 11:26:11 -0000 @@ -0,0 +1,8 @@ +# $FreeBSD: src/sys/modules/ural/Makefile,v 1.1 2005/04/18 18:47:38 damien Exp $ + +.PATH: ${.CURDIR}/../../dev/usb + +KMOD = if_rum +SRCS = if_rum.c opt_bdg.h opt_usb.h device_if.h bus_if.h usbdevs.h + +.include --------------070401030006070808060902-- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 15:11:25 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF1D616A400 for ; Thu, 1 Feb 2007 15:11:25 +0000 (UTC) (envelope-from steinarh@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC3013C467 for ; Thu, 1 Feb 2007 15:11:25 +0000 (UTC) (envelope-from steinarh@pvv.ntnu.no) Received: from bacchus.pvv.ntnu.no ([129.241.210.178]) by decibel.pvv.ntnu.no with smtp (Exim 4.60) (envelope-from ) id 1HCdau-0007f3-4j for freebsd-usb@freebsd.org; Thu, 01 Feb 2007 16:11:24 +0100 Received: (qmail 20830 invoked by uid 30273); 1 Feb 2007 15:11:23 -0000 Date: Thu, 1 Feb 2007 16:11:23 +0100 From: Steinar Hamre To: Alexander Leidinger Message-ID: <20070201151123.GC45997@pvv.ntnu.no> References: <200701100050.l0A0oOTY002615@freefall.freebsd.org> <20070129203852.2f3d6a89@Magellan.Leidinger.net> <20070131230920.GA45997@pvv.ntnu.no> <20070201083333.rjvhpmnjggwk4wso@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <20070201083333.rjvhpmnjggwk4wso@webmail.leidinger.net> User-Agent: Mutt/1.4i Cc: freebsd-usb@freebsd.org Subject: Supporting scanners on multi function devices 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, 01 Feb 2007 15:11:26 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 01, 2007 at 08:33:33AM +0100, Alexander Leidinger wrote: > Quoting Steinar Hamre (from Thu, 1 Feb 2007 > > >Did the device work without my patch? > > I never tried, I don't have a driver for this scanner (Brother has > binary only drivers for sane on linux only). Can you verify that the same crash occurs if you add your device to uscanner.c without my patch? If so, the problem might indeed be that the scanner is not the first device. I have attached a small program to list the interfaces of an ugen device. Making a ugen device of a multi function device is a bit tricky. If you kldunload all modules using the device (usbdevs -d), kldload ugen and then powercycle the device, that should do the trick. Alternativly, compile a kernel without the relevant devices and reboot. (A way to get this information from a non-ugen device would be appreciated.) Then run ./ugeninfo /dev/ugen0 On my printer/scanner/memorycardreader this looks like: 4:4: EPSON(0x04b8) USB2.0 MFP(Hi-Speed)(0x082b): class 0:0:0 config 1, 3 ifs 0: class 255:255:255, 2 eps 1: class 7:1:2, 2 eps 2: class 8:6:80, 2 eps 0 is the scanner. (UICLASS_VENDOR) 1 is UICLASS_PRINTER and 2 is UICLASS_MASS Steinar --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ugeninfo.c" #include #include #include #include #include #include #include #include #include #include int print_device(char *path) { struct usb_device_info di; struct usb_config_desc cd; struct usb_interface_desc id; int r, i, f; f=open(path, O_RDONLY); if (!f) { perror(path); return 0; } //di.udi_addr = a; r = ioctl(f, USB_GET_DEVICEINFO, &di); if (r<0) { perror("USB_GET_DEVICEINFO"); return 0; } cd.ucd_config_index=USB_CURRENT_CONFIG_INDEX; r = ioctl(f, USB_GET_CONFIG_DESC, &cd); if (r<0) { perror("USB_GET_CONFIG_DESC"); return 0; } printf("%d:%d: %s(0x%04x) %s(0x%04x): class %d:%d:%d config %d, %d ifs\n", di.udi_bus, di.udi_addr, di.udi_vendor, di.udi_vendorNo, di.udi_product, di.udi_productNo, di.udi_class, di.udi_subclass, di.udi_protocol, cd.ucd_desc.bConfigurationValue, cd.ucd_desc.bNumInterface); for (i = 0; i < cd.ucd_desc.bNumInterface; i++) { id.uid_config_index=USB_CURRENT_CONFIG_INDEX; id.uid_interface_index=i; id.uid_alt_index=USB_CURRENT_ALT_INDEX; r = ioctl(f, USB_GET_INTERFACE_DESC, &id); if (r<0) { perror("USB_GET_INTERFACE_DESC"); continue; } printf("\t%d: class %d:%d:%d, %d eps\n", i, id.uid_desc.bInterfaceClass, id.uid_desc.bInterfaceSubClass, id.uid_desc.bInterfaceProtocol, id.uid_desc.bNumEndpoints); } return 1; } int main(int argc, char *argv[]) { print_device(argv[1]); } --DBIVS5p969aUjpLe-- From owner-freebsd-usb@FreeBSD.ORG Thu Feb 1 23:16:42 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC3C016A488 for ; Thu, 1 Feb 2007 23:16:42 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5445A13C4A7 for ; Thu, 1 Feb 2007 23:16:42 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l11NGXW9027973; Fri, 2 Feb 2007 00:16:33 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l11NGOvV013253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Feb 2007 00:16:27 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l11NGNYn071390; Fri, 2 Feb 2007 00:16:24 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l11NGN6b071389; Fri, 2 Feb 2007 00:16:23 +0100 (CET) (envelope-from ticso) Date: Fri, 2 Feb 2007 00:16:23 +0100 From: Bernd Walter To: "Valery V.Chikalov" Message-ID: <20070201231622.GJ70860@cicely12.cicely.de> References: <200702011230.l11CUPbm088398@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702011230.l11CUPbm088398@freefall.freebsd.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-usb@freebsd.org Subject: Re: usb/107642: [patch]Ralink Technology RT2501USB/RT2601USB chipset driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 23:16:42 -0000 Tested it on -current from 7th Jan 2007. It panics if rt2573 isn't loaded. Another device fail to associate in hostap and adhoc mode, it even fails to respond on scanning in many cases. Client mode seems to work. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 00:44:01 2007 Return-Path: X-Original-To: usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A9B616A402; Sat, 3 Feb 2007 00:44:01 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3902913C442; Sat, 3 Feb 2007 00:44:01 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l130i1n4002332; Fri, 2 Feb 2007 16:44:01 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l130i1P1002331; Fri, 2 Feb 2007 16:44:01 -0800 (PST) (envelope-from rizzo) Date: Fri, 2 Feb 2007 16:44:00 -0800 From: Luigi Rizzo To: Florent Thoumie Message-ID: <20070202164400.A2319@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> <45C3D811.7080504@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <45C3D811.7080504@FreeBSD.org>; from flz@FreeBSD.org on Sat, Feb 03, 2007 at 12:32:17AM +0000 Cc: usb@FreeBSD.org, current@FreeBSD.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 03 Feb 2007 00:44:01 -0000 On Sat, Feb 03, 2007 at 12:32:17AM +0000, Florent Thoumie wrote: > Hey Luigi, > > I have a Creative Webcam Instant: > > usb_spca5xx_init: gspca driver 01.00.12 registered > ldev_attach: sc at 0xc8ec1b00, l_u_d at 0xc8ec1b64 > --- allocate 272 bytes gives 0xc6e14800 > interface 0 has 8 altsettings (cur 0) > gspca_attach_bridge: USB SPCA5XX camera found.(ZC3XX) > spca5xx_probe: [spca5xx_probe:3976] Camera type JPEG > zc3xx_config: [zc3xx_config:515] Sensor ID:10 > zc3xx_config: [zc3xx_config:587] Find Sensor PAS106 > spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 352 maxh 288 > minw 176 minh 144 > 279074705 [ 878] video_register_device: to be fixed but ok for now > ldev0: Creative Labs WebCam Instant, rev 1.10/1.00, addr 3 > > Trying to use camorama gives the following error: > > 279277285 [ 842] video_devdata: not complete but ok for now > gspca_set_isoc_ep: [gspca_set_isoc_ep:874] ISO EndPoint found 0x81 > AlternateSet 7 > usb1: *** WARNING: opening low/full speed device, this does not work yet. this is a [annoying] problem with the freebsd drivers, not with gspca. try connect the camera directly to the ports on your usb controller instead of the external hub. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 00:55:10 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BF8716A402; Sat, 3 Feb 2007 00:55:10 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id D03F713C491; Sat, 3 Feb 2007 00:55:09 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by postfix1-g20.free.fr (Postfix) with ESMTP id 40BF38E8693; Sat, 3 Feb 2007 01:35:54 +0100 (CET) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp8-g19.free.fr (Postfix) with ESMTP id BF4F6543B; Sat, 3 Feb 2007 01:35:52 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 3190C11AD8; Sat, 3 Feb 2007 01:35:37 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tFQ3Nzz2hmhA; Sat, 3 Feb 2007 01:35:31 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 2C464117C5; Sat, 3 Feb 2007 01:35:30 +0100 (CET) Message-ID: <45C3D811.7080504@FreeBSD.org> Date: Sat, 03 Feb 2007 00:32:17 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> In-Reply-To: <20070131060543.A57206@xorpc.icir.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0A6B51AA67D277B817E12E63" Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 03 Feb 2007 00:55:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0A6B51AA67D277B817E12E63 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey Luigi, I have a Creative Webcam Instant: usb_spca5xx_init: gspca driver 01.00.12 registered ldev_attach: sc at 0xc8ec1b00, l_u_d at 0xc8ec1b64 --- allocate 272 bytes gives 0xc6e14800 interface 0 has 8 altsettings (cur 0) gspca_attach_bridge: USB SPCA5XX camera found.(ZC3XX) spca5xx_probe: [spca5xx_probe:3976] Camera type JPEG zc3xx_config: [zc3xx_config:515] Sensor ID:10 zc3xx_config: [zc3xx_config:587] Find Sensor PAS106 spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 352 maxh 288 minw 176 minh 144 279074705 [ 878] video_register_device: to be fixed but ok for now ldev0: Creative Labs WebCam Instant, rev 1.10/1.00, addr 3 Trying to use camorama gives the following error: 279277285 [ 842] video_devdata: not complete but ok for now gspca_set_isoc_ep: [gspca_set_isoc_ep:874] ISO EndPoint found 0x81 AlternateSet 7 usb1: *** WARNING: opening low/full speed device, this does not work yet.= 279281630 [ 659] usb_submit_urb: openpipe error 4 init isoc: usb_submit_urb(0) ret -4279281630 [ 742] usb_kill_urb: not complete but try something 279281630 [ 742] usb_kill_urb: not complete but try something 279281630 [ 742] usb_kill_urb: not complete but try something spca5xx_open: [spca5xx_open:1916] DEALLOC error on init_Isoc This is on FreeBSD 6.2-RELEASE using gspca.ko shipped in the tarball --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig0A6B51AA67D277B817E12E63 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFw9gWMxEkbVFH3PQRCm8AAKCAahNe93ML8xnCfUBjjEfdgI0f6gCgjIJf 7RvSY0sxpHROo7Dsh2IogaU= =O6rE -----END PGP SIGNATURE----- --------------enig0A6B51AA67D277B817E12E63-- From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 09:51:25 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D24216A401; Sat, 3 Feb 2007 09:51:25 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id E520E13C474; Sat, 3 Feb 2007 09:51:24 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l139pOUi006818; Sat, 3 Feb 2007 01:51:24 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l139pOGE006817; Sat, 3 Feb 2007 01:51:24 -0800 (PST) (envelope-from rizzo) Date: Sat, 3 Feb 2007 01:51:24 -0800 From: Luigi Rizzo To: multimedia@freebsd.org Message-ID: <20070203015124.B6510@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: usb@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 03 Feb 2007 09:51:25 -0000 someone (in Bcc) asked me the following question and i think the explaination is of general interest. Am cross-posting the usb list as maybe people there can confirm this or give more details. On Sat, Feb 03, 2007 at 01:00:31AM -0500, ... wrote: > On 2/2/07, Luigi Rizzo wrote: > > > > On Sat, Feb 03, 2007 at 12:32:17AM +0000, Florent Thoumie wrote: > > > usb1: *** WARNING: opening low/full speed device, this does not work > > yet. > > > > this is a [annoying] problem with the freebsd drivers, not with gspca. > > > > try connect the camera directly to the ports on your usb > > controller instead of the external hub. > > > What is the technical problem that makes this happen and what is the order > of effort required to fix it. I have also come up against this and would > take a stab at it if it were within my reach. The message comes from ehci.c and is not very informative. >From what i read in the ehci.c source, there is no support at all for ISOChronous transfers in that driver. In fact, the above message is triggered in an early stage of the _open() routine, when you ask for a low or full speed ISOC transfer; if you go past it because you request a high speed isoc transfer, you hit another error later in the same routine because some functions are not implemented. I have absolutely no idea how much time would take to fix this, have never looked at the specs of the controllers. Now if you wonder why connecting directly to the main board (instead of going through a hub) works, i think the reason is the following (hope i am not spreading misinformation): >From what i have read, on the mainboard there are two controllers (ehci and uhci) connected in parallel, i.e. really sharing the wires, and there is some form of arbitration so that USB2 devices (which can do high speed requests) talk to ehci, whereas USB1 devices talk to uhci. If you have a USB2 hub in the middle, chances are that the hub does connects to ehci hiding the real nature of devices downstream. Maybe (not sure) that a workaround could be to put a USB1 hub in the middle. If you can find one, they should cost close to nothing these days. Unfortunately i cannot try it because i only have a USB2 hub here. cheers luigi From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 14:40:17 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9809716A402 for ; Sat, 3 Feb 2007 14:40:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 757B013C48E for ; Sat, 3 Feb 2007 14:40:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13EeHRk027613 for ; Sat, 3 Feb 2007 14:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13EeH51027609; Sat, 3 Feb 2007 14:40:17 GMT (envelope-from gnats) Resent-Date: Sat, 3 Feb 2007 14:40:17 GMT Resent-Message-Id: <200702031440.l13EeH51027609@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, Antoine Brodin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E60A816A402 for ; Sat, 3 Feb 2007 14:30:43 +0000 (UTC) (envelope-from antoine@peanut.dreadbsd.org) Received: from peanut.dreadbsd.org (peanut.dreadbsd.org [82.67.196.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4B38C13C4A7 for ; Sat, 3 Feb 2007 14:30:42 +0000 (UTC) (envelope-from antoine@peanut.dreadbsd.org) Received: from peanut.dreadbsd.org (localhost [127.0.0.1]) by peanut.dreadbsd.org (8.13.8/8.13.8) with ESMTP id l13EUers034893 for ; Sat, 3 Feb 2007 15:30:40 +0100 (CET) (envelope-from antoine@peanut.dreadbsd.org) Received: (from antoine@localhost) by peanut.dreadbsd.org (8.13.8/8.13.8/Submit) id l13EUdQB034892; Sat, 3 Feb 2007 15:30:39 +0100 (CET) (envelope-from antoine) Message-Id: <200702031430.l13EUdQB034892@peanut.dreadbsd.org> Date: Sat, 3 Feb 2007 15:30:39 +0100 (CET) From: Antoine Brodin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/108719: [patch] Plug a few memory leaks in sys/dev/usb X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antoine Brodin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 14:40:17 -0000 >Number: 108719 >Category: usb >Synopsis: [patch] Plug a few memory leaks in sys/dev/usb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 14:40:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 7.0-CURRENT i386 >Organization: none >Environment: System: FreeBSD barton.dreadbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jan 28 12:17:13 CET 2007 antoine@barton.dreadbsd.org:/usr/obj/usr/src/sys/BARTON i386 >Description: There are a few memory leaks in /sys/dev/usb/ Patch is attached. >How-To-Repeat: >Fix: --- sysdevusb.diff begins here --- Index: usb/uhub.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/uhub.c,v retrieving revision 1.72 diff -u -p -r1.72 uhub.c --- usb/uhub.c 7 Sep 2006 00:06:41 -0000 1.72 +++ usb/uhub.c 28 Jan 2007 17:06:03 -0000 @@ -362,6 +362,7 @@ USB_ATTACH(uhub) /* The usual exploration will finish the setup. */ sc->sc_running = 1; + free(devinfo, M_TEMP); USB_ATTACH_SUCCESS_RETURN; Index: usb/uipaq.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/uipaq.c,v retrieving revision 1.1 diff -u -p -r1.1 uipaq.c --- usb/uipaq.c 28 Jan 2007 11:56:14 -0000 1.1 +++ usb/uipaq.c 28 Jan 2007 13:43:36 -0000 @@ -186,7 +186,6 @@ USB_ATTACH(uipaq) usbd_devinfo(dev, 0, devinfop); printf("%s: %s\n", devname, devinfop); - free(devinfop, M_USBDEV); sc->sc_flags = uipaq_lookup(uaa->vendor, uaa->product)->uv_flags; @@ -225,13 +224,14 @@ USB_ATTACH(uipaq) } ucom_attach(&sc->sc_ucom); - - + free(devinfop, M_USBDEV); + USB_ATTACH_SUCCESS_RETURN; bad: DPRINTF(("uipaq_attach: ATTACH ERROR\n")); ucom->sc_dying = 1; + free(devinfop, M_USBDEV); USB_ATTACH_ERROR_RETURN; } Index: usb/usb_subr.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usb_subr.c,v retrieving revision 1.87 diff -u -p -r1.87 usb_subr.c --- usb/usb_subr.c 3 Oct 2006 01:13:26 -0000 1.87 +++ usb/usb_subr.c 28 Jan 2007 17:06:27 -0000 @@ -944,6 +944,7 @@ usbd_probe_and_attach(device_t parent, u } uaap = malloc(sizeof(uaa), M_USB, M_NOWAIT); if (uaap == NULL) { + free(devinfo, M_USB); return (USBD_NOMEM); } device_set_ivars(bdev, uaap); @@ -987,6 +988,7 @@ usbd_probe_and_attach(device_t parent, u *uaap = uaa; usbd_devinfo(dev, 1, devinfo); device_set_desc_copy(bdev, devinfo); + free(devinfo, M_USB); dv = USB_DO_ATTACH(dev, bdev, parent, &uaa, usbd_print, usbd_submatch); if (dv != NULL) return (USBD_NORMAL_COMPLETION); Index: usb/uvisor.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/uvisor.c,v retrieving revision 1.28 diff -u -p -r1.28 uvisor.c --- usb/uvisor.c 7 Sep 2006 00:06:42 -0000 1.28 +++ usb/uvisor.c 28 Jan 2007 13:43:00 -0000 @@ -377,12 +377,14 @@ USB_ATTACH(uvisor) DPRINTF(("uvisor: in=0x%x out=0x%x\n", ucom->sc_bulkin_no, ucom->sc_bulkout_no)); ucom_attach(&sc->sc_ucom); + free(devinfo, M_USBDEV); USB_ATTACH_SUCCESS_RETURN; bad: DPRINTF(("uvisor_attach: ATTACH ERROR\n")); ucom->sc_dying = 1; + free(devinfo, M_USBDEV); USB_ATTACH_ERROR_RETURN; } --- sysdevusb.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:20:27 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AB7116A401 for ; Sat, 3 Feb 2007 16:20:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D9A9613C481 for ; Sat, 3 Feb 2007 16:20:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13GKQBw032547 for ; Sat, 3 Feb 2007 16:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13GKQMB032546; Sat, 3 Feb 2007 16:20:26 GMT (envelope-from gnats) Date: Sat, 3 Feb 2007 16:20:26 GMT Message-Id: <200702031620.l13GKQMB032546@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/108719: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:20:27 -0000 The following reply was made to PR usb/108719; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/108719: commit references a PR Date: Sat, 3 Feb 2007 16:19:45 +0000 (UTC) imp 2007-02-03 16:19:28 UTC FreeBSD src repository Modified files: sys/dev/usb uhub.c Log: Fix memory leak of devinfo. The leak itself was documented in PR/108719, but there's a simpler fix: free it after it is used, and then get rid of the redundant frees this causes. Other leaks in this PR not yet fixed. While I'm here, remove NetBSD/OpenBSD code and some of the portability #defines that were getting in the way of understanding this code. The devinfo bug was harder to spot because one needed to know that device_set_desc_copy() was used inside of one of them (one that didn't take an argument!). Prefer device_printf(sc->sc_dev, "...") to printf("%s:...", device_get_nameunit(sc->sc_dev)). This saves almost 300 bytes. PR: 108719 Submitted by: Antoine Brodin Revision Changes Path 1.73 +66 -122 src/sys/dev/usb/uhub.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:40:31 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60DB716A562 for ; Sat, 3 Feb 2007 16:40:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7F513C494 for ; Sat, 3 Feb 2007 16:40:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13GeLWw036204 for ; Sat, 3 Feb 2007 16:40:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13GeLZ5036203; Sat, 3 Feb 2007 16:40:21 GMT (envelope-from gnats) Date: Sat, 3 Feb 2007 16:40:21 GMT Message-Id: <200702031640.l13GeLZ5036203@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/108719: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:40:31 -0000 The following reply was made to PR usb/108719; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/108719: commit references a PR Date: Sat, 3 Feb 2007 16:34:02 +0000 (UTC) imp 2007-02-03 16:33:48 UTC FreeBSD src repository Modified files: sys/dev/usb uipaq.c Log: Fix non-use, but not memory leak, of devinfop. Set the device's description here. The fix in the PR isn't necessary at all for memory leaks, but we weren't setting the device description. While I'm here, remove some of the obfuscating macros in attach. PR: 108719 Revision Changes Path 1.2 +22 -39 src/sys/dev/usb/uipaq.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:40:35 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05A6C16A575 for ; Sat, 3 Feb 2007 16:40:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0D413C4BA for ; Sat, 3 Feb 2007 16:40:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13GeVUW036303 for ; Sat, 3 Feb 2007 16:40:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13GeUNB036298; Sat, 3 Feb 2007 16:40:30 GMT (envelope-from gnats) Date: Sat, 3 Feb 2007 16:40:30 GMT Message-Id: <200702031640.l13GeUNB036298@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/108719: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:40:35 -0000 The following reply was made to PR usb/108719; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/108719: commit references a PR Date: Sat, 3 Feb 2007 16:38:46 +0000 (UTC) imp 2007-02-03 16:38:33 UTC FreeBSD src repository Modified files: sys/dev/usb usb_subr.c Log: Fix possible memory leaks of devinfo. PR: 108719 Submitted by: Antoine Brodin Revision Changes Path 1.88 +2 -2 src/sys/dev/usb/usb_subr.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:43:38 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ABA1316A403; Sat, 3 Feb 2007 16:43:38 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 803AF13C461; Sat, 3 Feb 2007 16:43:38 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13Ghcg9036725; Sat, 3 Feb 2007 16:43:38 GMT (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13Ghc8i036721; Sat, 3 Feb 2007 09:43:38 -0700 (MST) (envelope-from imp) Date: Sat, 3 Feb 2007 09:43:38 -0700 (MST) From: Warner Losh Message-Id: <200702031643.l13Ghc8i036721@freefall.freebsd.org> To: antoine.brodin@laposte.net, imp@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/108719: [patch] Plug a few memory leaks in sys/dev/usb 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, 03 Feb 2007 16:43:38 -0000 Synopsis: [patch] Plug a few memory leaks in sys/dev/usb State-Changed-From-To: open->closed State-Changed-By: imp State-Changed-When: Sat Feb 3 09:43:17 MST 2007 State-Changed-Why: Fixed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=108719 From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:50:20 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E236316A403 for ; Sat, 3 Feb 2007 16:50:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 939F913C474 for ; Sat, 3 Feb 2007 16:50:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13GoKhm036832 for ; Sat, 3 Feb 2007 16:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13GoKZD036831; Sat, 3 Feb 2007 16:50:20 GMT (envelope-from gnats) Date: Sat, 3 Feb 2007 16:50:20 GMT Message-Id: <200702031650.l13GoKZD036831@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/108719: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:50:21 -0000 The following reply was made to PR usb/108719; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/108719: commit references a PR Date: Sat, 3 Feb 2007 16:42:12 +0000 (UTC) imp 2007-02-03 16:41:55 UTC FreeBSD src repository Modified files: sys/dev/usb uvisor.c Log: Fix memory leak of devinfop PR: 108719 Submitted by: Antoine Brodin Revision Changes Path 1.29 +1 -2 src/sys/dev/usb/uvisor.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 16:50:25 2007 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2930716A401 for ; Sat, 3 Feb 2007 16:50:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D469413C4B8 for ; Sat, 3 Feb 2007 16:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l13GoOCL036881 for ; Sat, 3 Feb 2007 16:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l13GoOZR036880; Sat, 3 Feb 2007 16:50:24 GMT (envelope-from gnats) Date: Sat, 3 Feb 2007 16:50:24 GMT Message-Id: <200702031650.l13GoOZR036880@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: fred Cc: Subject: Re: usb/107496: USB device problem on RELENG_6_2 (SHORT_XFER) (regression) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fred List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:50:25 -0000 The following reply was made to PR usb/107496; it has been noted by GNATS. From: fred To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/107496: USB device problem on RELENG_6_2 (SHORT_XFER) (regression) Date: Sat, 03 Feb 2007 17:27:36 +0100 Hi, I submit a followup because I wan to add some useful information concerning my problem. First of all, whith EHCI device disabled in kern conf, it works fine. Second, I have these problems with my two flash drives, Kingston & Corsair: Kingston DataTraveler: 0x08ec:0008 Corsair FlashVoyager: 0x067b:2515/2517 Third, I have testet HPS fix (http://groups.google.com/group/lucky.freebsd.hardware/browse_frm/thread/9a46031ab186cfa8/6237d337d9d7cb04#6237d337d9d7cb04) but it still fails. Now, the kernel messages (dmesg | grep -i usb) with USB_DEBUG option enabled. 1) original sources ohci0: mem 0xd9005000-0xd9005fff irq 21 at device 11.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 ohci1: mem 0xd9000000-0xd9000fff irq 22 at device 11.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 usbd_get_string: getting lang failed, using 0 ehci0: mem 0xd9001000-0xd90010ff irq 23 at device 11.2 on pci0 usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 usbd_transfer_cb: short transfer 0<8 usbd_new_device: addr=2, getting first desc failed uhub_explore: usb_new_device failed, error=SHORT_XFER 2) HPS sources ohci0: mem 0xd9005000-0xd9005fff irq 21 at device 11.0 on pci0 usb0: SMM does not respond, resetting usb0: on ohci0 ohci1: mem 0xd9000000-0xd9000fff irq 22 at device 11.1 on pci0 usb1: SMM does not respond, resetting usb1: on ohci1 ehci0: mem 0xd9001000-0xd90010ff irq 23 at device 11.2 on pci0 usb2: EHCI version 1.0 usb2: on ehci0 usb0: USB revision 1.0 usb1: USB revision 1.0 usb2: USB revision 2.0 usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=126! usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=126! usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=126! uhub_explore: usb_new_device failed, error=USBD_TIMEOUT uhub2: device problem (USBD_TIMEOUT), disabling port 6 I recall my hw here: mobo: nvidia P5ND2-SLI Deluxe, with nforce4 chipset (MPC04) uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 127 uhub0: 5 ports with 5 removable, self powered usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 127 uhub1: 5 ports with 5 removable, self powered usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 127 uhub2: 10 ports with 10 removable, self powered Thanks for any help ! Cheers, -- http://scipy.org/FredericPetit From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 17:15:37 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C895816A403 for ; Sat, 3 Feb 2007 17:15:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8D813C467 for ; Sat, 3 Feb 2007 17:15:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so987242wri for ; Sat, 03 Feb 2007 09:15:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VFhAAOJ0ra4uJbkqynuLqjCAQ88Yz64Jjy3yxBXzQqURQs1gavLFu86cSh8A2H23jTPdGOSMPMXMwyWIS1N3FbAQVYk0zkcW9Aw5YW3RMd2A7w/MZXFIPwdadNH+/8m5pjWXo+a+FAkZLsbgs6RVaTQHDFREqntE4kmuCXMJAjs= Received: by 10.114.75.1 with SMTP id x1mr472006waa.1170521410103; Sat, 03 Feb 2007 08:50:10 -0800 (PST) Received: by 10.115.91.7 with HTTP; Sat, 3 Feb 2007 08:50:09 -0800 (PST) Message-ID: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> Date: Sat, 3 Feb 2007 16:50:09 +0000 From: "Abdullah Ibn Hamad Al-Marri" To: "Luigi Rizzo" In-Reply-To: <20070130170443.A49225@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070130170443.A49225@xorpc.icir.org> Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 03 Feb 2007 17:15:37 -0000 On 1/31/07, Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. > > cheers > luigi Luigi, this is great move to have more hardware support for FreeBSD, and I wish we could port and use more linux drivers as well, for xorg and other things like CardReader for laptops ..etc, thank you for going to the right direction ;) I tried to compile it the ports since I have builtin webcam, and usb webcam but I got these msgs about my old usd stack. Aspire5102# make clean && make install ===> Cleaning for linux-kmod-compat-20070202 ===> linux-kmod-compat-20070202 is marked as broken: Requires a recent USB stack. you have 602000. *** Error code 1 Stop in /usr/ports/devel/linux-kmod-compat. I'm using FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #2: Sat Feb 3 16:14:33 UTC 2007 arabian@Aspire5102:/usr/obj/usr/src/sys/ARABIAN i386 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 17:40:16 2007 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB52116A403; Sat, 3 Feb 2007 17:40:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9307913C471; Sat, 3 Feb 2007 17:40:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l13HdSgb098441; Sat, 3 Feb 2007 10:39:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 03 Feb 2007 10:40:00 -0700 (MST) Message-Id: <20070203.104000.756908884.imp@bsdimp.com> To: almarrie@gmail.com From: "M. Warner Losh" In-Reply-To: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> References: <20070130170443.A49225@xorpc.icir.org> <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 03 Feb 2007 10:39:29 -0700 (MST) Cc: usb@freebsd.org, rizzo@icir.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) 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, 03 Feb 2007 17:40:17 -0000 In message: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> "Abdullah Ibn Hamad Al-Marri" writes: : and other things like CardReader for laptops ..etc, thank you for CardReader? What's that? SD/MMC support for laptops is on its way... Warner From owner-freebsd-usb@FreeBSD.ORG Sat Feb 3 17:32:07 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65DCA16A400 for ; Sat, 3 Feb 2007 17:32:07 +0000 (UTC) (envelope-from m_reglin@hotmail.com) Received: from bay0-omc2-s22.bay0.hotmail.com (bay0-omc2-s22.bay0.hotmail.com [65.54.246.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5053713C474 for ; Sat, 3 Feb 2007 17:32:07 +0000 (UTC) (envelope-from m_reglin@hotmail.com) Received: from hotmail.com ([65.54.224.18]) by bay0-omc2-s22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 3 Feb 2007 09:20:06 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 3 Feb 2007 09:20:06 -0800 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Sat, 03 Feb 2007 17:20:04 GMT X-Originating-IP: [207.118.221.140] X-Originating-Email: [m_reglin@hotmail.com] X-Sender: m_reglin@hotmail.com From: "Mark Reglin" To: freebsd-usb@freebsd.org Date: Sat, 03 Feb 2007 17:20:04 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Feb 2007 17:20:06.0555 (UTC) FILETIME=[8C8656B0:01C747B7] X-Mailman-Approved-At: Sat, 03 Feb 2007 19:12:05 +0000 Subject: Motorola A41x/V32x driver? 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, 03 Feb 2007 17:32:07 -0000 hey i was wondering if you could send me the Motorola A41x/V32x driver. if not thats ok, but if you can that would be awsome thanks. _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://get.live.com/messenger/overview