Re: ZTE modem problems and workrounds
- From: Rick Jones <rick activeservice co uk>
- To: Dan Williams <dcbw redhat com>, networkmanager-list gnome org
- Subject: Re: ZTE modem problems and workrounds
- Date: Wed, 01 Jul 2009 10:24:00 +0100
--On Tuesday, June 30, 2009 17:10:43 -0400 Dan Williams <dcbw redhat com> wrote:
>
> You may get two connections listed in NetworkManager for older versions
> of NetworkManager. NM 0.7.1 has patches to correct that, which ask HAL
> for the 'parent' device of each port, and only creates one modem device
> for each parent device it finds. The logic to do that is somewhat
> complex, but I'm fairly confident that 0.7.1 has the correct fixes here.
> However, the output of 'lshal' would be helpful here to determine how
> exactly the modem presents itself.
Output from lshal for everything relating to the device (19d2:0031) attached.
> Note that you'll also want at least one additional patch to NM, *or* you
> can install the file attached that will fix a problem where NM was using
> obsolete HAL keys for a few things. Put the attached file
> at /usr/share/hal/fdi/information/10freedesktop/01-deprecated-keys.fdi
Ah - that explains some things. I've added your .fdi file and it now only detects one modem. However there is a problem in that it is random as to whether it picks ttyUSB1 or ttyUSB2. Although ttyUSB1 (interface 1) does respond to some AT commands, it won't actually function as a modem. It seems to be there purely for monitoring state, and receiving UMs when the modem is connected. If NM chooses this port then it will never connect. Sometimes it will not initialise, sometimes it gets as far as sending the ATDT string, but there is never a connection. You have to use ttyUSB2 (interface 3) as the real modem - I don't know how NM can be told to do this.
> What driver binds to which device is entirely a kernel thing. The
> drivers themselves specify which devices they can control, and the
> kernel will bind that driver to the device when it shows up.
Thanks - after a quick dig in the code of option.c I see how that works now.
I'm also trying to get more details of the problem with the state 7->8 transition with ppp. I'll send some log output later in a separate message.
Rick
Attachment:
lshal.out
Description: Binary data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]