EVDOforums.com
Discussion forum for EVDO users
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

View previous topic :: View next topic  
Author Message
cmorledge
EVDO Newbie


Joined: 13 Nov 2007
Posts: 5

PostPosted: Tue Nov 13, 2007 11:21 am    Post subject: Verizon Novatel U727 and Linux/Ubuntu??

I am having problems getting Verizon's new Novatel U727 (some refer to it as USB 727) to work on a Linux laptop. I am curious if anyone has had any Linux-type success with the U727.

Here's what I have done so far. I have activated the U727 on a Mac OS X box and it works fine (I hear it works fine for Microsoft OS'es, too). Unfortunately, Verizon does not seem to be on the ball yet with support for Linux.

I followed Ken Kinder's recipe for getting these type of usb modems to work, such as:

kenkinder.com/evdo-pc5740/

but I am having trouble getting the usb serial driver to recognize the Novatel device properly. When I plug the U727 into the laptop, it will not create a /dev/ttyACM0.

I am using a Lenovo T21 ThinkPad with Ubuntu (I have tried this on both Fiesty Fawn and Gutsy Gibbon -- version 7.04 and 7.10, respectively).

Ubuntu will see the storage device capability (a handy feature in this USB device), as seen from dmesg:

[ 41.115183] usb-storage: device scan complete
[ 41.118186] scsi 0:0:0:0: Direct-Access Novatel MMC Storage 2.31 PQ: 0 ANSI: 2
[ 41.148642] sd 0:0:0:0: Attached scsi removable disk sda
[ 41.170246] sd 0:0:0:0: Attached scsi generic sg0 type 0

Ubuntu sees the device when you plug it in (at least it does this on Fiesty Fawn -- I had issues with this on Gutsy Gibbon), so it shows up under /proc/bus/usb/devices:

P: Vendor=1410 ProdID=4100 Rev= 0.00
S: Manufacturer=Novatel Wireless Inc.
S: Product=Novatel Wireless CDMA

But because the vendor and product IDs are not in ubuntu kernels yet, I had to manually unload and reload the usbserial module to try to get it to work:

rmmod usbserial
modprobe usbserial vendor=0x1410 product=0x4100

Unfortunately, it does not create /dev/ttyACM0 as expected. A peek at /var/log/messages shows this:

Nov 13 11:42:02 ubuntu kernel: [57927.552000] usbcore: registered new interface driver usbserial
Nov 13 11:42:02 ubuntu kernel: [57927.552000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Nov 13 11:42:02 ubuntu kernel: [57927.552000] usbserial_generic 1-1:1.0: generic converter detected
Nov 13 11:42:02 ubuntu kernel: [57927.556000] usb 1-1: generic converter now attached to ttyUSB0
Nov 13 11:42:02 ubuntu kernel: [57927.556000] usbserial_generic 1-1:1.1: generic converter detected
Nov 13 11:42:02 ubuntu kernel: [57927.556000] usb 1-1: generic converter now attached to ttyUSB1
Nov 13 11:42:02 ubuntu kernel: [57927.560000] usbserial_generic 1-1:1.2: generic converter detected
Nov 13 11:42:02 ubuntu kernel: [57927.560000] usb 1-1: generic converter now attached to ttyUSB2
Nov 13 11:42:02 ubuntu kernel: [57927.560000] usbserial_generic 1-1:1.3: generic converter detected
Nov 13 11:42:02 ubuntu kernel: [57927.560000] usb 1-1: generic converter now attached to ttyUSB3
Nov 13 11:42:02 ubuntu kernel: [57927.560000] usbcore: registered new interface driver usbserial_generic
Nov 13 11:42:02 ubuntu kernel: [57927.560000] drivers/usb/serial/usb-serial.c: USB Serial Driver core

If I unplug and re-plug the U727 back in again, /var/log/messages shows me this:

Nov 13 11:44:41 ubuntu kernel: [58085.976000] usb 1-1: new full speed USB device using uhci_hcd and address 7
Nov 13 11:44:41 ubuntu kernel: [58086.144000] usb 1-1: configuration #1 chosen from 1 choice
Nov 13 11:44:41 ubuntu kernel: [58086.148000] usbserial_generic 1-1:1.0: generic converter detected
Nov 13 11:44:41 ubuntu kernel: [58086.148000] usb 1-1: generic converter now attached to ttyUSB0
Nov 13 11:44:41 ubuntu kernel: [58086.148000] usbserial_generic 1-1:1.1: generic converter detected
Nov 13 11:44:41 ubuntu kernel: [58086.152000] usb 1-1: generic converter now attached to ttyUSB1
Nov 13 11:44:41 ubuntu kernel: [58086.152000] usbserial_generic 1-1:1.2: generic converter detected
Nov 13 11:44:41 ubuntu kernel: [58086.152000] usb 1-1: generic converter now attached to ttyUSB2
Nov 13 11:44:41 ubuntu kernel: [58086.156000] usbserial_generic 1-1:1.3: generic converter detected
Nov 13 11:44:41 ubuntu kernel: [58086.156000] usb 1-1: generic converter now attached to ttyUSB3
Nov 13 11:44:41 ubuntu kernel: [58086.172000] scsi5 : SCSI emulation for USB Mass Storage devices
Nov 13 11:44:46 ubuntu kernel: [58091.176000] scsi 5:0:0:0: Direct-Access Novatel MMC Storage 2.31 PQ: 0 ANSI: 2
Nov 13 11:44:46 ubuntu kernel: [58091.184000] sd 5:0:0:0: Attached scsi removable disk sda
Nov 13 11:44:46 ubuntu kernel: [58091.184000] sd 5:0:0:0: Attached scsi generic sg0 type 0

I have a /etc/ppp/peers/evdo file (for holding options to give to pppd) with this:

ttyACM0
115200
debug
noauth
defaultroute
usepeerdns
connect-delay 10000
user <phonenumber>@vzw3g.com
show-password
crtscts
lock
lcp-echo-failure 4
lcp-echo-interval 65535
connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/evdo_chat'

And a /etc/ppp/peers/evdo_chat script:

# AT$QCMIPGETP "login" name used for MobileIP, which usually matches your MIN.
# AT+GSN ESN in hex
# AT+GMR firmware revision and build date.
# AT+CSQ 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. 31 is the max. (Possible values in
# Audiovox PC5740 are 0, 7, 15, 23, 31.)
# AT+CDV=*22899 Update PRL. at+cdv=*22899 | OK | Lost carrier.
ABORT 'NO CARRIER' ABORT ERROR ABORT 'NO DIALTONE' ABORT BUSY ABORT 'NO ANSWER'
'' 'ATTEV1&F;&D2;&C1;&C2S0;=0S7=60'
'OK-ATTEV1&F;&D2;&C1;&C2S0;=0S7=60-OK-ATTEV1&F;&D2;&C1;&C2S0;=0S7=60-OK' 'AT+CSQ;D#777'
TIMEOUT 70
'CONNECT-AT+CSQ;D#777-CONNECT'


Unfortunately, when I run "pppd call evdo" , the script fails with a "Failed" error. If I swap out the "ttyACM0" in the pppd options in the /etc/ppp/peers/evdo file with other devices such as "ttyUSB0", "ttyUSB01", etc., it fails again.

If I am really brave I try to make the /dev/ttyACM0 myself with:

mknod /dev/ttyACM0 c 166 0

it still does not work.

Am I missing something here and/or has anyone been able to get the U727 to work under Linux/Ubuntu?

Thanks.

Clarke Morledge
Back to top
View user's profile
whalebus
EVDO Newbie


Joined: 20 Nov 2007
Posts: 5
Location: Daly City, CA

PostPosted: Tue Nov 20, 2007 10:18 am    Post subject: Sprint may have your answer...

Go to Sprint.com/downloads
Select Linux from the drop-down box
Download the pdf instructions

I was able to quickly install my Sierra Wireless 595U on my Gutsy Gibbon system. They should apply to your EVDO device as well. If you're using the same version as I am you'll notice some of the dialog boxes have changed. I found it easy to figure out, but let me know if you run into any trouble.

Warren
Back to top
View user's profile
AmazinglySmooth
EVDO Heavy User


Joined: 17 May 2006
Posts: 116

PostPosted: Thu Nov 22, 2007 8:59 pm    Post subject:

I'm having the same problem as the original poster with my U727 (Sprint version). Has anyone gotten past this?
Back to top
View user's profile
kronos003
EVDO Newbie


Joined: 24 Nov 2007
Posts: 1

PostPosted: Sat Nov 24, 2007 4:10 am    Post subject:

I have a U727 and after a week of useless sprint and novatel tech support - i made this setup script which works for me on fedora core 8 both xen and normal kernel

after you run this you need to setup your dialup connection - the guide i used was based on kppp but i suppose you could use anything and maybe one of these days i might have this handle all that automaticly

guide from sprint : www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf

hopefully this helps
Code:
#startevdo.sh
#startevdo v0.01
#Script by kronos003 based on lots of calls and trial and error. Works for me on Fedora 8.
#The usual disclaimers apply - it works for me but no guarrentees on anything.
#ive done my best to make it easy for you to troubleshoot your situation and get help.
#This script is NOT thoroughly tested - its a rough script designed to get you going.
#Im sure you'll find bugs. I accect NO RESPONSIBILTY for whatever happens or doesnt happen.
#EVEN if your stuff catches on fire or something.
#
#This is a session only script - I.E. it doesn't alter your config files. When you reboot all
#changes revert. So far in my testing it looks like you can run this script whenever you plug
#in your card. I.E. multiple times in one session SHOULD'NT hurt things. "SHOULD'NT" being
#the key word.
#
## relevent text used to make this file
##Add this line to /etc/modprobe.conf: options usbserial vendor=0×1410 product=0×4100 When you first plug this device in, usb storage picks it up as a cdrom. Type in 'eject /dev/cdrom' (or /dev/cdrom1, if you already have one) and the device will re-appear as a serial device with four ports.
## NOTE FROM ME: DONT USE THOSE WIERD '×'s which are different from 'x's - regular lowercase 'x' works
## WIERD '×' causes your card driver not to load and leaves you wondering why
##
#Wrong way - notice those wierd not quite x's
#modprobe usbserial vendor=0×1410 product=0×5010 # U727 Normal Mode um no serial ports here
#
#right way
#modprobe usbserial vendor=0x1410 product=0x5010 # U727 Normal Mode um no serial ports here
#modprobe usbserial vendor=0x1410 product=04100 # U727 NDIS MODE
#
#
#Confirmed kernels
#kernel 2.6.19 32 bit - knoppix
#kernel-2.6.23.1-49.fc8
#kernel-xen-2.6.21-2950.fc8
#

zzwidth=60
zzvendor=1410
zzproduct=4100

clear
echo "This setup file is made for the Novatel Wireless Ovation U727 USB EVDO Modem and Combined usb Mass storage device. It was tested on Fedora 8 on kernel-xen-2.6.21-2950.fc8 and kernel-2.6.23.1-49.fc8 with a U727 from Sprint. It may work on other devices as well with some modification. It uses what appears to be the standard setup routine for evdo modems in general in linux with a few tweaks for the U727 in specific. Be advised that you WILL need to first activate your unit on a windows machine AND switch it into network mode. (lsusb shows the device 1410:4100 AFTER the eject sequence switches it to NETWORK MODE)(lsusb shows the device 1410:5010 when the device is in NORMAL MODE and/or unactivated)" | fmt -w$zzwidth
read -p "....Press a key to continue ...."
## diags
echo "pulling up dmesg log Window..."
xterm -geometry 140x20 -fs 10 -rv -e tail -f /var/log/messages &
#read -p "Confirm device disconnected"
#cat /proc/bus/usb/devices > /tmp/devices
read -p "Confirm Device Plugged in ....Press a key to continue ...."
#diff /proc/bus/usb/devices /tmp/devices  | grep Vendor
#read -p "Ready to begin"
rmmod usbserial
read -p "Press a key when ready to enable modules"
modprobe usbserial vendor=0x$zzvendor product=0x$zzproduct
read -p "Press a key when ready to dismount internal storage if its engaged, and engage serial ports if they arent already up...."
eject /dev/cdrom1
echo "Did you see something like ttyUSB0 ttyUSB1 ttyUSB2 ttyUSB3 in the log? btw its safe to close the log window and move on with the rest of the installation proceedure as documented by sprint: http://www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf or if you've already done that go strat kppp and connect to the net."| fmt -w$zzwidth
read -p "....Press a key to continue ...."

Back to top
View user's profile
myneid
EVDO Fledgling


Joined: 31 May 2006
Posts: 23

PostPosted: Mon Nov 26, 2007 10:03 pm    Post subject:

I have teh solution to your problem.

you are running the command
pppd call evdo

you need to run it as root

so do
sudo pppd call evdo
Back to top
View user's profile
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Tue Dec 18, 2007 9:30 pm    Post subject: Super duper easy way I found online!

This was found in ubuntu's wiki

Found what I was missing down at the very bottom of the PDF file here is what you have to do to use the device in (K)Ubuntu --

Insert U727 After Logging in to Gnome or KDE

Open a terminal and use the following commands:

sudo modprobe –r usbserial
sudo modprobe usbserial vendor=0x1410 product=0x4100
sudo eject /scd1
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly)


Start surfing the web.

I downloaded kppp before all this because that's the dial up program I prefer to use.

The modem is at ttyUSB0 in the modem settings

I've yet to be able to get full speed out of it yet. The highest speed I've gotten so far is about 74k but it averages about 60ish. Too bad, since my old S720 (pcmcia) had finally be able to run full speed because they finally used the airprime file instead of usbserial. Usbserial, from what I've read, was/is the limiting factor in the full speed in linux issue. Maybe I'll find out how to do it the easy way or maybe they might update it when the new version of buntu 8.04 comes out. Haven't tried the 727 in opensuse yet.
Back to top
View user's profile
fb314
EVDO User


Joined: 31 Oct 2006
Posts: 50

PostPosted: Thu Dec 20, 2007 1:57 am    Post subject: got mine working full speed now...WOW!

I followed a few different how to's and got it working. Ill try to retrace my steps here:

I followed the directions here but stopped at the section "modify the source for your needs" because I started to get lost.

https://help.ubuntu.com/community/Kernel/Compile

I googled where synaptic/aptget puts files downloaded and determined that they are at /var/cache/apt/archives. I went to the terminal and did a sudo nautilus. I navigated to the above directory and made a new folder called source. Then I right clicked "linux-source-2.6.22_2.6.22-14.47_all.deb" and picked open with archive manager then extracted the contents to the new folder I made called source. That left me with two compressed files. The one that needs to be extracted is called data.tar.gz. That leaves a folder called usr. Then go back to nautilus and go to the src folder, There's another archive in there called linux-source-2.6.22.tar.bz2. Extract that one too (right click, extract). Now we're getting to the good stuff! This may sound intimidating but it's not too difficult and you don't have to recompile the kernel either...

That's gonna leave a folder called linux-source-2.6.22. Use nautilus to navigate there and go to drivers, usb, serial. You'll see a file named airprime.c. Double click on that to edit the file. The section you are interested in is: (NOTE there's no indenting view in the forum so the way the fields are aligned aren't going to show correctly here. If you look at the actual file, you'll see what I'm talking about. Just make it look the same except that it has more modem entries.)

static struct usb_device_id id_table [] = {
{ USB_DEVICE(0x0c88, 0x17da) }, /* Kyocera Wireless KPC650/Passport */
{ USB_DEVICE(0x413c, 0x8115) }, /* Dell Wireless HSDPA 5500 */
{ USB_DEVICE(0x0930, 0x1303) }, /* Toshiba (Novatel Wireless) HSDPA for M400 */
{ USB_DEVICE(0x106c, 0x3702) }, /* Sprint Pantech PX-500 DGE */
{ },
};

I replaced it with the new info to look like this EXACTLY:

static struct usb_device_id id_table [] = {
{ USB_DEVICE(0xf3d0, 0x0112) }, /* AirPrime 5220 */
{ USB_DEVICE(0x1199, 0x0112) }, /* Sierra Wireless Aircard 580 */
{ USB_DEVICE(0x1199, 0x0017) }, /* Sierra Wireless EM5625 */
{ USB_DEVICE(0x1199, 0x0018) }, /* Sierra Wireless MC5720 */
{ USB_DEVICE(0x1410, 0x1110) }, /* Novatel Wireless S620 */
{ USB_DEVICE(0x1410, 0x1130) }, /* Novatel Wireless S720 */
{ USB_DEVICE(0x1410, 0x2110) }, /* Novatel Wireless U720 */
{ USB_DEVICE(0x1410, 0x1430) }, /* Novatel Merlin XU870 */
{ USB_DEVICE(0x1410, 0x1100) }, /* ExpressCard34 Qualcomm 3G CDMA */
{ USB_DEVICE(0x413c, 0x8115) }, /* Dell Wireless 5500 */
{ USB_DEVICE(0x0c88, 0x17da) }, /* Kyocera Wireless KPC650/Passport */
{ USB_DEVICE(0x106c, 0x3701) }, /* Audiovox PC5740 */
{ USB_DEVICE(0x106c, 0x3702) }, /* Pantech PX-500 */
{ USB_DEVICE(0x1410, 0x4100) }, /* Novatel Wireless U727 */
{ },
};

I did this with highlighting and copy and paste and made damn sure that it looked EXACTLY like the previous original but with added entries, otherwise I might bork something. Then I saved the file and opened up another terminal window and did a sudo su (we need root type access now). Then I did a couple "cd .." to make sure I was in the root directory and then did "cd var/cache/apt/archives/source/usr/src/linux-source-2.6.22/drivers/usb/serial"

Do a ls to make sure you're in the right directory. There's gonna be alot of .c files in there. Now I went to this page http://samat.org/weblog/20070127-high-speed-cellular-wireless-modems-in-ubuntu-linux-6-10.html and started where it says "To compile only the airprime dirver (this actually compiles all drivers in the directory):" I took the easy way out and rebooted. If you didn't do like I was saying in my previous post about modprobe and adding the usbserial nonsense and vendor id stuff then you should be good to go. If you did then you need to go back and edit out those entries in those files so that airprime will be the driver used and not the usbserial driver. Reboot again if you had to change those files.

I got online and this is what I got for numbers:


I was soooooooooo happy then! Going from 400-500kb/s to that really made my night! Good luck!

P.S.
I almost forgot to mention, I'm not going to upgrade my kernel when the update thingy tells me there's a new one out there because I would have to do this all over again. So take that under consideration when you are updating your system if you want to keep your old kernel or not.
Back to top
View user's profile
rbn995
EVDO Newbie


Joined: 15 Jan 2008
Posts: 1
Location: San Diego, California

PostPosted: Tue Jan 15, 2008 4:09 pm    Post subject: Sprint U727 & EEE PC; how to upgrade Kernnel

Has anyone used Sprint U727 & EEE successfully with the original Linux Xandros ? Is this going to work or am I pissing up a rope?!

I have tried all steps on this forum except upgrading the Kernnel:
1) modified ppp/peers
2) modified etc/chatscripts connect & disconnect
3) installed kppp

but cannot load driver to match card

I think I need to upgrade the Kernnel for this.....but don't know how....can some one please post easy to follow step by step direction?
Can loading driver be done without upgrading the Kernnel ?
I will be eternally greatful for your help.
_________________
Thanks! RBN995
Back to top
View user's profile
toughguy99
EVDO Fledgling


Joined: 20 Dec 2007
Posts: 13

PostPosted: Sat Feb 09, 2008 7:40 pm    Post subject: Re: got mine working full speed now...WOW!

fb314 wrote:
I followed the directions here but stopped at the section "modify the source for your needs" because I started to get lost.


I'm about to follow this thread step-by-step on a fresh Ubuntu installationand would really appreciate it, fb314, if you could explain what steps you did before your final post. Are you saying we should ignore everything else except your final post?

thanks,
toughguy
Back to top
View user's profile
sandmanfvr
EVDO User


Joined: 15 Aug 2007
Posts: 45

PostPosted: Mon Apr 21, 2008 9:17 am    Post subject:

I to just got my u727 working in Ubuntu, painless now and it works great, but I am stuck at 64KB down, is there some setting I can change? If I was just twice that fast, updates would be easier. Thanks.
Back to top
View user's profile
rh8807
EVDO Newbie


Joined: 07 Apr 2008
Posts: 3

PostPosted: Thu Apr 24, 2008 9:13 am    Post subject: Pantech PX-500 aircard on PCLOS 2007 desktop!

Ok, I am running the PX-500 in PCLOS 2007 on my desktop using a PCI to PCMCIA adapter and just setting it up through KPPP, PCLOS found the hardware for me, I tried following the sprint directions, they didnt work, and I tried to create chatscripts that didnt work, I finally realized I didnt need all that, I just added the modem through KPPP when I finally realized the path to the device was dev/ttyACM0

It connects to the network through KPPP just fine, most of the time, pages load good but download speeds suck. How can I use an airprime driver for this? Everything I see about the airprime driver is based on the USBserial. My device is connected thru PCI cardbus bridge, so any ideas how to make it go faster. Thru KPP, while connected, you can view KPPP statistics, it shows you the current bandwidth and the peak, I assume its what it has peaked at durning the current session cause it resets all the time. so far, my highest peak has been like 162kbps. I wanna go faster. LOL
Back to top
View user's profile
sandmanfvr
EVDO User


Joined: 15 Aug 2007
Posts: 45

PostPosted: Thu Apr 24, 2008 6:57 pm    Post subject:

Wow, mine only shows 64KB. I wish I could get more.
Back to top
View user's profile
rh8807
EVDO Newbie


Joined: 07 Apr 2008
Posts: 3

PostPosted: Thu Apr 24, 2008 7:46 pm    Post subject:

after I posted that, I went to the speedtest.net site, and it says PCLOS is downloading at 1111kbps and uploading at 253kbps, maybe it has alot to do with what sites you download from. I know, I did mark all updates in the repository and it took like 12hrs to download 690MB, so I dont really know how fast it is, but web pages load and videos play from myspace and youtube, so thats pretty good I guess.
Back to top
View user's profile
sandmanfvr
EVDO User


Joined: 15 Aug 2007
Posts: 45

PostPosted: Fri Apr 25, 2008 6:10 am    Post subject:

Surfing and such is FINE, just updates take longer. I can live with it, if I need a large program I can boot vista and let it sit and download, but 95% of my stuff online doesn't take that much bandwidth.
Back to top
View user's profile
dragon_788
EVDO Newbie


Joined: 18 Dec 2007
Posts: 5

PostPosted: Fri Oct 24, 2008 10:10 am    Post subject:

Clark's issue actually wasn't an issue, the instructions he followed just didn't account for the Novatel devices showing up at ttyUSB0-5. I highly recommend Samat?'s document on Sprint devices, notably the S620/S720 (they share the same internal workings, along with the U727 it seems). I'll post a script here and elsewhere shortly that sets up your system for a Novatel device (I'll eventually expand that to include other Sprint card devices, but that's what we have at work so its what I have access to). I've successfully gotten the U727 working using nothing more than Samat's config files and a udev entry posted by someone on these forums to unmount the "driver" CDrom when its plugged in.
Back to top
View user's profile
Display posts from previous:   
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