All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Allan Matthew <amatthew@3drobotics.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: udev for two wireless lan devices
Date: Tue, 14 Jul 2015 17:52:38 -0700	[thread overview]
Message-ID: <CAPHXWesopEfzygbC8-Wn6qRisSUe=WkhKZaT3+wM1FvnHXFNSw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

I have two wireless cards connected to my i.MX6.  One via USB and one via
PCIe.  Both work just fine, but the way they are enumerated at bootup seems
completely random.  They always get wlan0 or wlan1, but its never
consistent which one gets which.

I've tried adding some udev rules that specify the name based on the MAC
address, but they didn't seem to work.

How do I go about ensuring that the PCI device always gets wlan0 and the
USB device always gets wlan1?

[-- Attachment #2: Type: text/html, Size: 626 bytes --]

             reply	other threads:[~2015-07-15  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-15  0:52 Allan Matthew [this message]
2015-07-16 13:33 ` udev for two wireless lan devices Otavio Salvador

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='CAPHXWesopEfzygbC8-Wn6qRisSUe=WkhKZaT3+wM1FvnHXFNSw@mail.gmail.com' \
    --to=amatthew@3drobotics.com \
    --cc=meta-freescale@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.