RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org RPi Easy SD Card Setup - eLinux.org

05.03.2013 Views

Lapdock uses the HDMI plug to tell if a phone is plugged in by seeing if the HDMI DDC/CEC ground pin is pulled low. If it's not, Lapdock is powered off. As soon as you plug in a phone or RasPi, all the grounds short together and Lapdock powers itself on. However, it only does this if the HDMI cable actually connects the DDC/CEC ground line. Many cheap HDMI cables do not include the individual ground lines, and rely on a foil shield connected to the outer shells on both ends. Such a cable will not work with an unmodified Lapdock. There is a detailed 'blog entry on the subject at element14: Raspberry Pi Lapdock HDMI cable work-around (http://www.element14.com/ community/groups/raspberry-pi/blog/2012/09/27/raspberry-pi-lapdock-hdmi-cable-workaround) . The 'blog describes a side-benefit of this feature: you can add a small power switch to Lapdock so you can leave RasPi attached all the time without draining the battery. The Lapdock Micro USB plug is the upstream port of Lapdock's internal USB hub, and connects to one of RasPi's full-size USB ports. Lapdock is not USB compliant since it provides upstream power on its Vbus pin. Lapdock uses this to charge the Atrix phone. You can use this feature to power RasPi if you have a newer RasPi. The original RasPi rev 1 has 140 mA polyfuses F1 and F2 to protect the USB ports, which are too small for powering RasPi using upstream power. Newer RasPis replace F1 and F2 with zero Ohm jumpers or eliminate them entirely, which allows Lapdock to provide power. If you don't mind modifying your original RasPi, you can add shorting jumpers over F1 and F2 or replace them with higher-current fuses. What gets powered on depends on whether Lapdock is open or closed. If it's open, the screen and all Lapdock USB ports are powered. If you close Lapdock, the screen and full-size USB ports are powered down, but the Micro USB still provides upstream power. This is for charging an Atrix phone. When you open or close Lapdock, the Micro USB power switches off for about a second so if your RasPi is connected it will reboot and you may have a corrupted file system. There's discussion about this at the RasPi forum link, and someone has used a supercapacitor to work around the problem: Raspberry Pi lapdock tricks (http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/ 11/raspberry-pi-lapdock-tricks) . DVI With an inexpensive passive HDMI to DVI-D cable or converter. Composite video Composite video (NTSC and PAL) via an RCA plug, directly from the board. You can change between PAL and NTSC output by editing config.txt in the boot SD card. Uncommenting: sdtv_mode=2 sets output to PAL (see RPi_config.txt).

RGB analog/VGA The Broadcom BCM2835 only provides HDMI output and composite output. RGB and other signals needed by RGB, S-VIDEO or VGA connectors are however not provided, and the R-PI also isn't designed to power an unpowered converter box. A couple of options for VGA or component RGB outputs, bridging from either HDMI or, (much less obvious) the MIPI DSI interface: Note that any conversion hardware that converts HDMI/DVI-D signals to VGA (or DVI- A) signals may come with either an external PSU, or expects power can be drawn from the HDMI port. In the latter case the device may initially appear to work, but there will be a problem, as the HDMI specs only provide in a maximum of 50mA (@ 5 Volt) from the HDMI port, but all of these adapters try to draw much more, up-to 500mA, in case of the R-PI there is a limit of 200mA that can be drawn safely, as 200mA is the limit for the BAT54 diode (D1) on the board. Any HDMI to VGA adapter without external PSU might work for a time, but then burn out D1, therefore Do not use HDMI converters powered by the HDMI port! The solution is to either only use externally powered converters, or to replace D1 with a sturdier version, such as the PMEG2010AET, and to replace the power input fuse F3 with a higher rated one, as the current one is only 700mA, and the adapter may use 400mA itself. Also notice that the R-PI's power supply also must be able to deliver the extra current. Firstly, the following *might* work. Beagleboard people have reported various levels of success (mainly "issues"): http://www.hdfury.com/ Something similar: http://www.fit-pc.com/web/fit-pc2/accessories/fit-vga/ ...it may need to be modified as described here: http://blog.galemin.com/2011/03/dvi-d-to-vga-converter-for-beagleboard-xm/ Alternatively, it may be possible to design an expansion board that plugs into the LCD headers on the R.Pi. Here is something similar for Beagleboard: http://boardzoo.com/product_info12.php Some more converters that should work: ▪ £22.99 HDMI to VGA + stereo audio converter (http://www.ebay.co.uk/itm/1080P- PC-HDMI-to-VGA-3-5mm-Audio-HD-Video-Converter-HDTV-SKY-DVD- PS3-Apple-TV-/320929883993)

Lapdock uses the HDMI plug to tell if a phone is plugged in by seeing if the HDMI<br />

DDC/CEC ground pin is pulled low. If it's not, Lapdock is powered off. As soon as you<br />

plug in a phone or RasPi, all the grounds short together and Lapdock powers itself on.<br />

However, it only does this if the HDMI cable actually connects the DDC/CEC ground<br />

line. Many cheap HDMI cables do not include the individual ground lines, and rely on a<br />

foil shield connected to the outer shells on both ends. Such a cable will not work with an<br />

unmodified Lapdock. There is a detailed 'blog entry on the subject at element14:<br />

Raspberry Pi Lapdock HDMI cable work-around (http://www.element14.com/<br />

community/groups/raspberry-pi/blog/2012/09/27/raspberry-pi-lapdock-hdmi-cable-workaround)<br />

. The 'blog describes a side-benefit of this feature: you can add a small power<br />

switch to Lapdock so you can leave RasPi attached all the time without draining the<br />

battery.<br />

The Lapdock Micro USB plug is the upstream port of Lapdock's internal USB hub, and<br />

connects to one of RasPi's full-size USB ports. Lapdock is not USB compliant since it<br />

provides upstream power on its Vbus pin. Lapdock uses this to charge the Atrix phone.<br />

You can use this feature to power RasPi if you have a newer RasPi. The original RasPi<br />

rev 1 has 140 mA polyfuses F1 and F2 to protect the USB ports, which are too small for<br />

powering RasPi using upstream power. Newer RasPis replace F1 and F2 with zero Ohm<br />

jumpers or eliminate them entirely, which allows Lapdock to provide power. If you don't<br />

mind modifying your original RasPi, you can add shorting jumpers over F1 and F2 or<br />

replace them with higher-current fuses.<br />

What gets powered on depends on whether Lapdock is open or closed. If it's open, the<br />

screen and all Lapdock USB ports are powered. If you close Lapdock, the screen and<br />

full-size USB ports are powered down, but the Micro USB still provides upstream power.<br />

This is for charging an Atrix phone. When you open or close Lapdock, the Micro USB<br />

power switches off for about a second so if your RasPi is connected it will reboot and you<br />

may have a corrupted file system. There's discussion about this at the RasPi forum link,<br />

and someone has used a supercapacitor to work around the problem: Raspberry Pi<br />

lapdock tricks (http://www.element14.com/community/groups/raspberry-pi/blog/2012/09/<br />

11/raspberry-pi-lapdock-tricks) .<br />

DVI<br />

With an inexpensive passive HDMI to DVI-D cable or converter.<br />

Composite video<br />

Composite video (NTSC and PAL) via an RCA plug, directly from the board. You can<br />

change between PAL and NTSC output by editing config.txt in the boot <strong>SD</strong> card.<br />

Uncommenting: sdtv_mode=2 sets output to PAL (see <strong>RPi</strong>_config.txt).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!