Date: Thu, 17 Apr 2008 23:15:16 +0200 From: Tobias Kirschstein <lev@nupfel.de> To: "Tofig Suleymanov" <tofig@freebsd.az> Cc: freebsd-drivers@freebsd.org Subject: Re: hdaps (accelerator) driver for thinkpads Message-ID: <20080417231516.42883d5b@lain> In-Reply-To: <342414370804060210u149240cdwd0f1070b883e7c8a@mail.gmail.com> References: <20080325223539.GH4783@nupfel.de> <342414370803261129u337ad526wf67839cc30c942ad@mail.gmail.com> <20080327164843.GB9146@nupfel.de> <342414370804060210u149240cdwd0f1070b883e7c8a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi tofig, On Sun, 6 Apr 2008 14:10:20 +0500 "Tofig Suleymanov" <tofig@freebsd.az> wrote: > sorry for being so late. i'm sorry too. have been on vacation for the last weeks and had no time to check my email. > Looking at accelraw_dev.c around line 128 I've noticed that you do not > initialize the mutex before acquiring a lock with mtx_lock. I've made > a simple patch which adds a mtx_init before locking operations. Please > download it to your accel source root directory from here > http://www.freebsd.az/other/accel.patch and execute: patch < > accel.patch thank you very much for your help! your patch showed me where the error really was. i forgot to init the mutex in the accel_attach() function, because the old lock was destroyed after exiting accel_probe()... now all devices seem to work fine :) > I can confirm that accelgraph display tool and X mouse interface are > working. X mouse movement seem to be too sensitive though. yes you are right, i adjusted the default sensitivity and the mouse is very smoothy now ;) i also plan to have a sysctl for this or is there any default location for general mouse device sensitivity? now here you can find the current snapshot location: http://www.nupfel.de/data/hdaps.tar.gz there is also a svn repository, but this is not public at the moment (will be soon): https://svn.nupfel.de/x60t/hdaps my next step will be to improve the shock detection algorithm and to implement instant hard drive head parking... let's see what i get done, every help is welcome :) happy testing! -- ciao, lev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080417231516.42883d5b>