LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-11-2006, 01:57 AM   #1
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Rep: Reputation: 15
Question Keeping a pointer out of intput/mice and node in place for unplugged usb device


Is there a way to prevent kernel from adding events from a pointer to input/mice? if not is there a dirver for a device with similar funcionallity that allows one to configure the devices mixed?

Problem is as follows: I have multiple mice Id like to hotplug and use in X which means i must use input/mice but I also have an aiptek tablet that when plugged in gets treated as a mouse and sends its relative events to input/mice effectivley making it unusable as an absolute pen.Now if there were way to keep the tablet events out of mice, half of the problem would be solved.

second part is that if I unplug the tablet, udev removes the node for it effectevly causing X not to start any more because device location is not there. I can get the X to start even if the tablet is not plugged in by touching the place it should be and making a symlink to tablets device. now when the tablet is plgged in events start running from that point, but when I unplug it the node point is removed and X becomes unstartable....

As to X and hotplug support, could it not be solved by making this kind of "jumper" drivers?
 
Old 01-11-2006, 02:09 AM   #2
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
Other than having more than 1 xorg.conf file for different configurations, I really don't know. I'd love to find out once you receive your answer... Good luck.
 
Old 01-11-2006, 02:17 AM   #3
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
I am not really too smart about what happens in the kernel, but if a device like mice exists then making a driver module that mixes only selected mice/events and always exists should not be impossible?
 
Old 01-11-2006, 02:34 AM   #4
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
IIRC there should be an option for Core Input or InputCore that will enforce a certain device as the default/primary... Currently on a windows box or I'd otherwise have the specifics... HTH
 
Old 01-11-2006, 02:56 AM   #5
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
setting a primary would most likely not help, because Im not using the mouse and the pen simultaneously
 
Old 01-13-2006, 05:16 AM   #6
AlexiaDeath
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo, Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Took a look at the mousedev.c that is responsible for mice pseudodevice. I believe it could easily be modifyed into a derivative that excludes all pointing devices giving out absolute cordinates and pressure sensitivity (like I belive my tablet). all tablet users who do not have a pressuresensitive touchpad connected would be MUCH happier. they would just load this derivative in stead of mousedev. Trouble is I dont have clue how to start modifying compiling and debuggining a kernel module... Any howto would help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I can`t create a device node in /dev gcasados Slackware 8 02-21-2005 05:17 AM
KDEinit (3.3) keeping my USB device busy. ValidiusMaximus Linux - Software 2 02-03-2005 05:36 AM
udev does not create scsi device node maenho Linux - Software 0 11-27-2004 05:08 AM
Laptop pointer goes wild when PS/2 mouse unplugged TealToad Linux - Hardware 0 05-31-2004 11:37 PM
VMWare problems: can't change device node... shiny_spoon Linux - Software 2 11-19-2003 09:33 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration