Search this site


Metadata

Articles

Projects

Presentations

Kyocera KPC650 working in FreeBSD 6.1

I finally got my Verizon EVDO card working in FreeBSD. The following steps are necessary:
  1. Add a new vendor line to sys/dev/usb/usbdevs
  2. Add a new product line to sys/dev/usb/usbdevs
  3. Download http://www.cs.cmu.edu/~dga/dot/fbsd_pc5220/ugencom.c
  4. Update sys/conf/files with a new entry

usbdevs changes

In /usr/src/sys/dev/usb/usbdevs, add the following:
vendor QUALCOMM3        0x0c88  Qualcomm
product QUALCOMM3 CDMA_MSM      0x17da  CDMA Technologies MSM phone

Download ugencom.c

http://www.cs.cmu.edu/~dga/dot/fbsd_pc5220/ugencom.c"

Download this to /usr/src/sys/dev/usb/ugencom.c. Now, you need to make a slight change to this file. Change the following the following line:

        { USB_VENDOR_AIRPRIME, USB_PRODUCT_AIRPRIME_PC5220, -1 },
To this:
        { USB_VENDOR_QUALCOMM3, USB_PRODUCT_QUALCOMM3_CDMA_MSM, -1 },

Update sys/conf/files

In /usr/src/sys/conf/files, add the following just after the line containing 'uplcom.c'
dev/usb/ugencom.c               optional ugencom ucom

Build your kernel

Add the following to your kernel:
device ucom
device ugencom
Rebuild your kernel. This device should show up as a usb serial device: /dev/cuaU0

ppp.conf

This is mostly stolen from another fellow, but modified the authname and added the comment regarding it.
# Start by running ppp -ddial evdo  
evdo:
 set device /dev/cuaU0
 set speed 230400
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0s7=60 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set phone "#777"
 # The authname and authkey are meaningless, but you need to have them set.
 # Verizon's servers don't seem to care what you auth as.
 set authname "doesn't matter"
 set authkey "doesn't matter either"
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route
 enable dns

6 responses to 'Kyocera KPC650 working in FreeBSD 6.1'

Showing last 6 comments... (Click here to view all comments)

Sam Fourman Jr. wrote at Tue Aug 28 15:42:54 2007...
Does this card work in FreeBSD 6.2 or in 7.0 -CURRENT?

or would you still need to apply the source changes

Jordan Sissel wrote at Tue Aug 28 16:00:30 2007...
No idea, I haven't gotten around to upgrading my laptop from 6.1. Sorry ;)

Ivan wrote at Tue Oct 30 11:06:37 2007...
This driver work on FreeBSD 6.2, but don't work on 7.0 =(

jason wrote at Sun Feb 24 23:13:16 2008...
i've spent the past few days trying to get a Curitel PC5470 card working in 6.3 . supposedly its supported to begin with by umodem, but i still can't seem to find it. tried what you had here. when re-building the kernel i get the following:

/usr/src/sys/dev/usb/ugencom.c:198: error: initializer element is not constant

paix wrote at Mon Jul 14 01:22:22 2008...
Hi,
this driver dosn't work on RELENG_7 :(

Does anyone know a solution of this problem?

paix wrote at Mon Jul 14 02:09:48 2008...
Hi,
this driver dosn't work on RELENG_7 :(

Does anyone know a solution of this problem?


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment: