hdapsd during Intercity Express ride

View: New views
7 Messages — Rating Filter:   Alert me  

hdapsd during Intercity Express ride

by Bugzilla from Martin@Lichtvoll.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi!

I am currently traveling with a Intercity Express - mail will be sent
later, cause no internet access in the moment - and found a cumbersome
problem: There have been extreme lags during most common operations.

They have been with my custom kernels 2.6.31 and 2.6.31.3 but not with
stock debian kernel 2.6.30-2. After trying around some ideas I finally
found that it was hdapsd. My custom kernels have tp-smapi modules via m-a
a-i, but the debian kernel did not.

On Windows there is an option to ignore continued vibrations from such a
situation - we checked with a laptop from a co-worker. Is there such a
knob for hdapsd? I thought about

       -a --adaptive
              Adaptive threshold (automatic increase when the built-in
              keyboard/mouse are used).

but this sounds a bit differently.

Any ideas?

Unless so I will just disable hdapsd during ICE rides.

Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


signature.asc (205 bytes) Download Attachment

Re: hdapsd during Intercity Express ride

by Jan Girlich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Montag, den 12.10.2009, 20:48 +0200 schrieb Martin Steigerwald:
> Hi!
>
> I am currently traveling with a Intercity Express - mail will be sent
> later, cause no internet access in the moment - and found a cumbersome
> problem: There have been extreme lags during most common operations.

I had the same problem during a bus ride. The system is rendered useless
because of vibrations like from car engines.
> On Windows there is an option to ignore continued vibrations from such a
> situation - we checked with a laptop from a co-worker. Is there such a
> knob for hdapsd? I thought about

I don't know about any options, but I haven't looked into it, yet.

But I also think the thresholds are set way too sensitive and hdaps kind
of 'overreacts'.

Cheers
Jan
--
http://vollkorn.cryptobitch.de/
+49(0)40 85 40 69 76
+49(0)176 49 00 72 80
Jabber ID: vollkorn@...


signature.asc (204 bytes) Download Attachment

Re: hdapsd during Intercity Express ride

by Elias Oltmanns-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan Girlich <vollkorn@...> wrote:

> Am Montag, den 12.10.2009, 20:48 +0200 schrieb Martin Steigerwald:
>> Hi!
>
>>
>> I am currently traveling with a Intercity Express - mail will be sent
>> later, cause no internet access in the moment - and found a cumbersome
>> problem: There have been extreme lags during most common operations.
>
> I had the same problem during a bus ride. The system is rendered useless
> because of vibrations like from car engines.

From a mathematical point of view, I have serious doubts that the logic
implemented in hdapsd is the right thing(TM). The problem is, as far as
I'm aware, that we don't know exactly what the data returned by the
accelerometer is supposed to represent, i.e. whether any kind of
mathematical preprocessing is performed. I seem to remember that Shem
performed some experiments when (s)he made changes to hdapsd. Whether
real rides by bus or train had been among those tests, I don't recall.

>> On Windows there is an option to ignore continued vibrations from such a
>> situation - we checked with a laptop from a co-worker. Is there such a
>> knob for hdapsd? I thought about
>
> I don't know about any options, but I haven't looked into it, yet.
>
> But I also think the thresholds are set way too sensitive and hdaps kind
> of 'overreacts'.

What thresholds exactly? Have you tried the -s option yet? If you work
on bus / train frequently, it might be worthwhile fiddling with this
option and reporting your results to this list.

Regards,

Elias
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: hdapsd during Intercity Express ride

by Christoph Bier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Steigerwald schrieb am 12.10.2009 20:48:

> Hi!
>
> I am currently traveling with a Intercity Express - mail will be sent
> later, cause no internet access in the moment - and found a cumbersome
> problem: There have been extreme lags during most common operations.
>
> They have been with my custom kernels 2.6.31 and 2.6.31.3 but not with
> stock debian kernel 2.6.30-2. After trying around some ideas I finally
> found that it was hdapsd. My custom kernels have tp-smapi modules via m-a
> a-i, but the debian kernel did not.
>
> On Windows there is an option to ignore continued vibrations from such a
> situation - we checked with a laptop from a co-worker. Is there such a
> knob for hdapsd? I thought about
>
>        -a --adaptive
>               Adaptive threshold (automatic increase when the built-in
>               keyboard/mouse are used).
>
> but this sounds a bit differently.
>
> Any ideas?

No problems in car and ICE with sensitivity set to 15 (which is the
default) and using the a option (running 2.6.30-02063003-generic and
hdapsd 20090401 on Ubuntu 9.04).

HTH

[...]

Best
Christoph
--
+++ Typografie-Regeln (1.7): http://zvisionwelt.de/?page_id=56

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Re: hdapsd during Intercity Express ride

by Jan Girlich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag, den 15.10.2009, 15:00 +0200 schrieb Elias Oltmanns:

> Jan Girlich <vollkorn@...> wrote:
> > Am Montag, den 12.10.2009, 20:48 +0200 schrieb Martin Steigerwald:
> >> I am currently traveling with a Intercity Express - mail will be sent
> >> later, cause no internet access in the moment - and found a cumbersome
> >> problem: There have been extreme lags during most common operations.
> >
> > I had the same problem during a bus ride. The system is rendered useless
> > because of vibrations like from car engines.
>
> From a mathematical point of view, I have serious doubts that the logic
> implemented in hdapsd is the right thing(TM). The problem is, as far as
> I'm aware, that we don't know exactly what the data returned by the
> accelerometer is supposed to represent, i.e. whether any kind of
> mathematical preprocessing is performed. I seem to remember that Shem
> performed some experiments when (s)he made changes to hdapsd. Whether
> real rides by bus or train had been among those tests, I don't recall.
>
> >> On Windows there is an option to ignore continued vibrations from such a
> >> situation - we checked with a laptop from a co-worker. Is there such a
> >> knob for hdapsd? I thought about
> >
> > I don't know about any options, but I haven't looked into it, yet.
> >
> > But I also think the thresholds are set way too sensitive and hdaps kind
> > of 'overreacts'.
>
> What thresholds exactly? Have you tried the -s option yet? If you work
> on bus / train frequently, it might be worthwhile fiddling with this
> option and reporting your results to this list.
I did not have a look into hdapsd options at the time of writing the
former email. I just did so and will try using the -a option on the same
bus ride which rendered my system useless tomorrow and report here.

When I said 'thresholds' I meant the sensitivity level.

Cheers
Jan
--
http://vollkorn.cryptobitch.de/
+49(0)40 85 40 69 76
+49(0)176 49 00 72 80
Jabber ID: vollkorn@...


signature.asc (204 bytes) Download Attachment

Re: Re: hdapsd during Intercity Express ride

by Micha Feigin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 16 Oct 2009 01:14:34 +0200
Jan Girlich <vollkorn@...> wrote:

> Am Donnerstag, den 15.10.2009, 15:00 +0200 schrieb Elias Oltmanns:
> > Jan Girlich <vollkorn@...> wrote:
> > > Am Montag, den 12.10.2009, 20:48 +0200 schrieb Martin Steigerwald:
> > >> I am currently traveling with a Intercity Express - mail will be sent
> > >> later, cause no internet access in the moment - and found a cumbersome
> > >> problem: There have been extreme lags during most common operations.
> > >
> > > I had the same problem during a bus ride. The system is rendered useless
> > > because of vibrations like from car engines.
> >
> > From a mathematical point of view, I have serious doubts that the logic
> > implemented in hdapsd is the right thing(TM). The problem is, as far as
> > I'm aware, that we don't know exactly what the data returned by the
> > accelerometer is supposed to represent, i.e. whether any kind of
> > mathematical preprocessing is performed. I seem to remember that Shem
> > performed some experiments when (s)he made changes to hdapsd. Whether
> > real rides by bus or train had been among those tests, I don't recall.
> >
> > >> On Windows there is an option to ignore continued vibrations from such a
> > >> situation - we checked with a laptop from a co-worker. Is there such a
> > >> knob for hdapsd? I thought about
> > >
> > > I don't know about any options, but I haven't looked into it, yet.
> > >
> > > But I also think the thresholds are set way too sensitive and hdaps kind
> > > of 'overreacts'.
> >
> > What thresholds exactly? Have you tried the -s option yet? If you work
> > on bus / train frequently, it might be worthwhile fiddling with this
> > option and reporting your results to this list.
>
> I did not have a look into hdapsd options at the time of writing the
> former email. I just did so and will try using the -a option on the same
> bus ride which rendered my system useless tomorrow and report here.
>
> When I said 'thresholds' I meant the sensitivity level.
>

Personally I had to play with the thresholds to get to the point where it reacted to turning over (simulated fall) and large bumps but with the defaults the train ride rendered the machine useless otherwise, even with the -a option
 
> Cheers
> Jan
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Re: hdapsd during Intercity Express ride

by Jan Girlich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag, den 16.10.2009, 23:35 +0200 schrieb Micha Feigin:

> On Fri, 16 Oct 2009 01:14:34 +0200
> Jan Girlich <vollkorn@...> wrote:
>
> > Am Donnerstag, den 15.10.2009, 15:00 +0200 schrieb Elias Oltmanns:
> > > Jan Girlich <vollkorn@...> wrote:
> > > > Am Montag, den 12.10.2009, 20:48 +0200 schrieb Martin Steigerwald:
> > > >> I am currently traveling with a Intercity Express - mail will be sent
> > > >> later, cause no internet access in the moment - and found a cumbersome
> > > >> problem: There have been extreme lags during most common operations.
> > > >
> > > > I had the same problem during a bus ride. The system is rendered useless
> > > > because of vibrations like from car engines.
> > >
> > > From a mathematical point of view, I have serious doubts that the logic
> > > implemented in hdapsd is the right thing(TM). The problem is, as far as
> > > I'm aware, that we don't know exactly what the data returned by the
> > > accelerometer is supposed to represent, i.e. whether any kind of
> > > mathematical preprocessing is performed. I seem to remember that Shem
> > > performed some experiments when (s)he made changes to hdapsd. Whether
> > > real rides by bus or train had been among those tests, I don't recall .
> > >
> > > >> On Windows there is an option to ignore continued vibrations from such a
> > > >> situation - we checked with a laptop from a co-worker. Is there such a
> > > >> knob for hdapsd? I thought about
> > > >
> > > > I don't know about any options, but I haven't looked into it, yet.
> > > >
> > > > But I also think the thresholds are set way too sensitive and hdaps kind
> > > > of 'overreacts'.
> > >
> > > What thresholds exactly? Have you tried the -s option yet? If you work
> > > on bus / train frequently, it might be worthwhile fiddling with this
> > > option and reporting your results to this list.
> >
> > I did not have a look into hdapsd options at the time of writing the
> > former email. I just did so and will try using the -a option on the same
> > bus ride which rendered my system useless tomorrow and report here.
> >
> > When I said 'thresholds' I meant the sensitivity level.
> >
>
> Personally I had to play with the thresholds to get to the point where it reacted to turning over (simulated fall) and large bumps but with the defaults the train ride rendered the machine useless otherwise, even with the -a option
I activated the -a option today and pressed shift whenever I had the
feeling the laptop hard drive was stalling. Which was very often. But it
worked fine then and was still reacting to very strong movement like big
bumps or drops.

Now I'd like to know which threshold was set and used at this moment
because I would like to use it as a default. Any way I can get that
information from hdapsd when it changed the threshold because of -a?

Thanks
Jan
--
http://vollkorn.cryptobitch.de/
+49(0)40 85 40 69 76
+49(0)176 49 00 72 80
Jabber ID: vollkorn@...


signature.asc (204 bytes) Download Attachment