Discuss EVDO PC Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards. Discuss Verizon and Sprint Coverage. CradlePoint CTR350 / PHS300/ MBR1000 & Kyocera KR1 / KR2 & LinkSys WRT54G3G-ST Forums!
EVDOforums.com
Discussion forum for EVDO users
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Our sites Include: EVDO Info :: EVDO Forums :: EVDO Maps :: EVDO Blog :: 3Gstore.com

To purchase your EVDO Card / Antenna / Amplifier / Router from the EVDO Experts, just contact us!

Linux support for Signal strength, etc.

 
Post new topic   Reply to topic    EVDOforums.com Forum Index -> EVDO Developers & Technical
View previous topic :: View next topic  
Author Message
evdo-wizard
EVDO Heavy User


Joined: 21 Apr 2007
Posts: 125

PostPosted: Sun Sep 02, 2007 11:48 am    Post subject: Linux support for Signal strength, etc. Reply with quote

Right now in Linux we cant do most of the things that can be done on a Windows machine with a connection manager. I'm trying to get these features available in Linux, not only because I run linux on my PC as my main and only OS, but because Linux is also on my 3G router.

I was browsing the Sierra Wireless website today and I found this:

from: http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=601
Quote:
Using AT Commands – CDMA Devices

AT commands should be issued to endpoint 2 (/dev/ttyUSB0) on CDMA devices and cannot be used during a connection (Heatherington escape method is not supported). Usage of the proprietary control and status protocol (CNS) on /dev/ttyUSB1 is not yet supported on Linux.



The RSSI (signal quality) can be obtained issuing the command with any terminal application:

(e.g. Minicom)



at+rssi?



A range from -60 dbm to -90 dBm can be considered adequate.



at!pcinfo



The command reports if the modem is online. In case the modem is in LPM (low power mode)-the Radio part is off. To turn the radio On, issue the AT command

at!pcstate=1



The same command will report the modem “Online”. For AirCards, you will notice the LED in the card will turn on.


Using AT Commands – GSM/UMTS Devices

Systems using the MC8775 and later MiniCards should issue AT commands/queries to endpoint 5 (/dev/ttyUSB2) and can be used while a data connection is established on endpoint 2 (/dev/ttyUSB0). In order to establish the connection the dial command, ATDT, should still be issued to endpoint 2 (/dev/ttyUSB0).



All other devices (all AirCards and preceding MiniCards) should issue AT commands/queries to endpoint 2, /dev/ttyUSB0. However if a ppp connection is established on endpoint 2 then, like the CDMA devices, AT commands can not be used.



Usage of the proprietary control and status protocol (CNS) on /dev/ttyUSB1 is not yet supported on Linux.



The RSSI (signal quality) can be obtained issuing the command with any terminal application:

(e.g. Minicom)


at+csq

The first number indicates the signal strength above -109 dBm (in 2 dBm increments). A value of 7 or higher (-95 dBm) can be considered adequate.



at!gstatus?



It provides you which service does you have in your area. The command reports if the modem is online. In case the modem is in LPM (low power mode)-the Radio part is off. To turn the radio on issue the AT command

at+cfun=1



The same command will report the modem “Online”. For AirCards, you will notice the LED in the card will turn On.



The AT command reference is posted here:



This is some of the best information that I've been able to find for Linux as of yet. I know that people have been using at+csq but apparently there is also a at+rssi? command which is said to work on evdo cards. Another command that I noticed was at!gstatus? which "provides you which service does you have in your area." This is listed under the gsm/umts cards, but the command might work for our cdma evdo cards.

Also this is very interesting:
Quote:
All other devices (all AirCards and preceding MiniCards) should issue AT commands/queries to endpoint 2, /dev/ttyUSB0. However if a ppp connection is established on endpoint 2 then, like the CDMA devices, AT commands can not be used.



Usage of the proprietary control and status protocol (CNS) on /dev/ttyUSB1 is not yet supported on Linux.


I'm hoping that maybe this information can help lead to full 3g card support in linux.
Back to top
View user's profile Send private message
plor
EVDO Newbie


Joined: 09 Oct 2007
Posts: 5

PostPosted: Tue Oct 09, 2007 1:56 pm    Post subject: Reply with quote

I would be very interested to see support for this come about. Especially being able to find signal strength while connected to the network. Let me know if there is anything I can do to help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EVDOforums.com Forum Index -> EVDO Developers & Technical All times are GMT - 6 Hours
Page 1 of 1

 
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 vote in polls in this forum








Sprint Rev A USB: Compass 597



Sprint Rev A ExpressCard: Merlin EX720


Purchase an V740 Rev A ExpressCard


Sprint U727


CTR350 Router


CradlePoint PHS300


Purchase a MBR1000


Purchase an EVDO Booster Antenna

Purchase a LinkSys 3G Router



Purchase an EVDO Amplifier


Your Mac EVDO Experts









EVDO Antenna Booster





Digg Us :: del.icio.us :: technorati :: furl

4G :: 4G Forums :: PHS300 :: MBR1000 :: KR2