[lkml]   [2004]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: logitech mouseMan wheel doesn't work with 2.6.5
    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];

    return 0;
    /* eof */

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:02    [W:0.021 / U:5.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site