Re: Freerunner LightSaber
which link? this one: http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz I just checked and it works On Wed, Feb 25, 2009 at 11:11 AM, KaZeR wrote: > > > > kris Occhipinti wrote: > > > > I don't know what to tell you. > > I'm running om2008.9 and I don't think I did anything special other then > > install pygame as I posted above. > > > > As far as it running under Debian, I'm also running Hackable1 (based on > > Debian) and I can not get pygame to see the sound card. I'm still trying > > to > > figure this out and ill post anything I find. > > > > > Hi, any news? > The link you gave at the beginning of the thread gives me a 404.. > -- > View this message in context: > http://n2.nabble.com/Freerunner-LightSaber-tp2173694p2384540.html > Sent from the Openmoko Community mailing list archive at Nabble.com. > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
kris Occhipinti wrote: > > I don't know what to tell you. > I'm running om2008.9 and I don't think I did anything special other then > install pygame as I posted above. > > As far as it running under Debian, I'm also running Hackable1 (based on > Debian) and I can not get pygame to see the sound card. I'm still trying > to > figure this out and ill post anything I find. > Hi, any news? The link you gave at the beginning of the thread gives me a 404.. -- View this message in context: http://n2.nabble.com/Freerunner-LightSaber-tp2173694p2384540.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
I don't know what to tell you. I'm running om2008.9 and I don't think I did anything special other then install pygame as I posted above. As far as it running under Debian, I'm also running Hackable1 (based on Debian) and I can not get pygame to see the sound card. I'm still trying to figure this out and ill post anything I find. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
RE: Freerunner LightSaber
> -Message d'origine- > > I guess SHR doesn't have pygame in the repos, and I don't feel like > > trying to brick my distro right now... :P Oh well. > > I also use SHR and installed the pygame and libsmpeg packages > from http://rabenfrost.net/celtune/ipk/armv4t/ > (without changing the sources.list) > The app works and it also seems that it didn't brake anything. > Generally, I made the experience that installing single > packages from the celtune repository is quite compatible with > the SHR distribution. I installed the following packages from this repository: libpython2.5-1.0_2.5.2-ml9_armv4t.ipk libsmpeg-0.4-0_0.4.4+0.4.5cvs20040311-r0_armv4t.ipk python-pygame_1.8.1-ml1_armv4t.ipk Unfortunately, i'm still getting "ImportError: No module named pygame.mixer" Did i miss something? (SHR-Unstable) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
On Sun, 18 Jan 2009 09:18:56 -0500, "kris Occhipinti" wrote: > Well, I have Hackable1 installed on my Freerunner as well, > and I thought it would work on that no problem after installing > python-pygame. > But, after installing pygame (apt-get install python-pygame) > I tried to run it and I got an error message: > open /dev/sequencer or /dev/snd/seq: No such file or directory > > The program doesn't crash, it keeps going, just with no sound. > Which, makes the app useless. > I'll play with it to day and see if I can get it going on Hackable1 > and if I can it should run on Debain as well. On Debian it's the very same error message you get, so any update on this issue? Thanks, Daniel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
On Wed, 28 Jan 2009 18:21:51 -0500, kris Occhipinti wrote: > What OS are you running? > when you installed it did it give any errors? I tried it on FSO-testing and installed all packages that could have been missing. How to install the app? I copied the files to /usr... Thanks for you answer! I'll try it on my new Debian later. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
"kris Occhipinti" wrote on Saturday 17 January 2009: > Well, a few months ago, before I have a FreeRunner I saw a LightSaber > application for the iPhone, I thought was neat. > > So, I made My own for the FreeRunner Yesterday. > > Here is the link > http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz > > How to install: > Just un-tar it to your root directory and it should place everything where > it needs to be > and give you an icon on your desktop. > > What it does: > Start the App and the phone sounds like a LightSaber Extending and then > Humming (You know, Like StarWars) > Swing the Phone Around and it sounds like you're having a LightSaber Fight. > > Features so Far: > Sound, Vibration, and The Power Button LED flashes Blue on Swings. > > Todo list: > Work on the GUI (Currently just a big exit button) > add buttons to extend and retract Saber ( so you don't have to exit the > program to stop the sounds ) > And some sort of graphic or image of a Light Saber. > Add More sounds > Have buttons so you can choose the color of you lightsaber. > > Bugs: > Sometimes while exiting, if you are still swinging the phone around, the > LED and/or the vibrator will stay on. > If this occurs, start the app up again and then close it with out swinging > the phone around. > I believe I can fix this with ease. I just wanted to get what I have done > out before I continued working on new things. > > I got the sound fx off a free sound fx website. Don't know who made them. > I hope it is ok that I used them. Hi Kris, I wanted to give it a try, but I always get the following error output: r...@om-gta02:~# ko-lightsaber Traceback (most recent call last): File "/usr/bin/ko-lightsaber", line 4, in import pygame.mixer ImportError: No module named pygame.mixer Any idea what's the problem here? I installed the pygame package you suggested http://www.angstrom-distribution.org/unstable/armv4t/python/python- pygame_1.7.1-ml2_armv4t.ipk Thanks, Daniel ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Hello Kris, Thanks a million!! What a laugh! I use it on OM2008.12. I'm starting it up with a dirty little script to set /sys/devices/platform/lis302dl.2/threshold value to 5 during play, and to then set it back to whatever the value was before. Thanks to matthias for this tip. --start--- #!/bin/bash # Scriptname: /usr/bin/start-ko-lightsaber # Edit /usr/share/applications/ko-lightsaber.desktop to use this script # Get the threshold value THRESHOLD=`cat /sys/devices/platform/lis302dl.2/threshold` # Adjust accellorometer threshold to 5 (Thanks for this tip matthias!) echo 5 > /sys/devices/platform/lis302dl.2/threshold # Start lightsaber /usr/bin/ko-lightsaber # Put system settings back the way they were... echo $THRESHOLD > /sys/devices/platform/lis302dl.2/threshold ---end--- kris Occhipinti wrote: > Well, a few months ago, before I have a FreeRunner I saw a LightSaber > application for the iPhone, I thought was neat. > > So, I made My own for the FreeRunner Yesterday. > > Here is the link > http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz -- Regards, Jan Henkins ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
matthias wrote: > Fine, excactly the right thing for my boredom right now! > but you should have mentioned the dependencies from python-pygame. > on om2008.12 it seemed quite slow to me and did not recognized my > movements, but let's try it a few more times! Accelerometers don't appear to work correctly in 2008.12: http://docs.openmoko.org/trac/ticket/2145 There appears to be a workaround though -- Charles-Henri ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Well, I have Hackable1 installed on my Freerunner as well, and I thought it would work on that no problem after installing python-pygame. But, after installing pygame (apt-get install python-pygame) I tried to run it and I got an error message: open /dev/sequencer or /dev/snd/seq: No such file or directory The program doesn't crash, it keeps going, just with no sound. Which, makes the app useless. I'll play with it to day and see if I can get it going on Hackable1 and if I can it should run on Debain as well. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Digital Pioneer schrieb: > I guess SHR doesn't have pygame in the repos, and I don't feel like trying > to brick my distro right now... :P Oh well. I also use SHR and installed the pygame and libsmpeg packages from http://rabenfrost.net/celtune/ipk/armv4t/ (without changing the sources.list) The app works and it also seems that it didn't brake anything. Generally, I made the experience that installing single packages from the celtune repository is quite compatible with the SHR distribution. Kind regards, Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklzKioACgkQBDeV5+aXu2pVlgCgz5iT6I7BGHFlKtXLh8LCvXUn E6gAnRWX2Cb2tvd3YVBWdhBPuRjYeXQp =Qy7r -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Someone tryed it with success on debian? d On Sun, Jan 18, 2009 at 12:18 PM, Francesco de Virgilio wrote: > Stopping speech-sipatcher it works, but it seems a bit slow to percept > the movements... however, great app, thanks!! > > Korbinian Rosenegger wrote: > > Hi > > > > On Sat, 2009-01-17 at 18:30 +0100, Francesco de Virgilio wrote: > >> Great app, but... > >> On 2008.12 I've installed python-pygame and this follows when I try to > >> run the program: > >> > >> r...@om-gta02:~# export DISPLAY=:0 > >> r...@om-gta02:~# ko-lightsaber > >> Traceback (most recent call last): > >>File "/usr/bin/ko-lightsaber", line 32, in > >> pygame.mixer.init() > >> pygame.error: No available audio device > >> > >> Any tip? > > > > Try stopping speech-dispatcher or running lightsaber with the aoss > > wrapper. > > Also have a look at my other mail (Workaround for speech-dispatcher) > > when this works for you. > > > > cu Korbi > > > > > > > > > > > > ___ > > Openmoko community mailing list > > community@lists.openmoko.org > > http://lists.openmoko.org/mailman/listinfo/community > > -- > Francesco de Virgilio > *Ubuntu-it Member and Wiki Editor* >mailto:frad...@ubuntu-it.org >http://wiki.ubuntu-it.org/FrancescoDeVirgilio > *Wikimedia Italia Member* >http://en.wikipedia.org/wiki/User:Fradeve11 > *OpenStreetMap Mapper* >http://www.openstreetmap.org/user/Fradeve11 > *Blog* >http://fradeve.netsons.org >"Love - Peace - Freedom - Free Software" > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
For me (running OM2008.12) ko-lightsaber works fine with the following tweakings: echo 100 > /sys/devices/platform/lis302dl.2/sample_rate echo5 > /sys/devices/platform/lis302dl.2/threshold play around with threshold-values around 10. cat /sys/devices/platform/lis302dl.2/threshold says "0" (???), but it works fine now. I removed speech-dispatcher from /etc/init.d/ and rc5.d/ and only start it with navit and end when quitting navit via bash-skript. "I am your father, Luke!" *heavy breathing* :D Francesco de Virgilio schrieb: > Stopping speech-sipatcher it works, but it seems a bit slow to percept > the movements... however, great app, thanks!! > > Korbinian Rosenegger wrote: > >> Hi >> >> On Sat, 2009-01-17 at 18:30 +0100, Francesco de Virgilio wrote: >> >>> Great app, but... >>> On 2008.12 I've installed python-pygame and this follows when I try to >>> run the program: >>> >>> r...@om-gta02:~# export DISPLAY=:0 >>> r...@om-gta02:~# ko-lightsaber >>> Traceback (most recent call last): >>>File "/usr/bin/ko-lightsaber", line 32, in >>> pygame.mixer.init() >>> pygame.error: No available audio device >>> >>> Any tip? >>> >> Try stopping speech-dispatcher or running lightsaber with the aoss >> wrapper. >> Also have a look at my other mail (Workaround for speech-dispatcher) >> when this works for you. >> >> cu Korbi >> >> >> >> >> >> ___ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community >> > > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Stopping speech-sipatcher it works, but it seems a bit slow to percept the movements... however, great app, thanks!! Korbinian Rosenegger wrote: > Hi > > On Sat, 2009-01-17 at 18:30 +0100, Francesco de Virgilio wrote: >> Great app, but... >> On 2008.12 I've installed python-pygame and this follows when I try to >> run the program: >> >> r...@om-gta02:~# export DISPLAY=:0 >> r...@om-gta02:~# ko-lightsaber >> Traceback (most recent call last): >>File "/usr/bin/ko-lightsaber", line 32, in >> pygame.mixer.init() >> pygame.error: No available audio device >> >> Any tip? > > Try stopping speech-dispatcher or running lightsaber with the aoss > wrapper. > Also have a look at my other mail (Workaround for speech-dispatcher) > when this works for you. > > cu Korbi > > > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
kris Occhipinti wrote: > I forgot to mention the need for pygame. > I'm still running om2008.9 > and I installed pygame like this > g iopkg install > http://www.angstrom-distribution.org/unstable/armv4t/python/python-pygame_1.7.1-ml2_armv4t.ipk > > If you have pygame installed it should work, > I'll look into the "pygame.error: No available audio device" > and installing pygame should brick your distro. installing pygame bricks 2008.9? *is in the process of doing it anyway* Tim -- www.tdobson.net If each of us have one object, and we exchange them, then each of us still has one object. If each of us have one idea, and we exchange them, then each of us now has two ideas. - George Bernard Shaw ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Hi On Sat, 2009-01-17 at 18:30 +0100, Francesco de Virgilio wrote: > Great app, but... > On 2008.12 I've installed python-pygame and this follows when I try to > run the program: > > r...@om-gta02:~# export DISPLAY=:0 > r...@om-gta02:~# ko-lightsaber > Traceback (most recent call last): >File "/usr/bin/ko-lightsaber", line 32, in > pygame.mixer.init() > pygame.error: No available audio device > > Any tip? Try stopping speech-dispatcher or running lightsaber with the aoss wrapper. Also have a look at my other mail (Workaround for speech-dispatcher) when this works for you. cu Korbi signature.asc Description: This is a digitally signed message part ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
On Sat, Jan 17, 2009 at 12:25 PM, kris Occhipinti wrote: > and installing pygame should brick your distro. How comforting. ;) Don't worry, I know what you mean. I tried installing it, and after just a little manual dependency following, I got concerned about upgrading my c libs. SHR needs to get with it and update... :\ -- Thanks, The Digital Pioneer ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
I forgot to mention the need for pygame. I'm still running om2008.9 and I installed pygame like this g iopkg install http://www.angstrom-distribution.org/unstable/armv4t/python/python-pygame_1.7.1-ml2_armv4t.ipk If you have pygame installed it should work, I'll look into the "pygame.error: No available audio device" and installing pygame should brick your distro. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Great app, but... On 2008.12 I've installed python-pygame and this follows when I try to run the program: r...@om-gta02:~# export DISPLAY=:0 r...@om-gta02:~# ko-lightsaber Traceback (most recent call last): File "/usr/bin/ko-lightsaber", line 32, in pygame.mixer.init() pygame.error: No available audio device Any tip? kris Occhipinti wrote: > Well, a few months ago, before I have a FreeRunner I saw a LightSaber > application for the iPhone, I thought was neat. > > So, I made My own for the FreeRunner Yesterday. > > Here is the link > http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz > > How to install: > Just un-tar it to your root directory and it should place everything > where it needs to be > and give you an icon on your desktop. > > What it does: > Start the App and the phone sounds like a LightSaber Extending and then > Humming (You know, Like StarWars) > Swing the Phone Around and it sounds like you're having a LightSaber Fight. > > Features so Far: > Sound, Vibration, and The Power Button LED flashes Blue on Swings. > > Todo list: > Work on the GUI (Currently just a big exit button) > add buttons to extend and retract Saber ( so you don't have to exit the > program to stop the sounds ) > And some sort of graphic or image of a Light Saber. > Add More sounds > Have buttons so you can choose the color of you lightsaber. > > Bugs: > Sometimes while exiting, if you are still swinging the phone around, the > LED and/or the vibrator will stay on. > If this occurs, start the app up again and then close it with out > swinging the phone around. > I believe I can fix this with ease. I just wanted to get what I have > done out before I continued working on new things. > > I got the sound fx off a free sound fx website. Don't know who made > them. I hope it is ok that I used them. > > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
I guess SHR doesn't have pygame in the repos, and I don't feel like trying to brick my distro right now... :P Oh well. -- Thanks, The Digital Pioneer ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Fine, excactly the right thing for my boredom right now! but you should have mentioned the dependencies from python-pygame. on om2008.12 it seemed quite slow to me and did not recognized my movements, but let's try it a few more times! Good work! :) That's apps we need for making the freerunner more sexy!!! matthias kris Occhipinti schrieb: > Well, a few months ago, before I have a FreeRunner I saw a LightSaber > application for the iPhone, I thought was neat. > > So, I made My own for the FreeRunner Yesterday. > > Here is the link > http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz > > How to install: > Just un-tar it to your root directory and it should place everything > where it needs to be > and give you an icon on your desktop. > > What it does: > Start the App and the phone sounds like a LightSaber Extending and > then Humming (You know, Like StarWars) > Swing the Phone Around and it sounds like you're having a LightSaber > Fight. > > Features so Far: > Sound, Vibration, and The Power Button LED flashes Blue on Swings. > > Todo list: > Work on the GUI (Currently just a big exit button) > add buttons to extend and retract Saber ( so you don't have to exit > the program to stop the sounds ) > And some sort of graphic or image of a Light Saber. > Add More sounds > Have buttons so you can choose the color of you lightsaber. > > Bugs: > Sometimes while exiting, if you are still swinging the phone around, > the LED and/or the vibrator will stay on. > If this occurs, start the app up again and then close it with out > swinging the phone around. > I believe I can fix this with ease. I just wanted to get what I have > done out before I continued working on new things. > > I got the sound fx off a free sound fx website. Don't know who made > them. I hope it is ok that I used them. > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Freerunner LightSaber
Upload it on opkg.org 2009/1/17 kris Occhipinti > Well, a few months ago, before I have a FreeRunner I saw a LightSaber > application for the iPhone, I thought was neat. > > So, I made My own for the FreeRunner Yesterday. > > Here is the link > http://filmsbykris.com/freerunner-debian/ko-user/ko-lightsaber.tar.gz > > How to install: > Just un-tar it to your root directory and it should place everything where > it needs to be > and give you an icon on your desktop. > > What it does: > Start the App and the phone sounds like a LightSaber Extending and then > Humming (You know, Like StarWars) > Swing the Phone Around and it sounds like you're having a LightSaber Fight. > > Features so Far: > Sound, Vibration, and The Power Button LED flashes Blue on Swings. > > Todo list: > Work on the GUI (Currently just a big exit button) > add buttons to extend and retract Saber ( so you don't have to exit the > program to stop the sounds ) > And some sort of graphic or image of a Light Saber. > Add More sounds > Have buttons so you can choose the color of you lightsaber. > > Bugs: > Sometimes while exiting, if you are still swinging the phone around, the > LED and/or the vibrator will stay on. > If this occurs, start the app up again and then close it with out swinging > the phone around. > I believe I can fix this with ease. I just wanted to get what I have done > out before I continued working on new things. > > I got the sound fx off a free sound fx website. Don't know who made them. > I hope it is ok that I used them. > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community