From owner-freebsd-stable@FreeBSD.ORG Fri Feb 25 20:54:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F41FA106566C for ; Fri, 25 Feb 2011 20:54:06 +0000 (UTC) (envelope-from icke@2egos.de) Received: from nm16.bullet.mail.ukl.yahoo.com (nm16.bullet.mail.ukl.yahoo.com [217.146.183.190]) by mx1.freebsd.org (Postfix) with SMTP id 842068FC16 for ; Fri, 25 Feb 2011 20:54:06 +0000 (UTC) Received: from [217.146.183.180] by nm16.bullet.mail.ukl.yahoo.com with NNFMP; 25 Feb 2011 20:54:05 -0000 Received: from [217.146.183.174] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 25 Feb 2011 20:54:01 -0000 Received: from [127.0.0.1] by omp1015.mail.ukl.yahoo.com with NNFMP; 25 Feb 2011 20:54:01 -0000 X-Yahoo-Newman-Id: 199743.40778.bm@omp1015.mail.ukl.yahoo.com Received: (qmail 15522 invoked from network); 25 Feb 2011 20:54:01 -0000 Received: from mehl.local (icke@188.192.9.84 with login) by smtp120.mail.ukl.yahoo.com with SMTP; 25 Feb 2011 20:54:00 +0000 GMT X-Yahoo-SMTP: hSYVlr.swBA8ndWK7fpfKkYtvaERpjIpVj06O183j5_nKSjn X-YMail-OSG: gSux404VM1l20e6H6m0bS33ASv_NKMlxWLHJtBH2eNtZ9.M BqucD_x.lf6MXlPwDdWXYFx9EVUGTQ1_vj3w8BWpjfWHf_bEbo4Vcix7Jbwj qrFpYQxX0Fzcd6n0paieq_JtMk7cWkH6Xp2BfGu1nnuZ90G7YpBQoDTz.u2G Rnd9.qzijFW0.nUguC2axc8HeWqVsVU0WVq7TiwfmvuArbbRRUXRwB4w3E2N IJdH_DW4U2ODyYYrGKpffNYoWhtCJqtBgrsGAdAN5PDMrRzn_lsojvzQapV3 HjFGTqRXJWp6I81Uia69xNrU8N07JClLk0kwwPWiQbQ-- X-Yahoo-Newman-Property: ymail-3 Received: from eddy.local (unknown [192.168.0.102]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mehl.local (Postfix) with ESMTPSA id E699A8FC0B0; Fri, 25 Feb 2011 21:53:52 +0000 (UTC) Message-ID: <4D6816E2.2020700@2egos.de> Date: Fri, 25 Feb 2011 21:53:54 +0100 From: joseph User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.13) Gecko/20110222 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: erob@gthcfoundation.org References: <4D66C4CB.1060207@2egos.de> <201102251218.12664.bschmidt@freebsd.org> <4D6796C0.6040402@gthcfoundation.org> <201102251331.37589.bschmidt@freebsd.org> <4D68082E.30207@gthcfoundation.org> In-Reply-To: <4D68082E.30207@gthcfoundation.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, bschmidt@freebsd.org Subject: Re: urtw0: could not allocate USB transfers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 20:54:07 -0000 0n 25.02.2011 8:51 PM, Etienne Robillard wrote: > On 25/02/11 07:31 AM, Bernhard Schmidt wrote: >> On Friday, February 25, 2011 12:47:12 Etienne Robillard wrote: >> >>> On 25/02/11 06:18 AM, Bernhard Schmidt wrote: >>> >>>> On Friday, February 25, 2011 11:03:04 Etienne Robillard wrote: >>>> >>>> >>>>> On 25/02/11 04:11 AM, Bernhard Schmidt wrote: >>>>> >>>>> >>>>>> On Thursday, February 24, 2011 21:51:23 joseph wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> i decided to get my laptop wlan via usb because my internal device isn't >>>>>>> supported yet. >>>>>>> The usb device is a logilink WL0006 unit its vendorid is 0x0bda and the >>>>>>> productid says 0x8187. >>>>>>> My search results say that this device depends on a RTL8187 chipset. >>>>>>> I tried both, load the kernel module at boot time and compile kernel >>>>>>> withe urtw, but i get the same output at dmesg >>>>>>> >>>>>>> device_attach: urtw0 attach returned 6 >>>>>>> urtw0: >>>>>>> on usbus3 >>>>>>> urtw0: could not allocate USB transfers, err=USB_ERR_NO_PIPE >>>>>>> device_attach: urtw0 attach returned 6 >>>>>>> >>>>>>> im running FreeBSD 8.1-RELEASE-p2 amd64. >>>>>>> >>>>>>> What might be the reason for this error? >>>>>>> Thanks for all hints. >>>>>>> >>>>>>> >>>>>>> >>>>>> Well, I have no clue about USB.. but this smells like one of the >>>>>> endpoints is 'not there'. At least I can't find any reference to >>>>>> it in the Linux driver. Wanna give attached patch a shot? >>>>>> >>>>>> >>>>>> >>>>> Hi Bernard, >>>>> >>>>> For rt287x based cards, you can try using rt28700 chipset instead of >>>>> urtw0 on >>>>> FreeBSD 8. >>>>> >>>>> The former is not in the stable src tree, but could be retrieved from here: >>>>> >>>>> https://gthc.org/distfiles/freebsd/rt2870_fbsd8.tar.gz >>>>> >>>>> Any takers to make module rt28700 (if_rt2870) officially part of the >>>>> FreeBSD src tree? >>>>> >>>>> >>>> I'm a bit confused now, shouldn't the rt2870 be supported by run(4)? On >>>> a site-note, this is Ralink chipset not a Realtek one. >>>> >>>> >>>> >>> I believe this is a different implementation for RT8187 usb network >>> adapters than >>> run(4). However in my view I found urtw0 buggy, but would certainly take >>> a look at run(4) to >>> compare the results with wireless networking agaisnt the other driver >>> (rt28700). >>> >> Yeah, urtw(4) has a few flaws.. >> >> - urtw(4): Realtek RTL8187B/RTL8187L >> - rum(4): Ralink RT2501/RT2601 >> - run(4): Ralink RT2700/RT2800/RT3000 >> >> So it seems the driver you've posted conflicts with run(4). From a >> quick glance at it, it seems to support 11n? If so, can I talk you >> into working on getting those bits merged? >> Thanks! >> >> -- >> Bernhard >> _______________________________________________ >> > Thanks but I'm not sure I'd be helpful there as I have very moderate > knowledge > in USB and Wifi programming... Also why is "l1n" a important feature > missing from the rt2870 driver ? I achieved very good rates with this card > without it :) > > Etienne > Thanks for your fast answers! I tryed your suggestions but only the urtw driver shows interrest in my usb wlan device. The patched urtw still gives the same error massage. Could a update to 8.2 fix this issue? joseph