Active Topics

 


Reply
Thread Tools
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#11
Originally Posted by lardman View Post
I was assuming the sysfs entry code would also be present. I can't look myself atm as I'm running on WinXP (can't apply the diff easily), but will have a look through later on.
Yeah, is there. Didn't looked for it . thanks !!!
__________________
Valério Valério
www.valeriovalerio.org
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#12
Originally Posted by VDVsx View Post
In a Fremantle prototype device right ?
In a development unit used to test Fremantle. Shaking my laptop with the Maemo 5 SDK installed won't work.
 

The Following 3 Users Say Thank You to qgil For This Useful Post:
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#13
So the answer is yes, you can alter the rate from the looks of it. See lis302dl_set_rate() and likewise the scaling with lis302dl_set_scale()
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#14
Originally Posted by lardman View Post
Ah no worries, just looked in the patch. Take a look at the following file: /drivers/i2c/chips/lis302dl.c
Humm, don't have that file, should have a different kernel, where did you grab yours ?
__________________
Valério Valério
www.valeriovalerio.org
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#15
Originally Posted by qgil View Post
In a development unit used to test Fremantle. Shaking my laptop with the Maemo 5 SDK installed won't work.
Ehehe, so we can't test it
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#16
I just grabbed the patch from the repo: http://repository.maemo.org/pool/fre...02+0m5.diff.gz
 

The Following User Says Thank You to lardman For This Useful Post:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#17
Originally Posted by VDVsx View Post
Ehehe, so we can't test it
I can give feedback if anybody tries and uploads the packages to extras-devel.
 

The Following User Says Thank You to qgil For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#18
Originally Posted by lardman View Post
So the answer is yes, you can alter the rate from the looks of it. See lis302dl_set_rate() and likewise the scaling with lis302dl_set_scale()
Ah, almost everything is configurable, nice work.
I'm happy now
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#19
Originally Posted by qgil View Post
In a development unit used to test Fremantle. Shaking my laptop with the Maemo 5 SDK installed won't work.
That's actually not as a strange idea as it seems. The tiltstick e.g. just works inside the sdk and so would any other usb peripheral connected via usb and accessed via libusb.
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#20
Originally Posted by Master of Gizmo View Post
That's actually not as a strange idea as it seems. The tiltstick e.g. just works inside the sdk and so would any other usb peripheral connected via usb and accessed via libusb.
does the tiltstick use the same format and sysfs entries as the built in commands?

if not, it would be nice if there was perhaps a small redirection app which could allow people to test using as you say a tiltstick, or using a bluetooth connected wiimote.

Perhaps the library version does this already and will accept input from any accel unit, maybe someone else will know.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 
Reply

Tags
accelerometer, fremantle


 
Forum Jump


All times are GMT. The time now is 08:11.