LinuxQuestions.org
Help answer threads with 0 replies.
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 06-09-2004, 12:09 AM   #1
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
stopping a device on start...


i have been trying to get my panther xl joystick to work right...long story....but it works..i am using qjoypad to mape the buttons...and all is good

but...

the joystick has a trackball built in to it and it comes up if cat /dev/mouse2... i replaced the trackball (see the webpage below for details...)
i need to make it to wear mouse 2 will not load up....is their way to disable a device. the problem is that three of the joystick buttons are considered mouse buttons...i dont want them to be mouse buttons...i want them to be joystick buttons......i mounted mouse buttons into the joystick...so i do not need them...

how do disable mouse 2???... i tried moving it out of /dev... but no dice...
the mouse that i want to disable is connected to the game port...is it a serial mouse?.... my regular mouse is mouse0 and the new trackball in the joystick is mouse1....

http://www.derfaust.com/XLmod.htm

like i said see the webpage...it might make a bit more sense....and hey...there are pictures!!!....



thanks.....

and as always.......

Last edited by derfaust; 06-09-2004 at 12:22 AM.
 
Old 06-09-2004, 12:22 AM   #2
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
check your modules.conf or modprobe.conf files and see if they are in there, if so take them out.
 
Old 06-09-2004, 12:25 AM   #3
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
it wasnt in modules.conf.... and i could not read modprobe.conf...

????

thanks for the quick reply

Last edited by derfaust; 06-09-2004 at 12:27 AM.
 
Old 06-09-2004, 02:00 AM   #4
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
you cant read it or its not there,?
 
Old 06-09-2004, 08:56 AM   #5
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
i cant read it.....if i open it in midnight comander...it shows nothing....but it does have a file size...
...

how do ignore mouse2>>>
 
Old 06-09-2004, 09:40 AM   #6
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
what kernel are you using?
 
Old 06-09-2004, 10:43 AM   #7
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
2.4.26.....slack 9.1.....

hit me up in icq...22596888
 
Old 06-09-2004, 10:55 AM   #8
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
youre prolly using modules.conf then and if its not in therei guess its built into the kernel not sure what to do there, i'll look around
 
Old 06-09-2004, 11:06 AM   #9
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
it is there....i can see it...it just opens to a blank screen...

sweet...thats all i have to do to get this joystick to work right....

no shots please....but...

in windows ...all i would have to do is goto the device manager(winkey + pause/break)...all three mice would be seen in the device list...i would then right click on the offending piece of hardware and tick 'disable'...tick apply...tick ok....and the mouse would be ignored...whereas the joystick buttons would work...(this procedure would take all of about a minute)...so i know linux can do this......

the main problem is that when i hit these buttons both functions haapen...the mouse click and the joystick button...quite annoying....

anyway.... thanks for your help...and i look forward to getting it figured out....

keep em comin...

and like i said before,

Last edited by derfaust; 06-09-2004 at 11:16 AM.
 
Old 06-10-2004, 02:09 PM   #10
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
thanks for all the replies!!

i tried adding "alias /dev/inout/mouse2 off" to modules.conf....no dice...

does anybody around know how to do something as simple as ignoring a device???

one would think that an operation that would take less than a minute in 'other' operating systems would take about the same time or less in linux....isnt it suppossed to be better?....isn't one suppossed to have more control with linux?....

this problem, which has plagued me for months, is not yet solved.....i am sure that somebody knows how to do something as simple as disabling a device in linux.....(it sould take less that a minute...FYI)

linux can do this right?.....you do have the 'control' in linux to disable a device right?....

Last edited by derfaust; 06-10-2004 at 02:15 PM.
 
Old 06-10-2004, 04:34 PM   #11
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
anybody?
 
Old 07-03-2004, 03:33 AM   #12
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
bounce?
 
Old 07-03-2004, 10:40 AM   #13
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i once could get rid of a joy-device by setting it chmod a-r in the /dev. the prob was that quake filled the console 'bout problems closing the device, which had hurt fps ;-)

sl mritch.
 
Old 07-04-2004, 04:40 AM   #14
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
i dont want to get rid of the joystick device(/dev/js0)..

what i want is to ignore mouse2.... thats all...thats it... seems a pretty simple affair, no?

i thought something like that would a piece of cake...i guess we spend so much time in linux getting our various devices to work....that once we get them working....we have no idea how to turn them off.....

well...

well???

hrmmmm.....

thanks
 
  


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
How can I start a programm when a USB device is hotplugged?? Imyourdaddy Linux - General 3 11-24-2005 03:27 PM
Start ethernet device numbering at 1 instead of 0 (eth1 instead of eth0) rbecker Linux - Networking 2 02-24-2005 01:43 PM
Ext3-fs error (device hda1) in start-transaction kt8993 Linux - General 0 02-05-2005 11:09 AM
Start wlan0 device at startup in mandrake 10 N1mrod Linux - Newbie 1 04-26-2004 08:53 PM
Stopping X at start PuterFreaK Linux - General 2 01-14-2002 12:35 AM

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

All times are GMT -5. The time now is 11:13 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