Hi! > > > But that seems to fix a different issue from what you're seeing. > > > > Yes, I can easily work around the problem like this: > > > > It needs huge fixme there, but if you could include it... "always > > ready" is better than "never ready". > > OK I'll take a look when I get a chance. I think all we need > to do there is check that cdata->write_offset < cdata->write_buf_sz. Makes sense. And you probably need to wake up userspace when buffer was full and free space appears. > > Have you figured out how the incoming calls are supposed to work? I'm > > getting this on incoming call: ... > > ofonod[2534]: Voice: < ~+CIEV=1,4,0\n\r > > ignoring line > > ofonod[2534]: Voice: < ~+CLIP="+420xxxxxxxxx",1,1,"",0,"",0\n\r > > ignoring line > > I probably could use +CLIP as "there's incoming call", but I don't see > > anything useful when I hang up and phone should stop ringing. > > Parsing the number(s) from +CIEV should tell that, see what > I added to motmdm_read_state(). +CIEV is documented as "indicator event". I can make ofono parse that, but it will be ... slightly hacky. Is there "RING" or something like that going on any of the interfaces? BTW does 5.0-rc1 boot for you? Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature