Hi Chaitanya, I have enables all caif related drivers in the kernel in the make menuconfige and enable the FTDI drivers for serial cummunication as a part of the kernel not as a module i.e [*] not [M] .
When I connect my modem to the snowball I am getting the below logs [ 159.611602] usb 1-1: new full speed USB device number 2 using musb-hdrc [ 159.754943] usb 1-1: device v0403 p6010 is not supported [ 159.765594] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [ 159.773925] usb 1-1: Detected FT2232C [ 159.779052] usb 1-1: Number of endpoints 2 [ 159.784484] usb 1-1: Endpoint 1 MaxPacketSize 64 [ 159.789794] usb 1-1: Endpoint 2 MaxPacketSize 64 [ 159.794921] usb 1-1: Setting MaxPacketSize 64 [ 159.801788] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 159.802978] ftdi_sio 1-1:1.1: FTDI USB Serial Device converter detected [ 159.803497] usb 1-1: Detected FT2232C [ 159.803527] usb 1-1: Number of endpoints 2 [ 159.803527] usb 1-1: Endpoint 1 MaxPacketSize 64 [ 159.803527] usb 1-1: Endpoint 2 MaxPacketSize 64 [ 159.803527] usb 1-1: Setting MaxPacketSize 64 [ 159.804412] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB1 That mean its detect the modem and device path is /dev/ttyUSB1. And I am giving the same path in the ril when its opening the the device for communicating to the modem. the radio logs are as follows. I/RIL ( 1437): Opening tty device /dev/ttyUSB1 2097 RIL_Init [ 177.345214] request_suspend_state: wakeup (3->0) at 176683701313 (2000-01-01) [ 179.460357] binder: release proc 2710, transaction 2192, not freed I/PHONE ( 2727): Network Mode set to 0 I/PHONE ( 2727): Cdma Subscription set to 1 I/RILC ( 1437): libril: new connection I/RILC ( 1437): RIL Daemon version: android reference-ril 1.0 I/RILJ ( 2727): Connected to 'rild' socket D/RILJ ( 2727): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE I/PHONE ( 2727): Creating GSMPhone D/PHONE ( 2727): mDoesRilSendMultipleCallRing=true D/PHONE ( 2727): mCallRingDelay=3000 W/GSM ( 2727): Can't open /system/etc/voicemail-conf.xml W/GSM ( 2727): Can't open /system/etc/spn-conf.xml D/GSM ( 2727): [DSAC DEB] registerForPsRestrictedEnabled D/GSM ( 2727): [DSAC DEB] registerForPsRestrictedDisabled D/GSM ( 2727): [GsmDataConnection-1] DataConnection constructor E D/GSM ( 2727): [GsmDataConnection-1] clearSettings D/GSM ( 2727): [GsmDataConnection-1] DataConnection constructor X D/GSM ( 2727): [GsmDataConnection-1] Made GsmDataConnection-1 D/RILJ ( 2727): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING D/STK ( 2727): StkService: StkService: is running D/STK ( 2727): StkService: NEW sInstance D/RIL ( 1437): onRequest: REPORT_STK_SERVICE_IS_RUNNING D/RILJ ( 2727): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: comE D/RILJ ( 2727): [0001]> GET_CURRENT_CALLS E/GSM ( 2727): Wrong network type: 0 E/GSM ( 2727): Wrong network type: 0 D/GSM ( 2727): Poll ServiceState done: oldSS=[1 home null null null Unknon D/RIL ( 1437): onRequest: GET_CURRENT_CALLS D/RILJ ( 2727): [0001]< GET_CURRENT_CALLS error: com.android.internal.telephE D/GSM ( 2727): [GsmDataConnection-1] DcInactiveState: msg.what=EVENT_RESET,t D/GSM ( 2727): [GsmDataConnection-1] NotifyDisconnectCompleted D/GSM ( 2727): [GsmDataConnection-1] clearSettings D/GSM ( 2727): [DataConnection] Stop poll NetStat D/GSM ( 2727): [DataConnection] Stop poll NetStat D/GSM ( 2727): [DSAC DEB] trySetupData with mIsPsRestricted=false D/GSM ( 2727): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_Rl But as per my understanding for modem communication from snowball I need to set the speed i.e. baud rate to 115200 and enable line discipline for caif for the modem device /dev/ttyUSB1. Now the thing is where I can do that changes so that it will start communicating. And one more thing is the caif need to have the caif socket for communication but in ril SOCK_STREAM used everywhere. So do I need to change to caif socket ? Please tell me how I can progress from here. Thanks, Amit Bag On 23 February 2012 16:25, Chaitanya <chaitanya.nom...@gmail.com> wrote: > HI Amit, > Do you have the CAIF protocal stack and the CAIF serial driver enabled > and installed with your kernel? > Did you get a device node or a tty device for your modem? > > On Feb 22, 9:59 am, Amit kumar Bag <amitkumar...@gmail.com> wrote: > > Hi All, > > > > Please give me some input for my previous posting. I stuck here. > > > > On 20 February 2012 13:52, Amit kumar Bag <amitkumar...@gmail.com> > wrote: > > > > > HI, > > > I am using ST-Ericsson external modem to communicate with snowball > board. > > > I am connecting the modem with the snowball board in the usb OTG port > in > > > snowball side and CAIF port (GPIO port) in the ST-Ericsson modem side. > So > > > in order to communicate between snowball and the st-ericsson external > > > modem, Caif drivers need to be implemented in the RIL modum from my > > > understanding. > > > > > Can someone please tell me how to communicate from snowball RIL to > modem > > > CAIF port to establish the connection for making calls and related > modem > > > operation from snowball board. > > > > > Do I need to implement line discipline for CAIF in snowball board > > > > serial port. > > > > > > > > > > > > > > > > > Please give some advise. > > > > > Thanks in advance, > > > Amit Bag > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting