public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Shahid" <z-shahid@runbox.com>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: "kernel" <linux-kernel@vger.kernel.org>
Subject: Re: testing mouse device driver
Date: Thu, 5 Dec 2002 18:46:21 +0600	[thread overview]
Message-ID: <002701c29c5c$93fab2c0$47614ccb@zaman> (raw)
In-Reply-To: 1039009659.15359.16.camel@irongate.swansea.linux.org.uk


----- 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



      reply	other threads:[~2002-12-05 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 12:04 testing mouse device driver Shahid
2002-12-04 13:47 ` Alan Cox
2002-12-05 12:46   ` Shahid [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002701c29c5c$93fab2c0$47614ccb@zaman' \
    --to=z-shahid@runbox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox