Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Android] Another Android port: NITdroid

    Reply
    Page 19 of 54 | Prev | 9   17     18   19   20     21   29 | Next | Last
    Bundyo | # 181 | 2008-12-17, 00:50 | Report

    flasher --enable-rd-mode



    Okay Solca, it works without sound... I'll test more now Btw, found FM Radio and Camera drivers in the kernel, would they work if compiled with...?

    Nah, can't unlock it Which key is "Menu"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Bundyo; 2008-12-17 at 01:10.
    The Following User Says Thank You to Bundyo For This Useful Post:
    solca

     
    Thesandlord | # 182 | 2008-12-17, 01:14 | Report

    Menu is the menu key, duh!

    Sound does not really work at all, so you are not missing out on anything. If somehow camera, GPS, brightness, light sensor, sound, power management, etc could be enabled, that would be great. Does Android work with Bluetooth GPS?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 183 | 2008-12-17, 01:21 | Report

    My Menu key is opening Power menu, maybe it shouldn't...

    I managed to unlock it with monkey, though it seems touchscreen is not working too.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Thesandlord | # 184 | 2008-12-17, 01:23 | Report

    Originally Posted by Bundyo View Post
    My Menu key is opening Power menu, maybe it shouldn't...

    I managed to unlock it with monkey, though it seems touchscreen is not working too.
    You used monkey? So you just randomly waited for monkey to press the menu key? LOL...

    Anyway, android is "supposed" to work with non touch devices also, so...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 185 | 2008-12-17, 01:25 | Report

    Not so much randomly - --majornav 100 Happened almost instantly.

    Why do i have touchscreen if i'm not able to use it?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    solca | # 186 | 2008-12-17, 01:27 | Report

    Originally Posted by Bundyo View Post
    My Menu key is opening Power menu, maybe it shouldn't...

    I managed to unlock it with monkey, though it seems touchscreen is not working too.
    I included a binary at /nit/bin/evtest to see what your keys are so I can create a custom keymap for your device, too I need the output of /proc/bus/input/*

    Too which touch screen driver uses the N800? I need to patch it to support BTN_TOUCH events.

    Bundyo: very well done! Thanks to you we're closer to N800 support.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 187 | 2008-12-17, 01:39 | Report

    Code:
    # /nit/bin/evtest /dev/input/event0
    Input driver version is 1.0.0
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "retu-pwrbutton"
    Supported events:
      Event type 0 (Sync)
      Event type 1 (Key)
        Event code 116 (Power)
    Event: time 1229477816.291900, type 1 (Key), code 116 (Power), value 1
    Event: time 1229477816.463806, type 1 (Key), code 116 (Power), value 0
    Code:
    Input driver version is 1.0.0
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "Internal keypad"
    Supported events:
      Event type 0 (Sync)
      Event type 1 (Key)
        Event code 1 (Esc)
        Event code 28 (Enter)
        Event code 62 (F4)
        Event code 63 (F5)
        Event code 64 (F6)
        Event code 65 (F7)
        Event code 66 (F8)
        Event code 103 (Up)
        Event code 105 (Left)
        Event code 106 (Right)
        Event code 108 (Down)
    
    Event: time 1229477745.181793, type 1 (Key), code 63 (F5), value 1
    Event: time 1229477745.187988, -------------- Report Sync ------------
    Event: time 1229477745.432433, type 1 (Key), code 63 (F5), value 0
    Event: time 1229477745.432433, -------------- Report Sync ------------
    Event: time 1229477750.102691, type 1 (Key), code 62 (F4), value 1
    Event: time 1229477750.107208, -------------- Report Sync ------------
    Event: time 1229477750.245025, type 1 (Key), code 62 (F4), value 0
    Event: time 1229477750.245025, -------------- Report Sync ------------
    Event: time 1229477752.593719, type 1 (Key), code 1 (Esc), value 1
    Event: time 1229477752.594848, -------------- Report Sync ------------
    Event: time 1229477752.752807, type 1 (Key), code 1 (Esc), value 0
    Event: time 1229477752.752807, -------------- Report Sync ------------
    Event: time 1229477759.210723, type 1 (Key), code 28 (Enter), value 1
    Event: time 1229477759.211913, -------------- Report Sync ------------
    Event: time 1229477759.354369, type 1 (Key), code 28 (Enter), value 0
    Event: time 1229477759.354369, -------------- Report Sync ------------
    Event: time 1229477762.145995, type 1 (Key), code 105 (Left), value 1
    Event: time 1229477762.147186, -------------- Report Sync ------------
    Event: time 1229477762.330840, type 1 (Key), code 105 (Left), value 0
    Event: time 1229477762.330871, -------------- Report Sync ------------
    Event: time 1229477762.935821, type 1 (Key), code 103 (Up), value 1
    Event: time 1229477762.936675, -------------- Report Sync ------------
    Event: time 1229477763.096557, type 1 (Key), code 103 (Up), value 0
    Event: time 1229477763.096588, -------------- Report Sync ------------
    Event: time 1229477763.644378, type 1 (Key), code 106 (Right), value 1
    Event: time 1229477763.645507, -------------- Report Sync ------------
    Event: time 1229477763.830932, type 1 (Key), code 106 (Right), value 0
    Event: time 1229477763.830963, -------------- Report Sync ------------
    Event: time 1229477764.357391, type 1 (Key), code 108 (Down), value 1
    Event: time 1229477764.358245, -------------- Report Sync ------------
    Event: time 1229477764.518432, type 1 (Key), code 108 (Down), value 0
    Event: time 1229477764.518462, -------------- Report Sync ------------
    Event: time 1229477766.590972, type 1 (Key), code 66 (F8), value 1
    Event: time 1229477766.592468, -------------- Report Sync ------------
    Event: time 1229477766.799682, type 1 (Key), code 66 (F8), value 0
    Event: time 1229477766.799682, -------------- Report Sync ------------
    Event: time 1229477767.328460, type 1 (Key), code 64 (F6), value 1
    Event: time 1229477767.329284, -------------- Report Sync ------------
    Event: time 1229477767.510619, type 1 (Key), code 64 (F6), value 0
    Event: time 1229477767.510650, -------------- Report Sync ------------
    Event: time 1229477767.961303, type 1 (Key), code 65 (F7), value 1
    Event: time 1229477767.962432, -------------- Report Sync ------------
    Event: time 1229477768.166869, type 1 (Key), code 65 (F7), value 0
    Event: time 1229477768.166900, -------------- Report Sync ------------

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 188 | 2008-12-17, 01:40 | Report

    Code:
    Input driver version is 1.0.0
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "TSC2301 touchscreen"
    Supported events:
      Event type 0 (Sync)
      Event type 1 (Key)
      Event type 3 (Absolute)
        Event code 0 (X)
          Value      0
          Min        0
          Max     4096
          Fuzz       4
        Event code 1 (Y)
          Value      0
          Min        0
          Max     4096
          Fuzz       7
        Event code 24 (Pressure)
          Value      0
          Min        0
          Max     2048
          Fuzz       2
    
    Event: time 1229477849.902465, type 3 (Absolute), code 0 (X), value 1640
    Event: time 1229477849.903777, type 3 (Absolute), code 1 (Y), value 2114
    Event: time 1229477849.904235, type 3 (Absolute), code 24 (Pressure), value 298
    Event: time 1229477849.905944, -------------- Report Sync ------------
    Event: time 1229477849.932464, type 3 (Absolute), code 24 (Pressure), value 0
    Event: time 1229477849.932494, -------------- Report Sync ------------
    Event: time 1229477851.559539, type 3 (Absolute), code 0 (X), value 832
    Event: time 1229477851.560790, type 3 (Absolute), code 1 (Y), value 1144
    Event: time 1229477851.561248, type 3 (Absolute), code 24 (Pressure), value 221
    Event: time 1229477851.562927, -------------- Report Sync ------------
    Event: time 1229477851.585632, type 3 (Absolute), code 1 (Y), value 1139
    Event: time 1229477851.586547, type 3 (Absolute), code 24 (Pressure), value 220
    Event: time 1229477851.587005, -------------- Report Sync ------------
    Event: time 1229477851.611694, type 3 (Absolute), code 0 (X), value 851
    Event: time 1229477851.612701, type 3 (Absolute), code 1 (Y), value 1143
    Event: time 1229477851.613189, type 3 (Absolute), code 24 (Pressure), value 218
    Event: time 1229477851.614868, -------------- Report Sync ------------
    Event: time 1229477851.637817, type 3 (Absolute), code 0 (X), value 895
    Event: time 1229477851.638702, type 3 (Absolute), code 1 (Y), value 1199
    Event: time 1229477851.639160, type 3 (Absolute), code 24 (Pressure), value 213
    Event: time 1229477851.639495, -------------- Report Sync ------------
    Event: time 1229477851.663940, type 3 (Absolute), code 0 (X), value 968
    Event: time 1229477851.664825, type 3 (Absolute), code 1 (Y), value 1296
    Event: time 1229477851.665283, type 3 (Absolute), code 24 (Pressure), value 212
    Event: time 1229477851.667419, -------------- Report Sync ------------
    Event: time 1229477851.689941, type 3 (Absolute), code 0 (X), value 1064
    Event: time 1229477851.691039, type 3 (Absolute), code 1 (Y), value 1406
    Event: time 1229477851.692260, type 3 (Absolute), code 24 (Pressure), value 216
    Event: time 1229477851.693420, -------------- Report Sync ------------
    Event: time 1229477851.716155, type 3 (Absolute), code 0 (X), value 1191
    Event: time 1229477851.717071, type 3 (Absolute), code 1 (Y), value 1530
    Event: time 1229477851.718231, type 3 (Absolute), code 24 (Pressure), value 221
    Event: time 1229477851.719360, -------------- Report Sync ------------
    Event: time 1229477851.742278, type 3 (Absolute), code 0 (X), value 1359
    Event: time 1229477851.743163, type 3 (Absolute), code 1 (Y), value 1656
    Event: time 1229477851.743591, type 3 (Absolute), code 24 (Pressure), value 231
    Event: time 1229477851.743957, -------------- Report Sync ------------
    Event: time 1229477851.768371, type 3 (Absolute), code 0 (X), value 1550
    Event: time 1229477851.769378, type 3 (Absolute), code 1 (Y), value 1796
    Event: time 1229477851.769805, type 3 (Absolute), code 24 (Pressure), value 235
    Event: time 1229477851.770171, -------------- Report Sync ------------
    Event: time 1229477851.794494, type 3 (Absolute), code 0 (X), value 1746
    Event: time 1229477851.795440, type 3 (Absolute), code 1 (Y), value 1917
    Event: time 1229477851.795898, type 3 (Absolute), code 24 (Pressure), value 248
    Event: time 1229477851.796234, -------------- Report Sync ------------
    Event: time 1229477851.820587, type 3 (Absolute), code 0 (X), value 1943
    Event: time 1229477851.821502, type 3 (Absolute), code 1 (Y), value 2039
    Event: time 1229477851.821929, type 3 (Absolute), code 24 (Pressure), value 272
    Event: time 1229477851.822265, -------------- Report Sync ------------
    Event: time 1229477851.846710, type 3 (Absolute), code 0 (X), value 2151
    Event: time 1229477851.847656, type 3 (Absolute), code 1 (Y), value 2152
    Event: time 1229477851.848113, type 3 (Absolute), code 24 (Pressure), value 355
    Event: time 1229477851.849761, -------------- Report Sync ------------
    Event: time 1229477851.872833, type 3 (Absolute), code 0 (X), value 2343
    Event: time 1229477851.873779, type 3 (Absolute), code 1 (Y), value 2228
    Event: time 1229477851.874206, type 3 (Absolute), code 24 (Pressure), value 310
    Event: time 1229477851.875305, -------------- Report Sync ------------
    Event: time 1229477851.901214, type 3 (Absolute), code 24 (Pressure), value 0
    Event: time 1229477851.901244, -------------- Report Sync ------------
    Event: time 1229477852.095031, type 3 (Absolute), code 0 (X), value 2669
    Event: time 1229477852.096008, type 3 (Absolute), code 1 (Y), value 2555
    Event: time 1229477852.096435, type 3 (Absolute), code 24 (Pressure), value 251
    Event: time 1229477852.097137, -------------- Report Sync ------------
    Event: time 1229477852.121063, type 3 (Absolute), code 0 (X), value 2618
    Event: time 1229477852.121978, type 3 (Absolute), code 1 (Y), value 2549
    Event: time 1229477852.123168, type 3 (Absolute), code 24 (Pressure), value 295
    Event: time 1229477852.124328, -------------- Report Sync ------------
    Event: time 1229477852.147186, type 3 (Absolute), code 0 (X), value 2497
    Event: time 1229477852.148071, type 3 (Absolute), code 24 (Pressure), value 289
    Event: time 1229477852.148498, -------------- Report Sync ------------
    Event: time 1229477852.173278, type 3 (Absolute), code 0 (X), value 2338
    Event: time 1229477852.174163, type 3 (Absolute), code 1 (Y), value 2529
    Event: time 1229477852.174590, type 3 (Absolute), code 24 (Pressure), value 258
    Event: time 1229477852.175079, -------------- Report Sync ------------
    Event: time 1229477852.199401, type 3 (Absolute), code 0 (X), value 2166
    Event: time 1229477852.200347, type 3 (Absolute), code 1 (Y), value 2478
    Event: time 1229477852.200775, type 3 (Absolute), code 24 (Pressure), value 273
    Event: time 1229477852.201110, -------------- Report Sync ------------
    Event: time 1229477852.225524, type 3 (Absolute), code 0 (X), value 1966
    Event: time 1229477852.225982, type 3 (Absolute), code 1 (Y), value 2484
    Event: time 1229477852.226348, type 3 (Absolute), code 24 (Pressure), value 283
    Event: time 1229477852.226684, -------------- Report Sync ------------
    Event: time 1229477852.251617, type 3 (Absolute), code 0 (X), value 1776
    Event: time 1229477852.252075, type 3 (Absolute), code 1 (Y), value 2506
    Event: time 1229477852.252441, type 3 (Absolute), code 24 (Pressure), value 268
    Event: time 1229477852.252868, -------------- Report Sync ------------
    Event: time 1229477852.277740, type 3 (Absolute), code 0 (X), value 1612
    Event: time 1229477852.278228, type 3 (Absolute), code 1 (Y), value 2464
    Event: time 1229477852.278594, type 3 (Absolute), code 24 (Pressure), value 248
    Event: time 1229477852.278930, -------------- Report Sync ------------
    Event: time 1229477852.303863, type 3 (Absolute), code 0 (X), value 1463
    Event: time 1229477852.304351, type 3 (Absolute), code 1 (Y), value 2426
    Event: time 1229477852.304687, type 3 (Absolute), code 24 (Pressure), value 273
    Event: time 1229477852.305053, -------------- Report Sync ------------
    Event: time 1229477852.329925, type 3 (Absolute), code 0 (X), value 1339
    Event: time 1229477852.330413, type 3 (Absolute), code 1 (Y), value 2360
    Event: time 1229477852.330749, type 3 (Absolute), code 24 (Pressure), value 313
    Event: time 1229477852.331207, -------------- Report Sync ------------
    Event: time 1229477852.356078, type 3 (Absolute), code 0 (X), value 1247
    Event: time 1229477852.356567, type 3 (Absolute), code 1 (Y), value 2277
    Event: time 1229477852.356933, -------------- Report Sync ------------
    Event: time 1229477852.385589, type 3 (Absolute), code 24 (Pressure), value 0
    Event: time 1229477852.385619, -------------- Report Sync ------------
    Event: time 1229477854.002776, type 3 (Absolute), code 24 (Pressure), value 0
    Event: time 1229477854.002807, -------------- Report Sync ------------

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 189 | 2008-12-17, 01:41 | Report

    Code:
    # cat /proc/bus/input/*            
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="retu-pwrbutton"
    P: Phys=
    S: Sysfs=/class/input/input0
    U: Uniq=
    H: Handlers=kbd event0 
    B: EV=3
    B: KEY=100000 0 0 0
    
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="Internal keypad"
    P: Phys=spi1.0/input-kp
    S: Sysfs=/class/input/input1
    U: Uniq=
    H: Handlers=kbd event1 
    B: EV=3
    B: KEY=1680 7 c0000000 10000002
    
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="TSC2301 touchscreen"
    P: Phys=spi1.0/input-ts
    S: Sysfs=/class/input/input2
    U: Uniq=
    H: Handlers=event2 
    B: EV=b
    B: KEY=0
    B: ABS=1000003
    
    N: Number=0 Name=kbd
    N: Number=1 Name=evdev Minor=64
    Code:
    <6>[    2.454162] omapfb: ls041y3 rev 8f LCD detected
    <6>[    2.454620] omapfb: configured for panel ls041y3
    <6>[    2.468536] omapfb: DISPC version 2.0 initialized
    <6>[    2.468749] omapfb: RFBI version 1.0 initialized
    <6>[    2.489288] omapfb: s1d13745 LCD controller rev 1 initialized (CNF pins 3)
    <6>[    2.489532] omapfb omapfb: s1d1374x: setting update mode to auto
    Okay, off to bed

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Bundyo; 2008-12-17 at 01:44.

     
    solca | # 190 | 2008-12-17, 02:04 | Report

    Push this to your N800 to fix the keypad:

    $ sudo ./adb push Internal_keypad.kl /system/usr/keylayout

    I'm patching the touchscreen driver, will post a new kernel at the usual place.

    EDIT: the kernel have been patched, source patch updated too.
    EDIT2: this key layout for N800 is part of the regular userspace now.
    EDIT3: this new userspace (20081216) should fix the app install problems too.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by solca; 2008-12-17 at 02:30.
    The Following 4 Users Say Thank You to solca For This Useful Post:
    bearcat, Bundyo, qole, spjndizzy

     
    Page 19 of 54 | Prev | 9   17     18   19   20     21   29 | Next | Last
vBulletin® Version 3.8.8
Normal Logout