Please somebody tell me what I can do to over come this error ? On 1 March 2012 14:32, Amit kumar Bag <[email protected]> wrote:
> HI, > I want to set the line discipline of the modem connected to a serial USB > port to CAIF protocol. So that I can use caif socket to communicate with > the modem. I tried the below function > ioctl(fd, TIOCSETD, &ldiscnr); > > Here ldiscnr value is 20 for CAIF. But I am getting errno 1 after that > system call i.e. Operation not permitted. > I am tried it inside reference-ril.c. > > So can somebody tell me why I am getting that error and how can I > eliminate that error. > > Thanks, > Amit > > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
