[maemo-developers] Unable to write to the serial port /dev/ttyS0 using QextSerialPort on Maemo device

From: Rémi Denis-Courmont remi.denis-courmont at nokia.com
Date: Fri Jul 2 14:36:50 EEST 2010
On Friday 02 July 2010 14:25:18 ext Suyash.Kumar at tieto.com, you wrote:
> OK, I understood, Thanks for the explanation Denis but I have one more
> question? IWe decided this approach as we have already implemented serial
> communication of Nokia N95 and PC (connected via USB cable).

If it is USB then it is not serial. N95 is the same as N900 w.r.t. the serial 
port: you will also find it hidden in the battery compartment.

If you want to transmit data on the USB cable, you need to use one of the USB 
interfaces. If you mean to use the EMULATED serial line, then you need to use 
the USB CDC ACM interface of the PC suite profile. That will LOOK LIKE a COM 
port on Windows if you have the Nokia connectivity device drivers. On Maemo 5, 
that is called /dev/ttyGS2 but that device node is reserved by the N900 built-
in AT commands handler.

-- 
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
More information about the maemo-developers mailing list