This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Touchscreen TSC2007 and Removing phone objects

Other Parts Discussed in Thread: TSC2007

Hi,

First I am trying to enable touchscreen.

I followed instructions on touchscreen guide.

Enabled tsc 2007,spi in config.

TSC 2007 connected to INT 130 pin.

I couldnt get any input from getevent.

Also I am trying to disable phone objects.

I followed http://processors.wiki.ti.com/index.php/Android_gingerbread_memory_analysis_for_non-phone_device

But when I boot up I got com.android.phone has stopped unexpectedly error.

All ideas will be appreciated.

  • Hi,

    1. What is the output for $getevent -p

    2. Regarding removing phone objects, is it affecting your boot or any other activity...I means after boot luncher is coming properly or not

    BR,

    satish

     

  • 1.Here is results for getevent -p   (2 keyboard and usb camera connected to bb-xm)

    getevent -p
    could not get driver version for /dev/input/mice, Not a typewriter
    add device 1: /dev/input/event6
    name: "USB 2.0 Camera"
    events:
    SYN (0000): 0000 0001
    KEY (0001): 00d4
    add device 2: /dev/input/event5
    name: " USB Keyboard"
    events:
    SYN (0000): 0000 0001 0004
    KEY (0001): 0071 0072 0073 0074 0080 008c 008e 008f
    0090 0096 0098 009b 009c 009e 009f 00a1
    00a3 00a4 00a5 00a6 00a7 00a8 00ab 00ac
    00ad 00d9
    MSC (0004): 0004
    add device 3: /dev/input/event4
    name: " USB Keyboard"
    events:
    SYN (0000): 0000 0001 0004 0011 0014
    KEY (0001): 0001 0002 0003 0004 0005 0006 0007 0008
    0009 000a 000b 000c 000d 000e 000f 0010
    0011 0012 0013 0014 0015 0016 0017 0018
    0019 001a 001b 001c 001d 001e 001f 0020
    0021 0022 0023 0024 0025 0026 0027 0028
    0029 002a 002b 002c 002d 002e 002f 0030
    0031 0032 0033 0034 0035 0036 0037 0038
    0039 003a 003b 003c 003d 003e 003f 0040
    0041 0042 0043 0044 0045 0046 0047 0048
    0049 004a 004b 004c 004d 004e 004f 0050
    0051 0052 0053 0056 0057 0058 0059 005c
    005d 005e 005f 0060 0061 0062 0063 0064
    0066 0067 0068 0069 006a 006b 006c 006d
    006e 006f 0071 0072 0073 0074 0075 0077
    0079 007a 007b 007c 007d 007e 007f 0080
    0081 0082 0083 0084 0085 0086 0087 0088
    0089 008a 00b7 00b8 00b9 00ba 00bb 00bc
    00bd 00be 00bf 00c0 00c1 00c2 00f0
    MSC (0004): 0004
    LED (0011): 0000 0001 0002
    add device 4: /dev/input/event3
    name: " USB Keyboard"
    events:
    SYN (0000): 0000 0001 0004
    KEY (0001): 0071 0072 0073 0074 0080 008c 008e 008f
    0090 0096 0098 009b 009c 009e 009f 00a1
    00a3 00a4 00a5 00a6 00a7 00a8 00ab 00ac
    00ad 00d9
    MSC (0004): 0004
    add device 5: /dev/input/event2
    name: " USB Keyboard"
    events:
    SYN (0000): 0000 0001 0004 0011 0014
    KEY (0001): 0001 0002 0003 0004 0005 0006 0007 0008
    0009 000a 000b 000c 000d 000e 000f 0010
    0011 0012 0013 0014 0015 0016 0017 0018
    0019 001a 001b 001c 001d 001e 001f 0020
    0021 0022 0023 0024 0025 0026 0027 0028
    0029 002a 002b 002c 002d 002e 002f 0030
    0031 0032 0033 0034 0035 0036 0037 0038
    0039 003a 003b* 003c 003d 003e 003f 0040
    0041 0042 0043 0044 0045 0046 0047 0048
    0049 004a 004b 004c 004d 004e 004f 0050
    0051 0052 0053 0056 0057 0058 0059 005c
    005d 005e 005f 0060 0061 0062 0063 0064
    0066 0067 0068 0069 006a 006b 006c 006d
    006e 006f 0071 0072 0073 0074 0075 0077
    0079 007a 007b 007c 007d 007e 007f 0080
    0081 0082 0083 0084 0085 0086 0087 0088
    0089 008a 00b7 00b8 00b9 00ba 00bb 00bc
    00bd 00be 00bf 00c0 00c1 00c2 00f0
    MSC (0004): 0004
    LED (0011): 0000 0001 0002
    add device 6: /dev/input/event0
    name: "gpio-keys"
    events:
    SYN (0000): 0000 0001
    KEY (0001): 0114
    add device 7: /dev/input/event1
    name: "twl4030_pwrbutton"
    events:
    SYN (0000): 0000 0001
    KEY (0001): 0074
    
    
    
    
    2)
    Android succesfully boots up:adb opened.I saw home screen but after a second
    phone activity stopped.than a half minute later it says activity launcher is not responding.
    
    
    for your information here is results when keyboards and camera plugged off
    
    
    # getevent -p
    could not get driver version for /dev/input/mice, Not a typewriter
    add device 1: /dev/input/event0
    name: "gpio-keys"
    events:
    SYN (0000): 0000 0001
    KEY (0001): 0114
    add device 2: /dev/input/event1
    name: "twl4030_pwrbutton"
    events:
    SYN (0000): 0000 0001
    KEY (0001): 0074
  • Hi,

    1. I suspect touch screen is not enable in kernel config. Or it is not registered as input device.

    As in input device list, I could not see touch screen tsc2007

    Kindly look into same.

     

    BR,

    satish

  • Hi satish,

    Im sure I opened tsc in config and I saw tsc2007.o created.

    But I m not sure about configuration.For example pin muxing.I think I should configure which pin tsc 2007 connected etc..

  • Still,I am seeking for a answer

  • Hi Batuhan,

    I thought you are looking into the issue, why tsc2007 not getting registered at input device.

    Have you refer to porting guide

    http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_PortingGuides#Touchscreen

    I hope you will get some useful information from this.

     

    Let us know if you seek further help.

    BR,

    satish