Author Message

<  The PPP Widget Family for Android  ~  Driver Modules (obsolete with PPP Widget 2 and 3)

PostPosted: Thu Dec 27, 2012 10:00 pm Reply with quote
Posts: 5 Joined: Thu Dec 27, 2012 9:33 pm
I obviously suck at using the terminal. As you can see the files are in place, but I can't run usb_wwan.ko.
What am I doping wrong? I`m Nexus 10 btw.

255|u0_a106@android:/sdcard/pppwidget/lib # ls
cdc-acm.ko
option.ko
ppp_async.ko
usb_wwan.ko
usbserial.ko
u0_a106@android:/sdcard/pppwidget/lib # insmod usb_wwan.ko
insmod: init_module 'usb_wwan.ko' failed (No such file or directory)


Offline
PostPosted: Thu Dec 27, 2012 10:04 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
No worries, I have seen that too. The error is not quite logical.

Can you run "dmesg" immediately after the command you are trying?
There is probably a more specific insmod message at the bottom of the output.


Offline
PostPosted: Thu Dec 27, 2012 10:42 pm Reply with quote
Posts: 5 Joined: Thu Dec 27, 2012 9:33 pm
Here's the last line of the giant output:
<4>[13579.256417] usb_wwan: Unknown symbol usb_serial_port_softint (err 0)

Or maybe you need to see more of it?


Offline
PostPosted: Thu Dec 27, 2012 10:49 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
Yes, that's the important bit. Excellent!

Let me see what I can find.


Offline
PostPosted: Thu Dec 27, 2012 10:56 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
Oh, and I need your exact kernel name (see "About Tablet" or "About Device" in the main setup menu).


Offline
PostPosted: Thu Dec 27, 2012 11:05 pm Reply with quote
Posts: 5 Joined: Thu Dec 27, 2012 9:33 pm
Josh wrote:
Oh, and I need your exact kernel name (see "About Tablet" or "About Device" in the main setup menu).

3.4.5-g4e6298b


Offline
PostPosted: Thu Dec 27, 2012 11:06 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
O.K., I see that the modules provided are matching your kernel.

Here is a possible solution:

The "usb_serial_port_softint" symbol (it's actually a data structure) is provided by the "usbserial" module.

So what you have to do when manually loading modules is to observe the right order. If a driver is already active (compiled into the kernel or the module loaded already) any errors can be ignored.

The order is this:
1. usbserial
2. usb_wwan
3. option

ppp_async has no further dependencies and can be loaded anytime.


Offline
PostPosted: Thu Dec 27, 2012 11:23 pm Reply with quote
Posts: 5 Joined: Thu Dec 27, 2012 9:33 pm
Firstly, thanks for taking the time Josh.
Running them in the order you suggested generates this:
u0_a106@android:/sdcard/pppwidget/lib # insmod usbserial.ko
u0_a106@android:/sdcard/pppwidget/lib # insmod usb_wwan.ko
u0_a106@android:/sdcard/pppwidget/lib # insmod option.ko
u0_a106@android:/sdcard/pppwidget/lib # insmod ppp_async.ko

What about cdc-acm.ko? I don't have to run that?

EDIT:
Tried pppwidget now and managed to connect! 8) Thanks!
Do I have to load the modules in the terminal every time I want to use pppwidget?


Offline
PostPosted: Thu Dec 27, 2012 11:40 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
Re. cdc_acm:

This is for different devices providing ttyACM ports. If the other modules work, this one will too - but you won't need it for your modem. Phones often provide this other sort of ports.

Re. module loading:

PPP Widget will load the modules automatically every time. Once you make sure they can be loaded without error, you should not have to take any further care.


Offline
PostPosted: Thu Dec 27, 2012 11:56 pm Reply with quote
Posts: 5 Joined: Thu Dec 27, 2012 9:33 pm
Josh wrote:
Re. cdc_acm:

This is for different devices providing ttyACM ports. If the other modules work, this one will too - but you won't need it for your modem. Phones often provide this other sort of ports.

Re. module loading:

PPP Widget will load the modules automatically every time. Once you make sure they can be loaded without error, you should not have to take any further care.

Then I'm a happy camper! :D


Offline
PostPosted: Sun Dec 30, 2012 3:50 am Reply with quote
Posts: 6 Joined: Sun Dec 16, 2012 6:09 pm
dpunto wrote:
Nothing not luck ...


Image



I autocito ...
Not been operated could help me thanks ...


Offline
PostPosted: Tue Jan 01, 2013 10:34 pm Reply with quote
Posts: 1 Joined: Tue Jan 01, 2013 10:23 pm
Hi!!!!!

First of all congrats...an absolutely incredible work!!!!

I've tried to make it work with the ones attached in my N10 but I can't and I think that is because I don't have the stock kernel.

Device : nexus 10
Modem USB: 12d1:1520 ( huawei technology)
Kernel name: 3.4.24-KTManta-gd1b316e

Thanks a lot!!!!


Offline
PostPosted: Tue Jan 01, 2013 10:57 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
Sorry, no modules for custom kernels here.

I suggest you ask the developer of your kernel, it should not be hard for him/her to provide the additional modules.


Offline
PostPosted: Wed Jan 09, 2013 1:43 pm Reply with quote
Posts: 10 Joined: Tue Dec 11, 2012 1:12 pm
Hello Josh,

I just updated my SG3 to Jelly Bean and of course the drivers are no longer ok. My new kernel version is 3.0.31-566833 build: JZO54K.I9300XXELL4, baseband version: I9300XXELKB, android version: 4.1.2

Can you please help me once again with the right drivers?

Thanks.


Offline
PostPosted: Wed Jan 09, 2013 3:21 pm Reply with quote
Site Admin Posts: 6436 Joined: Sat Nov 03, 2007 12:30 am
I'm afraid this is a problem.

Have one more look at the top post, and possibly at this thread:
viewtopic.php?p=8122#p8122


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 5 of 9
126 posts
Go to page   Previous 13 4 5 6 79 Next
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum