From: Tim Gardner <tim.gardner@canonical.com>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>,
Michael Buesch <mb@bu3sch.de>,
linux-wireless@vger.kernel.org, Jiri Slaby <jirislaby@gmail.com>
Subject: Re: ath5k and network manager
Date: Thu, 20 Sep 2007 09:42:59 -0600 [thread overview]
Message-ID: <46F29503.9050003@canonical.com> (raw)
In-Reply-To: <43e72e890709200838j48d460a3pa72cce9c90d15b13@mail.gmail.com>
Luis R. Rodriguez wrote:
> On 9/20/07, Stephen Hemminger <shemminger@linux-foundation.org> wrote:
>> On Thu, 20 Sep 2007 11:34:29 -0400
>> "Luis R. Rodriguez" <mcgrof@gmail.com> wrote:
>>
>>> On 9/20/07, Stephen Hemminger <shemminger@linux-foundation.org> wrote:
>>>> On Thu, 20 Sep 2007 15:11:23 +0200
>>>> Michael Buesch <mb@bu3sch.de> wrote:
>>>>
>>>>> On Thursday 20 September 2007, Luis R. Rodriguez wrote:
>>>>>> On 9/20/07, Stephen Hemminger <shemminger@linux-foundation.org> 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
next prev parent reply other threads:[~2007-09-20 16:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 4:40 ath5k and network manager Stephen Hemminger
2007-09-20 12:55 ` Luis R. Rodriguez
2007-09-20 13:11 ` Michael Buesch
2007-09-20 15:30 ` Stephen Hemminger
2007-09-20 15:34 ` Luis R. Rodriguez
2007-09-20 15:35 ` Stephen Hemminger
2007-09-20 15:38 ` Luis R. Rodriguez
2007-09-20 15:42 ` Tim Gardner [this message]
2007-09-20 15:50 ` Faidon Liambotis
2007-09-25 18:27 ` Dan Williams
2007-09-25 19:03 ` Stephen Hemminger
2007-09-20 15:51 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F29503.9050003@canonical.com \
--to=tim.gardner@canonical.com \
--cc=jirislaby@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mb@bu3sch.de \
--cc=mcgrof@gmail.com \
--cc=shemminger@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).