kalin | can someone help me to setting up pyOBD? | 00:01 |
---|---|---|
*** LauRoman has joined #maemo | 00:01 | |
sixwheeledbeast^ | I imagine you are having repo issues? I have never had an issue with pyOBD. | 00:02 |
kalin | no, it isn't a repo issue | 00:03 |
kalin | i think it is a side effect of instaling audacious | 00:04 |
sixwheeledbeast^ | well what happens if you start pyOBD from a terminal? Is audacious python? | 00:04 |
kalin | no no no | 00:05 |
*** Kabouik_ has joined #maemo | 00:05 | |
kalin | when i install audacios the phone had a broken/missing packages | 00:06 |
kalin | this is a second time that i have to reflash the phone after audacious | 00:06 |
*** shentey has joined #maemo | 00:07 | |
kalin | so now i have fresh flashed n900 with only pyOBD installed | 00:07 |
*** Kabouik has quit IRC | 00:08 | |
kalin | and when i try to start pyOBD the phone loading something few seconds and close the app | 00:09 |
sicelo | 23:04 < sixwheeledbeast^> well what happens if you start pyOBD from a terminal? | 00:09 |
sicelo | ^ | 00:09 |
kalin | whait a second to try | 00:10 |
sixwheeledbeast^ | ~audacious | 00:10 |
kalin | did i have to be root? | 00:11 |
sixwheeledbeast^ | er I would hope not | 00:11 |
kalin | the terminal says not found | 00:12 |
sicelo | root's needed to establishh the rfcomm connection .. butt iiirc it calls sudo for that .. also haven't used it in a hwile | 00:14 |
*** louisdk has joined #maemo | 00:14 | |
sixwheeledbeast^ | python /opt/pyobd/pyobd.py | 00:14 |
kalin | "No module named dbus" | 00:16 |
sicelo | how did you install pyobd ... | 00:17 |
sicelo | because python-dbus *is* a dependency .. so install that | 00:18 |
kalin | App manager | 00:18 |
jamesl | ~flasher | 00:18 |
infobot | refer ~flashing; http://www.jedge.com/n810/flasher/maemo_flasher-3.5_2.5.2.2.tar.gz (also .exe!), or http://www.chakra-project.org/ccr/packages.php?ID=5027 or generally http://www.google.com/search?q=maemo_flasher-3.5_2.5.2.2.tar.gz. HARMattan(N9): https://aur.archlinux.org/packages/fl/flasher-harmattan/flasher-harmattan.tar.gz; list of filenames/md5sums: http://pastebin.com/sYKdNJSH, or http://galif.eu/nokia/ | 00:18 |
jamesl | ~emmc | 00:19 |
infobot | emmc is probably is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22YHFSICNA/--LID--FiRe1275051276916/AE98ED9D_RX-51_2009SE_10.2010.13-2.CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin or see ~emmc2 | 00:19 |
*** louisdk has quit IRC | 00:20 | |
kalin | thanks sicelo , i will try today because first i have to install rootshell to use apt-get and add repo mirror | 00:22 |
kalin | now i will go to get some sleep | 00:22 |
kalin | GN to all | 00:22 |
*** jskarvad has quit IRC | 00:23 | |
*** ff_ has joined #maemo | 00:28 | |
ff_ | sicelo: try load CPU to 100% and then check internet connection | 00:28 |
ff_ | accidently I found that this matter | 00:28 |
ff_ | accidently I found that this matter | 00:29 |
ff_ | when I download through wifi with 100% load CPU by for example encoding audio, average speed is about 96% of max available | 00:29 |
ff_ | but when nothing use CPU, download average speed decrease to about 65% of max available | 00:30 |
ff_ | maybe the same effect is with 2G/3G GSM internet connection | 00:30 |
*** dafox has quit IRC | 00:31 | |
sixwheeledbeast^ | Er so there is an issue with repos or broken packages of some sort | 00:34 |
ff_ | it's look like CPU's sleep timer introduce quite a lot delay into connection response | 00:48 |
*** ff_ has quit IRC | 01:09 | |
DocScrutinizer05 | hmm, that might make sense. Though probably because of packet / timer aggregating that's done in maemo to keep CPU in suspend mode as much as possible, and only do pending jobs (timer, IO) on bursts every now and then | 01:31 |
DocScrutinizer05 | to avoid this, probably you don't need 100% load on CPU, what you need is frequent forced wakeups so the IO can get done, while sleep 0.02; do :; done | 01:34 |
DocScrutinizer05 | or simply slide with your fingernail over the screen in a circular or other constant movement and see if IO speeds up during that. Touch controller will produce IRQs plenty | 01:37 |
*** shentey has quit IRC | 01:37 | |
DocScrutinizer05 | sicelo: ^^^ | 01:37 |
DocScrutinizer05 | sixwheeledbeast^: I thik that's the right direction | 01:39 |
DocScrutinizer05 | ~lf | 01:39 |
infobot | i guess #maemo lazyflashing is http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach | 01:40 |
*** ChanServ sets mode: +o DocScrutinizer05 | 01:40 | |
*** DocScrutinizer05 changes topic to "Welcome to #maemo http://maemo.org/intro/ | N9/harmattan related questions please in #harmattan ! | "firmware" see ~lf (or ~tabletsdev ~combined ~emmc ~flasher) sdk: ~sb | http://wiki.maemo.org/Community_Council | Source: http://wiki.maemo.org/Sources | Chanlog: http://mg.pov.lt/maemo-irclog | #maemo-ssu is where the (few) devels and maintainers of the maemo-future meet" | 01:40 | |
*** ChanServ sets mode: -o DocScrutinizer05 | 01:41 | |
sixwheeledbeast^ | busybox sleep is only whole numbers? | 01:41 |
DocScrutinizer05 | yeah | 01:41 |
DocScrutinizer05 | sucks | 01:41 |
DocScrutinizer05 | ~messybox | 01:42 |
infobot | messy... err busybox is meant for lean scripting. Regarding all the missing options and immanent limitations (see su, passwd, nice, ps, diff as used by mc...) it's not really the interactive shell of choice. A lot of people hate busybox because a lot of system integrators don't understand the difference between busybox and a decent user interactive shell plus unix utils | 01:42 |
*** xy2_ has quit IRC | 01:42 | |
DocScrutinizer05 | it might have msleep or usleep | 01:42 |
sixwheeledbeast^ | in fact busybox sleep has no arguments I recall. just full numbers | 01:42 |
DocScrutinizer05 | don't know | 01:42 |
Juesto | busybox is just a swiss army knife unix utils | 01:43 |
DocScrutinizer05 | sucks, it has neither msleep not usleep | 01:43 |
Juesto | it is intended for embedded devices | 01:43 |
DocScrutinizer05 | jiemy take on busybox you see above | 01:43 |
Juesto | go compare the size of a bunch of unix utils to busybox binary with the same utils | 01:43 |
DocScrutinizer05 | who cares? | 01:44 |
Juesto | :/ | 01:44 |
sixwheeledbeast^ | er yes, the issue is our little devices are useful to have some better functionality than other embedded devices. | 01:45 |
DocScrutinizer05 | I installed quite a bunch of gnu utils plus mandb and still no problems with free space on / | 01:45 |
sixwheeledbeast^ | bash4 has an opt version I believe | 01:45 |
DocScrutinizer05 | the major advantage of busybox is: it's a single monolithic binary, so the system doesn't need to load it again for 99% of scripts written for it | 01:47 |
Juesto | yep | 01:47 |
DocScrutinizer05 | it's basically an interpreter of its own, for scripts | 01:47 |
DocScrutinizer05 | this is mainly a performance advantage | 01:48 |
DocScrutinizer05 | thus buybox is nice for lean scripting, like e.g. by using it instead of init | 01:48 |
DocScrutinizer05 | or to run init scripts | 01:49 |
DocScrutinizer05 | but honestly, messybox is pathetic, do e.g a `ps --help` | 01:49 |
DocScrutinizer05 | I know there's a pimped version that has more compile options for functions | 01:51 |
DocScrutinizer05 | but it still stays sub-par compared to proper unix toolbox | 01:51 |
Juesto | o.o | 01:51 |
DocScrutinizer05 | particularly when it comes to cmds_of(8) | 01:52 |
DocScrutinizer05 | nice is borked, su is borked and can't ever get fixed | 01:52 |
DocScrutinizer05 | meh, I ranted so many times about that thing I get bored doing it | 01:53 |
*** Pali has quit IRC | 01:54 | |
sixwheeledbeast^ | I wonder if you could replace it for the latest version. Seen as Maemo is 1.10.2 and the latest is 1.27.1 | 01:56 |
Juesto | probably if you compile from good sources sixwheeledbeast^ | 01:57 |
Wizzup | $ busybox sleep --help | 01:59 |
Wizzup | BusyBox v1.25.1 (2017-01-25 13:22:31 CET) multi-call binary. | 01:59 |
Wizzup | Usage: sleep [N]... | 01:59 |
Wizzup | Pause for a time equal to the total of the args given, where each arg can | 01:59 |
Wizzup | have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays | 01:59 |
Wizzup | $ time busybox sleep 0.1s | 01:59 |
Wizzup | real0m0.105s | 01:59 |
Wizzup | user0m0.001s | 01:59 |
Wizzup | sys0m0.005s | 01:59 |
Wizzup | further questions? | 01:59 |
Wizzup | Being stuck forever on an old version of software doesn't make it crap nor messy. It just illustrates how important a healthy ecosystem is, where packages are kept up to date | 02:00 |
Juesto | :p | 02:00 |
*** Kabouik has joined #maemo | 02:00 | |
Wizzup | busybox is one of the best things out there | 02:01 |
Wizzup | And you can easily build a whole distro with/around it - see alpine linux | 02:01 |
DocScrutinizer05 | IroN900:~# time busybox sleep 0.1s | 02:02 |
DocScrutinizer05 | sleep: invalid number '0.1s' | 02:02 |
Wizzup | >software that is 7 years old | 02:03 |
*** Kabouik_ has quit IRC | 02:03 | |
DocScrutinizer05 | budybox is a monolithic binary that does multiple things and none of them correctly. Just like systemd ;-) | 02:04 |
Wizzup | This is the most retarded thing I've read today | 02:04 |
DocScrutinizer05 | great :-P | 02:05 |
Wizzup | busybox is the exact opposite of systemd, it's lean, minimal, clean. And as I said, you can build an entire distro with decent init system with it. | 02:05 |
Wizzup | alpine linux is really just openrc+busybox+apk (their package tool) | 02:05 |
Wizzup | it's amazingly fast and lean | 02:05 |
*** L29Ah has left #maemo | 02:06 | |
Wizzup | their networking scripts are at least as decent as debian ones | 02:06 |
DocScrutinizer05 | a bag of bugs | 02:06 |
Wizzup | smh | 02:06 |
sixwheeledbeast^ | So if busybox can be updated it should be done via CSSU? Seen as it's a system package in the SSU repo | 02:09 |
Wizzup | maybe, but I'm not sure what you'd gain. | 02:10 |
*** L29Ah has joined #maemo | 02:10 | |
Wizzup | You'd have to check if it still supports such old kernels (likely) | 02:10 |
Wizzup | can probably compile it statically, too | 02:10 |
*** florian has quit IRC | 02:10 | |
sixwheeledbeast^ | well sleep to decimal places for starters. I assumed you ran the above on an N900? | 02:11 |
Wizzup | in fact, I have a armv7 static busybox here on my laptop | 02:11 |
Wizzup | I will scp it to my n900 and see | 02:11 |
Wizzup | oh, it's a PIE | 02:12 |
Wizzup | doubt the n900 can handle PIE :p | 02:12 |
Wizzup | the n900 kernel* | 02:12 |
*** L29Ah has left #maemo | 02:13 | |
Wizzup | herp. | 02:13 |
Wizzup | I copied the powerpc binary. | 02:13 |
Wizzup | go me. | 02:13 |
Wizzup | Nokia-N900:~# ./bb --help | 02:14 |
Wizzup | FATAL: kernel too old | 02:14 |
Wizzup | Segmentation fault | 02:14 |
Wizzup | boom | 02:14 |
Wizzup | toldya | 02:14 |
Wizzup | software needs to stay in sync ;) | 02:14 |
DocScrutinizer05 | sixwheeledbeast^: please sonsider that all scripts are tested against exactly this version of busybox with all its bugs | 02:16 |
DocScrutinizer05 | there's a busybox-power which everybody interested can install instead or on top of the system busybox | 02:16 |
DocScrutinizer05 | users rendered their system fcked up simply by defining bash instead busybox as user user's default shell | 02:17 |
sixwheeledbeast^ | The latest version has allsorts of extra utils as standard. There's also a size question too. | 02:18 |
DocScrutinizer05 | you're aware that when you use busybox with anything not-busybox as shell, the binaries your system needs to load for each command are way larger than what they would be in genuine decent unix toolbox? Since each time the multi-purpose huge busybox binary needs to get loaded and started when your shell calls $whatever in stat, ls, dir, date, `busybox --help` | 02:29 |
DocScrutinizer05 | I just might mention that e.g. jolla/mer decided against busybox and for a 'normal' sheel afaik, after long pondering | 02:32 |
DocScrutinizer05 | shell* plus gnu utils | 02:33 |
*** sleepee has joined #maemo | 02:34 | |
*** N-Mi_ has quit IRC | 02:42 | |
DocScrutinizer05 | http://paste.ubuntu.com/25166165 | 02:49 |
DocScrutinizer05 | and http://paste.ubuntu.com/25166208 | 02:57 |
DocScrutinizer05 | btw it seems like for N900, busybox-power as system shell actually reduces availble free space on /, vs busybox('normal') and gnu utils on opt | 03:03 |
DocScrutinizer05 | reason: system shell can't live on /opt. And busybox-power of course is larger than busybox-'normal' | 03:04 |
Wizzup | 'huge busybox binary needs to get loaded' sounds kind of weird | 03:06 |
Wizzup | It usually lives in the cache | 03:06 |
Wizzup | and linux also doesn't need to load the whole binary either | 03:13 |
Wizzup | that's usually loaded on demand | 03:14 |
Wizzup | so I'm not sure how much that really matters. | 03:14 |
Wizzup | #justtechnicalthings | 03:15 |
*** heroux has quit IRC | 03:22 | |
DocScrutinizer05 | I'm not going to embarrass myself by answering with a quote | 03:29 |
Juesto | its difficult to find a n900 nowdays | 03:33 |
Juesto | derp | 03:33 |
Juesto | how does busybox behaves on something like Mach | 03:34 |
Juesto | or BSD? | 03:34 |
Wizzup | busybox is for linux | 03:36 |
Wizzup | actually, I am not sure about that | 03:36 |
Wizzup | I know BSD was working on their own - http://landley.net/code/toybox/ | 03:37 |
Wizzup | https://www.freshports.org/sysutils/busybox/ | 03:37 |
Wizzup | there's your answer | 03:37 |
Wizzup | the same as on most posix compliant OSes I guess | 03:37 |
Juesto | hm | 03:40 |
Wizzup | almost 3am. | 03:43 |
Wizzup | ttyl | 03:43 |
Oksana | Like Nokia N900, but without keyboard and FM transmitter, apparently. http://www.gsmarena.com/samsung_s8500_wave-3146.php Also, capacitive touchscreen, not resistive. Similar processor, same 800x480 display resolution. | 03:52 |
Oksana | Possible to change OS on it: https://www.sammobile.com/2012/06/26/android-port-for-the-samsung-wave-gt-s8500/ | 03:53 |
* Oksana wonders whether it would be a nice porting target for Maemo 5... But let's check first if the Android port managed to get cellular to work. | 03:55 | |
Wizzup | why not droid4? | 03:55 |
Oksana | Either I am very poor at search, or something, because I cannot find droid 4 on EBay | 03:59 |
Oksana | Or Gumtree | 03:59 |
Oksana | At the same time, https://www.gumtree.com.au/s-ad/bonbeach/other-phones/samsung-wave-gt-s-8500-mobile-phone/1153376589 | 03:59 |
Wizzup | motorola droid 4 | 04:01 |
Oksana | Yes, I searched for motorola droid 4. Nice article in Wikipedia... | 04:02 |
Wizzup | i got 4 from ebay, arriving tomorrow | 04:04 |
Oksana | Nice :-) | 04:12 |
*** wnd has quit IRC | 04:13 | |
*** at1as has quit IRC | 04:13 | |
*** wnd has joined #maemo | 04:14 | |
*** sunshavi has quit IRC | 04:24 | |
*** heroux has joined #maemo | 04:39 | |
stryngs | Anyone at DEFCON this yr? | 04:41 |
*** sunshavi has joined #maemo | 04:53 | |
*** heroux has quit IRC | 04:54 | |
*** heroux has joined #maemo | 05:31 | |
*** heroux has quit IRC | 05:35 | |
*** sleepee has quit IRC | 06:07 | |
*** sleepee has joined #maemo | 06:26 | |
*** sleepee has quit IRC | 06:29 | |
*** sleepee has joined #maemo | 06:29 | |
*** povbot has joined #maemo | 07:01 | |
*** heroux has quit IRC | 07:06 | |
*** heroux has joined #maemo | 07:17 | |
*** heroux has quit IRC | 07:36 | |
*** heroux has joined #maemo | 08:12 | |
*** heroux has quit IRC | 08:33 | |
*** dafox has joined #maemo | 09:01 | |
*** vakko has joined #maemo | 09:03 | |
*** qwazix has quit IRC | 09:04 | |
*** dafox has quit IRC | 09:29 | |
*** qwazix has joined #maemo | 09:34 | |
*** qwazix has quit IRC | 09:34 | |
*** qwazix has joined #maemo | 09:34 | |
*** florian_kc has joined #maemo | 10:19 | |
*** florian_kc is now known as florian | 10:21 | |
*** Kabouik_ has joined #maemo | 10:41 | |
*** err0r3o3 has joined #maemo | 11:00 | |
*** err0r3o3_ has quit IRC | 11:02 | |
*** Kabouik_ has quit IRC | 11:04 | |
*** jskarvad has joined #maemo | 11:10 | |
*** florian_ has joined #maemo | 11:11 | |
buZz | dangit, knew i forgot something when i arrived home >_< | 11:19 |
*** Vajb has quit IRC | 11:25 | |
dreamer | which is .. | 11:26 |
buZz | checking those AT commands for docscrut | 11:31 |
*** Vajb has joined #maemo | 11:32 | |
dreamer | ah .. 'those' .. | 11:32 |
*** stryngs has quit IRC | 11:35 | |
*** geaaru has joined #maemo | 11:42 | |
*** stryngs has joined #maemo | 11:42 | |
*** stryngs is now known as Guest29319 | 11:42 | |
buZz | :) | 11:51 |
*** qwazix has quit IRC | 12:22 | |
*** qwazix has joined #maemo | 12:23 | |
*** louisdk has joined #maemo | 12:25 | |
*** heroux has joined #maemo | 12:40 | |
*** N-Mi_ has joined #maemo | 13:10 | |
*** louisdk has quit IRC | 13:11 | |
*** louisdk has joined #maemo | 13:19 | |
*** TheKit has joined #maemo | 13:30 | |
*** NotKit has quit IRC | 13:33 | |
*** xy2_ has joined #maemo | 13:35 | |
*** louisdk has quit IRC | 14:05 | |
*** louisdk has joined #maemo | 14:12 | |
*** jon_y has quit IRC | 14:20 | |
*** jon_y has joined #maemo | 14:22 | |
*** Kabouik_ has joined #maemo | 14:46 | |
*** louisdk has quit IRC | 15:09 | |
*** louisdk has joined #maemo | 16:11 | |
*** sleepee has quit IRC | 16:16 | |
*** sleepee has joined #maemo | 16:19 | |
*** peetah has quit IRC | 16:34 | |
*** ravelo_ has joined #maemo | 16:34 | |
*** ravelo has quit IRC | 16:36 | |
*** pagurus has quit IRC | 16:37 | |
*** peetah has joined #maemo | 16:37 | |
*** pagurus has joined #maemo | 16:38 | |
*** louisdk has quit IRC | 16:45 | |
*** xy2_ has quit IRC | 16:52 | |
*** Juesto has quit IRC | 17:14 | |
*** louisdk has joined #maemo | 17:59 | |
*** erstazi has quit IRC | 18:03 | |
*** erstazi has joined #maemo | 18:06 | |
*** Pali has joined #maemo | 18:35 | |
*** Kabouik_ has quit IRC | 18:38 | |
*** Kabouik_ has joined #maemo | 18:39 | |
*** Kabouik_ has joined #maemo | 18:39 | |
*** at1as has joined #maemo | 19:02 | |
*** APic has quit IRC | 19:06 | |
*** florian has quit IRC | 19:07 | |
*** drcode has quit IRC | 19:07 | |
*** APic has joined #maemo | 19:08 | |
*** cyteen has quit IRC | 19:10 | |
*** povbot has joined #maemo | 19:16 | |
*** valdyn has quit IRC | 19:21 | |
*** dimw1t has joined #maemo | 19:32 | |
*** ihme-TTilus has joined #maemo | 19:33 | |
*** Pali_ has joined #maemo | 19:36 | |
*** at1as has quit IRC | 19:36 | |
*** TTilus has quit IRC | 19:36 | |
*** SpeedEvil has quit IRC | 19:36 | |
*** SpeedEvil has joined #maemo | 19:36 | |
*** SpeedEvil has joined #maemo | 19:36 | |
*** jrg has quit IRC | 19:36 | |
*** Pali has quit IRC | 19:38 | |
*** jrg has joined #maemo | 19:38 | |
*** Kabouik_ has quit IRC | 19:38 | |
*** Kabouik_ has joined #maemo | 19:47 | |
*** dafox has quit IRC | 19:50 | |
*** Kabouik_ has quit IRC | 20:09 | |
*** Kabouik_ has joined #maemo | 20:09 | |
*** kalin has quit IRC | 20:12 | |
*** valdyn has joined #maemo | 20:13 | |
*** valdyn has left #maemo | 20:17 | |
*** N-Mi_ has quit IRC | 20:20 | |
*** louisdk has quit IRC | 21:00 | |
*** cyteen has joined #maemo | 21:21 | |
*** louisdk has joined #maemo | 21:39 | |
*** Guest87618 is now known as juiceme | 21:42 | |
*** juiceme has joined #maemo | 21:42 | |
*** louisdk has quit IRC | 21:44 | |
*** jskarvad has quit IRC | 21:47 | |
*** Kabouik_ has quit IRC | 21:49 | |
*** xy2_ has joined #maemo | 21:50 | |
*** pagurus has quit IRC | 22:02 | |
*** pagurus has joined #maemo | 22:03 | |
*** BitEvil has joined #maemo | 22:08 | |
*** SpeedEvil has quit IRC | 22:08 | |
*** DocScrutinizer05 has quit IRC | 22:21 | |
*** DocScrutinizer05 has joined #maemo | 22:21 | |
*** shentey has joined #maemo | 22:37 | |
*** DocScrutinizer05 has quit IRC | 22:40 | |
*** DocScrutinizer05 has joined #maemo | 22:51 | |
*** vakko has quit IRC | 22:51 | |
*** DocScrutinizer05 has quit IRC | 22:57 | |
*** DocScrutinizer05 has joined #maemo | 22:57 | |
*** DocScrutinizer05 has quit IRC | 23:07 | |
*** L29Ah has joined #maemo | 23:07 | |
*** DocScrutinizer05 has joined #maemo | 23:07 | |
*** DocScrutinizer05 has quit IRC | 23:08 | |
*** DocScrutinizer05 has joined #maemo | 23:10 | |
*** thuttu77 has quit IRC | 23:26 | |
*** thuttu77 has joined #maemo | 23:26 | |
*** DocScrutinizer05 has quit IRC | 23:41 | |
*** DocScrutinizer05 has joined #maemo | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!