Search:

Type: Posts; User: tsoj

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    5,922

    For anyone who is interested, the problem was,...

    For anyone who is interested, the problem was, that the xorg driver arranges the pixel in a different way in the memory than the nVidia driver: in the upperleft corner is the first pixel for both...
  2. it was solved by openig the file just once, thank...

    it was solved by openig the file just once, thank you!
  3. #include #include #include...

    #include <stdio.h>
    #include <unistd.h>
    #include <fcntl.h>


    char mice_data[3];

    int mice_position(){

    int fd = open("/dev/input/mice", O_RDWR |O_NONBLOCK);
  4. Thanks!, the 'fflush(stdout)' worked. I also...

    Thanks!, the 'fflush(stdout)' worked.

    I also tried to put a O_NONBLOCK flag into the open()-function and i also tried it with a if statement with a pollfunction:


    ...
    struct pollfd fds[1];...
  5. Replies
    2
    Views
    5,922

    for the NVIDIA-driver: 14930 and for the...

    for the NVIDIA-driver:
    14930

    and for the xorg-driver:
    14931
  6. problems with read(...); and mice-device (/dev/input/mice)

    Hello,

    i have this code:

    #include <stdio.h>
    #include <unistd.h>
    #include <fcntl.h>


    char mice_data[3];
  7. Replies
    2
    Views
    5,922

    problems with framebuffer and graphics driver

    Hello,

    i have a problem with the linux-framebuffer and this code:

    #include <sys/types.h>
    #include <sys/stat.h>
    #include <sys/mman.h>
    #include <sys/ioctl.h>
    #include <fcntl.h>
    #include...
Results 1 to 7 of 8