New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ba114
Old
#1  
Member - OP
Thanks Meter 11
Posts: 52
Join Date: Mar 2012
Default Wireless dongle Driver compilation

as per a request by potissimus, i have some drivers i was hoping someone could compile for me.

The drivers are for USB-wireless 3g adapters that I'm trying to get working on the Touchpad through ICS (cm9).

Thanks
Attached Files
File Type: c sierra.c - [Click for QR Code] (40.2 KB, 17 views)
File Type: c sierra_net.c - [Click for QR Code] (31.2 KB, 12 views)
 
ba114
Old
#2  
Member - OP
Thanks Meter 11
Posts: 52
Join Date: Mar 2012
can anyone assist?
 
ba114
Old
#3  
Member - OP
Thanks Meter 11
Posts: 52
Join Date: Mar 2012
So i've spent the last few days playing with building from CM9 from source and the kernel too.

I've managed to compile both successfully or so it seems.

upon pushing them to the touchpad and attempting to insmod, i get the error "Device or resource busy"

i have done a power off/reboot and hasnt had any effect. I cant find any other information to explain why it wont let me load them now.

i performed a modinfo check on both sierra.ko and sierra_net.ko, and received these details back:
description: USB Driver for Sierra Wireless USB modems
author: Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer
srcversion: C58D9EB6D295B757AA65F22
depends:
vermagic: 2.6.35-palm-tenderloin SMP preempt mod_unload ARMv7
parm: nmea:NMEA streaming (bool)
parm: debugebug messages (bool)

i checked this against the included cifs.ko that is standard in the CM9 build and got:

version: 1.64
description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
license: GPL
author: Steve French <sfrench@us.ibm.com>
srcversion: 3E08663B86EDD76112AB79C
depends:
vermagic: 2.6.35-palm-tenderloin SMP preempt mod_unload ARMv7
parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)
parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)

so it looks to have compiled correctly and against the correct kernel version.

I've attached the 2 .ko files. hopefully someone may be able to see what is going on there.
Attached Files
File Type: zip sierrabuilt.zip - [Click for QR Code] (21.0 KB, 21 views)
 
MikeyCriggz
Old
#4  
MikeyCriggz's Avatar
Recognized Contributor
Thanks Meter 1114
Posts: 1,265
Join Date: Dec 2010
Location: Liberty, NY

 
DONATE TO ME
The dongle will not function properly without an OTG Y-cable connection to AC. Unfortunately, our microUSB ports cannot generate enough power to feed USB devices properly without it.

Sent from my Galaxy Nexus using Tapatalk 2
AOSPAL
(CO-LEAD DEVELOPER)



FOLLOW ME
The Following User Says Thank You to MikeyCriggz For This Useful Post: [ Click to Expand ]
 
soneracar
Old
#5  
soneracar's Avatar
Senior Member
Thanks Meter 17
Posts: 161
Join Date: Feb 2010
Location: Jacksonville, fl
Hope someone helps this guy out

Sent from my cm_tenderloin using XDA
 
ba114
Old
#6  
Member - OP
Thanks Meter 11
Posts: 52
Join Date: Mar 2012
Quote:
Originally Posted by MikeyCriggz View Post
The dongle will not function properly without an OTG Y-cable connection to AC. Unfortunately, our microUSB ports cannot generate enough power to feed USB devices properly without it.

Sent from my Galaxy Nexus using Tapatalk 2
I am aware that the touchpad will not generate power for the dongle, hence why i would be using OTG & Y cables. i should have mentioned that.

I have had no luck with this, and with my limited knowledge cannot take it any further. I should note however that i have begun researching building the kernel from source and there appears to be some form of sierra driver embedded or available, however may not be compiled in the CM9 kernel. If anyone has any idea of how to "activate" additional drivers available in the source that'd be greatly appreciated.
 
menthe
Old
#7  
Junior Member
Thanks Meter 32
Posts: 7
Join Date: Oct 2009
Hi,

Have you tried to manualy "power on" your dongle interface?
You can do this with this command line on your terminal emulator :

Code:
ip link set "interface_name" up
 
omegfa
Old
#8  
omegfa's Avatar
Member
Thanks Meter 2
Posts: 48
Join Date: Oct 2010
please put a guide with full advanced

thanks


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more