We're no longer updating This wiki!!

MicroUSB Power

ODROID-C1+

ODROID-C1+ can be supplied its power through USB OTG port, which is a H/W hack for ODROID-C1. Since ODROID-C1+ can consume current more than 500mA by itself while playing a video file or with some peripherals - keyboard/mouse/WiFi dongle - are attached to USB port, we strongly recommend to use 5V USB charger with minimal 700mA+ can be supplied.

Please note that still DC jack works with the same specification of ODROID-C1 apart from USB OTG for power supplying.

ODROID-C1

ODROID-C1 can be provided a power through Micro USB instead of DC jack.

You could select one of the two methods as follows:

  • Bridge two pads of R87 with soldering.
  • Or Mount 0 ohm resister on R87 land(type 1608).

- Before mount R87 with 0 ohm resister (type 1608).

 before mount R87

- After mount R87 with 0 ohm resister (type 1608).

 After mount r87

Since MicroUSB connector have high contact resistance relatively than DC jack, there would be much more power loss.

If there is a USB device attached on USB host connector and consumes power a lot, the board might not be booted because the CPU can not be provided enough current. In order to prevent boot failure in such case, especially a USB device consumes a current more than 1A, we strongly recommend to keep providing power through DC jack.

How to enable for USB Device Mode on ODROID-C0

You need to unmount R24 as the red square in the following picture for USB device mode.
The inner USB port (in the blue square) works in device(client) mode. You may need a type-A to type-A USB cable.

 Connect Between VBUS and USB ID

Power On/Off switch

You can control power supplying to ODROID-C1+ and ODROID-C1 while DC adaptor is connected with external switch, Sliding or Toggle Switch for example, if you connect such switch to J4 on the board. J4 is connected to NCP372 (Protection IC). There is an ENABLE pin on the NCP372 and it is a low-active and have an internal pull-down resistor for default on.

Switch status Output of NCP372
ON(short) OFF
OFF(open) ON (+5V)

With this hacking, we strongly recommend to shutdown the O/S completely before turn-off. Otherwise the file system could be damaged very easily. In Linux, for example, please make sure to execute shutdown -r now or poweroff.

IR Remote Controller (Android)


Manufacturer Code: 0x4DB2

Button IR code Scancode Android
Power0xDC116KEYCODE_POWER
Mute0x88113KEYCODE_VOLUME_MUTE
Home0x82102KEYCODE_HOME
OK0xCE97KEYCODE_DPAD_CENTER
Up0xCA103KEYCODE_DPAD_UP
Left0x99105KEYCODE_DPAD_LEFT
Right0xC1106KEYCODE_DPAD_RIGHT
Down0xD2108KEYCODE_DPAD_DOWN
Menu0xC5139KEYCODE_MENU
Back0x9A158KEYCODE_BACK
Volume Down0x81109KEYCODE_VOLUME_DOWN
Volume Up0x80104KEYCODE_VOLUME_UP

IR Remote Controller (Linux)


Manufacturer Code: 0x4DB2

Button IR code Scancode XF86Map/Linux
Power0xDC124XF86PowerOff
Mute0x88121XF86AudioMute
Home0x82180XF86HomePage
OK0xCE36Return/Enter
Up0xCA111Up Arrow
Left0x99113Left Arrow
Right0xC1114Right Arrow
Down0xD2116Down Arrow
Menu0xC5135Menu
Back0x9A166XF86Back
Volume Down0x81122XF86AudioLowerVolume
Volume Up0x80123XF86AudioRaiseVolume

Our default image didn't shipped with Remote installed. To install the remote support run the following commands on a terminal:

wget http://builder.mdrjr.net/tools/c1/odroid-remote_20141223-3_armhf.deb
sudo dpkg -i odroid-remote_20141223-3_armhf.deb

This is enough to enable the remote controller to run fine on Kodi (XBMC)

If you want to use the remote control Volume control keys on Lubuntu Desktop you need the follow extra steps

When you enable the control bellow, the remote events won't be passed to Kodi/XBMC. All keys will work just fine on Kodi/XBMC except that when you use volume up/down or mute it won't show on Kodi/XBMC screen but just execute it.

sudo apt-get install gnome-settings-daemon gnome-settings-daemon-schemas
echo /usr/bin/gnome-settings-daemon >> /home/odroid/.config/lxsession/Lubuntu/autostart

Alternative heartbeat LED

If you want to remap the blue heartbeat LED to other GPIO, need to edit the device-tree-file for C1 and change the GPIO used.
How-to-guide
device-tree-file for C1

USB Hub IC reset script

If you need to do power-cycle to the USB devices on the USB host ports, run below commands.
It will reset all the USB devices connected to the USB host ports.

echo 4 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio4/direction
sleep 1
echo 0 > /sys/class/gpio/gpio4/value
sleep 1
echo 1 > /sys/class/gpio/gpio4/value
echo 4 > /sys/class/gpio/unexport
sleep 1
en/c1_hardwarehacking.txt · Last modified: 2016/11/18 09:58 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0