From gc-linux

Jump to: navigation, search


1. Make sure that the SERIAL_USBGECKO configuration option is selected in the kernel configuration

$ grep SERIAL_USBGECKO .config

2. Don't use the udbg-immortal command line option, otherwise you'll get most of the kernel spew duplicated.

Usually, the command line is specified in the "bootargs" property of the "chosen" node of the device tree source file arch/powerpc/boot/dts/wii.dts.

chosen {
	bootargs = "nobats root=/dev/mmcblk0p2 rootwait video=gcnfb force_keyboard_port=4";
	linux,stdout-path = &USBGECKO0;


1. (Conditional) Create the needed device nodes.

If you are not using udev, create the following device nodes:

$ sudo mknod /dev/usbgeckocon0 c 4 64
$ sudo mknod /dev/usbgeckocon1 c 4 65
  • The first device node matches an USBGECKO inserted in memcard slot A.
  • The second device node matches an USBGECKO inserted in memcard slot B.

2. (Conditional) Allow root logins via USBGECKO.

In order to allow the root account to logon using an USBGECKO console, edit the /etc/securetty file and add a line at the end with the name of the device node associated to the USBGECKO.

$ echo usbgeckocon1 | sudo tee -a /dev/securetty

3. Declare an USBGECKO console.

Modify /etc/inittab adding a getty line for the associated USBGECKO.

$ sudo vi /etc/inittab

T1:23:respawn:/sbin/getty 115200 usbgeckocon1


Tell init that /etc/inittab has changed.

$ sudo telinit q
Personal tools