You are not logged in.
Anyone? This is absolutely killing me. Sprint no longer sells the U720. I got the U727, and no dice so far. Ugh. ![]()
Offline
yes this is driving me nuts too ![]()
Offline
I am waiting for my eee 4G surf as well as the Sprint U727.
I googled online for installing U727 on linux. Looks like it should be fairly easy.
Here are the links I found that might be helpful:
http://ubuntuforums.org/showthread.php?t=620209
http://www.evdoforums.com/thread7379.html
I think even it involves recompile the kernel, it should work in the end.
I'll report my experience later.
Offline
My EEE was delayed due to stock issue. I have managed to make U727 work under the default Linux environment.
I recompiled the kernel module usbserial.ko with CONFIG_USB_SERIAL_GENERIC=y.
and did following to load it into kernel
sudo modprobe –r usbserial
sudo modprobe usbserial vendor=0x1410 product=0x4100 ( U727 modem )
sudo eject /dev/sr0 ( the CD-ROM driver first being mounted when inserting U727 )
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly, you should see ttyUSB0 for example)
The rest of it is the same as in http://samat.org/weblog/20070128-sprint … linux.html
My speed test shows a bit slow, like 491 kbs. Not sure if it is due to setup or due to firefox. But I am good to go.
Offline
hi there,
congrats on getting it to work. however, i am very new to linux and am unsure how to "recompile a kernel." is it simple enough to do? if not, i think i am better off getting a cradlepoint router.
Offline
It is quite easy. No need to replace the kernel image. Just need to rebuild a single kernel module named usbserial with an option. I think Asus should have done that with the default installation.
Here is the step-by-step for what I did to make u727 working:
0) open a terminal window. Either connect to internet via wire lan or copy files from anther computer using a USB sticker.
1) Follow wiki at http://wiki.eeeuser.com/howto:rebuildthekernel "Rebuilding the kernel on eeePC" part.
You can also try to download ASUS official release of linux on eee pc at
http://dlsvr03.asus.com/pub/ASUS/EeePC/ … 071127.rar
2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial
3)
cd /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial
sudo mv usbserial.ko usbserial.ko.keep ( keep the old one)
sudo cp <to linux source>/drivers/usb/serial/usbserial.ko .
4)
sudo modprobe –r usbserial
sudo modprobe usbserial vendor=0x1410 product=0x4100 ( U727 modem )
sudo eject /dev/sr0 ( the CD-ROM driver first being mounted when inserting U727 )
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly, you should see ttyUSB0 for example)
5) sudo ifup ppp0
assume ppp0 has been setup properly following the instructions at http://samat.org/weblog/20070128-sprint … linux.html
Then you are connected to internet.
Following link talks about using airprime instead of usbserial to get higher speed. I'll try it later.
http://samat.org/weblog/20070127-high-s … -6-10.html
Last edited by zaurus6k (2008-01-18 8:35:33 pm)
Offline
Yep, switch to airprime and I get much better speed, same as if I test U727 on a windows machine one feet away.
Warning: Sprint official document uses usbserial not airprime!
Only need to add one line of code change into airprime.c
{ USB_DEVICE(0x1410, 0x4100) }, /* Novatel Wireless U727 */
and rebuild the kernel module 'airprime'
Offline
gosh, i am wondering if this applies to my sierra 595u. i am starting to think i cannot get it to work. maybe i need to get a u727.
Offline
@ ichelle, the Sierra card does not work. You all might want to check out this thread, if you haven't seen it already: http://forum.eeeuser.com/viewtopic.php?id=3326
Offline
yes, i was afraid of that! argh. guess i'm going to have to list it on craigslist or maybe find someone who is willing to trade it for a u727...thanks guys.
Offline
I've followed the steps above but I don't understand some things.
It was written:
I recompiled the kernel module usbserial.ko with CONFIG_USB_SERIAL_GENERIC=y.
and did following to load it into kernel
How do I enter the above into the kernel.
I'm not too good with the terminology. How do you recompile the kernel.
Offline
zaurus 6k wrote:
2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial
I put this in the x-term but error came up
what should I do?
how do I make this kernel?
where and how do I put this line "make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial" into the kernel?
Offline
themacho wrote:
zaurus 6k wrote:
2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial
I put this in the x-term but error came up
what should I do?
how do I make this kernel?
where and how do I put this line "make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial" into the kernel?
You can use airprime instead of usbserial. It gives you better speed.
If you choose airprime:
0) open a terminal
1) cd /usr/src/linux ( where you put the eee pc linux kernel source )
sudo cp /boot/config-2.6.21.4-eeepc .config
2) sudo nano drivers/usb/serial/airprime.c
insert
{ USB_DEVICE(0x1410, 0x4100) }, /* Novatel Wireless U727 */
below the other two lines with similar format , ie USB_DEVICE(0x???,0x????) }
(I do not have my eeepc with me so I can not check the exact line # )
3) sudo make M=drivers/usb/serial
this will make whole bunch of kernel modules, one of them is airprime. Ignore warnings if there is any.
4) cd /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial
5) sudo mv airprime.ko airprime.ko.old
sudo cp /usr/src/linux/drivers/usb/serial/airprime.ko .
This is to copy the newly compiled airprime module into right place for modprobe.
6) sudo eject /dev/sr0 ( to remove CD-ROM drive loaded when you insert U727 )
sudo modprobe -r airprime ( optional, just to remove airpime if it is loaded before )
sudo modprobe airprime
7) sudo ifup ppp0 ( assume you have that part done )
If you choose useserial,
skip step 2) above and in step 3) do
3) sudo make CONFIG_USB_SERIAL_GENERIAL=y M=drivers/usb/serial
Rest of it is explained in a post before.
Last edited by zaurus6k (2008-01-21 7:32:14 pm)
Offline
zaurus6k wrote:
It is quite easy. No need to replace the kernel image. Just need to rebuild a single kernel module named usbserial with an option. I think Asus should have done that with the default installation.
Here is the step-by-step for what I did to make u727 working:
0) open a terminal window. Either connect to internet via wire lan or copy files from anther computer using a USB sticker.
1) Follow wiki at http://wiki.eeeuser.com/howto:rebuildthekernel "Rebuilding the kernel on eeePC" part.
You can also try to download ASUS official release of linux on eee pc at
http://dlsvr03.asus.com/pub/ASUS/EeePC/ … 071127.rar
2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial
3)
cd /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial
sudo mv usbserial.ko usbserial.ko.keep ( keep the old one)
sudo cp <to linux source>/drivers/usb/serial/usbserial.ko .
4)
sudo modprobe –r usbserial
sudo modprobe usbserial vendor=0x1410 product=0x4100 ( U727 modem )
sudo eject /dev/sr0 ( the CD-ROM driver first being mounted when inserting U727 )
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly, you should see ttyUSB0 for example)
5) sudo ifup ppp0
assume ppp0 has been setup properly following the instructions at http://samat.org/weblog/20070128-sprint … linux.html
Hi, can you please send me functional copy of the usbserial.ko module? A use your step-by-step manual exactly, but i getting this error message:
[ 950.110000] usbserial: Unknown parameter `vendor'
Please, help!
Offline
How to send it to you? I actually can also send you the airprime.ko that works for me.
Offline
zaurus6k wrote:
How to send it to you? I actually can also send you the airprime.ko that works for me.
Please, my addres is: admin (at) superveci (dot) cz
Thanks a lot!
Offline
zaurus6k wrote:
themacho wrote:
zaurus 6k wrote:
2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial
I put this in the x-term but error came up
what should I do?
how do I make this kernel?
where and how do I put this line "make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial" into the kernel?You can use airprime instead of usbserial. It gives you better speed.
If you choose airprime:
0) open a terminal
1) cd /usr/src/linux ( where you put the eee pc linux kernel source )
sudo cp /boot/config-2.6.21.4-eeepc .config
2) sudo nano drivers/usb/serial/airprime.c
insert
{ USB_DEVICE(0x1410, 0x4100) }, /* Novatel Wireless U727 */
below the other two lines with similar format , ie USB_DEVICE(0x???,0x????) }
(I do not have my eeepc with me so I can not check the exact line # )
3) sudo make M=drivers/usb/serial
this will make whole bunch of kernel modules, one of them is airprime. Ignore warnings if there is any.
4) cd /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial
5) sudo mv airprime.ko airprime.ko.old
sudo cp /usr/src/linux/drivers/usb/serial/airprime.ko .
This is to copy the newly compiled airprime module into right place for modprobe.
6) sudo eject /dev/sr0 ( to remove CD-ROM drive loaded when you insert U727 )
sudo modprobe -r airprime ( optional, just to remove airpime if it is loaded before )
sudo modprobe airprime
7) sudo ifup ppp0 ( assume you have that part done )
If you choose useserial,
skip step 2) above and in step 3) do
3) sudo make CONFIG_USB_SERIAL_GENERIAL=y M=drivers/usb/serial
Rest of it is explained in a post before.
Thanks zaurus 6k for the help. I could not get the U727 to work with the re-built usbserial driver -- still complains about the "vendor=" in dmesg, but I did have success getting it to work with the re-built airprime driver. Bravo!
One question: is it possible to rebuild the kernel module without going through the entire kernel rebuild, or is there something that the module rebuild "needs" from the kernel rebuild?
Also, I wrote a simple script to bring up the U727 evdo connection. It requires that wvdial be configured (I used the Sprint instructions). Here it is, for what its worth.
#!/bin/bash
#
# evdo.sh
# enables Sprint U727 EVDO adapter.
sudo modprobe -r airprime
echo "Disbable networking, press <enter> to confirm."
read answer
dmesg | grep -q ttyUSB0 | tail --lines=1 | grep -q attached
grepstatus=$?
while [ $grepstatus -eq 1 ]
do
echo "airprime converter not attached to ttyUSB0"
lsmod | grep -q airprime
grepstatus=$?
while [ $grepstatus -eq 1 ]
do
echo "airprime module not loaded"
lsusb | grep -q '1410:4100'
grepstatus=$?
while [ $grepstatus -eq 1 ]
do
echo "U727 not recognized as EVDO device"
lsusb | grep -q '1410:5010'
grepstatus=$?
while [ $grepstatus -eq 1 ]
do
echo "U727 not recognized as cdrom device"
echo "Plug in U727 adapter and press <enter>."
read answer
sleep 8
lsusb | grep -q '1410:5010'
grepstatus=$?
#echo $grepstatus
if [ $grepstatus -eq 0 ]
then echo "U727 recognized as cdrom device."
fi
done
sudo eject /dev/cdrom
sleep 8
lsusb | grep -q '1410:4100'
grepstatus=$?
if [ $grepstatus -eq 0 ]
then echo "U727 recognized as EVDO device."
fi
done
sudo modprobe airprime
sleep 5
lsmod | grep -q airprime
grepstatus=$?
if [ $grepstatus -eq 0 ]
then echo "Airprime module loaded."
fi
done
#echo "Make sure U727 adapter is plugged in. Press <enter> to confirm."
#read answer
done
echo "U727 is ready to connect to Sprint"
echo "Do you want to connect to Sprint? (y or N)"
read answer
while [ $answer = y ]
do
sudo wvdial
echo "Do you want to connect to Sprint? (y or N)"
read answer
done
echo "Press <enter> to terminate script"
read answerOffline
I've followed all the instructions for setting up the U727 with the airprime driver. I think i did everything correctly, however, when i have the card plugged in and do the modprobes and check with dmesg, i don't see it attaching to a ttyUSBx...here's my dmesg output...
[18707.220000] usb 2-1: new full speed USB device using uhci_hcd and address 3
[18707.390000] usb 2-1: configuration #1 chosen from 1 choice
[18707.400000] scsi13 : SCSI emulation for USB Mass Storage devices
[18707.400000] usb-storage: device found at 3
[18707.400000] usb-storage: waiting for device to settle before scanning
[18712.400000] scsi 13:0:0:0: Direct-Access Novatel MMC Storage 2.31 PQ: 0 ANSI: 2
[18712.410000] sd 13:0:0:0: Attached scsi removable disk sdc
[18712.460000] usb-storage: device scan complete
[18754.450000] usbcore: deregistering interface driver airprime
[18754.450000] drivers/usb/serial/usb-serial.c: USB Serial deregistering driver airprime
[18754.450000] usbcore: deregistering interface driver usbserial
[18761.580000] usbcore: registered new interface driver usbserial
[18761.580000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[18761.580000] drivers/usb/serial/usb-serial.c: USB Serial support registered for airprime
[18761.580000] usbcore: registered new interface driver airprime
Anybody have any ideas about what is wrong? I have also tried just using the usbserial driver and I get the unkown parameter vendor error message.
Offline
@trockid
did you do
sudo eject /dev/sr0 ?
Offline
1. plug in u727
dmesg =
[ 142.620000] usb 1-2: new full speed USB device using uhci_hcd and address 2
[ 142.790000] usb 1-2: configuration #1 chosen from 1 choice
[ 142.790000] scsi3 : SCSI emulation for USB Mass Storage devices
[ 142.790000] usb-storage: device found at 2
[ 142.790000] usb-storage: waiting for device to settle before scanning
[ 147.790000] scsi 3:0:0:0: CD-ROM Novatel Mass Storage 1.00 PQ: 0 ANSI: 2
[ 147.820000] sr0: scsi-1 drive
[ 147.820000] Uniform CD-ROM driver Revision: 3.20
[ 147.820000] sr 3:0:0:0: Attached scsi CD-ROM sr0
[ 147.820000] usb-storage: device scan complete
[ 149.090000] sr0: CDROM (ioctl) error, command: <6>cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[ 149.090000] sr: Current: sense key=0x0
[ 149.090000] ASC=0x0 ASCQ=0x0
[ 149.210000] sr0: CDROM (ioctl) error, command: <6>cdb[0]=0x46 46 00 00 00 00 00 00 00 20 00
[ 149.210000] sr: Current: sense key=0x0
[ 149.210000] ASC=0x0 ASCQ=0x0
[ 149.220000] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 149.240000] Unable to load NLS charset utf-8
[ 149.260000] Unable to load NLS charset utf-8
[ 149.270000] ISOFS: changing to secondary root
2. sudo eject /dev/sr0
dmesg =
[ 370.530000] usb 1-2: USB disconnect, address 2
[ 372.060000] usb 1-2: new full speed USB device using uhci_hcd and address 3
[ 372.230000] usb 1-2: configuration #1 chosen from 1 choice
[ 372.240000] scsi4 : SCSI emulation for USB Mass Storage devices
[ 372.240000] usb-storage: device found at 3
[ 372.240000] usb-storage: waiting for device to settle before scanning
[ 377.240000] scsi 4:0:0:0: Direct-Access Novatel MMC Storage 2.31 PQ: 0 ANSI: 2
[ 377.250000] sd 4:0:0:0: Attached scsi removable disk sdc
[ 377.250000] usb-storage: device scan complete
3. sudo modprobe -r airprime
no output
4. sudo modprobe airprime
dmesg=
[ 600.150000] usbcore: registered new interface driver usbserial
[ 600.150000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 600.150000] drivers/usb/serial/usb-serial.c: USB Serial support registered for airprime
[ 600.150000] usbcore: registered new interface driver airprime
And that's all I get...my ppp script doesn't work because there is no /dev/ttyUSBx.
here is a snippet from 'lsmod', i'm not sure if it is relevant, but might be.
Module Size Used by
airprime 5828 0
usbserial 19680 1 airprime
Here's a bit more diagnostic info...
sudo modinfo airprime.ko
filename: airprime.ko
license: GPL
vermagic: 2.6.21.4-eeepc mod_unload PENTIUMM
depends: usbserial,usbcore
alias: usb:v0C88p17DAd*dc*dsc*dp*ic*isc*ip*
alias: usb:v413Cp8115d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1401p4100d*dc*dsc*dp*ic*isc*ip*
parm: endpoints:Number of bulk EPs to configure (default 3) (int)
parm: buffer_size:Size of the transfer buffers in bytes (default 4096) (int)
parm: debug:Debug enabled (bool)
Last edited by trockid (2008-02-06 8:02:14 pm)
Offline
I just noticed something...after executing 'sudo eject /dev/sr0', a new device shows up in /dev, it is /dev/sdc. Looking back at the dmesg output it shows
[ 377.250000] sd 4:0:0:0: Attached scsi removable disk sdc
So it seems to me that the OS is automatically mounting the U727 as another sd card device instead of usb.
Any ideas?
Offline
trockid wrote:
I just noticed something...after executing 'sudo eject /dev/sr0', a new device shows up in /dev, it is /dev/sdc. Looking back at the dmesg output it shows
[ 377.250000] sd 4:0:0:0: Attached scsi removable disk sdc
So it seems to me that the OS is automatically mounting the U727 as another sd card device instead of usb.
Any ideas?
U727 has a MMC_SD slot. That is what sdc for. Check your email. I sent you the .ko files.
Offline
I am posting this from my EEE via the Sprint U727.
Thanks zaurus6k!! Your files did the trick. I just copied your airprime.ko and usbserial.ko to /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial/ and now everything works great.
I wonder where i went wrong with mine...although i'm not going to spend much thought on it.
Offline
Does Asus plan on having "official" updates for the EEE?
I'm not an experienced Linux user -- I'd love for EVDO to just be plug-and-play --
is this a possibility?
Offline
zaurus6k:
Ok I have given up, been working on this for two days, and can still not get my system to compile airprime.c
every time I run the make command It comes back with make: ****[modules] Error 2 , So zaurus6k can you email me the same files you have created for others. quazione (at) yahoo I would greatly appreciated it!
Thanks
Quazione
P.S. Have a entire document that has combined this thread and several others with explicit directions, and all of the things that I have had to do in order to get to this failed point..... ARRRRRGGGGGG.
Things like:
Upgrade BIOS to fix USB issues
Fix ASUS CD/DVD Omission
Install essential LINUX files left out by ASUS
All of the Download website points
All of the Linux command, with the graphic shell commands
All of the compile commands
And all of the stuff that zaurus6k has written in this tread.
and all of the stuff from sprint
Offline