Author Message

<  The PPP Widget Family for Android  ~  ppwidget 0.99 with Pantech UML290

PostPosted: Fri Aug 31, 2012 4:34 pm Reply with quote
Posts: 3 Joined: Fri Aug 31, 2012 3:07 pm Location: Chicago area
I've got an Android tablet running 4.0.4 ICS and am trying to use a Pantech UML290 with it. I can use the device on my Fedora laptop but can't get it working on the tablet. dmesg | grep -i pantech shows:

<6>[ 428.704717] usb 1-1: Product: PANTECH UML290
<6>[ 428.709256] usb 1-1: Manufacturer: Pantech, Incorporated
<6>[ 478.703890] usb 1-1: Product: PANTECH UML290
<6>[ 478.708500] usb 1-1: Manufacturer: Pantech, Incorporated

I see no ttyUSB devices:

# dmesg | grep -i tty
<5>[ 0.000000] Kernel command line: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x001D0000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),
0x00002000@0x00008000(boot),0x00004000@0x0000a000(recovery),0x00100000@0x0000e00
0(backup),0x0003a000@0x0010e000(cache),0x00800000@0x00148000(userdata),0x00002000
@0x00948000(kpanic),0x0009f000@0x0094a000(system),-@0x009e9000(user) bootver=2012-06-26#1.11 firmware_ver=4.0.4
<6>[ 0.393787] console [ttyFIQ0] enabled, bootconsole disabled
<6>[ 0.405527] Registered FIQ tty driver ef48fc00
<6>[ 1.282044] rk_serial.0: ttyS0 at MMIO 0x10124000 (irq = 66) is a rk29_serial.0
<6>[ 1.326826] rk_serial.3: ttyS3 at MMIO 0x20068000 (irq = 69) is a rk29_serial.3
<6>[ 3.254734] Bluetooth: RFCOMM TTY layer initialized

When I run the widget under manual mode, it seems to see the device but then says "No Driver". I'm wondering how to get a ttyUSB device for this?

FWIW, on my Linux laptop when I plug in the UML290 I get a ttyACM0 device and then use wvdial to access it. And that is via a non-OTG usb cable.

Thanks

Kevin


Offline
PostPosted: Fri Aug 31, 2012 5:42 pm Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
It seems your tablet is missing the "cdc_acm" driver. It's fairly standard in Linux on PCs.

If you enable logging on the config page, the mode switch will be logged too, even if the connection is never initiated. Have a look on the last part of the resulting "usb_modeswitch" log (will be in /sdcard/pppwidget/log). There should be remarks about the modem device and the driver.



Offline
PostPosted: Fri Aug 31, 2012 5:48 pm Reply with quote
Posts: 3 Joined: Fri Aug 31, 2012 3:07 pm Location: Chicago area
I've enabled logging in the cfg file but I still get no logging. And this is the result of usb_modeswitch with a config file that I created for the UML290:

# usb_modeswitch -W -I -c uml290.cfg

Reading config file: uml290.cfg

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x106c
DefaultProduct= 0x3718
TargetVendor= 0x106c
TargetProduct= not set
TargetClass= not set
TargetProductList="0x3718"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check disabled
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 004 on 001
skipped 4 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device

Looking for target devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 106c:3718
found matching vendor ID
Error: entry in product ID list has wrong length: 0x3718. Ignoring
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 106c:3718
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0002
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Error: message endpoint not given or found. Aborting.


Offline
PostPosted: Fri Aug 31, 2012 8:05 pm Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
I have googled a bit for this device and its Linux usage seems to be quite particular ...
http://blogs.gnome.org/dcbw/2011/06/17/ ... ch-uml290/

Obviously, it does not need to be mode-switched at all; it provides a ttyACM port as it is. But successful connection may depend on the network that is available.

Anyway, if you don't get a ttyACM0 port immediately after plugging in, then your cdc_acm module (or built-in driver) is missing. PPPWidget will look for it in /lib/modules or /system/lib/modules on the tablet. If it says "No Driver" then it was not able to find the module.



Offline
PostPosted: Tue Sep 04, 2012 6:50 pm Reply with quote
Posts: 3 Joined: Fri Aug 31, 2012 3:07 pm Location: Chicago area
thanks for the info. I'll go bug the rom guys now!


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
5 posts
Users browsing this forum: Baidu [Spider] and 3 guests
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