Return-path: Received: from mail.tpi.com ([198.107.51.143]:1957 "EHLO mail.tpi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756599AbXITQOo (ORCPT ); Thu, 20 Sep 2007 12:14:44 -0400 Message-ID: <46F29503.9050003@canonical.com> Date: Thu, 20 Sep 2007 09:42:59 -0600 From: Tim Gardner MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: Stephen Hemminger , Michael Buesch , linux-wireless@vger.kernel.org, Jiri Slaby Subject: Re: ath5k and network manager References: <20070919214007.1a6a9b4a@freepuppy.rosehill> <43e72e890709200555r779aaa50i6bb8ab90195686bc@mail.gmail.com> <200709201511.23400.mb@bu3sch.de> <20070920083056.31f231b9@freepuppy.rosehill> <43e72e890709200834xc6947f5g50a6cf0c5bd4d971@mail.gmail.com> <20070920083514.4a4f1b3f@freepuppy.rosehill> <43e72e890709200838j48d460a3pa72cce9c90d15b13@mail.gmail.com> In-Reply-To: <43e72e890709200838j48d460a3pa72cce9c90d15b13@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Luis R. Rodriguez wrote: > On 9/20/07, Stephen Hemminger wrote: >> On Thu, 20 Sep 2007 11:34:29 -0400 >> "Luis R. Rodriguez" wrote: >> >>> On 9/20/07, Stephen Hemminger wrote: >>>> On Thu, 20 Sep 2007 15:11:23 +0200 >>>> Michael Buesch wrote: >>>> >>>>> On Thursday 20 September 2007, Luis R. Rodriguez wrote: >>>>>> On 9/20/07, Stephen Hemminger wrote: >>>>>>> Network manager doesn't seem to detect ath5k. Perhaps it is because >>>>>>> it is name "ath0". I think device should follow the convention of using >>>>>>> name "wifi0" rather than BSD convention of putting driver name in device name. >>>>>> I couldn't agree anymore. But my ath5k kicks out a wlan%d name as with >>>>>> any other mac80211 driver. Is yours coming out to ath%d ? >>>>>> >>>>>> ieee80211_register_hw(): >>>>>> >>>>>> /* add one default STA interface */ >>>>>> result = ieee80211_if_add(local->mdev, "wlan%d", NULL, >>>>>> IEEE80211_IF_TYPE_STA); >>>>>> >>>>> >>>>> Probably udev renames it. >>>> It was udev, don't know why Ubuntu was adding a rule for it (and getting wrong) >>>> value. >>>> >>> CC' TIm >>> >>> Was it a rule by PCI ID? If so then perhaps its based on the old >>> madwifi rules of sticking to ath%d notation as well. This can be >>> removed for ath5k but not too sure how this works. >>> >> It was by PCI ID > > Then I guess that rule should be removed from udev because of ath5k, > if we let the driver pick the name then we'd get ath%d for madwifi > driver and wlan%d for ath5k. Would help with troubleshooting too. Tim? > :-) > > Luis Keeping the names unique makes sense to me, especially in the case where both drivers are present in the distro, as will likely be the case until ath5k fully matures. I'll research the udev rule... rtg -- Tim Gardner tim.gardner@ubuntu.com