Batteries included
Post Reply
latency
Posts: 5
Joined: Thu Dec 27, 2012 9:33 pm

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

Post by latency » Thu Dec 27, 2012 10:00 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)

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Thu Dec 27, 2012 10:04 pm

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: Thu Dec 27, 2012 9:33 pm

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

Post by latency » Thu Dec 27, 2012 10:42 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?

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Thu Dec 27, 2012 10:49 pm

Yes, that's the important bit. Excellent!

Let me see what I can find.

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Thu Dec 27, 2012 10:56 pm

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

latency
Posts: 5
Joined: Thu Dec 27, 2012 9:33 pm

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

Post by latency » Thu Dec 27, 2012 11:05 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

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Thu Dec 27, 2012 11:06 pm

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: Thu Dec 27, 2012 9:33 pm

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

Post by latency » Thu Dec 27, 2012 11:23 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?

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Thu Dec 27, 2012 11:40 pm

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: Thu Dec 27, 2012 9:33 pm

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

Post by latency » Thu Dec 27, 2012 11:56 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

dpunto
Posts: 6
Joined: Sun Dec 16, 2012 6:09 pm

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

Post by dpunto » Sun Dec 30, 2012 3:50 am

dpunto wrote:Nothing not luck ...


Image

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

pilayo
Posts: 1
Joined: Tue Jan 01, 2013 10:23 pm

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

Post by pilayo » Tue Jan 01, 2013 10:34 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!!!!

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Tue Jan 01, 2013 10:57 pm

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: Tue Dec 11, 2012 1:12 pm

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

Post by nassus » Wed Jan 09, 2013 1:43 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.

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

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

Post by Josh » Wed Jan 09, 2013 3:21 pm

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