Re: running a motherboard without a keyboard
A similar question about dcon. >From dmesg, it looks just fine. $ dmesg|grep dcon [ 26.481778] olpc-dcon: No DCON found on SMBus [ 30.651493] olpc-dcon: Discovered DCON version 2 [ 30.708411] PM: Adding info for platform:dcon But apparently dcon sleep, output and freeze also refuse to change. Is the lack of screen causing the problem, and how? The brightness can be disabled however. $ cat /sys/devices/platform/dcon/sleep 0 $ echo 1 > /sys/devices/platform/dcon/sleep $ cat /sys/devices/platform/dcon/sleep 0 $ cat /sys/class/backlight/dcon-bl/brightness 15 $ echo 0 > /sys/class/backlight/dcon-bl/brightness $ cat /sys/class/backlight/dcon-bl/brightness 0 The only guess I have is i2c_smbus_write_word_data , called as dcon_write from dcon_sleep is not working as it should. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: running a motherboard without a keyboard
Hello It works [ 4300.811798] drivers/input/serio/i8042.c: 69 <- i8042 (interrupt, 0, 1) [427524] [ 4300.812015] drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [427524] [ 4300.937465] drivers/input/serio/i8042.c: fc <- i8042 (interrupt, 0, 1) [427537] [ 4301.011188] drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [427544] [ 4301.107998] drivers/input/serio/i8042.c: e9 <- i8042 (interrupt, 0, 1) [427554] [ 4301.134320] drivers/input/serio/i8042.c: fc <- i8042 (interrupt, 0, 1) [42755 The IRQ1 counts are also progressing. Only /dev/input/event3 is not bound to anything, and setkeycode logically fails On Tue, Nov 25, 2008 at 8:23 PM, Richard A. Smith <[EMAIL PROTECTED]> wrote: > Offhand I don't know what the kernel does > when you boot and nothing responds to the keyboard reset. Maybe it requires a tweak in i8042 module to give key even even if keyboard resent doesn't respond? Something like a module parameter ? Guylhem ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: running a motherboard without a keyboard
Guylhem Aznar wrote: > I'm thinking about getting a USB-serial cable to connect to J1 ; > meanwhile, I figured out I could use the gamepad, rotation button and > the 4 game keys, along with blinking the leds, but looks like they are > not working, while the power button is working fine. > > Is it due to the missing keyboard part? Is there a quick way to fix it? The gamepad and gamebuttons are read by the EC and inserted into the keyboard stream as special keys. Offhand I don't know what the kernel does when you boot and nothing responds to the keyboard reset. The physical keyboard is not necessary for the EC to send up keyboard events but if nothing kernel side is servicing the keyboard IRQ then you won't get any data. You can see if interrupts are getting serviced by: echo 1 > /sys/module/i8042/parameters/debug and look at the kern.* debug stream. You can also look at /proc/interrupts and see if the count for IRQ 1 is increasing after you press the buttons. -- Richard Smith <[EMAIL PROTECTED]> One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
running a motherboard without a keyboard
Hello After my (mostly) successfull B4 to C2 motherboard surgery, I am left with a working B4 motherboard that I would like to use for various tests purposes, including kernel stability tests and perfs optimisation. It is a bare motherboard- no display, no keyboard, no battery. Just a power adapter to give it 12V, and a 256Mb SD with a minimal debian to give me a network connection I can use to access the nand when I do some mistake, to investigate what happened. I'm thinking about getting a USB-serial cable to connect to J1 ; meanwhile, I figured out I could use the gamepad, rotation button and the 4 game keys, along with blinking the leds, but looks like they are not working, while the power button is working fine. Is it due to the missing keyboard part? Is there a quick way to fix it? I would simply need to map a couple of buttons for basic functions like wifi up/down (access point connection is unstable), and to start/stop a test script. Thanks Guylhem ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel