lkml.org 
[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: testing mouse device driver

----- Original Message -----
From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
To: "Shahid" <z-shahid@runbox.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Sent: Wednesday, December 04, 2002 7:47 PM
Subject: Re: testing mouse device driver


>
> Minor 0 is dynamic - you probably want to pick another minor number or
> look in /proc/misc to see which minor was chosen.
>
> The PS/2 port is rather special btw and tied in with the keyboard so
> isnt one you can treat seperately. Fortunately no PS/2 mouse should need
> any 2.4 kernel hacks, just user space stuff to handle different command
> streams
>

/******* Eid Mubarok and greetings to all of this kernel mailing list
on the occasion of the Holy Eid
*********/

hi,
thanx for ur quick response. Actually what i need (a part of my
academic project), is just to comile ur code and load it as a module and
then to see whether the bare mouse specific events occur. but the painful
reality is, i failed to do so. FYI, i just a sophomore undergraduate
student, and i don't find any resourse inside or outside my faculty to help
me to do this. So i had to come in the kernel mailing list, though i am
almost a newbie.

i tried with minor numbers other than 0. first i tried with ,inor
number 1, cauze this is the number i got in /proc/misc allocated for psaux,
in that file. but the result is same. now while i try to load the module,
the error message is:

init_module: no such device, invalid parameters
hint: invalid IO or irq number


then i arbitary tried with some other minor numbers, but the result
is same.
So plz help me to just load the module. as u r the author, certainly u
compiled that code and load the module. so plz tell me ur parameters, i.e.
the port address and major-minor number and irq number, or other hints so
that i load that module.
TIK

regards -
Shahid


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.055 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site