[Galaxy 3 Android Development] hillbeast:
Just gonna post some nerdy information:

These are all the device nodes on our device (well for the character devices)

lrwxrwxrwx root root 2011-10-14 22:03 10:63 -> ../../devices/virtual/misc/rfkill
lrwxrwxrwx root root 2011-10-14 22:03 1:1 -> ../../devices/virtual/mem/mem
lrwxrwxrwx root root 2011-10-14 22:03 1:2 -> ../../devices/virtual/mem/kmem
lrwxrwxrwx root root 2011-10-14 22:03 1:3 -> ../../devices/virtual/mem/null
lrwxrwxrwx root root 2011-10-14 22:03 1:5 -> ../../devices/virtual/mem/zero
lrwxrwxrwx root root 2011-10-14 22:03 1:7 -> ../../devices/virtual/mem/full
lrwxrwxrwx root root 2011-10-14 22:03 1:8 -> ../../devices/virtual/mem/random
lrwxrwxrwx root root 2011-10-14 22:03 1:9 -> ../../devices/virtual/mem/urandom
lrwxrwxrwx root root 2011-10-14 22:03 1:11 -> ../../devices/virtual/mem/kmsg
lrwxrwxrwx root root 2011-10-14 22:03 10:62 -> ../../devices/virtual/misc/ashmem
lrwxrwxrwx root root 2011-10-14 22:03 10:61 -> ../../devices/virtual/misc/btrfs-control
lrwxrwxrwx root root 2011-10-14 22:03 29:0 -> ../../devices/platform/s3cfb.0/graphics/fb0
lrwxrwxrwx root root 2011-10-14 22:03 29:1 -> ../../devices/platform/s3cfb.0/graphics/fb1
lrwxrwxrwx root root 2011-10-14 22:03 29:2 -> ../../devices/platform/s3cfb.0/graphics/fb2
lrwxrwxrwx root root 2011-10-14 22:03 29:3 -> ../../devices/platform/s3cfb.0/graphics/fb3
lrwxrwxrwx root root 2011-10-14 22:03 29:4 -> ../../devices/platform/s3cfb.0/graphics/fb4
lrwxrwxrwx root root 2011-10-14 22:03 5:0 -> ../../devices/virtual/tty/tty
lrwxrwxrwx root root 2011-10-14 22:03 5:1 -> ../../devices/virtual/tty/console
lrwxrwxrwx root root 2011-10-14 22:03 4:0 -> ../../devices/virtual/tty/tty0
lrwxrwxrwx root root 2011-10-14 22:03 7:0 -> ../../devices/virtual/vc/vcs
lrwxrwxrwx root root 2011-10-14 22:03 7:128 -> ../../devices/virtual/vc/vcsa
lrwxrwxrwx root root 2011-10-14 22:03 7:1 -> ../../devices/virtual/vc/vcs1
lrwxrwxrwx root root 2011-10-14 22:03 7:129 -> ../../devices/virtual/vc/vcsa1
lrwxrwxrwx root root 2011-10-14 22:03 204:64 -> ../../devices/platform/s5pc100-uart.0/tty/s3c2410_serial0
lrwxrwxrwx root root 2011-10-14 22:03 204:65 -> ../../devices/platform/s5pc100-uart.1/tty/s3c2410_serial1
lrwxrwxrwx root root 2011-10-14 22:03 204:66 -> ../../devices/platform/s5pc100-uart.2/tty/s3c2410_serial2
lrwxrwxrwx root root 2011-10-14 22:03 10:0 -> ../../devices/virtual/misc/pmem
lrwxrwxrwx root root 2011-10-14 22:03 10:1 -> ../../devices/virtual/misc/pmem_render
lrwxrwxrwx root root 2011-10-14 22:03 10:2 -> ../../devices/virtual/misc/pmem_stream
lrwxrwxrwx root root 2011-10-14 22:03 10:3 -> ../../devices/virtual/misc/pmem_stream2
lrwxrwxrwx root root 2011-10-14 22:03 10:4 -> ../../devices/virtual/misc/pmem_preview
lrwxrwxrwx root root 2011-10-14 22:03 10:5 -> ../../devices/virtual/misc/pmem_picture
lrwxrwxrwx root root 2011-10-14 22:03 10:6 -> ../../devices/virtual/misc/pmem_jpeg
lrwxrwxrwx root root 2011-10-14 22:03 108:0 -> ../../devices/virtual/ppp/ppp
lrwxrwxrwx root root 2011-10-14 22:03 10:60 -> ../../devices/virtual/misc/android_adb_enable
lrwxrwxrwx root root 2011-10-14 22:03 10:123 -> ../../devices/virtual/misc/dun
lrwxrwxrwx root root 2011-10-14 22:03 127:0 -> ../../devices/platform/s3c-usbgadget/gadget/tty/ttygs0
lrwxrwxrwx root root 2011-10-14 22:03 10:59 -> ../../devices/virtual/misc/usb_mtp_gadget
lrwxrwxrwx root root 2011-10-14 22:03 10:58 -> ../../devices/virtual/misc/android_adb
lrwxrwxrwx root root 2011-10-14 22:03 13:64 -> ../../devices/virtual/input/input0/event0
lrwxrwxrwx root root 2011-10-14 22:03 13:65 -> ../../devices/virtual/input/input1/event1
lrwxrwxrwx root root 2011-10-14 22:03 10:223 -> ../../devices/virtual/misc/uinput
lrwxrwxrwx root root 2011-10-14 22:03 89:0 -> ../../devices/platform/s3c2440-i2c.0/i2c-0/i2c-dev/i2c-0
lrwxrwxrwx root root 2011-10-14 22:03 89:2 -> ../../devices/platform/s3c2440-i2c.2/i2c-2/i2c-dev/i2c-2
lrwxrwxrwx root root 2011-10-14 22:03 89:3 -> ../../devices/platform/i2c-gpio.3/i2c-3/i2c-dev/i2c-3
lrwxrwxrwx root root 2011-10-14 22:03 89:4 -> ../../devices/platform/i2c-gpio.4/i2c-4/i2c-dev/i2c-4
lrwxrwxrwx root root 2011-10-14 22:03 89:7 -> ../../devices/platform/i2c-gpio.7/i2c-7/i2c-dev/i2c-7
lrwxrwxrwx root root 2011-10-14 22:03 89:8 -> ../../devices/platform/i2c-gpio.8/i2c-8/i2c-dev/i2c-8
lrwxrwxrwx root root 2011-10-14 22:03 89:9 -> ../../devices/platform/i2c-gpio.9/i2c-9/i2c-dev/i2c-9
lrwxrwxrwx root root 2011-10-14 22:03 10:252 -> ../../devices/virtual/misc/s3c-mfc
lrwxrwxrwx root root 2011-10-14 22:03 10:254 -> ../../devices/virtual/misc/s3c-jpg
lrwxrwxrwx root root 2011-10-14 22:03 10:249 -> ../../devices/virtual/misc/s3c-g3d
lrwxrwxrwx root root 2011-10-14 22:03 10:220 -> ../../devices/virtual/misc/s3c-g2d
lrwxrwxrwx root root 2011-10-14 22:03 10:57 -> ../../devices/virtual/misc/alarm
lrwxrwxrwx root root 2011-10-14 22:03 254:0 -> ../../devices/platform/s3c2410-rtc/rtc/rtc0
lrwxrwxrwx root root 2011-10-14 22:03 10:130 -> ../../devices/virtual/misc/watchdog
lrwxrwxrwx root root 2011-10-14 22:03 10:56 -> ../../devices/virtual/misc/device-mapper
lrwxrwxrwx root root 2011-10-14 22:03 10:55 -> ../../devices/virtual/misc/proximity
lrwxrwxrwx root root 2011-10-14 22:03 13:66 -> ../../devices/virtual/input/input2/event2
lrwxrwxrwx root root 2011-10-14 22:03 241:0 -> ../../devices/virtual/accelerometer/accelerometer
lrwxrwxrwx root root 2011-10-14 22:03 13:67 -> ../../devices/virtual/input/input3/event3
lrwxrwxrwx root root 2011-10-14 22:03 13:68 -> ../../devices/virtual/input/input4/event4
lrwxrwxrwx root root 2011-10-14 22:03 10:54 -> ../../devices/virtual/misc/akm8973_daemon
lrwxrwxrwx root root 2011-10-14 22:03 10:53 -> ../../devices/virtual/misc/akm8973_aot
lrwxrwxrwx root root 2011-10-14 22:03 10:52 -> ../../devices/virtual/misc/binder
lrwxrwxrwx root root 2011-10-14 22:03 10:51 -> ../../devices/virtual/misc/log_main
lrwxrwxrwx root root 2011-10-14 22:03 10:50 -> ../../devices/virtual/misc/log_events
lrwxrwxrwx root root 2011-10-14 22:03 10:49 -> ../../devices/virtual/misc/log_radio
lrwxrwxrwx root root 2011-10-14 22:03 10:48 -> ../../devices/virtual/misc/log_system
lrwxrwxrwx root root 2011-10-14 22:03 10:47 -> ../../devices/virtual/misc/level
lrwxrwxrwx root root 2011-10-14 22:03 116:2 -> ../../devices/virtual/sound/timer
lrwxrwxrwx root root 2011-10-14 22:03 116:3 -> ../../devices/platform/soc-audio.0/sound/card0/pcmC0D0p
lrwxrwxrwx root root 2011-10-14 22:03 116:4 -> ../../devices/platform/soc-audio.0/sound/card0/pcmC0D0c
lrwxrwxrwx root root 2011-10-14 22:03 14:3 -> ../../devices/platform/soc-audio.0/sound/card0/dsp
lrwxrwxrwx root root 2011-10-14 22:03 14:4 -> ../../devices/platform/soc-audio.0/sound/card0/audio
lrwxrwxrwx root root 2011-10-14 22:03 116:5 -> ../../devices/platform/soc-audio.0/sound/card0/controlC0
lrwxrwxrwx root root 2011-10-14 22:03 14:0 -> ../../devices/platform/soc-audio.0/sound/card0/mixer
lrwxrwxrwx root root 2011-10-14 22:03 10:46 -> ../../devices/virtual/misc/voodoo_sound
lrwxrwxrwx root root 2011-10-14 22:03 10:45 -> ../../devices/virtual/misc/voodoo_sound_control
lrwxrwxrwx root root 2011-10-14 22:03 10:44 -> ../../devices/virtual/misc/cpu_dma_latency
lrwxrwxrwx root root 2011-10-14 22:03 10:43 -> ../../devices/virtual/misc/network_latency
lrwxrwxrwx root root 2011-10-14 22:03 10:42 -> ../../devices/virtual/misc/network_throughput
lrwxrwxrwx root root 2011-10-14 22:03 13:69 -> ../../devices/virtual/input/input5/event5
lrwxrwxrwx root root 2011-10-14 22:03 81:0 -> ../../devices/virtual/video4linux/video0
lrwxrwxrwx root root 2011-10-14 22:03 81:1 -> ../../devices/virtual/video4linux/video1
lrwxrwxrwx root root 2011-10-14 22:03 81:2 -> ../../devices/virtual/video4linux/video2
lrwxrwxrwx root root 2011-10-14 22:03 253:0 -> ../../devices/virtual/onedram/onedram
lrwxrwxrwx root root 2011-10-14 22:03 10:135 -> ../../devices/virtual/misc/storage
lrwxrwxrwx root root 2011-10-14 22:03 10:41 -> ../../devices/virtual/misc/tspdrv
lrwxrwxrwx root root 2011-10-14 22:03 10:200 -> ../../devices/virtual/misc/tun
lrwxrwxrwx root root 2011-10-14 22:03 10:40 -> ../../devices/virtual/misc/fmradio
lrwxrwxrwx root root 2011-10-14 22:03 7:63 -> ../../devices/virtual/vc/vcs63
lrwxrwxrwx root root 2011-10-14 22:03 7:191 -> ../../devices/virtual/vc/vcsa63

And for the block devices

lrwxrwxrwx root root 2011-10-14 22:16 1:0 -> ../../devices/virtual/block/ram0
lrwxrwxrwx root root 2011-10-14 22:16 1:1 -> ../../devices/virtual/block/ram1
lrwxrwxrwx root root 2011-10-14 22:16 1:2 -> ../../devices/virtual/block/ram2
lrwxrwxrwx root root 2011-10-14 22:16 1:3 -> ../../devices/virtual/block/ram3
lrwxrwxrwx root root 2011-10-14 22:16 1:4 -> ../../devices/virtual/block/ram4
lrwxrwxrwx root root 2011-10-14 22:16 1:5 -> ../../devices/virtual/block/ram5
lrwxrwxrwx root root 2011-10-14 22:16 1:6 -> ../../devices/virtual/block/ram6
lrwxrwxrwx root root 2011-10-14 22:16 1:7 -> ../../devices/virtual/block/ram7
lrwxrwxrwx root root 2011-10-14 22:16 1:8 -> ../../devices/virtual/block/ram8
lrwxrwxrwx root root 2011-10-14 22:16 1:9 -> ../../devices/virtual/block/ram9
lrwxrwxrwx root root 2011-10-14 22:16 1:10 -> ../../devices/virtual/block/ram10
lrwxrwxrwx root root 2011-10-14 22:16 1:11 -> ../../devices/virtual/block/ram11
lrwxrwxrwx root root 2011-10-14 22:16 1:12 -> ../../devices/virtual/block/ram12
lrwxrwxrwx root root 2011-10-14 22:16 1:13 -> ../../devices/virtual/block/ram13
lrwxrwxrwx root root 2011-10-14 22:16 1:14 -> ../../devices/virtual/block/ram14
lrwxrwxrwx root root 2011-10-14 22:16 1:15 -> ../../devices/virtual/block/ram15
lrwxrwxrwx root root 2011-10-14 22:16 7:0 -> ../../devices/virtual/block/loop0
lrwxrwxrwx root root 2011-10-14 22:16 7:1 -> ../../devices/virtual/block/loop1
lrwxrwxrwx root root 2011-10-14 22:16 7:2 -> ../../devices/virtual/block/loop2
lrwxrwxrwx root root 2011-10-14 22:16 7:3 -> ../../devices/virtual/block/loop3
lrwxrwxrwx root root 2011-10-14 22:16 7:4 -> ../../devices/virtual/block/loop4
lrwxrwxrwx root root 2011-10-14 22:16 7:5 -> ../../devices/virtual/block/loop5
lrwxrwxrwx root root 2011-10-14 22:16 7:6 -> ../../devices/virtual/block/loop6
lrwxrwxrwx root root 2011-10-14 22:16 7:7 -> ../../devices/virtual/block/loop7
lrwxrwxrwx root root 2011-10-14 22:16 139:0 -> ../../devices/virtual/block/tfsr0!c
lrwxrwxrwx root root 2011-10-14 22:16 139:1 -> ../../devices/virtual/block/tfsr1
lrwxrwxrwx root root 2011-10-14 22:16 139:2 -> ../../devices/virtual/block/tfsr2
lrwxrwxrwx root root 2011-10-14 22:16 139:3 -> ../../devices/virtual/block/tfsr3
lrwxrwxrwx root root 2011-10-14 22:16 139:4 -> ../../devices/virtual/block/tfsr4
lrwxrwxrwx root root 2011-10-14 22:16 139:5 -> ../../devices/virtual/block/tfsr5
lrwxrwxrwx root root 2011-10-14 22:16 139:6 -> ../../devices/virtual/block/tfsr6
lrwxrwxrwx root root 2011-10-14 22:16 139:7 -> ../../devices/virtual/block/tfsr7
lrwxrwxrwx root root 2011-10-14 22:16 139:8 -> ../../devices/virtual/block/tfsr8
lrwxrwxrwx root root 2011-10-14 22:16 139:9 -> ../../devices/virtual/block/tfsr9
lrwxrwxrwx root root 2011-10-14 22:16 139:10 -> ../../devices/virtual/block/tfsr10
lrwxrwxrwx root root 2011-10-14 22:16 179:0 -> ../../devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:a331/block/mmcblk0
lrwxrwxrwx root root 2011-10-14 22:16 179:1 -> ../../devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:a331/block/mmcblk0/mmcblk0p1
lrwxrwxrwx root root 2011-10-14 22:16 179:2 -> ../../devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:a331/block/mmcblk0/mmcblk0p2
lrwxrwxrwx root root 2011-10-14 22:16 179:3 -> ../../devices/platform/s3c-sdhci.2/mmc_host/mmc1/mmc1:a331/block/mmcblk0/mmcblk0p3
lrwxrwxrwx root root 2011-10-14 22:16 137:0 -> ../../devices/virtual/block/bml0!c
lrwxrwxrwx root root 2011-10-14 22:16 137:1 -> ../../devices/virtual/block/bml1
lrwxrwxrwx root root 2011-10-14 22:16 137:2 -> ../../devices/virtual/block/bml2
lrwxrwxrwx root root 2011-10-14 22:16 137:3 -> ../../devices/virtual/block/bml3
lrwxrwxrwx root root 2011-10-14 22:16 137:4 -> ../../devices/virtual/block/bml4
lrwxrwxrwx root root 2011-10-14 22:16 137:5 -> ../../devices/virtual/block/bml5
lrwxrwxrwx root root 2011-10-14 22:16 137:6 -> ../../devices/virtual/block/bml6
lrwxrwxrwx root root 2011-10-14 22:16 137:7 -> ../../devices/virtual/block/bml7
lrwxrwxrwx root root 2011-10-14 22:16 137:8 -> ../../devices/virtual/block/bml8
lrwxrwxrwx root root 2011-10-14 22:16 137:9 -> ../../devices/virtual/block/bml9
lrwxrwxrwx root root 2011-10-14 22:16 137:10 -> ../../devices/virtual/block/bml10
lrwxrwxrwx root root 2011-10-14 22:16 138:1 -> ../../devices/virtual/block/stl1
lrwxrwxrwx root root 2011-10-14 22:16 138:2 -> ../../devices/virtual/block/stl2
lrwxrwxrwx root root 2011-10-14 22:16 138:3 -> ../../devices/virtual/block/stl3
lrwxrwxrwx root root 2011-10-14 22:16 138:4 -> ../../devices/virtual/block/stl4
lrwxrwxrwx root root 2011-10-14 22:16 138:5 -> ../../devices/virtual/block/stl5
lrwxrwxrwx root root 2011-10-14 22:16 138:6 -> ../../devices/virtual/block/stl6
lrwxrwxrwx root root 2011-10-14 22:16 138:7 -> ../../devices/virtual/block/stl7
lrwxrwxrwx root root 2011-10-14 22:16 138:8 -> ../../devices/virtual/block/stl8
lrwxrwxrwx root root 2011-10-14 22:16 138:9 -> ../../devices/virtual/block/stl9
lrwxrwxrwx root root 2011-10-14 22:16 138:10 -> ../../devices/virtual/block/stl10
lrwxrwxrwx root root 2011-10-14 22:16 253:0 -> ../../devices/virtual/block/ramzswap0
lrwxrwxrwx root root 2011-10-14 22:16 254:0 -> ../../devices/virtual/block/dm-0

With this information, we can find out exactly where all the hardware is and how to work with it in Debian. I am going through trial and erroring a few things to see how certain hardware actually works so I know how to access it in Debian.

For instance, I learnt that the backlight is controlled by /sys/devices/platform/s6d04d1-backlight/leds/lcd-backlight/brightness, and by putting a number between 0 and 255 we can fiddle with the backlight. Now I just need to find what X11 does to turn off screens and tell it thats where to do it.

Just doing stuff like this, I can get Debian working a little better.

On a side note: it appears we use the I2C interface from the S3C2440 project board, or maybe Samsung are lying to me.