PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 LK8000 International Support
 Developers
 Kobo - way to run script when NICKEL start

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sundancer Posted - 09/02/2016 : 08:00:38
Hello,
KOBO user/hacker here. Anyone know if its possible to run a .sh script only when NICKEL is started (to turn off external modules with commands to save battery)?

Right now I only know about possibility to run my scripts on KOBO start, placing them to X:\LK8000\kobo\ folder. But these are always.
5   L A T E S T    R E P L I E S    (Newest First)
Aleksandar Posted - 03/11/2017 : 09:20:12
Hello fellow,
I am not c++ programmer, I am in the database sector. I have Kobo and blue fly vario. For now I am interested for that theme and I will be grateful if someone can write me. How I can with that script write new configuration for BlueFlyVario?

Cheers.
brunotl Posted - 23/03/2016 : 17:51:45
i don't understand how that can work, "/dev/ttymxc0" is created after your script is launched ( it's same for LK & xcs )...

sundancer Posted - 23/03/2016 : 15:52:43
Retested on Kobi mini.
Still freezes even with new verion.
When I try to run KOBO (NICKEL) mode, the screen stays white and green icon keeps blinking. But nickel doesnt start.

I tried this with xcsoar and same script works well...
sundancer Posted - 29/02/2016 : 22:40:03
I tested it on Kobo GLO. Anytime I use this script to access the /dev/ttymxc0 port to send a sleep command to bluefly vario or another insturment the kobo doesnt start the nickel and gets frozen. SDcard image must be rewritten to make it work again.

My script looks like:
sleep 10
stty ospeed 19200 ispeed 19200 -F /dev/ttymxc0
stty -F /dev/ttymxc0 raw
echo '$UNSLP*'>/dev/ttymxc0

(this is one versin of many I have tried)

Anyone tested using this script? Isnt that a bug?
brunotl Posted - 09/02/2016 : 10:17:01
2 Script can be used :
- "/mnt/onboard/LK8000/kobo/init_nickel.sh" is on Nickel Start
- "/mnt/onboard/LK8000/kobo/init.sh" on LK8000 Start

PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy