Re: Thinkpad Accelerometer driver new Version 0.5

2005-09-15 Thread m . ehinger
sure





 Danny Howard <[EMAIL PROTECTED]>   
  


 16.09.2005 01:13   
 An 
   [EMAIL 
PROTECTED]

  Kopie 
   Fabian Keil 
<[EMAIL PROTECTED]>,  
   
freebsd-questions@freebsd.org

  Thema 
   Re: Thinkpad 
Accelerometer driver new Version 0.5
















On Tue, Sep 13, 2005 at 02:14:15PM +0200, [EMAIL PROTECTED] wrote:
> ok.
>
> It's the base of the IBM Active Protection System (APS).
> At the moment there is NO protection of any kind
> but you can use it as an input device for X. (I get a  slow right drift after 
> heavy use)

... so, you jiggle your computer around to play some sort of game?

-d


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thinkpad Accelerometer driver new Version 0.5

2005-09-13 Thread m . ehinger
ok.

It's the base of the IBM Active Protection System (APS).
At the moment there is NO protection of any kind
but you can use it as an input device for X. (I get a  slow right drift after 
heavy use)






 Fabian Keil

 <[EMAIL PROTECTED]>
 

 An 
 13.09.2005 12:52  [EMAIL 
PROTECTED]

  Kopie 
   
freebsd-questions@freebsd.org

  Thema 
   Re: Thinkpad 
Accelerometer driver new Version 0.5
















[EMAIL PROTECTED] wrote:

> anyone who is interested can download the source at
>
> https://sourceforge.net/project/showfiles.php?group_id=138242&package_id=160977
>
> Use at your own risk!
>
> I've tested it on my T42 M1G with FreeBSD 7.0-Current (Aug 10) only.
>
> It now provides a mouse like device (/dev/accelm), which could be used to 
> play "neverball" e.g
>
> Please see CHANGELOG and README for further informations.
>
>
> Please let me know what you think.

I think you could be a little bit more verbose about what
"Thinkpad Accelerometer driver new Version 0.5" is and what it does.

I have no clue if it would be useful for me and can't be bothered
to download it just to make sure.

BTW, cross posting is evil most of the time.

Fabian
--
http://www.fabiankeil.de/
(See attached file: attn8pek.dat)

attn8pek.dat
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Thinkpad Accelerometer driver new Version 0.5

2005-09-13 Thread m . ehinger
Hi,

anyone who is interested can download the source at

https://sourceforge.net/project/showfiles.php?group_id=138242&package_id=160977

Use at your own risk!

I've tested it on my T42 M1G with FreeBSD 7.0-Current (Aug 10) only.

It now provides a mouse like device (/dev/accelm), which could be used to play 
"neverball" e.g

Please see CHANGELOG and README for further informations.


Please let me know what you think.


thanks

maik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Thinkpad Accelerometer driver

2005-08-18 Thread m . ehinger
Hi,

anyone who is interested can download the source at

https://sourceforge.net/project/showfiles.php?group_id=138242&package_id=160977

Use at your own risk!

I've tested it on my T42 M1G with FreeBSD 7.0-Current (Aug 10) only.


Please let me know what you think.

It's also my first driver ever so if there things to do better please let me 
know also.

thanks

maik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


device driver questions

2005-08-10 Thread m . ehinger
Hi,

i try to write an device driver for Accelerometer in the Thinkpad T series. 
There is an Linux driver already which i ported to
FreeBSD.

So far i got a working version which returns some useful information.

What i want to know is which is the correct way to allocate io ports? I saw 
some drivers using "bus_alloc_resource" and some use
"bus_space_map".

What is the safest way to read/write to an io port? Simply "inb/outb" or 
"bus_space_write_N/bus_space_read_N" ?

Any help would be appreciated

Thanks

Maik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"