Minor update, turns out the "red" wire carries 5v+ dc flowing from your PC to 
what you connect it to.Thus I was powering my Pi via the red wire ( black or 
ground is required to complete the connection )
I recommend NOT attaching it to the Pi and powering the Pi up via it's normal 
connector.
This way you can leave the cable plugged in to your computer and setup ( the 
onboard PL2303HX Chip needs to be set to 115200, N, 8, 1 every time it's 
disconnected it resets )
I noticed under Linux I needed to run gtkterm as root then tell it to use 
/dev/ttyUSB0 on my computer, setting 115200, N, 8, 1 after that I saw Pi output 
until it was disconnected.
I believe this is because the gtkterm program is issuing "AT" commands which 
set the PL2303HX Chip.
Then power your Pi normally and you will see all the Pi's TTY0 output! 


Cable specification that I was able to divine from various internet sources 


Red   => 5vdc
Black => Ground
White => RxD
Green => Txd
Thus you need to cross the RxD and Txd that is hook them up to the opsite pins 
on the Pi or other projects


USB connector has a PL2303HX Chip:
Which is capable of:
     Stop bits: 1, 1.5, 2
     Parity: None, Odd, Even, Mark, Space
     Data bits: 5,6,7,8 
     Baud Rate: 75 to 6M bps 

Joe

/** Joseph T Apuzzo
 **
 ** Developer, Admin: Cloud, HPC, Storage
 ** Linux (LPIC-1), Windows, Android, AIX
 ** http://www.linkedin.com/in/japuzzo/
 **
 ** PGP/GPG Key ID# 0xA16E26CF
 ** FingerPrint: 19A8 44EC F650 782B 6770  BF0E 2DAA 3D75 A16E 26CF
 **/



---- On Fri, 14 Nov 2014 11:51:45 -0500 japuzzo<[email protected]> wrote 
---- 

Success!My $1.50 cable came in from China, I followed the instructions 
http://putokaz.wordpress.com/2013/03/12/raspberry-pi-rs232-serial-interface-options-revisit/
Hooked up the cable to the Pi, plugged in the USB to my computer ( please note 
that the cable will power the Pi !!!! )
Started a terminal session on /dev/ttyUSB0 ( my laptop runs Linux ) and I am 
able to work on the Pi's TTY0 port so I can now see the boot sequence:


Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.12.32+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 
20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) 
) #721 PREEMPT Fri Nov 7 16:50:31 GMT 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), 
cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing 
instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 8 MiB at 1e800000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=720 
bcm2708_fb.fbheight=480 bcm2708.boardrev=0xf bcm2708.serial=0xd4a3d3bf 
smsc95xx.macaddr=B8:27:EB:A3:D3:BF bcm2708_fb.fbswap=1 
sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 
vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 
kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 
elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 488268K/507904K available (4522K kernel code, 243K 
rwdata, 1352K rodata, 143K init, 701K bss, 19636K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05c4c90   (5876 kB)
[    0.000000]       .init : 0xc05c5000 - 0xc05e8fd4   ( 144 kB)
[    0.000000]       .data : 0xc05ea000 - 0xc0626c80   ( 244 kB)
[    0.000000]        .bss : 0xc0626c8c - 0xc06d6488   ( 702 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:394
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 
4294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001178] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001236] pid_max: default: 32768 minimum: 301
[    0.001747] Mount-cache hash table entries: 512
[    0.002609] Initializing cgroup subsys memory
[    0.002722] Initializing cgroup subsys devices
[    0.002758] Initializing cgroup subsys freezer
[    0.002789] Initializing cgroup subsys blkio
[    0.002933] CPU: Testing write buffer coherency: ok
[    0.003385] Setting up static identity map for 0xc044f058 - 0xc044f0b4
[    0.005324] devtmpfs: initialized
[    0.021814] VFP support v0.3: implementor 41 architecture 1 part 20 variant 
b rev 5
[    0.023403] NET: Registered protocol family 16
[    0.028764] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.029416] cpuidle: using governor ladder
[    0.029465] cpuidle: using governor menu
[    0.029907] bcm2708.uart_clock = 0
[    0.031912] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.031970] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.032004] mailbox: Broadcom VideoCore Mailbox driver
[    0.032099] bcm2708_vcio: mailbox at f200b880
[    0.032206] bcm_power: Broadcom power driver
[    0.032245] bcm_power_open() -> 0
[    0.032270] bcm_power_request(0, 8)
[    0.532990] bcm_mailbox_read -> 00000080, 0
[    0.533032] bcm_power_request -> 0
[    0.533288] Serial: AMBA PL011 UART driver
[    0.533455] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is 
a PL011 rev3
[    0.895553] console [ttyAMA0] enabled
[    0.922398] bio: create slab <bio-0> at 0
[    0.927943] SCSI subsystem initialized
[    0.931936] usbcore: registered new interface driver usbfs
[    0.937642] usbcore: registered new interface driver hub
[    0.943199] usbcore: registered new device driver usb
[    0.949802] Switched to clocksource stc
[    0.954083] FS-Cache: Loaded
[    0.957253] CacheFiles: Loaded
[    0.973054] NET: Registered protocol family 2
[    0.978970] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.986387] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.992981] TCP: Hash tables configured (established 4096 bind 4096)
[    0.999427] TCP: reno registered
[    1.002725] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.008596] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.015383] NET: Registered protocol family 1
[    1.020386] RPC: Registered named UNIX socket transport module.
[    1.026345] RPC: Registered udp transport module.
[    1.031160] RPC: Registered tcp transport module.
[    1.035885] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.043266] bcm2708_dma: DMA manager at f2007000
[    1.048032] bcm2708_gpio: bcm2708_gpio_probe c05f7f10
[    1.053615] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 
mem_size:0x20000000(512 MiB)
[    1.063183] audit: initializing netlink socket (disabled)
[    1.068685] type=2000 audit(0.910:1): initialized
[    1.239100] VFS: Disk quotas dquot_6.5.2
[    1.243473] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.252440] FS-Cache: Netfs 'nfs' registered for caching
[    1.259348] NFS: Registering the id_resolver key type
[    1.264650] Key type id_resolver registered
[    1.268860] Key type id_legacy registered
[    1.273678] msgmni has been set to 969
[    1.279459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
252)
[    1.287326] io scheduler noop registered
[    1.291415] io scheduler deadline registered (default)
[    1.296918] io scheduler cfq registered
[    1.302131] BCM2708FB: allocated DMA memory 5ec00000
[    1.307177] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.317921] Console: switching to colour frame buffer device 90x30
[    1.329712] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine 
driver
[    1.339144] uart-pl011 dev:f1: no DMA platform data
[    1.345866] kgdb: Registered I/O driver kgdboc.
[    1.352790] vc-cma: Videocore CMA driver
[    1.358383] vc-cma: vc_cma_base      = 0x00000000
[    1.364757] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.371809] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.388212] brd: module loaded
[    1.398206] loop: module loaded
[    1.403317] vchiq: vchiq_init_state: slot_zero = 0xde800000, is_master = 0
[    1.412882] Loading iSCSI transport class v2.0-870.
[    1.420553] usbcore: registered new interface driver smsc95xx
[    1.427968] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.635463] Core Release: 2.80a
[    1.640233] Setting default values for core params
[    1.646568] Finished setting default values for core params
[    1.853799] Using Buffer DMA mode
[    1.858650] Periodic Transfer Interrupt Enhancement - disabled
[    1.866004] Multiprocessor Interrupt Enhancement - disabled
[    1.873113] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.878973] Dedicated Tx FIFOs mode
[    1.884322] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 
0xdec14000 dma = 0x5ec14000 len=9024
[    1.897383] FIQ FSM acceleration enabled for :
[    1.897383] Non-periodic Split Transactions
[    1.897383] Periodic Split Transactions
[    1.897383] High-Speed Isochronous Endpoints
[    1.920294] WARN::hcd_init:473: FIQ at 0xc0327df8
[    1.926533] WARN::hcd_init:474: FIQ ASM at 0xc03280a8 length 36
[    1.934028] WARN::hcd_init:500: MPHI regs_base at 0xdf806000
[    1.941289] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.947793] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 
1
[    1.956712] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.963892] Init: Port Power? op_state=1
[    1.969388] Init: Power Port (0)
[    1.974487] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.982940] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    1.991788] usb usb1: Product: DWC OTG Controller
[    1.998045] usb usb1: Manufacturer: Linux 3.12.32+ dwc_otg_hcd
[    2.005468] usb usb1: SerialNumber: bcm2708_usb
[    2.012459] hub 1-0:1.0: USB hub found
[    2.017866] hub 1-0:1.0: 1 port detected
[    2.024383] usbcore: registered new interface driver usb-storage
[    2.032463] mousedev: PS/2 mouse device common for all mice
[    2.040337] bcm2835-cpufreq: min=700000 max=1000000 cur=700000
[    2.047864] bcm2835-cpufreq: switching to governor powersave
[    2.055126] bcm2835-cpufreq: switching to governor powersave
[    2.062343] sdhci: Secure Digital Host Controller Interface driver
[    2.070000] sdhci: Copyright(c) Pierre Ossman
[    2.076019] DMA channels allocated for the MMC driver
[    2.120060] Load BCM2835 MMC driver
[    2.126886] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.134268] ledtrig-cpu: registered to indicate activity on CPUs
[    2.144090] hidraw: raw HID events driver (C) Jiri Kosina
[    2.156685] usbcore: registered new interface driver usbhid
[    2.163968] usbhid: USB HID core driver
[    2.172092] TCP: cubic registered
[    2.179023] Initializing XFRM netlink socket
[    2.185960] NET: Registered protocol family 17
[    2.192202] Key type dns_resolver registered
[    2.202722] registered taskstats version 1
[    2.208449] vc-sm: Videocore shared memory driver
[    2.214658] [vc_sm_connected_init]: start
[    2.220361] Indeed it is in host mode hprt0 = 00021501
[    2.227487] vc_vchi_sm_init: failed to open VCHI service (-1)
[    2.235921] [vc_sm_connected_init]: failed to initialize shared memory 
service
[    2.248194] mmc0: host does not support reading read-only switch. assuming 
write-enable.
[    2.269889] [vc_sm_connected_init]: end - returning -1
[    2.276893] mmc0: new high speed SDHC card at address b368
[    2.300122] mmcblk0: mmc0:b368 TAT   15.5 GiB 
[    2.308204]  mmcblk0: p1 p2
[    2.344719] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. 
Opts: (null)
[    2.356412] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.375467] devtmpfs: mounted
[    2.380798] Freeing unused kernel memory: 140K (c05c5000 - c05e8000)
[    2.460014] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.469281] Indeed it is in host mode hprt0 = 00001101
[    2.670365] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.678977] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.691002] hub 1-1:1.0: USB hub found
[    2.696795] hub 1-1:1.0: 3 ports detected
[    2.980063] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.100365] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.109248] usb 1-1.1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[    3.138114] smsc95xx v1.0.4
[    3.208291] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at 
usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a3:d3:bf
[    4.051561] udevd[157]: starting version 175
[   13.988607] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   14.487698] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   20.496630] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data 
may be corrupt. Please run fsck.
 
Raspbian GNU/Linux 7 raspberrypi ttyAMA0


raspberrypi login: pi
Password: 
Last login: Fri Nov 14 11:40:53 EST 2014 on ttyAMA0


          .~~.   .~~.
         '. \ ' ' / .'
          .~ .~~~..~.                      _                          _
         : .~.'~'.~. :     ___ ___ ___ ___| |_ ___ ___ ___ _ _    ___|_|
        ~ (   ) (   ) ~   |  _| .'|_ -| . | . | -_|  _|  _| | |  | . | |
       ( : '~'.~.'~' : )  |_| |__,|___|  _|___|___|_| |_| |_  |  |  _|_|
        ~ .~ (   ) ~. ~               |_|                 |___|  |_|   
         (  : '~' :  )
          '~ .~~~. ~'
              '~'
   System........: Linux raspberrypi 3.12.32+ #721 PREEMPT
   GPU Version...: Nov 7 2014, version 3bd41a132583ec90e4a0410a4aa631d1e4e2d8ea
   Temperature...: 42.8 C
   Load..........: 1.41 (1minute) 0.40 (5minutes) 0.14 (15minutes)
   Memory MB.....: Total: 484  Used: 118  Free: 366  Cached: 444  Swap: 0
pi@raspberrypi:~$ 


Yes I know I need to fix my SD card, but this is how you can trouble shoot 
issues with the Pi


Joe

/** Joseph T Apuzzo
 **
 ** Developer, Admin: Cloud, HPC, Storage
 ** Linux (LPIC-1), Windows, Android, AIX
 ** http://www.linkedin.com/in/japuzzo/
 **
 ** PGP/GPG Key ID# 0xA16E26CF
 ** FingerPrint: 19A8 44EC F650 782B 6770  BF0E 2DAA 3D75 A16E 26CF
 **/




_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
https://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm) Vassar College *
 Dec 3 - Home Disaster Recovery
 Jan 7 - When Will Then Be Now? Soon.







_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
https://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College *
  Dec  3 - Home Disaster Recovery
  Jan  7 - When Will Then Be Now? Soon.

Reply via email to