Hi, Michael Trimarchi wrote: > Hi all, > > I would like to know how android deal with the problem of data buffering > during mobile phone suspend. > This is a scenario: > > linux start to suspend and no wakelock are acquired by any subsystem and > the application that read from > the serial device is froozen, but the application does't know exaclty > when it will go to sleep so it can > give this info to the gsm modem (rise up RTS). The modem is connected to > the serial and try to send data, > linux buffer it but doesnt't give any info to the application. It can be > happen or there is somenthing > wrong on this scenario? > > Michael > I have seen that the msn kernel serial driver acquire a wake lock on rx path but it is not clear how it force the gsm to start to buffering during suspend. If the gsm has hw flow control the driver must block the gsm to trasmit to the host to avoid data lost. Is this correct?
Michael > --~--~---------~--~----~------------~-------~--~----~ > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel > -~----------~----~----~----~------~----~------~--~--- > > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
