linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: CHAUMETTE Hubert <hchaumette@adeneo-embedded.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: wl1271 driver on Linux 3.10 for SabreSD
Date: Wed, 08 Oct 2014 13:41:54 -0500	[thread overview]
Message-ID: <1412793714.13755.44.camel@dcbw.local> (raw)
In-Reply-To: <1412790745.13755.15.camel@dcbw.local>

On Wed, 2014-10-08 at 12:52 -0500, Dan Williams wrote:
> On Wed, 2014-10-08 at 15:37 +0200, CHAUMETTE Hubert wrote:
> > Hi all,
> > 
> > I need to activate the wl12xx driver (from drivers/net/wireless/ti/) on a (Android) Linux 3.10.31 kernel on an i.MX6Q SabreSD board. The wl1271 is to communicate with the board through an SDIO interface (SD2 on the board).
> > 
> > I have built the driver modules (cfg80211 and mac80211; wlcore, wlcore_sdio and wl12xx), and insmod'ed them. They are listed by lsmod :
> > wlcore_sdio 3820 0 - Live 0x00000000
> > wl12xx 51103 0 - Live 0x00000000
> > wlcore 161008 1 wl12xx, Live 0x00000000
> > mac80211 253798 2 wl12xx,wlcore, Live 0x00000000
> > cfg80211 201451 2 wlcore,mac80211, Live 0x00000000
> > 
> > dmesg shows only a message from cfg80211 (no errors for other modules, when insmod'ed in the right order) :
> > cfg80211: Calling CRDA to update world regulatory domain
> 
> Does the SDHCI driver recognize the device?  You should see something
> like this in 'dmesg':
> 
> [78504.888006] sdhci-pci 0000:44:06.1: Will use DMA mode even though HW
> doesn't fully claim to support it.
> [78536.520725] mmc0: new SDIO card at address 0001
> [78536.540309] libertas_sdio: Libertas SDIO driver
> [78536.540313] libertas_sdio: Copyright Pierre Ossman
> 
> If you don't see "mmc0: new SDIO card..." somewhere, then the wl1271
> driver isn't even involved and you need to find out why the SD/MMC layer
> can't even see the card.
> 
> Once you've got it to the point of the SD/MMC stack finding the driver,

I meant "finding the card" here, not "driver".

> find out the VID/PID of the card (it'll be somewhere
> in /sys/bus/sdio/devices/), and make sure that matches what's in the
> wl1271 SDIO driver (VID 0x0097 PID 0x4076).  If your device doesn't
> match that, add it to wlcore/sdio.c's wl1271_devices array.
> 
> Dan
> 
> > 1) Can I use /sys/modules/{wlcore,wlcore_sdio,wl12xx}/ to test it ?
> > 2) The board uses the device tree to enumerate platform devices. To correctly activate the driver, do I need to add it to the board DT (and a binding to the driver) ?
> > 3) The driver is supposed to use a firmware (according to http://wireless.kernel.org/en/users/Drivers/wl12xx), how do I know whether it found it (no kernel log message) (I've put the firmware in /system/etc/firmware/) ?
> > 
> > Thanks in advance.
> > Regards,
> > 
> > Hubert
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



      reply	other threads:[~2014-10-08 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <873295702.4716275.1412775389466.JavaMail.zimbra@adeneo-embedded.com>
2014-10-08 13:37 ` wl1271 driver on Linux 3.10 for SabreSD CHAUMETTE Hubert
2014-10-08 17:52   ` Dan Williams
2014-10-08 18:41     ` Dan Williams [this message]

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=1412793714.13755.44.camel@dcbw.local \
    --to=dcbw@redhat.com \
    --cc=hchaumette@adeneo-embedded.com \
    --cc=linux-wireless@vger.kernel.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).