If you are sure gnokii use only RTS and DTR you can simulate
DTR to high:
echo GPIO out > /proc/gpio/GPIO34
echo set > /proc/gpio/GPIO34

And connect the line DTR of the cable to the RxD of the first serial port FFUART

RTS to low
echo GPIO out > /proc/gpio/GPIO39
echo clear > /proc/gpio/GPIO39

And connect the line DTR of the cable to the TxD of the first serial port FFUART

Run the four commands before gnokii and everything should be fine.

Which means you should sacrifice the connection via RS232 on ttyS0. And you will had to connect to
your gumstix via usbnet or bluetooth...

Source:
http://www.gumstix.com/docs/CONN2.pdf


On 8/16/05, Craig Hughes <craig@gumstix.com> wrote:
James, if you're only using one of the serial ports, then you can use
the Tx/Rx lines of the 2nd serial port as GPIOs (which will still be
passing through the RS232 level shifter) to simulate RTS and CTS.
Configure the lines on the serial port you're not using to be in GPIO
mode and then set them high in /proc/gpio.

C

On Aug 16, 2005, at 9:07 AM, James Coxon wrote:

> Okay the latest update - I've managed to work out the wires
> required and it seems that circuits in the cable draw power from
> DTR and RTS. Gnokii (the software) sets RTS to low and DTR to high.
> The situation I'm in now is that i have connected GND, Rxd and Txd
> to the gumstix and if i use DTR and RTS from the main computer, run
> the software at the same time i can make a connection with the
> phone (and therefore dial and send sms etc.) The plan is to some
> how simulate DTR and RTS - is this possible with GPIO - some
> guidance would be great - this is the last hurdle for my project
> (well on the electronic side). Thanks in advance James
>
> On Aug 14 2005, Cyril Bazin wrote:
>
>
>> The serial ports of the two type of waysmall are RS232 with TxD,
>> RxD and GND. On the waysmall original RTS and CTS are also
>> available (that's why there is two ICL3232TSSOP16).
>>
>> The schematics to construct the cable are at http://
>> www.gumstix.org/tikiwiki/tiki-index.php?page=I%2FO .
>> But I don't know if your nokia 5110 require a modem cable or a
>> null modem.
>>
>> You can see the pages:
>> http://www.gumstix.org/tikiwiki/tiki-index.php?page=UART_Schematics
>> http://www.gumstix.org/tikiwiki/tiki-index.php?page=+STUART_Little
>> To see how the standard waysmall and the STUART waysmall are made
>> (respectively).
>> And you see there is no reference to the other signals (DTR,
>> DCD, ...)
>> Does the nokia require another signals than RxD, TxD, RTS, CTS ans
>> GND?
>>
>> Cyril
>>
>> On 14 Aug 2005 10:47:30 +0100, James Coxon <jac208@cam.ac.uk> wrote:
>>
>>> Hi, Sorry if you feel this is a repeat of a question i asked
>>> earlier but through some research i reckon i can rephrase it. Am
>>> using a waysmall serial port to connect to a nokia 5110, i've
>>> compiled gnokii but am struggling with putting together an
>>> adapter from miniDIN8 to DB9, 1) Are the serial ports standard
>>> rs232 or are they just like the mac serial ports (which run on
>>> rs422 (i think)? 2) From the wiki i have worked out the pins for
>>> TxD, RxD RTS, CTS and GND. There are still a few pins left - are
>>> they assigned to anything such as DTR or DCD? Thanks in advance
>>> James
>>> ------------------------------------------------------- SF.Net
>>> email is Sponsored by the Better Software Conference & EXPO
>>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>> Practices Agile & Plan-Driven Development * Managing Projects &
>>> Teams * Testing & QA Security * Process Improvement & Measurement
>>> * http://www.sqe.com/bsce5sf
>>> _______________________________________________ gumstix-users
>>> mailing list gumstix-users@lists.sourceforge.net https://
>>> lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>>
>>
>>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/
> bsce5sf
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users