[pkg-fso-maint] [Debian] Re: Touchscreen not working

Steffen Moeller steffen_moeller at gmx.de
Wed Dec 23 09:27:55 UTC 2009


Hi Steven,

I ran into the same. I just don't know why. I repaired it by changing from
fbdev to glamo in /etc/xorg.conf (see http://wiki.debian.org/DebianOnFreeRunner)
Please also apt-get install xserver-xorg-video-glamo.

I am CCing the experts list. You may have ran into an issue with the installer.
My hunch is that it has something to do with the nodm setup....just a hunch.

Steffen


Steven Jones wrote:
> I put the output below. I am not sure how to answer the questions; I am
> pretty far outside my area of expertise, so thank you for the help.
> I re-ran the install script, did not call any tasks, and now the aux
> button brings up a keyboard, and the power button brings up a window
> with buttons to turn on Bluetooth, WiFi, GPS, Shutdown, Suspend, Reboot,
> Lock Screen, and Close.
> Additionally, when the screen gets dim, I can press the screen and it
> gets bright again. Otherwise, it does not respond to inputs if I press a
> button. (This is better than it was)
> 
> Johannes Schauer wrote:
> heya!
> 
> is touchscreen support modular?
> 
> lsmod | grep s3c2410_ts
> or
> modprobe s3c2410_ts
> 
>   
>> lsmod | grep s3c2410_ts  returns nothing
>> modprobe s3c2410_ts returns:
>> FATAL: Module s3c2410_ts not found.
> do you have the proper devices?
> 
> ls /dev/input/event*
>   
>> ls /dev/input  returns:
>> by-path event0 event 1 event2 event3 event4 mice touchscreen0
> or
> apt-get input-utils
> lsinput
>   
>> apt-get install input-utils
>> lsinput returns:
>> /dev/input/event0                                        bustype :
>> BUS_I2C                                     vendor  :
>> 0x0                                         product :
>> 0x0                                         version :
>> 0                                           name    : "GTA02 PMU
>> events"                          bits ev : EV_SYN EV_KEY
>> EV_PWR                     
>> /dev/input/event1
>>   bustype : BUS_RS232
>>   vendor  : 0xdead    product : 0xbeef    version : 257       name    :
>> "s3c2410 TouchScreen"
>>   bits ev : EV_SYN EV_KEY EV_ABS
> 
>> /dev/input/event2
>>   bustype : BUS_I2C
>>   vendor  : 0x0     product : 0x0     version : 0       name    :
>> "lis302-1 (top)"
>>   bits ev : EV_SYN EV_REL 
>> /dev/input/event3
>>   bustype : BUS_I2C
>>   vendor  : 0x0
>>   product : 0x0
>>   version : 0
>>   name    : "lis302-2 (bottom)"
>>   bits ev : EV_SYN EV_REL
> 
>> /dev/input/event4
>>   bustype : BUS_HOST
>>   vendor  : 0x1
>>   product : 0x1
>>   version : 256
>>   name    : "Neo1973 Buttons"
>>   phys    : "neo1973kbd/input0"
>>   bits ev : EV_SYN EV_KEY EV_SW
> 
> 
> or
> cat /proc/bus/input/devices
>   
>> returns:
> 
>> I: Bus=0018 Vendor=0000 Product=0000 Version=0000      N: Name="GTA02
>> PMU events"                             P:
>> Phys=                                               S:
>> Sysfs=/class/input/input0                           U:
>> Uniq=                                               H: Handlers=kbd
>> event0                                 B:
>> EV=400003                                           B: KEY=10 0 0 0 0 0
>> 0 0 100000 0 0 0                  
>>                                                       I: Bus=0013
>> Vendor=dead Product=beef Version=0101
>> N: Name="s3c2410 TouchScreen"
>> P: Phys=
>> S: Sysfs=/class/input/input1
>> U: Uniq=
>> H: Handlers=event1
>> B: EV=b
>> B: KEY=400 0 0 0 0 0 0 0 0 0 0
>> B: ABS=1000003
> 
>> I: Bus=0018 Vendor=0000 Product=0000 Version=0000
>> N: Name="lis302-1 (top)"
>> P: Phys=
>> S: Sysfs=/class/input/input2
>> U: Uniq=
>> H: Handlers=event2
>> B: EV=5
>> B: REL=7
> 
>> I: Bus=0018 Vendor=0000 Product=0000 Version=0000
>> N: Name="lis302-2 (bottom)"
>> P: Phys=
>> S: Sysfs=/class/input/input3
>> U: Uniq=
>> H: Handlers=event3
>> B: EV=5
>> B: REL=7
> 
>> I: Bus=0019 Vendor=0001 Product=0001 Version=0100
>> N: Name="Neo1973 Buttons"
>> P: Phys=neo1973kbd/input0
>> S: Sysfs=/class/input/input4
>> U: Uniq=
>> H: Handlers=kbd event4
>> B: EV=23
>> B: KEY=200 0 800000 0 0 0
>> B: SW=4
> does bare tslib work?
> 
> apt-get install libts-bin
> TSLIB_TSDEVICE=/dev/input/eventX TSLIB_CONSOLEDEVICE=none ts_test
> TSLIB_TSDEVICE=/dev/input/eventX TSLIB_CONSOLEDEVICE=none ts_calibrate
> 
>   
>> installed libts-bin, and, I entered the next two lines without success:
>> debian-gta02:~# TSLIB_TSDEVICE=/dev/input/eventX
>> TSLIB_CONSOLEDEVICE=none ts_test
>> /dev/input/eventX: No such file or directory
>> debian-gta02:~# TSLIB_TSDEVICE=/dev/input/eventX
>> TSLIB_CONSOLEDEVICE=none ts_calibrate
>> ts_open: No such file or directory
> 
> is xorg configured accordingly?
> 
> cat /etc/X11/xorg.conf
>   
>> returns:
>> debian-gta02:~# cat /etc/X11/xorg.conf
>> # Xorg confiugration for an Openmoko FreeRunner
>> Section "InputDevice"
>>        Identifier      "Configured Touchscreen"
>>        Driver          "tslib"
>>        Option          "CorePointer"           "true"
>>        Option          "SendCoreEvents"        "true"
>>        Option          "Protocol"              "Auto"
>>        Option          "Width"                 "480"
>>        Option          "Height"                "640"
>> EndSection
> 
>> Section "Device"
>>        Identifier      "Configured Video Device"
>>        Driver          "fbdev"
>> EndSection
> cheers
> josch
>>
>>

> _______________________________________________
> Smartphones-userland mailing list
> Smartphones-userland at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland




More information about the pkg-fso-maint mailing list