List Info

Thread: detecting modems on USB




detecting modems on USB
user name
2006-08-16 09:41:58
perhaps this is not strictly a kannel question...YET!!
but this is a developers list, and other people writing C
code on linux are
here.

In case you haven't got it yet, the way kannel modems are
currently
configured,
by the device name, ie /dev/ttyUSB00 for example....

now if you have many modems, and you happen to take one out,
the usb devices
re-enumerate themselves.
so the modem now that you have may no longer be the GSM for
vodafone, for
example, but telstra....
kannel restarted and your screwed.......your now sending sms
via telstra at
double the cost!!

this is NOT what you want, because...
Eg
..............
group = smsc
smsc = at
smsc-id = 001
...........

group = sendsms-user
username = vodafone
password = bar
forced-smsc = 001



so when sending to the vodafone modem, we are forcing the
routing to smsc-id
= 001.

this is perfectly acceptable with serial com ports and
multi-com ports like
stallion etc,
because the com ports do not change...unless you physically
swap cables.

but with usb, this is no longer reliable.

So I am attempting to come up with a solution where

group = smsc
smsc = at
smsc-id = 001
modemserial = 10202020 ( or whatever...something that
identifies the
particular sim and/or modem)

note this is a complete paradigm shift in how the modems are
specficed to
how kannel currently does it..

so mate is this still  ":So this is not really kannel
question:"
???




----- Original Message ----- 
From: "Andreas Fink" <andreasfink.org>
To: "fred" <fred5thfinger.com>
Cc: "devel" <develkannel.org>
Sent: Wednesday, August 16, 2006 6:53 PM
Subject: Re: detecting modems on USB


>
> On 16.08.2006, at 10:53, fred wrote:
>
> > I've played with code that enumerate usb
devices,etc..but haven't
> > figured
> > how to associate the usb device
> > with a /dev/ttyUSBnn device properly/correctly or
how? ...don't
> > know enough
> > yet
> > eg modem on device
> > ls /proc/bus/usb/002
> > 001  002
> >
> > the falcom modem is the 002 device,
> >
> > yet the serial device is attached to
/dev/ttyUSB0.......
> >
>
>
> This is done by the USB driver. Kannel just uses a
serial port given
> by its config file.
> So if you got a USB device which has a serial port,
then its up to
> the USB device driver to declare which port it will
use.
> So this is not really kannel question
>


OpenH323 digest, Vol 3 #599 - 1 msg
user name
2006-08-16 09:00:02
In the latest version of ohPhone in cvs there are same
problems (class 
PSDLDisplayThread)
I have downloaded the latest revisions of ohPhone, but they
are not up state 
(video transmiting and video receiving are not up state)
ohPhone transmit 
only test video (grabber failed) and application crashed
when I try to 
receive video. Does anybody work with video in ohPhone now?
May be I do 
something wrong?

----- Original Message ----- 
From: <openh323-requestopenh323.org>
To: <openh323openh323.org>
Sent: Tuesday, August 15, 2006 7:12 PM
Subject: OpenH323 digest, Vol 3 #599 - 1 msg


> Send OpenH323 mailing list submissions to
> openh323openh323.org
>
> To subscribe or unsubscribe via the World Wide Web,
visit
> htt
p://www.openh323.org/mailman/listinfo/openh323
> or, via email, send a message with subject or body
'help' to
> openh323-requestopenh323.org
>
> You can reach the person managing the list at
> openh323-adminopenh323.org
>
> When replying, please edit your Subject line so it is
more specific
> than "Re: Contents of OpenH323 digest..."
>
>
> Today's Topics:
>
>   1. Re: Problem with video in ohPhone (Simon Horne)
>
> --__--__--
>
> Message: 1
> Date: Tue, 15 Aug 2006 17:18:03 +0800
> To: openh323openh323.org
> From: Simon Horne <s.hornepacketizer.com>
> Subject: Re: [OpenH323]Problem with video in ohPhone
> Reply-To: openh323openh323.org
>
>
> Evgeney
>
> Craig is 100% correct. The plugin architecture was not
changed. The Video
> output factory loader system was, which resulted in the
rewrite of the SDL
> video code and the removal of PSDLDisplayThread class.
>
> The fixed code is the CVS
> http://openh323.cvs.sourceforge.net/openh323/contri
b/ohphone/
> The files you are interested in are main.h/cxx.
>
> Simon
>
> At 03:43 PM 15/08/2006, you wrote:
>>Craig,
>>There are no problems with SDL in PWLib, you see
(pwlib has founded the 
>>SDL)
>>Plugin architecture has not changed in openh323, you
say
>>And so, what is the problem in ohPhone?
>>In vsdl.h file of PWLib the PSDLDisplayThread class
definition is absent
>>(but in old versions of this file it was) Where
it's now situated? Or may
>>be this mechanism is out of date? Parameters count
of PSDLVideoDevice
>>constructor is zero, but in ohPhone code - 3
parameters. Should you give
>>me some suggests about it?
>>----- Original Message ----- From: "Craig
Southeren"
>><craigspostincrement.com>
>>To: <openh323openh323.org>;
<zhekhansib.ru>
>>Sent: Tuesday, August 15, 2006 11:47 AM
>>Subject: Re: [OpenH323]Problem with video in ohPhone
>>
>>
>>>On Tue, 15 Aug 2006 11:24:00 +0700
>>>"Evgeney Bakhtin" <zhekhansib.ru> wrote:
>>>
>>>>Simon
>>>>Should you suggest me where I can find
description of plugin 
>>>>architecture
>>>>(if it exist). I want to try to updating
ohphone with myself.
>>>>Evgeney Bakhtin
>>>
>>>Ohphone does not need updating for plugins, as
the plugin architecture
>>>has not changed in openh323 for quite some time.
>>>
>>>Information on plugins can be found via the FAQ
at:
>>>
>>>6.5 - Is there documentation on audio codec
plugins?
>>>http://www
.voxgratia.org/docs/faq.html#6_5
>>>
>>>   Craig
>>>
>>>
>>>------------------------------------------------
-----------------------
>>>Craig Southeren          Post Increment - VoIP
Consulting and Software
>>>craigspostincrement.com.au                  
www.postincrement.com.au
>>>
>>>Phone:  +61 243654666      ICQ: #86852844
>>>Fax:    +61 243656905      MSN:
craig_southerenhotmail.com
>>>Mobile: +61 417231046      Jabber: craigsjabber.org
>>>
>>>"It takes a man to suffer ignorance and
smile.
>>>  Be yourself, no matter what they say."  
Sting
>>>
>>>
>>
>>----------------------------------------------------
--------------------
>>Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
>>The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
>>change your subscription options, goto
>>htt
p://www.openh323.org/mailman/listinfo/openh323
>>Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
>>----------------------------------------------------
--------------------
>
>
>
>
> --__--__--
>
> _______________________________________________
> OpenH323 mailing list
> OpenH323openh323.org
> htt
p://www.openh323.org/mailman/listinfo/openh323
>
>
> End of OpenH323 Digest
> 

------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )