← Back to team overview

sony-vaio-z-series team mailing list archive

Re: [VPCZ2] How to get Huawei Gobi 3000 working with kernel 3.2 ?

 

Iv got some good news.

I successuflly compiled qcserial and when I load it I got to interface now ttyUSB0 and ttyUSB1.

# sudo modprobe qcserial debug=y

[  281.003396] usb 1-1.2: new full-speed USB device number 7 using ehci_hcd
[ 281.171215] usb 1-1.4: reset high-speed USB device number 6 using ehci_hcd
[  281.265608] qcserial 1-1.4:1.1: no reset_resume for driver qcserial?
[  281.265613] qcserial 1-1.4:1.2: no reset_resume for driver qcserial?
[ 289.273971] iwlwifi 0000:02:00.0: Tx aggregation enabled on ra = 20:4e:7f:0b:0a:20 tid = 0
[  290.326407] wlan0: no IPv6 routers present
[  489.790296] usbcore: deregistering interface driver qcserial
[ 489.838613] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1 [ 489.838625] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: qc_release
[  489.838635] qcserial 1-1.4:1.2: device disconnected
[ 489.838697] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0 [ 489.838706] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: qc_release
[  489.838713] qcserial 1-1.4:1.1: device disconnected
[  489.838726] USB Serial deregistering driver Qualcomm USB modem
[  489.885804] usbcore: deregistering interface driver usbserial_generic
[  489.885840] USB Serial deregistering driver generic
[  489.885859] usbcore: deregistering interface driver usbserial
[  491.823109] usbcore: registered new interface driver usbserial
[  491.823127] USB Serial support registered for generic
[  491.823172] usbcore: registered new interface driver usbserial_generic
[  491.823174] usbserial: USB Serial Driver core
[  491.824050] USB Serial support registered for Qualcomm USB modem
[ 491.824080] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: qcprobe [ 491.824084] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: Num Interfaces = 3 [ 491.824087] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: This Interface = 0 [ 491.824103] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: qcprobe [ 491.824106] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: Num Interfaces = 3 [ 491.824109] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: This Interface = 1 [ 491.824111] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: Diagnostics Monitor found
[  491.824879] qcserial 1-1.4:1.1: Qualcomm USB modem converter detected
[ 491.825551] usb 1-1.4: Qualcomm USB modem converter now attached to ttyUSB0 [ 491.826114] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: qcprobe [ 491.826119] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: Num Interfaces = 3 [ 491.826122] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: This Interface = 2 [ 491.826125] /home/hadim/Downloads/drivers/gobi/qcserial/qcserial.c: Modem port found
[  491.827542] qcserial 1-1.4:1.2: Qualcomm USB modem converter detected
[ 491.827685] usb 1-1.4: Qualcomm USB modem converter now attached to ttyUSB1
[  491.827732] usbcore: registered new interface driver qcserial

As you can see qserial found to interface ttyUSB0 as a Diagnostics Monitor and ttyUSB1 as a Modem Port. Obviously wvdial is not working anymore with ttyUSB0 but works like a charm on ttyUSB1.

However there is no clue of an interface for the GPS. I will try to gpsd over ttyUSB0 and ttyUSB1 and see what is happenning but I am not very confident about that.

Another thing, NetworkManager dont see qcserial and I am running the last version from oneiric repository which is 0.9.1.90.

Last thing, when I load GobiNet NetworkManager see it as a unplugged wired cable, and I cannot do anything with.

Cheers,

On 11/29/2011 12:24 AM, vick wrote:
Get the makefile from this link, you can probably update the source with
the latest from your tree
http://westhoffswelt.de/data/blog/vaiox_gobi2000/qcserial_with_gobi2000_support.tar.gz
The link is from this post:
http://westhoffswelt.de/blog/0045_howto_setup_sony_vaio_x_wwan_gobi_2000_under_ubuntu_linux.html

    ------------------------------------------------------------------------
    **I am not a kernel expert and I am pretty lost on the way to recompile
    qcserial.c without recompiling all the kernel. So I have linux-source
    installed and I copied qcserial.c from the source tree to another
    folder. I made the change adding a line with the appropriate vendor and
    product ID. Big question now ! How to recompile it ? I tried to copy
    the
    Makefile and run it in the same folder as qcserial.c and I got this:

    hadim boromir /home/hadim/qcserial $ make qcserial
    cc qcserial.c -o qcserial
    qcserial.c:15:28: fatal error: linux/tty_flip.h: No such file or
    directory
    compilation terminated.
    make: *** [qcserial] Error 1

    Is this Makfile appropriate ? If it does. How can I add linux include
    file in ?

    Cheers,




_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp

--
HadiM


Follow ups

References