![]() |
Re: DIP_TOH -- lots of toggles! -- orders 8/12
if there is still one TOH available i would be interested in one too :D
|
Re: DIP_TOH -- lots of toggles! -- orders 8/12
On the list.
First proto shell from Shapeways is on the way, should be pics/video in a few days! Edit: next 6 PCBs are shipped (from US) and first case arrives tomorrow! |
Re: DIP_TOH -- lots of toggles! -- orders 8/12
Pics in Dropbox
Could these people please contact me about shipping and payment (e.g. address and paypal mail)? Also, let me know what colour you want! info at funkyotherhalf.com (1st batch) -Rauha -Kabouik -MemphisX -Koiruus -MartinK (2nd batch of 6) -d0n_Egg1 -> Red -carton -Koiruus (three more for sale) |
Re: DIP_TOH -- lots of toggles! -- orders 8/12
About the application: How would you like this to be configured?
It will be a daemon running as systemd service. I was thinking that first approach would be simple; a directory with 12 shell script files which are: sw1on.sh, sw1off.sh, sw2on.sh, sw2off.sh, .... sw1on.sh is executed when dip 1 is turned on sw2off.sh is executed when dip 2 is turned off The UI would then be just for editing these scripts. Daemon would run either as root or nemo, but there is issues with both accessing certain things of phone. Might need some consultation. Comments? |
Re: DIP_TOH -- lots of toggles! -- taking orders!
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 8/12
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 8/12
first 4 payment requests are out! cases are ordered and will arrive here in +-2 weeks, sent to new owners +-3weeks from now
if you are on the list, send an email to info at funkyotherhalf.com containing - your paypal mail - address - preferred colour (White, blue, red, purple, pink, yellow, green, orange, black (+3E), Alumide (+6E)) if you also want one, let me know, there are i believe 2 left. |
Re: DIP_TOH -- lots of toggles! -- orders 8/12
I would want one, too.
Could you please update the list to make sure I get one ? ;) |
Re: DIP_TOH -- lots of toggles! -- orders 8/12
@kimmoli: I like this approach, very simple and yet powerful.
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12 = full
which idiot ordered black??
http://oi61.tinypic.com/nv2m81.jpg ordered all parts for all DipTOHs, will soon update list with people who ordered/payed/colour |
Re: DIP_TOH -- lots of toggles! -- orders 11/12
paid:
d0n_Egg1 -> Red MemphisX -> White Kabouik -> Pink Koiruus -> Black cartron -> Purple asys3 -> Black haliava -> Alumide R&D kimmo -> Purple dirk -> Red JollaHQ -> 2x Alumide which adds up to 11, which means some people that showed interest previously have yet to send me their info. Rauha? MartinK? |
Re: DIP_TOH -- lots of toggles! -- orders 11/12
Do you still take orders ?
|
Re: DIP_TOH -- lots of toggles! -- orders 11/12
Quote:
please contact me about shipping and payment (e.g. address and paypal mail)? also, let me know what colour you want! info at funkyotherhalf.com |
Re: DIP_TOH -- lots of toggles! -- orders 11/12
Ok dirkvl, will do that right away.
Thank you :) |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
First batch is here! Looking really cool and pcb fits like a glove!
https://dl.dropbox.com/s/4nfkbw371c4...2013.03.10.jpg https://dl.dropbox.com/s/7zirlsfxl9c...2013.04.23.jpg https://dl.dropbox.com/s/mmm0tut6iln...2013.04.33.jpg will have to wait for some extra capacitors and resistors, but these will all be sent this week! |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Nice!
Can't wait to receive mine! How about the script part? Is that Kimmo taking care of that? |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
Basics are done, so it should take only couple of nights + 1 to package everything in a shiny RPM. |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Mine is on all three pics. http://forum-images.hardware.fr/imag...flagadadim.gif
(And it's more pink than it seemed on Shapeways preview. :O) |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
is a good contrast to my blue TOHOLED from kimmo :p |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
http://reho.st/http://www.zenzonefor...9&d=1389993008 I prefer the hue of the second pic! :Ð |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
PCB file and BOM
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 11/12
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Got mine this morning, can't wait to have the software side to test it!
The very flashy pink color is kind of difficult to deal with when there are people around (a darker pink would have been cool too), but to be honest I think I like it. :) |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
I'm waiting for my still, so no SW yet :p |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
:>
Hope you'll get yours soon, I just put it on instead of the toholed and I'm now away till thursday with only this OH! :] |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
The coolest oh so far pink one is just :eek: and if insted of 1234567 they were just thick dots i think it would look a lot more cooler :D
Anyway awsome job ! |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Pink one is just what? :O Careful with what you're gonna say!
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
Really its just :eek: |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
have some diptohs ready to go at home, but the eeproms need to be programmed before i can send them. the ones that are sent already are not programmed -my bad- so there will be probably be some instruction here also about how to do that. i guess step 1 will be: download i2ctool! (so you can do that already) |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
DIPTOH EEPROM Programming instructions:
Read through once before doing. http://talk.maemo.org/images/icons/icon4.gifWarning : Don't do anything else in i2ctool, you may break your device. 1. Install i2ctool from jolla store 2. Attach diptoh to your phone 3. Open terminal 4. Start i2ctool as root devel-su harbour-i2ctool 5. Click enable Vdd button, power indicator should show now ON 6. Click TOH EEPROM button 7. View with lots of FFFF should appear. If not, contact me at freenode (kimmoli) or PM here. 8a. Click on each field to enter following values. https://lh6.googleusercontent.com/-w...0915214301.jpg 8b. Double check values 9. Click Write button 10. Swipe back to main menu 11. Click again TOH EEPROM button, the values should be there. If you got FFFF contact me. 12. Swipe back to main menu 13. Click disable Vdd button 14. Close i2ctool That is all for now. |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
progress...
syys 15 23:42:26 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000000 syys 15 23:42:27 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000001 syys 15 23:42:29 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000011 syys 15 23:42:29 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000111 syys 15 23:42:30 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 001111 syys 15 23:42:30 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 011111 syys 15 23:42:31 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 111111 syys 15 23:42:32 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 011111 syys 15 23:42:32 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000111 syys 15 23:42:33 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000110 syys 15 23:42:33 Jolla harbour-diptoh-daemon[19928]: Dips toggled: 000100 |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
First version 0.1-1 of diptoh-daemon is here:
(Detach and attach diptoh once before installing) RPM for install: Note http://talk.maemo.org/images/icons/icon2.gif Update available. See this post http://talk.maemo.org/showpost.php?p...&postcount=108 pkcon install-local harbour-diptoh-daemon-0.1-1.armv7hl.rpm -y Installer starts service automatically if you did manage to write EEPROM contents and DIPTOH is attached while installing. Sourcecode for daemon is here: https://github.com/kimmoli/diptoh-daemon If something fails: systemctl stop harbour-diptoh-daemon or just rip the diptoh off. If you want to see what it says, e.g. journalctl -f | grep diptoh Script files are now in /home/nemo/diptoh/ Currently every script just append $0 to /home/nemo/diplog you can tail -f /home/nemo/diplog to see is the scripts run. (dirkvl << I have some mechanical issues, and interrupt seems to generate even when not toggling dips, if i apply pressure to next to flash, they appear only when toggling dipswitch) |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Thanks Kimmo! I had to start the service manually even though I did write to the EEPROM successfully and installed the rpm with the diptoh attached, otherwise no diplog was generated when switching the dips.
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
You might need to detach/attach diptoh once after writing eeprom
|
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Examples:
Notes:
Dipswitch 1 controls bluetooth: dip1on.sh Code:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:trueCode:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:falsedip2on.sh Code:
dbus-send --system --dest=com.nokia.mce --print-reply /com/nokia/mce/request com.nokia.mce.request.req_radio_states_change uint32:0 uint32:1Code:
dbus-send --system --dest=com.nokia.mce --print-reply /com/nokia/mce/request com.nokia.mce.request.req_radio_states_change uint32:1 uint32:1Note: For this to work you'll need mce-tools installed: pkcon install mce-tools dip3on.sh Code:
mcetool --set-demo-mode=onCode:
mcetool --set-demo-mode=offdip4on.sh Code:
dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent"Code:
dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"general"http://talk.maemo.org/images/icons/icon4.gif - Toggling this switch on most probably makes you blind momentarily dip5on.sh Code:
su - nemo -c "echo 1 > /sys/kernel/debug/flash_adp1650/mode"Code:
su - nemo -c "echo 0 > /sys/kernel/debug/flash_adp1650/mode"dip6on.sh Code:
systemctl start aliendalvik.serviceCode:
systemctl stop aliendalvik.serviceDipswitch X plays a wav file when toggled on: (also example how to run command as nemo) dipXon.sh Code:
su - nemo -c "/usr/bin/gst-launch-0.10 filesrc location=/home/nemo/Music/crazysoundeffect.wav ! wavparse ! audioconvert ! alsasink" |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
initially got some spares of every part, but all went well! so i can make another 6!
the first 6 to mail me (info at funkyotherhalf dotcom) with: -address -paypal mail -preferred colour will get one :) delivery time dependent on shapeways (2-3 weeks or so) -Klas -> alumide - - - - - |
Re: DIP_TOH -- lots of toggles! -- orders 12/12
Quote:
Bluetooth is very useful too of course, but it's in the Control center and its status is indicated with an icon, so it won't be my priority on a dip switch if I find 6 other useful functions (yet I will still configure bluetooth on one switch for now, I still find it convenient!). ____ Do we need to start the scripts with #!/bin/bash? Nothing seems to happen for me with demo-mode and Bluetooth, though I did have confirmation the switches were working with the simple echo functions in default scripts. I restarted the Jolla and the service just in case. |
| All times are GMT. The time now is 15:35. |
vBulletin® Version 3.8.8