From: Erik Steffl <steffl@bigfoot.com>
To: linux-kernel@vger.kernel.org
Subject: Re: logitech mouseMan wheel doesn't work with 2.6.5
Date: Tue, 20 Apr 2004 12:03:38 -0700 [thread overview]
Message-ID: <4085740A.6030609@bigfoot.com> (raw)
In-Reply-To: <200404201522.i3KFMk120352@tag.witbe.net>
Paul Rolland wrote:
> Hello,
>
>
>> it looks that after update to 2.6.5 kernel (debian source
>>package but
>>I guess it would be the same with stock 2.6.5) the mouse
>>wheel and side
>>button on Logitech Cordless MouseMan Wheel mouse do not work.
>
> I've got a new mouse with a wheel, and I've got the same problem,
> though I can't tell if it was working before...
>
>
>>Here's the most basic/simple situation/symptoms:
>>
>> I stop X, read bytes from /dev/psaux (c program, using open and
>>read). for each mouse action there are few bytes read, usually number
>
> Could you provide me with the program so that I can test too ?
it's very simple, just gcc and run it from console, I guess you should
quit X before running it, ctrl-c to exit:
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main(void)
{
unsigned char buf[10];
unsigned char last;
unsigned long counter = 0;
int fd = open("/dev/psaux", O_RDONLY);
if(fd == -1) { perror("couldn't open file"); exit(1); }
while(read(fd, buf, 1) != -1) {
if( (last == 0) && (buf[0] != 0) ) {
printf("\n[%010d] ", counter);
}
printf("[%03d] ", buf[0]);
last = buf[0];
counter++;
}
return 0;
}
/* eof */
erik
next prev parent reply other threads:[~2004-04-20 19:03 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-20 14:14 logitech mouseMan wheel doesn't work with 2.6.5 Erik Steffl
2004-04-20 15:22 ` Paul Rolland
2004-04-20 15:36 ` Craig Bradney
2004-04-20 18:14 ` Kim Holviala
2004-04-20 19:06 ` Erik Steffl
2004-04-20 20:18 ` Craig Bradney
2004-04-20 19:03 ` Erik Steffl [this message]
2004-04-20 20:26 ` Kim Holviala
2004-04-20 23:31 ` Erik Steffl
2004-04-20 23:41 ` Randy.Dunlap
2004-04-24 7:27 ` Erik Steffl
2004-04-24 8:41 ` Craig Bradney
2004-04-27 23:18 ` Erik Steffl
2004-04-27 23:29 ` Craig Bradney
2004-04-27 23:56 ` Erik Steffl
2004-04-28 7:13 ` Craig Bradney
2004-04-28 7:22 ` Kim Holviala
2004-04-28 8:21 ` Erik Steffl
2004-04-28 8:36 ` Craig Bradney
2004-04-28 12:41 ` Dmitry Torokhov
2004-04-28 18:47 ` Erik Steffl
2004-04-28 23:24 ` Dmitry Torokhov
2004-04-29 6:34 ` Erik Steffl
2004-06-02 23:39 ` Vojtech Pavlik
[not found] <1N4qh-4Ct-13@gated-at.bofh.it>
2004-04-21 16:08 ` Frank Otto
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=4085740A.6030609@bigfoot.com \
--to=steffl@bigfoot.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.