Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-24 Thread Alexander Sack
On Mon, Nov 17, 2008 at 10:53:28AM +0200, Tambet Ingo wrote:
> On Mon, Nov 17, 2008 at 10:48 AM, Knud Müller <[EMAIL PROTECTED]> wrote:
> > yes! This one works. I made a diff
> 
> I'll ask a HAL maintainer to include it to upstream.

Hi,

Did that happen yet? Otherwise, I can take care that this gets
committed upstream.

Thanks!

 - Alexander

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-17 Thread Tambet Ingo
On Mon, Nov 17, 2008 at 10:48 AM, Knud Müller <[EMAIL PROTECTED]> wrote:
> yes! This one works. I made a diff

I'll ask a HAL maintainer to include it to upstream.

Tambet

>
> 32c32
> < > >Fuji Network Ex,Koi Modem,Koi Network,Scorpion Modem,Scorpion
> Network,Etna Modem,Etna Network,Etna Modem Lite;Etna Modem Gt,
> 36c36
> <  int_outof="0x5000;0x6000;0x6100;0x6200;0x6300;0x6050;0x6150;0x6250;0x6350;0x6500;0x6501;0x6600;0x6601;0x6701;0x6711;0x6721;0x6741;0x6761;0x6731;0x6751;0x6771;0x6800;0x6811;0x6901;0x6911;0x7001;0x7021;0x7041;0x7061;0x7031;0x7051;0x7071;0x7100;0x7111">
> ---
>>  int_outof="0x5000;0x6000;0x6100;0x6200;0x6300;0x6050;0x6150;0x6250;0x6350;0x6500;0x6501;0x6600;0x6601;0x6701;0x6711;0x6721;0x6741;0x6761;0x6731;0x6751;0x6771;0x6800;0x6811;0x6901;0x6911;0x7001;0x7011;0x7021;0x7041;0x7061;0x7031;0x7051;0x7071;0x7100;0x7111">
> 42,49d41
> <
> < 
> <   
> <  type="strlist">GSM-07.07
> <  type="strlist">GSM-07.05
> <   
> < 
> <
> 184c176
> < 
> ---
>> 
> 227c219
> <  5720 Mobile Broadband CDMA/EVDO Mini-Card == Novatel
> Expedite E725 CDMA/EV-DO,
> ---
>>  2x 5720 Mobile Broadband CDMA/EVDO Mini-Card == Novatel
> Expedite E725 CDMA/EV-DO,
> 229c221
> <  int_outof="0x8114;0x8117;0x8128;0x8129;0x8133">
> ---
>>  int_outof="0x8114;0x8117;0x8128;0x8129;0x8133;0x8134">
> 354,355c346,347
> < 
> <  int_outof="0x4f9;0x64;0x2f;0xab;0x418;0x4f0;0x4ce;0x43a;0x44d;0x070;0x3a;0x72">
> ---
>> 
>>  int_outof="0x4f9;0x64;0x2f;0xab;0x418;0x4f0;0x4ce;0x43a;0x44d;0x42;0x72;0x70;0x3a">
> 369c361
> < 
> ---
>> 
>
>
> and it simply matches port 2 and port 2 gets the protocol attribute?
>
> So my interpretion is that it goes through that cascade for every port.
> The data port gets the modem protocol information and that is the
> trigger to use this port by the network-manager?
>
> Alexander: where can I post this bug and will they cross check, as other
> modems occur as well in this passage, that the other products that work
> differently are not affected by this patch? (I will stress this anyway)?
>
> Knud
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-17 Thread Knud Müller
On Mon, Nov 17, 2008 at 9:13 AM, Tambet Ingo <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 15, 2008 at 3:26 PM, Alexander Sack <[EMAIL PROTECTED]> wrote:
>> If you are using ubuntu, please file a bug against hal-info package in
>> launchpad with the fixed modem.fdi information.
>
> I'm not using ubuntu, but I've seen the same issue reported elsewhere.
> Does the attached patch fix the issue for you? (Uncompress it to
> /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi and restart
> the computer).
>
> Tambet
>

Hi Ingo,

yes! This one works. I made a diff

32c32
<  Fuji Network Ex,Koi Modem,Koi Network,Scorpion Modem,Scorpion
Network,Etna Modem,Etna Network,Etna Modem Lite;Etna Modem Gt,
36c36
< 
---
> 
42,49d41
<
< 
<   
< GSM-07.07
< GSM-07.05
<   
< 
<
184c176
< 
---
> 
227c219
<  5720 Mobile Broadband CDMA/EVDO Mini-Card == Novatel
Expedite E725 CDMA/EV-DO,
---
>  2x 5720 Mobile Broadband CDMA/EVDO Mini-Card == Novatel
Expedite E725 CDMA/EV-DO,
229c221
< 
---
> 
354,355c346,347
< 
< 
---
> 
> 
369c361
< 
---
> 


and it simply matches port 2 and port 2 gets the protocol attribute?

So my interpretion is that it goes through that cascade for every port.
The data port gets the modem protocol information and that is the
trigger to use this port by the network-manager?

Alexander: where can I post this bug and will they cross check, as other
modems occur as well in this passage, that the other products that work
differently are not affected by this patch? (I will stress this anyway)?

Knud
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-17 Thread Tambet Ingo
On Sat, Nov 15, 2008 at 3:26 PM, Alexander Sack <[EMAIL PROTECTED]> wrote:
> If you are using ubuntu, please file a bug against hal-info package in
> launchpad with the fixed modem.fdi information.

I'm not using ubuntu, but I've seen the same issue reported elsewhere.
Does the attached patch fix the issue for you? (Uncompress it to
/usr/share/hal/fdi/information/10freedesktop/10-modem.fdi and restart
the computer).

Tambet


10-modem.fdi.gz
Description: GNU Zip compressed data
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-16 Thread Alexander Sack

this didnt go to list (by accident i guess ... CCing again).

On Sun, Nov 16, 2008 at 07:24:37PM +0100, Knud Müller wrote:
> On Sat, Nov 15, 2008 at 2:26 PM, Alexander Sack <[EMAIL PROTECTED]> wrote:
> > On Fri, Nov 14, 2008 at 05:15:09PM -0500, Dan Williams wrote:
> >> On Fri, 2008-11-14 at 22:40 +0100, Knud Müller wrote:
> >> > Hi,
> >> >
> >> > My Vodafone Card creates when plugged into my notebok 3
> >> > devices /dev/ttyUSB0,1 and 2. Network Manager recognises
> >> > it correctly and opens a wizzard to create a connection.
> >> > NM uses when connecting afterwards /dev/ttyUSB0 (I found out by accident
> >> > as it is mentioned in the tooltip / is there any log). NM fails
> >> > silently, there is simply no connection, but no error message too. This
> >> > devicedoesnt work with gnome-ppp too, so I assume its the wrong Port.
> >> > When using /dev/ttyUSB2 with gnome-ppp I can establish a 3G connection.
> >> > As I was unable to find any setting to tell NM to use ttyUSB2 instead -
> >> > what can I do about it?
> >>
> >> Which port is actually the control port is determined (at the moment) by
> >> HAL .fdi files, typically in:
> >>
> >> /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi
> >>
> >> The full 'lshal' output would be needed to determine how to update
> >> 10-modem.fdi correctly.
> >
> > If you are using ubuntu, please file a bug against hal-info package in
> > launchpad with the fixed modem.fdi information.
> >
> >  - Alexander
> >
> >
> Alexander: Yes, it is Ubuntu 8.10 - I think your request is directed to Dan?

No, I ment you ;): If you find out what is wrong file a bug against
hal-info package in launchpad so we can take care that your device is
fixed everywhere.






> 
> Dan: I fiddled a little with the fdi file. Ive found the dtd on my
> filesystem and it gave me some idea of whats going on if a device is
> added.
> lshal prints something like '7011' for my modem. The fdi file has an
> 'Option' entry where 0x7011 occurs.
> 
>   
>   
> 
>  int_outof="0x5000;0x6000;0x6100;0x6200;0x6300;0x6050;0x6150;0x6250;0x6350;0x6500;0x6501;0x6600;0x6601;0x6701;0x6711;0x6721;0x6741;0x6761;0x6731;0x6751;0x6771;0x6800;0x6811;0x6901;0x6911;0x7001;0x7011;0x7021;0x7041;0x7061;0x7031;0x7051;0x7071;0x7100;0x7111">
>   
> GSM-07.07
> GSM-07.05
>   
> 
>   
> 
> But as far as I understood it only adds the modem command set. The
> interface Number is already set, as this entry matches on it. But
> where is the interface number set? How can I start hal in debugging
> and force it to write some more log? The 'latest HAL specification'
> gave me no hint at all...
> 
> 
> I just got some more Idea: lsusb shows "Bus 007 Device 003: ID 0af0:7011 
> Option"
> But theres nowhere the device name ttyUSB0 or 2 or whatever - where is that 
> set?
> 
> Knud
> 
> Knud
> 

 - Alexander

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-16 Thread Alexander Sack
On Fri, Nov 14, 2008 at 05:15:09PM -0500, Dan Williams wrote:
> On Fri, 2008-11-14 at 22:40 +0100, Knud Müller wrote:
> > Hi,
> > 
> > My Vodafone Card creates when plugged into my notebok 3
> > devices /dev/ttyUSB0,1 and 2. Network Manager recognises
> > it correctly and opens a wizzard to create a connection.
> > NM uses when connecting afterwards /dev/ttyUSB0 (I found out by accident
> > as it is mentioned in the tooltip / is there any log). NM fails
> > silently, there is simply no connection, but no error message too. This
> > devicedoesnt work with gnome-ppp too, so I assume its the wrong Port.
> > When using /dev/ttyUSB2 with gnome-ppp I can establish a 3G connection.
> > As I was unable to find any setting to tell NM to use ttyUSB2 instead -
> > what can I do about it?
> 
> Which port is actually the control port is determined (at the moment) by
> HAL .fdi files, typically in:
> 
> /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi
> 
> The full 'lshal' output would be needed to determine how to update
> 10-modem.fdi correctly.

If you are using ubuntu, please file a bug against hal-info package in
launchpad with the fixed modem.fdi information.

 - Alexander

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-14 Thread Dan Williams
On Fri, 2008-11-14 at 22:40 +0100, Knud Müller wrote:
> Hi,
> 
> My Vodafone Card creates when plugged into my notebok 3
> devices /dev/ttyUSB0,1 and 2. Network Manager recognises
> it correctly and opens a wizzard to create a connection.
> NM uses when connecting afterwards /dev/ttyUSB0 (I found out by accident
> as it is mentioned in the tooltip / is there any log). NM fails
> silently, there is simply no connection, but no error message too. This
> devicedoesnt work with gnome-ppp too, so I assume its the wrong Port.
> When using /dev/ttyUSB2 with gnome-ppp I can establish a 3G connection.
> As I was unable to find any setting to tell NM to use ttyUSB2 instead -
> what can I do about it?

Which port is actually the control port is determined (at the moment) by
HAL .fdi files, typically in:

/usr/share/hal/fdi/information/10freedesktop/10-modem.fdi

The full 'lshal' output would be needed to determine how to update
10-modem.fdi correctly.

Dan

> (Ubuntu Intrepid Ibex 8.10
> 
> lshal says:
> modem.command_sets = {'GSM-07.07', 'GSM-07.05'} (string list)
> 
> lspcmcia says:
> Socket 0 Bridge: [yenta_cardbus]  (bus ID: :02:04.0))
> 
> Express Card is an Option Ge301 FW: 2.11.2HD
> )
> 
> Hoping that this one is tweak -
> best regards,
> 
> Alex
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


NM and my Vodafone PCMCIA-card doesnt work, NM uses /dev/ttyUSB0 instead of /dev/ttyUSB2

2008-11-14 Thread Knud Müller
Hi,

My Vodafone Card creates when plugged into my notebok 3
devices /dev/ttyUSB0,1 and 2. Network Manager recognises
it correctly and opens a wizzard to create a connection.
NM uses when connecting afterwards /dev/ttyUSB0 (I found out by accident
as it is mentioned in the tooltip / is there any log). NM fails
silently, there is simply no connection, but no error message too. This
devicedoesnt work with gnome-ppp too, so I assume its the wrong Port.
When using /dev/ttyUSB2 with gnome-ppp I can establish a 3G connection.
As I was unable to find any setting to tell NM to use ttyUSB2 instead -
what can I do about it?

(Ubuntu Intrepid Ibex 8.10

lshal says:
modem.command_sets = {'GSM-07.07', 'GSM-07.05'} (string list)

lspcmcia says:
Socket 0 Bridge: [yenta_cardbus]  (bus ID: :02:04.0))

Express Card is an Option Ge301 FW: 2.11.2HD
)

Hoping that this one is tweak -
best regards,

Alex
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list