:: Re: [DNG] mouse driver question
Etusivu
Poista viesti
Vastaa
Lähettäjä: Fred
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] mouse driver question
On 4/25/22 02:39, karl@??? wrote:
> Fred:
> ...
>> The compile fails because SDL.h can't be found.
>> Package sd12 was not found in the pkg-config search path. It also
>> mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH
>> environment variable.
>
> To find which package a missing file belongs to, do:
>
> # apt-get install apt-file
>
> $ apt-file search SDL.h
> $ apt-file search sdl2.h
>
> ///
>
>    I get:
> $ apt-file -x search /SDL.h$
> libsdl1.2-dev: /usr/include/SDL/SDL.h
> libsdl2-dev: /usr/include/SDL2/SDL.h
> $ apt-file search /sdl2.pc
> libsdl2-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc

>
> So, the above problem is solved by installing libsdl2-dev.
>
> Regards,
> /Karl Hammar
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Hi Karl,
The compile went ok. I used command line:
inputattach --daemon --baud 1200 -msc /dev/ttyUSB0
It accepted the baud rate option this time however the middle button
still does not work. The pointer freezes when the middle button is
down. I ran gpm-mouse-test again. That program seems to have major
problems. It can't even detect the baud rate which I know to be 1200.
Best regards,
Fred