Batteries included
Post Reply
latency
Posts: 5
Joined: 27 Dec 2012, 21:33

Re: Driver Modules (for victims of the "No driver found" iss

Post by latency » 27 Dec 2012, 22:00

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)

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 27 Dec 2012, 22:04

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.

latency
Posts: 5
Joined: 27 Dec 2012, 21:33

Re: Driver Modules (for victims of the "No driver found" iss

Post by latency » 27 Dec 2012, 22:42

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?

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 27 Dec 2012, 22:49

Yes, that's the important bit. Excellent!

Let me see what I can find.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 27 Dec 2012, 22:56

Oh, and I need your exact kernel name (see "About Tablet" or "About Device" in the main setup menu).

latency
Posts: 5
Joined: 27 Dec 2012, 21:33

Re: Driver Modules (for victims of the "No driver found" iss

Post by latency » 27 Dec 2012, 23:05

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

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 27 Dec 2012, 23:06

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.

latency
Posts: 5
Joined: 27 Dec 2012, 21:33

Re: Driver Modules (for victims of the "No driver found" iss

Post by latency » 27 Dec 2012, 23:23

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?

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 27 Dec 2012, 23:40

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.

latency
Posts: 5
Joined: 27 Dec 2012, 21:33

Re: Driver Modules (for victims of the "No driver found" iss

Post by latency » 27 Dec 2012, 23:56

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

dpunto
Posts: 6
Joined: 16 Dec 2012, 18:09

Re: Driver Modules (for victims of the "No driver found" iss

Post by dpunto » 30 Dec 2012, 03:50

dpunto wrote:Nothing not luck ...


Image

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

pilayo
Posts: 1
Joined: 01 Jan 2013, 22:23

Re: Driver Modules (for victims of the "No driver found" iss

Post by pilayo » 01 Jan 2013, 22:34

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!!!!

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 01 Jan 2013, 22:57

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.

nassus
Posts: 10
Joined: 11 Dec 2012, 13:12

Re: Driver Modules (for victims of the "No driver found" iss

Post by nassus » 09 Jan 2013, 13:43

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.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Driver Modules (for victims of the "No driver found" iss

Post by Josh » 09 Jan 2013, 15:21

I'm afraid this is a problem.

Have one more look at the top post, and possibly at this thread:
http://www.draisberghof.de/usb_modeswit ... 8122#p8122

Post Reply