Wireless LAN SDIO card - Wrong SDIO driver loaded [i.MX31]
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wireless LAN SDIO card - Wrong SDIO driver loaded [i.MX31]
Hi,
I try to run a WLAN module which is connected via SDIO to my i.MX31 Phytec evaluation board. I'm running Linux (PTXDist) with Kernel 2.6.19.2.
To build the WLAN-SDIO kernel modules I use Linux Sourcecode which is provided from the manufacturer.
I can build all the kernelmodules without errors and I can load all the kernelmodules with insmod on my target, see below :
Also, the necessary Firmware which is loaded by the WLAN module after startup is at the right place.
Calling dmesg after loading the modules, I get the following messages:
sdio: SDIO driver (sdioemb) v9 25 Aug 2008 13:39:44
Wlan Module SDIO Driver: vx.y (build:z) Aug 25 2008 13:39:55
Wlan: Using embedded SDIO driver
sdio: registered Wlan driver
So for my understanding everything is working correct.
But when I insert the WLAN-SDIO module into the SD-Card slot the Wlan SDIO Driver is not loaded and, of course, there is no wireless LAN functionality.
The only debug messages I see are the following:
mmc_setup - SDIO card supports 1 I/O functions
mmc0: host dies not support read-only switch. assuming write-enable.
On the same SD card slot normal SD-Cards work perfect.
What additional steps do I have to do to get the WLAN driver loaded after plugging in the WLAN-SDIO module in the SD-Card slot?
Is there an identical mechanism like the USB hotplug mechanism, or how do I tell my linux system that it should load the WLAN SDIO driver?
I also did activate the MMC debug outputs to see if my WLAN SDIO module is defect, but the card is communicating with my linux system.
So I thinks its a problem of using the right driver for the connected module.
Here some constraints:
Distribution : PTXDist 0.10.6
Kernel : 2.6.19.2
CPU : ARM 11, i.MX31
Are there any suggestions how to solve this issue?
Perhaps you should plug in the SDIO card and then load the driver? Otherwise, how is the driver meant to put the firmware onto the card? You can test that bit by using 'rmmod' or 'modprobe -r' to remove the drivers, then lead them again. It's really impossible to tell what the problem is without looking at the driver source; some drivers may be more intelligent and test for a firmware then upload if there is none.
I try to run a WLAN module which is connected via SDIO to my i.MX31 Phytec evaluation board. I'm running Linux (PTXDist) with Kernel 2.6.19.2.
To build the WLAN-SDIO kernel modules I use Linux Sourcecode which is provided from the manufacturer.
I can build all the kernelmodules without errors and I can load all the kernelmodules with insmod on my target, see below :
Also, the necessary Firmware which is loaded by the WLAN module after startup is at the right place.
Calling dmesg after loading the modules, I get the following messages:
sdio: SDIO driver (sdioemb) v9 25 Aug 2008 13:39:44
Wlan Module SDIO Driver: vx.y (build:z) Aug 25 2008 13:39:55
Wlan: Using embedded SDIO driver
sdio: registered Wlan driver
So for my understanding everything is working correct.
But when I insert the WLAN-SDIO module into the SD-Card slot the Wlan SDIO Driver is not loaded and, of course, there is no wireless LAN functionality.
The only debug messages I see are the following:
mmc_setup - SDIO card supports 1 I/O functions
mmc0: host dies not support read-only switch. assuming write-enable.
On the same SD card slot normal SD-Cards work perfect.
What additional steps do I have to do to get the WLAN driver loaded after plugging in the WLAN-SDIO module in the SD-Card slot?
Is there an identical mechanism like the USB hotplug mechanism, or how do I tell my linux system that it should load the WLAN SDIO driver?
I also did activate the MMC debug outputs to see if my WLAN SDIO module is defect, but the card is communicating with my linux system.
So I thinks its a problem of using the right driver for the connected module.
Here some constraints:
Distribution : PTXDist 0.10.6
Kernel : 2.6.19.2
CPU : ARM 11, i.MX31
Are there any suggestions how to solve this issue?
Thanks in advance,
Robert
hi Robert
Please Roberts,can yopu tell me how do you load the driver of the SDIO wifi card or how do you developp the way to make the host able to detect wifi using the SDIO wifi card as an interface.
i hope that you understand my question because i nead really someone help me.
thanks in advance
best regards
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.