Author Topic: penmountlpc crashing after upgrade  (Read 9371 times)

raygeeknyc

  • Newbie
  • *
  • Posts: 20
penmountlpc crashing after upgrade
« on: December 07, 2009, 04:58:40 AM »
Not leaving well enough alone...
I had my a33i working. the pointer and the touchscreen. I needed to calibrate, but all seemed well.

I used aptitude to update and then upgrade. Among other things, the kernel was upgraded to 2.6.24.25 and xorg is now at xorg-server 1.4.0.90.

X crashed and came up with the lores, "configure me" session.
I installed my old xorg.conf one piece at a time and found that the penmountlpc driver is crashing X when included in xorg.conf.

I rebuilt the plpevtch driver in the new kernel using flybuntu-development-20080922.tgz but that didn't help
I then tried building and installing it from the xf86-input-plpevtch-0.4.0.tar.gz archive which was newer than the plpevtch included in the flybuntu-development archive.  This didn't help.

FWIW - What seems odd to me is that even when I do not include the touchscreen device (using penmountlpc) in xorg.conf, the X pointer responds to touchscreen events.

I've attached the Xorg.0.log file from the crash which includes the stacktrace.

Any and all help is welcome.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2434
  • a command shell is enough to do amazing things
Re: penmountlpc crashing after upgrade
« Reply #1 on: December 07, 2009, 12:54:59 PM »
hi,
delete the file /usr/lib/xorg/modules/input/plpevtch_drv.so and compile plpevtch 0.4.0 again.

howto compile and install:
Code: [Select]
./configure --prefix=/usr && make
sudo make install

regards
elmar

raygeeknyc

  • Newbie
  • *
  • Posts: 20
Re: penmountlpc crashing after upgrade
« Reply #2 on: December 07, 2009, 15:33:44 PM »
Hi Elmar
  Already had, did again. Same result.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2434
  • a command shell is enough to do amazing things
Re: penmountlpc crashing after upgrade
« Reply #3 on: December 07, 2009, 16:52:14 PM »
did you recompile the penmountlpc module too?

raygeeknyc

  • Newbie
  • *
  • Posts: 20
Re: penmountlpc crashing after upgrade
« Reply #4 on: December 07, 2009, 17:42:42 PM »
yes, just removed it and recompiled to be sure. The size of penmountlpc.ko did not change, and it does differ from the one under the old kernel.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2434
  • a command shell is enough to do amazing things
Re: penmountlpc crashing after upgrade
« Reply #5 on: December 07, 2009, 21:02:28 PM »
maybe the eventdevice number has been changed
check it with
Code: [Select]
dmesg|grep pen

raygeeknyc

  • Newbie
  • *
  • Posts: 20
Re: penmountlpc crashing after upgrade
« Reply #6 on: December 09, 2009, 18:15:43 PM »
Here's what I've got... (FWIW - upgraded to kernel 2.6.24-26 and rebuilt, same results

Code: [Select]
uname raymond@flybook:~$ uname -a
Linux flybook 2.6.24-26-generic #1 SMP Tue Dec 1 18:37:31 UTC 2009 i686 GNU/Linux
raymond@flybook:~$ locate penmountlpc.ko
/lib/modules/2.6.24-26-generic/extra/penmountlpc.ko
raymond@flybook:~$ lsmod | grep penmountlpc
penmountlpc             5256  0
raymond@flybook:~$ dmesg | grep pen
[   28.049245] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[   88.064030] penmountlpc.c: init finished
[  703.358332] penmountlpc.c: driver removed
[  710.690595] penmountlpc.c: init finished
raymond@flybook:~$

here's how I am loading it in xorg.conf
Code: [Select]
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
InputDevice "touchscreen" "Pointer"
Inputdevice "Configured Mouse"
EndSection
Section "InputDevice"
Identifier  "touchscreen"
Driver       "plpevtch"
Option       "Device"  "/dev/input/event9"
#Option "Calibrate" "True"
Option "MinX" "40"
Option "MaxX" "965"
Option "MinY" "71"
Option "MaxY" "993"
EndSection

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2434
  • a command shell is enough to do amazing things
Re: penmountlpc crashing after upgrade
« Reply #7 on: December 09, 2009, 18:34:59 PM »
hmm, the kernel driver does not detect the touchscreen. whats the output of lsmod?

raygeeknyc

  • Newbie
  • *
  • Posts: 20
Re: penmountlpc crashing after upgrade
« Reply #8 on: December 09, 2009, 18:43:32 PM »
the line for penmountlpc is above
All of it...
raymond@flybook:~$ lsmod
Module                  Size  Used by
hci_usb                16540  0
penmountlpc             5256  0
af_packet              23812  4
ipv6                  268036  8
radeon                124192  2
drm                    82452  3 radeon
joydev                 13120  0
psmouse                40336  0
ndiswrapper           192920  0
rfcomm                 41744  2
l2cap                  25728  13 rfcomm
bluetooth              61028  5 hci_usb,rfcomm,l2cap
ppdev                  10372  0
longrun                 3848  0
cpufreq_userspace       5284  0
cpufreq_stats           7104  0
cpufreq_powersave       2688  0
cpufreq_ondemand        9740  0
freq_table              5536  2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative     8712  0
sbs                    15112  0
sbshc                   7680  1 sbs
dock                   11280  0
iptable_filter          3840  0
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
udf                    88740  1
parport_pc             36260  0
lp                     12324  0
parport                37832  3 ppdev,parport_pc,lp
loop                   18948  0
pcmcia                 40876  0
evdev                  13056  7
prism2_usb             75908  0
p80211                 33288  1 prism2_usb
container               5632  0
snd_ali5451            24844  3
snd_ac97_codec        101028  1 snd_ali5451
ac97_bus                3072  1 snd_ac97_codec
snd_pcm_oss            42144  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_pcm                78724  3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
video                  19856  0
output                  4736  1 video
serio_raw               7940  0
snd_seq_dummy           4868  0
battery                14212  0
ac                      6916  0
i2c_ali1535             8068  0
button                  9232  0
i2c_ali15x3             8836  0
pcspkr                  4224  0
i2c_core               24832  2 i2c_ali1535,i2c_ali15x3
snd_seq_oss            35584  0
snd_seq_midi            9376  0
snd_rawmidi            25760  1 snd_seq_midi
yenta_socket           27276  1
rsrc_nonstatic         13696  1 yenta_socket
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
pcmcia_core            40596  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_seq                54224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
efficeon_agp            9248  0
snd_timer              24836  2 snd_pcm,snd_seq
snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
agpgart                34760  2 drm,efficeon_agp
snd                    56996  17 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
snd_page_alloc         11400  1 snd_pcm
ext3                  136968  1
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
ide_disk               17536  5
pata_acpi               8320  0
ata_generic             8324  0
libata                159728  2 pata_acpi,ata_generic
scsi_mod              151692  1 libata
ohci1394               33584  0
alim15x3               12044  0 [permanent]
ehci_hcd               37900  0
ohci_hcd               26640  0
ide_core              113996  2 ide_disk,alim15x3
ieee1394               93752  1 ohci1394
usbcore               146412  6 hci_usb,ndiswrapper,prism2_usb,ehci_hcd,ohci_hcd
8139too                27648  0
8139cp                 24704  0
mii                     6400  2 8139too,8139cp
thermal                16796  0
processor              36616  2 thermal
fan                     5636  0
fbcon                  42912  0
tileblit                3584  1 fbcon
font                    9472  1 fbcon
bitblit                 6784  1 fbcon
softcursor              3072  1 bitblit
fuse                   50708  5


thanks