Thx ……. ……
Posts made by davidsi
-
Omega2 Dash using GTK library
Has anyone managed to get the Dash to work with the GTK graphics library, not the LVGL library? I have a ton of utilities I’ve already written I don’t want to have to port to a new library just for this board
Thx
-
RE: can't install python
@crispyoz sadly no. I broke it last night. Apparently it does NOT like a 24V input ... sigh
-
RE: can't install python
@crispyoz said in can't install python:
ping repo.onioniot.com
thanks, but no that was not it. I can see them both
-
RE: can't install python
@György-Farkas Sadly the same command did not work for me.
-
RE: cross compiling serial port failure (yes I know there are other answers)
@davidsi forgot to mention, once everything was compiled I simply copied them to my sd card on my omega2
-
cross compiling serial port failure (yes I know there are other answers)
I'm trying to cross-compile serialport. I know there are other answers, but they did not work for me, and there are binaries, but I want to learn how to do it myself for other modules.
I have my environment set up, and can build and port a regular c program. However, I can't create an npm module. When I do, I end up with the error ....
root@Omega-B116:/mnt/mmcblk0p1/development/node/source/tmp# node serial.js /mnt/mmcblk0p1/development/node/node_modules/bindings/bindings.js:121 throw e; ^ Error: Error loading shared library /mnt/mmcblk0p1/development/node/node_modules/@serialport/bindings/build/Release/bindings.node: Exec format error at Object.Module._extensions..node (module.js:681:18) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at bindings (/mnt/mmcblk0p1/development/node/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/mnt/mmcblk0p1/development/node/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10)
My command line is ...
npm --arch=mipsel_24kc install serial port
and it compiles just fine. Any help would be appreciated
-
RE: can't install python
@crispyoz Hmm, I already changed it for some other issue... right now I have
#src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages
#src/gz openwrt_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base
#src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci
#src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion
#src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages
#src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing
#src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony
src/gz omega2_core http://repo.onioniot.com/omega2/packages/core
src/gz omega2_base http://repo.onioniot.com/omega2/packages/base
src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages
src/gz omega2_routing http://repo.onioniot.com/omega2/packages/routing
src/gz omega2_onion http://repo.onioniot.com/omega2/packages/onion -
can't install python
I'm trying to use python for the first time. I get "python not found" ... so I tried to install it using opkg with the following
python
python2
python3
python-lite
python2-lite
python-3liteand in every case I get that the package can not be installed. I also tried opkg list and got nothing I could see that would help
Any help wold be greatly appreciated
-
SMS on Omega LTE
can someone please point me to the docs on how to send a message via SMS (to a phone) using the omega LTE.
thx
-
RE: lack of understanding, physical space vs logical space
@yoursunny AH!, the missing link :-). Thank you both. I bought the onion to learn and this is really helping
-
RE: lack of understanding, physical space vs logical space
@UFD just realized, that still doesn't explain my lack of space. ROM is ROM and obviously at 100% but shouldn't mntblock and overlay still be usable? Or is it just overlay and that is nearly full?
-
lack of understanding, physical space vs logical space
I know very little about linux and I'm having a hard time understanding how the physical space and logical space map to each other. I was installing various node packages and ran out of disk space. I ran the df command and got:
When investigating further, it seems that /rom is at least partially mapped to everything else. Which makes sense. However, what does not make sense to me is how this maps to my file system and how adding an SD card is going to help. Mounting the sd card at /mnt will give me lots of space under /mnt but I do not know how to make that give me enough space across the file system mapped to ..
What is also confusing me is that, as I've been installing rpm modules under /root/...., and it seems (from what I can tell) that is not under /dev/root, why am I even running out of space?
I tried reading this up on the web and simply got confused. Is there a guide someone can point me to that will explain how, once I've added my SD card I use it properly?
-
RE: Cannot install Node
@Ick-Sung-Choi
opkg install npm --> does not work
opkg install node-npm -> does workBut you have to upgrade your firmware if you didn't yet. I received an onion about a week ago and it still needed upgrading.
-
RE: Can't install any packages at all using opkg install on Onion Omega2 Pro [RESOLVED]
@Lazar-Demin I just tried installing node following the same (updated) directions on a brand new onion 2+ and got the same error,
root@Omega-63D5:~# opkg install node
Unknown package 'node'.
Collected errors:- opkg_install_cmd: Cannot install package node.
-
RE: Someone has worked with LCD 4x20 I2C Model 2004A ?
@Marcelo-Silva said in Someone has worked with LCD 4x20 I2C Model 2004A ?:
LCD 4x20 2004A
sorry, ignore that. I did it with GPIO not I2C. I could not get the I2C to work with the supplied libraries either.
-
RE: Someone has worked with LCD 4x20 I2C Model 2004A ?
are you using it in 4-bit mode? The setup is a little odd. I can give you my code as an example but it's in javascript not python