LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2008, 05:44 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
X: touchpad (Synaptics) works only if "CorePointer" with kernel 2.6.26


Hello!
I've just compiled the new 2.6.26 kernel. Everything works fine, except the touchpad in X. If I don't start X, the touchpad works fine (with gpm).
If I start X, the touchpad works only if I set it as a "CorePointer" device in xorg.conf; if I write "AlwaysCore", the touchpad doesn't work anymore.
It's strange, because with the old kernel (2.6.24.5, from Slackware installation DVD) the touchpad works both as CorePointer and as AlwaysCore. I need to set it as AlwaysCore because I want my USB mouse to be CorePointer, so that I can set its acceleration factor (the default value is too high; by the way, I didn't find a configuration line in xorg.conf which allows me to set the acceleration and threshold values for a mouse, does anybody know anything about?).
How can the kernel influence X in this way?
Thanks!
 
Old 07-16-2008, 09:06 AM   #2
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
This is a tough one. I'm migrating to 2.6.26 myself and have an Alps Glidepoint, which is treated the same as a Synaptics. I rarely use it
(I hate touchpads), but I'll have to investigate it.

One idea I suggest is that, since this seems to be a kernel problem, run a diff against psmouse.c between the kernel versions to see what's changed, if anything. If they're the same, something else is going on.

One other idea is to make sure the same options are being used with these devices between both kernels. In particular, what device is the X
server looking at? My guess is that maybe, if both the touchpad (again, presumably on the PS/2 mouse interface) and your USB mouse are both
in the system, the kernel may be mapping them to different devices. Moving over to the "evdev" interface may solve this, but I worry about the security of that interface and don't like to enable it.

Hopefully this helps a little. Let us know what you find out.

Mike
 
Old 07-19-2008, 09:04 AM   #3
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
I haven't done my tests to see what the problem is. Anyway, it's not related to the Synaptics. If I set the Synaptics mouse as "CorePointer" and the USB mouse as "AlwaysCore", then the USB mouse doesn't work anymore.
It seems that "AlwaysCore" devices don't work... I think I'll have a look at the kernel sources...
 
Old 07-19-2008, 09:10 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I ran into this on Slackware 12.1 and I was under the impression that it was an X issue, not a kernel issue. From what I've read, the "AlwaysCore" directive was deprecated for pointing devices at least and replaced by the "SendCoreEvents" directive. So in your SeverLayout section, replace AlwaysCore with SendCoreEvents and then for every device you use SendCoreEvents, you'll need to add Option "SendCoreEvents" "true" to the appropriate InputDevice section.

I've got my xorg.conf posted on my help site if that helps clarify things.
 
Old 07-20-2008, 03:27 AM   #5
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks you very much. That worked. I had tried adding the SendCoreEvents option, but I had left the device as "AlwaysCore".
It's strange though that with my old kernel (2.6.24.5) "AlwaysCore" would work.
Anyway, thanks!
 
Old 07-20-2008, 06:54 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Just out of curiosity, do you have both kernels (2.6.26 and 2.6.24.5) installed? Like I said, I thought this was an X problem, but if you can have AlwaysCore work with 2.6.24.5 but not with 2.6.26 and everything else remains the same, that suggests that what I've seen isn't correct.
 
Old 07-21-2008, 08:09 AM   #7
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Summarizing:
- All troubles start if using X; if I don't start X, using gpm both USB mouse and touchpad work.
- The "SendCoreEvents" solution works with both kernels.
- The "AlwaysCore" solution works only with 2.6.24.5 - it seems strange to me too, anyway, since "SendCoreEvents" works, I'll
put this in the "Unexplainable misteries of Linux" category :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Minicom -s" works, but it always show "Offline", then cannot communicate with others reflecter_chen Linux - Hardware 8 05-14-2016 02:05 PM
evdev/xorg help? USB mouse/kbd: 2.6.24="just works">2.6.25="unplug/replug to work". GrapefruiTgirl Linux - Hardware 4 12-13-2012 02:23 PM
Synaptics TouchPad sometimes works,sometimes not Salgeras Linux - Laptop and Netbook 2 06-08-2007 03:20 AM
"booting kernel" then nothing. Sort of works after rebooting from Windows gosport1 Ubuntu 11 12-02-2006 10:38 AM
Having problems customizing the "Synaptics" driver options for my touchpad??? Southpaw76 Linux - Hardware 1 12-12-2005 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration