Page 4 of 4
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 04 Jan 2013, 12:34
by prabuddhadg
Sorry Josh. No Driver Found.
Hats off to your patience.

Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 05 Jan 2013, 15:30
by Josh
prabuddhadg wrote:Hats off to your patience.

PPP Widget would not exist without that bit of patience ...
And here is one more. I extracted the kernel from your official firmware (downloaded). Then I extracted the module versions from the kernel to a file and managed to compile the modules
solo to match the values in that file. Now the "module_layout" of the new modules is identical to the modules that you provided from your device.
Below is the new package.
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 07 Jan 2013, 09:05
by prabuddhadg
Sorry to disappoint you again, Josh.
EDIT:
Josh, this time the insmod command seems to get a different error. It says No such file or directory.
Here is the dmesg report
u0_a165@android:/ $ su
u0_a165@android:/ # cd sdcard/pppwidget/lib
b_wwan.ko <
insmod: init_module 'usb_wwan.ko' failed (No such file or directory)
255|u0_a165@android:/sdcard/pppwidget/lib # dmesg
] C1 [ kswapd0] PVR: ShrinkPagePool: Pages in pool after scan: 2054
<6>[ 445.894500] C1 [ kswapd0] PVR: ShrinkPagePool: Number to scan: 128
<6>[ 445.894500] C1 [ kswapd0] PVR: ShrinkPagePool: Pages in pool before scan: 2054
<6>[ 445.894927] C1 [ kswapd0] PVR: ShrinkPagePool: Pages in pool after scan: 1926
<6>[ 446.442443] C0 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 446.673400] C0 [irq/206-melfas_] tsp: finger 0 up remain: 0
<7>[ 447.078002] C0 [ swapper] IPC-RX: 7f 0b 00 00 08 00 ff 78 07 06 03 3d 7e
<6>[ 447.273223] C0 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 447.426940] C0 [irq/206-melfas_] tsp: finger 0 up remain: 0
<7>[ 449.902587] C0 [ kworker/u:0] IPC-RX: 7f 0b 00 00 08 00 ff 78 07 06 03 3f 7e
<6>[ 454.509063] C1 [ kworker/u:0] mmc0 LDO Disable
<6>[ 455.295593] C0 [ mmcqd/0] mmc0 LDO enable
<7>[ 456.964385] C0 [ kworker/u:0] IPC-RX: 7f 0b 00 00 08 00 ff 78 07 06 03 3d 7e
<7>[ 459.789337] C0 [ kworker/u:0] IPC-RX: 7f 0b 00 00 08 00 ff 78 07 06 03 3b 7e
<6>[ 465.087219] C0 [ kworker/u:0] mmc0 LDO Disable
<6>[ 465.347167] C0 [ mmcqd/0] mmc0 LDO enable
..........
..........
<3>[ 1418.253082] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1420.688842] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1420.796600] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<6>[ 1421.076232] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1421.168579] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<3>[ 1421.253692] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1423.214050] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1423.291046] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<4>[ 1423.305725] C0 [ insmod] usb_wwan: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<3>[ 1424.252929] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1425.235626] C1 [ usbhostd] host_notifier usbhostd: mode 1, count 551, HIGH
<3>[ 1427.253753] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1427.275512] C0 [ kworker/0:3] max17042 7-0036: VCELL : 3720, data : 0xba08
<6>[ 1427.276245] C0 [ kworker/0:3] max17042 7-0036: AVG Current : -472, data :0xf433
<6>[ 1427.277008] C0 [ kworker/0:3] max17042 7-0036: Current : -458, data :0xf487
<6>[ 1427.277740] C0 [ kworker/0:3] max17042 7-0036: SOC : 37, data : 0x25dd
<6>[ 1427.279876] C0 [ kworker/0:3] max17042 7-0036: TEMPERATURE : 349, data :0x22ec
<6>[ 1427.339080] C0 [ kworker/0:3] battery_manager battery_manager: vcell = 3720000 soc = 37 current = -458 avg_current = -472 status = 2 health = 1 temp = 349 discharge status = 0, limit time : 0, bootmode : 0
<3>[ 1430.253784] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1430.744262] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1430.763549] C0 [ AudioOut_2] wm8994-codec wm8994-codec: Moving to audio clocking settings
<6>[ 1430.763580] C0 [ AudioOut_2] wm8994-codec wm8994-codec: _wm8994_set_fll ++
<6>[ 1430.852081] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<6>[ 1431.487426] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1431.611328] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<6>[ 1432.185180] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1432.308319] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<6>[ 1432.318206] C1 [ watchdog] !@Sync 47
<6>[ 1432.438323] C0 [ kworker/u:0] mmc0 LDO Disable
<6>[ 1432.524871] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1432.649200] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<6>[ 1433.099121] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1433.191406] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0
<3>[ 1433.253173] C0 [ usb-storage] usb storage -- short read transfer
<6>[ 1435.235626] C1 [ usbhostd] host_notifier usbhostd: mode 1, count 561, HIGH
<6>[ 1435.732727] C1 [irq/206-melfas_] tsp: finger 0 down remain: 1
<6>[ 1435.809570] C1 [irq/206-melfas_] tsp: finger 0 up remain: 0u0_a165@android:/sdcard/pppwidget/lib #
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 07 Jan 2013, 12:22
by Josh
Yes, I know this one already:
"[ insmod] usb_wwan: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)"
I will start one more attempt today (in the evening).
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 07 Jan 2013, 20:30
by Josh
I hope you are ready for annother try. If this doesn't work, I'm on my wit's end and have to wait until my GT-P3110 gets its Jelly Bean update (which could be anytime soon).
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 08 Jan 2013, 06:49
by prabuddhadg
This one is scary. The tablet restarted when I selected the option to activate ppp widget when the data card is connected.
Same result- restart - when I hit return after insmod usb_wwan.ko.
Mighty surprised!!
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 08 Jan 2013, 10:05
by Josh
Looks like all work-arounds have failed.
Now all that I can do is to refer you to this other post I just wrote:
http://www.draisberghof.de/usb_modeswit ... 8122#p8122
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 08 Jan 2013, 12:20
by prabuddhadg
Oh! You were going through pretty much the same thing with the 3110 as well! Thanks again for all your effort, Josh. I shall not bother you again, till I hear of you receiving the correct source codes.
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 28 Jan 2013, 13:44
by prabuddhadg
Hi Josh, I tried the new version for Samsung Galaxy Tab2 GT-P3100, and here are the error messages: -
First the USB log
USB_ModeSwitch log from Mon Jan 28 12:43:06 IST 2013
Raw args from udev: 1-1/1-1:1.0
Using top device dir /sys/bus/usb/devices/1-1
----------------
USB values from sysfs:
manufacturer ZTE, Incorporated
product USB Storage
serial 000000000002
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/19d2.fff5
! matched. Reading config data
devList 1:
config: TargetVendor set to 19d2
config: TargetProductList set to fff1,fffe,ffff
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 2 -v 19d2 -p fff5 -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.4 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= not set
TargetClass= not set
TargetProductList="fff1,fffe,ffff"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 19d2:fff5
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x0a (out) and 0x89 (in)
USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x0a for message sending ...
Trying to send message 1 to endpoint 0x0a ...
OK, message successfully sent
Resetting response endpoint 0x89
Resetting message endpoint 0x0a
Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 19d2:fff1 (ZTE, Incorporated: ZTE CDMA Tech)
Device class of first interface is ff
Now checking for bound driver ...
No driver has bound to interface 0 yet
Module loader is /system/bin/insmod
Trying to find and install main driver module "option"
Trying to find module "option"
Loading support module /sdcard/pppwidget/lib/ppp_async.ko
Loading support module /sdcard/pppwidget/lib/usb_wwan.ko
Loading main driver module "option"
Module loaded successfully.
Trying to add ID to driver "option"
ID added to driver; check for new devices in /dev
Driver was bound to the device
All done, exiting
===============================
And now the Terminal Emulator dmesg report: -
u0_a165@android:/ $ su
u0_a165@android:/ # cd /sdcard/pppwidget/lib
b_wwan.ko <
insmod: init_module 'usb_wwan.ko' failed (File exists)
255|u0_a165@android:/sdcard/pppwidget/lib # dmesg
ach] serio: Serial port ttyO3
<6>[522622.255676] C0 [ kworker/0:0] wm8994-codec wm8994-codec: _wm8994_set_fll ++
<4>[522622.260345] C1 [ kworker/u:4] done.
<4>[522622.260375] C1 [ kworker/u:4] mmc_pm_notify(): WIFI SKIP DETECT CHANGE
<4>[522622.260375] C1 [ kworker/u:4] mmc_pm_notify(): WIFI SKIP DETECT CHANGE
<6>[522622.260406] C1 [ kworker/u:4] suspend: exit suspend, ret = 0 (2013-01-28 10:15:16.412088404 UTC)
<6>[522622.260406] C1 [ kworker/u:4] active wake lock wakelock-charger
<6>[522622.260437] C1 [ kworker/u:4] active wake lock musb_autosuspend_wake_lock
<6>[522622.260437] C1 [ kworker/u:4] active wake lock alarm, time left 566
<6>[522622.260437] C1 [ kworker/u:4] suspend: abort suspend
<6>[522622.264739] C0 [ kworker/0:0] wm8994-codec wm8994-codec: _wm8994_set_fll --
<6>[522622.301757] C0 [ kworker/0:2] battery_manager battery_manager: vcell = 3794000 soc = 43 current = -120 avg_current = -11 status = 2 health = 1 temp = 311 discharge status = 0, limit time : 0, bootmode : 0
<6>[522623.179046] C1 [ kswapd0] PVR: ShrinkPagePool: Number to scan: 128
<6>[522623.179077] C1 [ kswapd0] PVR: ShrinkPagePool: Pages in pool before scan: 620
<6>[522623.179229] C1 [ kswapd0] PVR: ShrinkPagePool: Pages in pool after scan: 492
......
......
......
Break.....
......
......
<7>[522770.485565] C0 [ Thread-309034] IPC-RX: 7f 0b 00 00 08 00 ff 4b 07 06 03 38 7e
<6>[522770.530670] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522770.638061] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522771.345306] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522771.452667] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522772.005798] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522772.159698] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522772.743835] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522772.866607] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522773.173980] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522773.281524] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522776.536529] C1 [ watchdog] !@Sync 17409
<7>[522777.547210] C0 [ Thread-313201] IPC-RX: 7f 0b 00 00 08 00 ff 4b 07 06 03 3a 7e
<6>[522780.014831] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522780.034149] C0 [ AudioOut_2] wm8994-codec wm8994-codec: Moving to audio clocking settings
<6>[522780.034179] C0 [ AudioOut_2] wm8994-codec wm8994-codec: _wm8994_set_fll ++
<6>[522780.153228] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<7>[522781.784271] C0 [ Thread-315829] IPC-RX: 7f 0b 00 00 08 00 ff 4b 07 06 03 38 7e
<6>[522783.044311] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522783.166992] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522783.935852] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522784.074340] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522784.674285] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522784.812438] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522785.166229] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522785.304504] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522785.781433] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522785.904357] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4
<6>[522787.103973] C0 [irq/206-melfas_] tsp: finger 0 down remain: 5
<6>[522787.227050] C0 [irq/206-melfas_] tsp: finger 0 up remain: 4u0_a165@android:/sdcard/pppwidget/lib #
================================
Can you tell me if I did something wrong this time?
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 28 Jan 2013, 16:32
by Josh
I don't see any error. The USB log said the drivers were loaded O.K.
If you tried "insmod" manually - this will fail because the module was already loaded by the mode switcher script.
Did you try to connect? Is there any other error?
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 28 Jan 2013, 19:27
by prabuddhadg
Well, no idea what happened, but after many attempts, I restarted the tablet and now its connecting!
Thanks a ton, Josh! Everything's just great, and its all because of you.
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 28 Jan 2013, 19:42
by Josh
Well, I'm glad your patience was rewarded in the end ...

Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 10 Oct 2014, 09:41
by prabuddhadg
Hi Josh, its been a while since I used the CDMA dongle on my the GT-P3100 tablet. Last time you had to do a lot of work to get things working. However after a few months, I had moved on to a non-Samsung rom (kitkat) and the PPP widget had stopped working because of non-availability of drivers.
I have now installed PPP Widget 2 on the same tablet. I wanted to know what could be the hindrance to the tablet communicating with the dongle with PPP widget 2. This I understand does not require drivers.
If its useful, I would add here that the dongle does not have a sim card. Its model is ZTE AC2736. The tablet has a sim card slot and has calling as well. I am using it without a sim card.
What should I do to make the tablet connect to the internet with PPP Widget 2 and the broadband dongle?
Re: Error using PPP widget on Samsung Galaxy Tab2 (Gt-P3100)
Posted: 26 Oct 2014, 15:24
by Josh
I need to know what happens if you attach the modem with PPP Widget 2 being active on the screen. If you get any log output, please post it.