Author Message

<  The PPP Widget Family for Android  ~  Android 4.4.4 Car unit/Huawei E3372H

PostPosted: Thu Jul 27, 2017 3:53 pm Reply with quote
Posts: 3 Joined: Thu Jul 27, 2017 12:19 pm
Hi, I tried to search for some answers, but the programming language you use is a bit too technical for me.

I have an Android head unit with a E3372 4g USB modem. The unit is rooted originally, but I still tried to "change" rooting with SuperSU, but no difference. I dont think its a power issue, because the usb-interface powers a DAB-radio unit without problems.

What happens is after connecting the modem, I get the signal-meter ok, so obviously they communicate in someway.

After a few seconds the message "Error in preparing device" appears, and the message on the widget says "no modem response".

I've tried to change functions via the (H) in the settings but no difference. When you enter settings, the area for entering APN and so forth is greyed out, and wont let me enter any parameters.

If any of you recognize something obvious in the log, please let me know. Regards Michael, Norway

Here is the log:





Jul 26, 2017 4:45:29 PM

DeviceJul 26, 2017 4:45:29 PM

Device manufacturer string: rockchip
Start search for USB devices
visible on Android OS level ...
Check device 16c0:05dc, interface 2, might be a modem
Check device 0bda:8179, interface 2, might be a modem
Check device 12d1:1506, interface 2, might be a modem
Found possible 3G USB device 12d1:1506
New device on /dev/bus/usb/001/003
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:02 pr:12 - bi:82 bo:02
if:1 as:0 - cl:ff sc:02 pr:01 - ir:84 bi:83 bo:03
if:2 as:0 - cl:ff sc:02 pr:16 - ir:86
if:2 as:1 - cl:ff sc:02 pr:16 - ir:86 bi:85 bo:04
if:3 as:0 - cl:08 sc:06 pr:50 - bi:87 bo:05
if:4 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06

Found 2 serial ports
Opening port type HUAWEI_NCM
manufacturer string: rockchip
Start search for USB devices
visible on Android OS level ...
Check device 16c0:05dc, interface 2, might be a modem
Check device 0bda:8179, interface 2, might be a modem
Check device 12d1:1506, interface 2, might be a modem
Found possible 3G USB device 12d1:1506
New device on /dev/bus/usb/001/003
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/1-1, active cfg: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:02 pr:12 - bi:82 bo:02
if:1 as:0 - cl:ff sc:02 pr:01 - ir:84 bi:83 bo:03
if:2 as:0 - cl:ff sc:02 pr:16 - ir:86
if:2 as:1 - cl:ff sc:02 pr:16 - ir:86 bi:85 bo:04
if:3 as:0 - cl:08 sc:06 pr:50 - bi:87 bo:05
if:4 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06

Found 2 serial ports
Opening port type HUAWEI_NCM


Offline
PostPosted: Thu Jul 27, 2017 6:09 pm Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
This is a sign that the modem search is restarted suddenly. The line with "Opening port" should be the last one in the USB log.
Code:
...
Found 2 serial ports
Opening port type HUAWEI_NCM
manufacturer string: rockchip
Start search for USB devices
 visible on Android OS level
...

Clearly something is happening to the modem. I still suspect a power problem - a receiver stick will never use as much current as a receiving and transmitting stick. A suddenly resetting modem is a strong indication for insufficient power. Note that the trouble starts exactly when the stick goes into transmission mode.

If you have no way of using a powered hub, make sure the modem is not enclosed by car metal which may shield its signal, forcing it to increase its transmission power. Use an USB extender cable if necessary.


Offline
PostPosted: Thu Jul 27, 2017 10:13 pm Reply with quote
Posts: 3 Joined: Thu Jul 27, 2017 12:19 pm
Hi and thank you for the reply

I tried a hub with external power just now, and still no luck.

Im sure you are right that the modem needs more power than the dab unit, but wouldnt the fact that im getting a good signal on the meter suggest that the modem is sending/receiving packets?

Ill try supersu again, maybe i did something wrong the first time.

The restarting you see in the log, could it be that i took the modem on/off the usb during startup?
Regards Michael


Offline
PostPosted: Fri Jul 28, 2017 5:59 am Reply with quote
Posts: 1175 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
M-ic wrote:
im getting a good signal on the meter


Which meter is that? I don't think pppwidget has one.


Offline
PostPosted: Fri Jul 28, 2017 7:58 am Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
LOM, I added a crude signal bar a while ago, using the diagnostic port of a modem if available.


Offline
PostPosted: Fri Jul 28, 2017 8:20 am Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
M-ic wrote:
The restarting you see in the log, could it be that i took the modem on/off the usb during startup?
Regards Michael

Unplugging the modem would be noticed by PPP Widget and it would close the log. If you plug in again, a new log would be started. (Only the last one is ever kept.)

Check if you get the exact same "double" log if you try again.

If the powered hub did not solve the problem, we might have to dig deeper and have a look at the system messages. Go ahead and install the app "Android Terminal Emulator". (I suggest to increase the font size right away.)

On the command line of this app, type "su" and press Enter. You should get the confirmation dialog from SuperSU.
Afterwards, you are "root" on the command line.
Now enter the command "dmesg". Either you get a lot of output or you get the message that this command does not exist. If it works, change to the workspace and plug your modem in again. After the "Modem not responding" notice change back to the terminal app and enter dmesg again.

The output of dmesg should contain all kernel messages since the last startup. We need only the very last (recent) lines which may show what's going on on the USB driver level.


Offline
PostPosted: Wed Aug 02, 2017 11:00 am Reply with quote
Posts: 3 Joined: Thu Jul 27, 2017 12:19 pm
Thank you, I'll get back to you as soon as I have a chance to try.


Offline

Display posts from previous:  Sort by:

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