Re: command line

From: Michael Opdenacker <zumbi3.a.t.free.fr>
Date: Mon Feb 23 2004 - 16:39:48 EST

Hi Andrew and Alain,

Right! Here's the mail that I was about to send when I received yours.
If I understand things right and didn't make mistakes, this confirms
what you said: we can't detect cable insertion if nothing happens at the
end of the line. And, of course, GPIO80 must be set to 1.

Thanks for everything!

 
  Michael.

---
Actually, I found that what happens depends on whether something happens 
at the other end of the serial line or not. During my first tests, the 
PC host at the other end was passive. I made more tests with an active 
PC at the end.
In my experiments, "active"means that I started a ppp connection through 
the serial line (synce-serial-start). "Passive" means that no such 
connection is running.
                              1/ RS232 unplugged          2/ RS232 
plugged in                  
a/ GPIO80=1, RS232 passive    GPIO04=0                    GPIO04=0
                              GPIO24=1                    GPIO24=1
b/ GPIO80=1, RS232 active     GPIO04=1                    GPIO04=0
                              GPIO24=1                    GPIO24=0 
c/ GPIO80=0, RS232 passive    GPIO04=0                    GPIO04=0
                              GPIO24=0                    GPIO24=0
d/ GPIO80=0, RS232 active     GPIO04=0                    GPIO04=0
                              GPIO24=0                    GPIO24=1
>  
>
>>finally after a lot of trial, I found that for beeing able to write on
>>the command line the GPIO24_Level must be 1....
>>    
>>
>Ok, I've updated h2200.c to always power-on the RS-232 transceiver. It's
>sad we don't know a way to detect the cable insertion event without
>enabling transceiver power.
>
>However, it looks like there exist a way and wince knows it, since
>GPIO80 is 0 in wince when serial cable is not plugged in. This means it
>knows how to detect the cable plug-in event and it enables the RS232
>transceiver power. Maybe it's connected to one of HAMCOP GPIO pins,
>I don't know.
>
>--
>Greetings,
>   Andrew
>_______________________________________________
>H2200-port mailing list
>H2200-port@handhelds.org
>https://handhelds.org/mailman/listinfo/h2200-port
>
>
>  
>
-- 
Michael Opdenacker
http://opdenacker.org/
Received on Mon Feb 23 21:40:08 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT