Difference between revisions of "Access Serial Port"

From PhatHack Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]
# Obtain [[Futuredial LG5350 Cable]] USB->Serial cable that uses TTL levels rather than RS232 levels such as which I got for $10 from Radio Shack
+
# Obtain [[Futuredial LG5350 Cable]] USB->Serial cable that uses TTL levels rather than RS232 levels such as which I got for $10 from Radio Shack*
 
# Chop off the end that connects to the phone (NOT the USB end)
 
# Chop off the end that connects to the phone (NOT the USB end)
 
# Connect the wires to JP8 on the [http://www.phathack.com/cx910-front.jpg CX910 Board] or JP4 on the [http://www.phathack.com/c710-front.jpg C710 Board] as follows
 
# Connect the wires to JP8 on the [http://www.phathack.com/cx910-front.jpg CX910 Board] or JP4 on the [http://www.phathack.com/c710-front.jpg C710 Board] as follows
Line 17: Line 17:
 
(sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS0 &)
 
(sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS0 &)
 
</pre>
 
</pre>
  +
  +
*This cable needs to have a "bulge" in the middle of it. Radio Shack sells all sorts of Futuredial cables. The cable tested here is described as "LG 1010, 5350, VX1 and VX10" and has product number 170-0783 (above the UPC on the back).

Revision as of 18:16, 21 June 2005

  1. Obtain Futuredial LG5350 Cable USB->Serial cable that uses TTL levels rather than RS232 levels such as which I got for $10 from Radio Shack*
  2. Chop off the end that connects to the phone (NOT the USB end)
  3. Connect the wires to JP8 on the CX910 Board or JP4 on the C710 Board as follows
    1. Yellow (RX) to Pin 5
    2. Blue (TX) to Pin 7
    3. Brown (DCD) to Pin 9
    4. Orange (CTS) to Pin 13
  4. Plug the USB Cable into your computer and start a shell on the serial port

To start the shell, you can get my working busybox from http://www.phathack.com/busybox.bz2 then use the following to start it on the serial port. See HOWTO: Run Unsigned Code

/dos/busybox mv /bin/busybox /bin/busybox-old
/dos/busybox ln -s /dos/busybox /bin/busybox
/bin/busybox --install -s
(sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS0 &)
  • This cable needs to have a "bulge" in the middle of it. Radio Shack sells all sorts of Futuredial cables. The cable tested here is described as "LG 1010, 5350, VX1 and VX10" and has product number 170-0783 (above the UPC on the back).