KPC680 on Ubuntu/Linux Instructions

Instructions I received from Sergiy Zaschipas 

 

So i found that this chip works similar to some other chips for example KPC650 or AirPrime which have same driver under Mac OS. And Linux have AirPrime driver which could work with this card.
I did dirty hack and got this driver work with my KPC680.
First please do lspci on your Linux
my result show to me this:
serge@book:/srv/home/serge$ lsusb
Bus 002 Device 003: ID 0c88:180a Kyocera Wireless Corp.
ID 0c88:180a - it ID of KPC680 chipset. I think you must see this ID too. If you see this ID you may hack your kernel driver. (You may try hack ever with other ID i think :-))
So go to your kernel and find file drivers/usb/serial/airprime.c

Search such piece of code: (line 19 in my airprime.c)

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 */
        { },
};

modify this  snippet

static struct usb_device_id id_table [] = {
        { USB_DEVICE(0x0c88, 0x17da) }, /* Kyocera Wireless KPC650/Passport */
// add next line
        { USB_DEVICE(0x0c88, 0x180a) }, /* Kyocera Wireless KPC680 HACK NOT STABLE */
        { 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 */
        { },
};

Thats all... You must enable in your kernel config USB AirPrime module.
Device Drivers ->
    USB support ->
        USB Serial Converter support  --->     
             <M>   USB AirPrime CDMA Wireless Driver
compile and install your kernel modules...
after it plug your device to slot and look dmesg...
>dmesg
[  147.225695] usb 2-2: new full speed USB device using uhci_hcd and address 3
[  145.345929] usb 2-2: configuration #1 chosen from 1 choice
[  145.348879] airprime 2-2:1.0: airprime converter detected
[  145.349060] usb 2-2: airprime converter now attached to ttyUSB0
[  145.349109] usb 2-2: airprime converter now attached to ttyUSB1
[  145.349157] usb 2-2: airprime converter now attached to ttyUSB2

It means that driver installed
so now you may simple use ttyUSB0 by wvdial to make call

my wvdial.conf
you will edit it for yourself
Baud = 115200 - it must be so but speed will be higher for sure.

[Dialer evdo]
Phone = #777
Password = IT
Username = IT@IT
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 115200
Init = ATZ
Dial Command = ATDT
Stupid mode = 1

That's all. Please notice that it is not native driver for this card and you may have troubles with it (it may hangup and not reconnect and if you unplug card it may ever do kernel panic.)

Best Regards
Sergiy Zaschipas