IRC log of #maemo for Monday, 2017-03-20

*** at1as has quit IRC00:06
*** dafox_ has joined #maemo00:06
*** Pali has quit IRC00:08
buZzblocked by some third party policy setting that i cant find00:09
buZzdangit00:09
*** Smily has quit IRC00:10
*** Smily has joined #maemo00:11
*** xy2_ has quit IRC00:17
*** geaaru_ has quit IRC00:20
*** xy2_ has joined #maemo00:20
*** dafox_ has quit IRC00:22
DocScrutinizer05hm?00:24
buZznp00:24
buZzseems some earlier extra-devel install wrekked dependancies00:25
buZzblocking u-boot to get installed00:25
DocScrutinizer05!BEFORE INSTALLING THIS U-BOOT ALL OTHER INCOMPATIBLE U-BOOT VERSIONS MUST BE UNINSTALLED!00:27
DocScrutinizer05;-D00:27
DocScrutinizer05Hildon Application Manager will not allow you to install this U-Boot if there are some problems.00:28
*** shentey has quit IRC00:30
buZzi just wiped the n900 using lazyway00:32
buZzw/e :P00:33
buZzalmost have extras-devel back and will retry00:33
buZzsame result with a clean n90000:35
buZz:(00:35
buZzright, apt-get install u-boot-flasher does something, lets see00:41
buZzalright, this is getting somewhere :D00:43
*** pagurus has quit IRC00:52
enycmerlin1991: iirc qemu has a fat32 emulator ;p00:52
*** pagurus has joined #maemo00:54
buZzWizzup: on your devuan-on-n900 tries, did you run devuan from internal flash? or SD00:55
WizzupbuZz: sd card01:01
buZzk k01:02
buZzi'm following https://github.com/dderby/debian900 atm01:02
Wizzuppatazyd has a ddable image01:02
Wizzupparazyd01:02
Wizzupgoing to sleep.01:02
buZzdont mind, i have time01:02
buZzsleep well Wizzup \o01:02
*** florian has quit IRC01:08
MaxdamantusI didn't really understand where that article was talking about the FAT32 emulation happening.01:10
MaxdamantusI imagine it would be sensible to just have FAT32 emulation for the UMS (so you'd point g_mass_storage to a dynamic file in the FUSE mount)01:11
Maxdamantusbut it sounded like every operation had to do with this "VFAT emulator"01:11
Maxdamantusall you need is a FAT32 emulator for UMS .. handling permissions for different applications shouldn't really need a special filesystem.01:14
Maxdamantusif you're restricting that at a kernel level, you'd probably just have each program have its own mount namespace where the diruectories it's meant to see are bind mounted into the expected place in a tmpfs.01:15
Maxdamantustbh on the former thing, I'd quite like an implementation of that that doesn't depend on any Android stuff ... so I could just do `virtfat normal-directory /tmp/fat-normal-directory`01:18
Maxdamantusthen make g_file_storage point to that /tmp/fat-normal-directory file.01:19
MaxdamantusUsually when transferring things to normal people's computers using my N900, I'll just have various FAT images sitting in files on my SD card, and I'll point g_file_storage at them when needed.01:20
MaxdamantusWould be nicer to export a normal directory as a FAT image instead.01:21
MaxdamantusI've thought about looking into qemu's FAT virtualisation thing before, that enyc alluded to.01:22
MaxdamantusHm, there's a project on GitHub under bwimm/libvirtual_fat that says it does the read-only version of that.01:28
DocScrutinizer05~uboot01:30
infobotN900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=8161301:30
DocScrutinizer05it's really tricky :-)01:33
DocScrutinizer05new kernel flasher pkgs have some nifty check to see if the installed (in NAND) primary kernel is ok to get replaced01:35
*** xy2_ has quit IRC01:47
*** atk has quit IRC02:00
*** atk has joined #maemo02:01
*** fk_lx has quit IRC02:03
*** infobot has quit IRC02:20
*** infobot has joined #maemo02:22
*** ssvb has quit IRC02:30
*** ssvb has joined #maemo02:32
*** M4rtinK has quit IRC03:02
*** jonwil has quit IRC04:44
*** at1as has joined #maemo06:12
*** jonwil has joined #maemo06:14
*** at1as has quit IRC06:41
*** pagurus` has joined #maemo07:19
*** pagurus has quit IRC07:21
*** Oksanaa has left #maemo07:34
*** infobot has quit IRC07:54
*** DocScrutinizer05 has quit IRC07:57
*** DocScrutinizer05 has joined #maemo07:57
*** spiiroin_ has quit IRC08:01
*** sunshavi has quit IRC08:17
*** spiiroin has joined #maemo08:26
*** florian has joined #maemo08:54
*** florian has quit IRC08:59
*** dafox_ has joined #maemo09:02
*** xy2_ has joined #maemo09:13
*** dafox_ has quit IRC09:29
*** dmth|intevation has joined #maemo09:41
*** xy2_ has quit IRC09:43
*** florian_kc has joined #maemo10:18
*** florian_kc is now known as florian10:21
*** florian_ has joined #maemo10:25
*** jskarvad has joined #maemo10:26
*** florian_ has quit IRC10:27
*** Kabouik has joined #maemo10:31
*** hurrian has quit IRC11:45
*** mp107 has joined #maemo11:56
*** geaaru has joined #maemo12:22
*** hurrian has joined #maemo12:58
*** hurrian_ has joined #maemo13:04
buZzhmm ok, nice , devuan on n900 is pretty smooth :P13:06
*** hurrian has quit IRC13:07
*** ecloud has quit IRC13:15
*** hurrian_ has quit IRC13:25
*** ecloud has joined #maemo13:30
*** hurrian has joined #maemo13:42
WizzupbuZz: x11 working fine?13:42
buZzyeah, just the Y axis is reversed13:43
buZzand i need to get rightclick working :P13:43
WizzupI'm going to setup a devuan one too this week13:46
Wizzuphibernate? works? touchscreen as well then?13:47
Wizzuptried 3g modem?13:47
buZztouchscreen works, havent tried hibernate yet13:47
buZzi dont use GSM at all13:47
Wizzupyou'll need  ofono at least presumably13:47
WizzupI'll try it on ascii13:47
Wizzupalready have it working on gentoo, so...13:48
buZzno i dont need ofono at all13:48
KotCzarnyhow do you disable modem? it might be still connected even when unused13:49
WizzupI didn't mean you specifically13:49
WizzupKotCzarny: just send it the power down?13:49
Wizzupit may still be on, but that's what you can do13:49
buZzi havent looked at it, i just have it without simcard now13:49
Wizzupor physically kill it, but 'meh'13:49
buZzcba to care about it really :P13:49
WizzupbuZz: modem still works without sim13:49
*** at1as has joined #maemo13:51
*** hurrian_ has joined #maemo13:51
*** hurrian has quit IRC13:54
*** hurrian has joined #maemo13:55
*** atlas has joined #maemo13:56
*** at1as has quit IRC13:56
*** hurrian_ has quit IRC13:58
*** xy2_ has joined #maemo14:11
buZzwell, pm-suspend doesnt let me return to awake14:13
buZzboo14:13
buZzlets see  if pm-hibernate acts better14:13
buZzpm-hibernate does nothing14:17
*** fk_lx has joined #maemo14:20
*** fk_lx has quit IRC14:21
*** fk_lx has joined #maemo14:22
*** xy2_ has quit IRC14:23
*** mp107 has quit IRC14:24
*** mp107 has joined #maemo14:25
spiiroinjust fyi: in sfos suspend is bound to display state (mce); and iphb is fixed to use rtc / timerfd to allow timer based resumes14:47
*** jonwil has quit IRC14:50
*** hurrian_ has joined #maemo14:54
*** hurrian has quit IRC14:58
*** florian has quit IRC15:01
*** hurrian has joined #maemo15:01
*** hurrian_ has quit IRC15:03
*** hurrian_ has joined #maemo15:03
*** sunshavi has joined #maemo15:04
*** hurrian has quit IRC15:05
Sicelowhat is the best/safest way to restart hildon-desktop/home/status-menu?15:07
Siceloi used kill, and now Ctrl+Backspace does not work15:08
Sicelommm, even shortcut for xterminal and screenshot not working15:09
*** eMHa__ has quit IRC15:12
*** hurrian has joined #maemo15:13
*** hurrian_ has quit IRC15:16
Siceloby the way, it is not a hardware problem.. ctrl k the backspace are recognized in all other programs15:17
*** mp107 has quit IRC15:26
VajbSicelo: device restart :)15:31
Sicelonooo :p15:41
Sicelodon't want that .. 30 days uptime, and i'd like to have more15:42
Vajboo race is on "uptime 37 days" ;)15:45
auenfmy n900 is up 53 days atm15:47
Vajbdoes it still run smoothly auenf?15:50
Vajbasking coz mine has felt sluggigs15:50
Vajbsluggish*15:50
auenfrunning ok15:50
auenfaltho, it doesnt do anything except be an alarm clock atm15:51
Vajboh. Mine serves as phone, socialmedia and music player15:53
Sicelomine works fine .. not sluggish :)15:53
Sicelodaily & main phone15:53
inzMy N810 has 104 days, but all it does is update dynamic dns ;)15:55
*** eMHa__ has joined #maemo15:55
KotCzarnyinz: make it an audio device, remotely controllable from your n90015:58
KotCzarny;)15:58
*** spiiroin has quit IRC15:59
inzKotCzarny, if you know how to make N810 to act as a A2DP receiver, then I would be very interested...16:00
KotCzarnynetwork audio?16:00
inzBluetooth audio16:01
KotCzarnydoes n810 have bt?16:01
inzyes16:01
KotCzarnyand no one ported some receiver already?16:01
inzNo idea.16:01
KotCzarnyoh fun, my dynamic ip is in spam list, time to reset the modem16:03
inzMaybe spam less?16:03
KotCzarnyrrright, if this sh*tty isp didnt change my ip every ~20hours16:04
Vajbtoo agressive multiplayer advertisement :p16:04
inzBoo shitty ISP16:04
inzMy ip has stayed the same for as long as I remember, even through a few hour blackout16:05
KotCzarnyhttps://talk.maemo.org/showthread.php?t=7353316:06
KotCzarnyhrm, folks there talk as if a2dp on n8x0 was no-brainer16:06
Siceloif you have pulseaudio, bluez, pulseaudio-bt16:06
KotCzarnyn8x0 has esd16:06
KotCzarnyno evilaudio there16:06
bencohtalking about a2dp receiver, I just tried bluez-alsa (alsa plugin for bluez5)16:07
KotCzarnyinz: have you ever tried http://talk.maemo.org/showthread.php?t=13468 ?16:07
inzKotCzarny, wrong direction16:07
KotCzarnyoh, you mean n810 to send audio16:08
KotCzarnyor not. n810 has to be the receiver or sender?16:08
* KotCzarny got confused16:08
Sicelo:-)16:09
inzKotCzarny, n810 to receive audio over bt and pass over to jack16:11
*** xy2_ has joined #maemo16:12
*** spiiroin has joined #maemo16:13
KotCzarnyahm. and what is the reason not just use n810 as a native player?16:14
buZzlol16:16
buZzwhy is n900 complaining about empty battery -during- charging ? :D16:16
KotCzarnybuzz: not enough amps?16:16
KotCzarnybuzz: using more than receiving?16:17
KotCzarnybuzz: not charging at all?16:17
buZznah it was just suddenly complaining in my bag, i connected to usb just now16:17
buZzafter the 'usb connected' sound, again 3 times 'huuu almost empty weepweepweep'16:17
buZzshould just if(!charging) {16:17
KotCzarnyinz: http://www.lightofdawn.org/blog/?viewDetailed=0003216:26
buZzKotCzarny: cool16:26
KotCzarnythough on n810 that would mean need to fit that somehow with hw sink(oss)/esd16:27
buZzhmmm16:27
buZzmaybe i should try xstroke @ n900 :P16:28
buZzrelearn graffiti ^_^16:28
*** mp107 has joined #maemo16:31
*** florian has joined #maemo16:37
*** xy2_ has quit IRC17:09
*** xy2_ has joined #maemo17:09
*** florian has quit IRC17:12
*** eMHa__ has quit IRC17:23
*** mavhc has quit IRC17:30
*** drathir has quit IRC17:51
*** dmth|intevation has quit IRC17:57
*** Sigyn has quit IRC18:05
*** Sigyn has joined #maemo18:06
*** eMHa__ has joined #maemo18:07
*** drathir has joined #maemo18:11
*** Kabouik has quit IRC18:15
DocScrutinizer05FYI: hibernate isn't what you usually want to use in embedded18:36
DocScrutinizer05hibernate is a pathetic effort to implement some low-power state on devices that don't know zero-clock18:37
DocScrutinizer05inz: that would nead... A2DP headphone profile? Damn BT!18:46
DocScrutinizer05buZz: (should just if(!charging) { ) afaik that's exactly what it does18:48
buZzwelp, it was nagging quite hard for like 20-30 minutes :P18:48
*** dafox has joined #maemo18:52
DocScrutinizer05CSSU?18:54
DocScrutinizer05seems there's still some bug sleeping there18:55
*** Pali has joined #maemo18:56
DocScrutinizer05would be great if you could reproduce this, while running some diagnostic instrumentation18:59
*** drrz has joined #maemo19:03
*** xy2_ has quit IRC19:18
DocScrutinizer05particularly dbus-monitor in 2 instances logging both session and system bus, and syslog, and bq27200.sh>batlog19:20
*** dafox has quit IRC19:20
DocScrutinizer05bq27200.sh 15 >batlog19:20
DocScrutinizer05for some strace stuff, please ask Pali19:21
DocScrutinizer05hald-addon-bme? some systray yaddayadda noideawhatsthename. might be useful tarfets for strace19:22
*** mavhc has joined #maemo19:32
buZzDocScrutinizer05: hmhm, i dont wanna invest a lot of time digging into maemo19:45
buZzi'll just accept it complains about empty battery while charging and move on ;)19:45
*** fuz_ has quit IRC19:52
DocScrutinizer05buZz: btw, quite important info: WHICH 'charger' did you use? PC USB host? Original Nokia charger? Some generic USB charger?19:53
buZzthe former :)19:53
DocScrutinizer05OOOOH19:53
buZzits a 1A capable usb host though19:54
DocScrutinizer05that's irrelevant since N900 doesn't even know such thing _exists_. It will charge with max 599mA from USB host19:54
DocScrutinizer05afaik19:54
buZzalright19:55
buZzstill, charging = charging19:55
buZzits not not charging19:55
DocScrutinizer05yes, sure19:55
buZz:)19:55
DocScrutinizer05but the internal 'flow chart' is quite different19:55
DocScrutinizer05USB host charging is much more software centricthan deicated USB charger19:56
DocScrutinizer05and actually the "1A" thing might be the root cause of the problem, since maemo prolly doesn't understand that in ENUM power negotiation  and so might fall back to 100mA charging or no charging at all19:57
DocScrutinizer05where "no charging at all" in turn might mean that hw emergency charging takes over, doing a 100mA charging to only 3.6V iirc19:58
DocScrutinizer05charging is way more intricate than you'd think it was19:59
buZzsure20:00
buZzthe OS knew it was charging20:00
buZzcharging animation was on, notification leds blinking to show it20:00
buZzyet, it still complained about being close to empty20:00
KotCzarnyi still bet it was using more than sucking20:01
buZzit did charge to ~25% eventually20:01
buZzafter complaining for ~30 minutes20:01
KotCzarnyindexer finished killing your device? :P20:03
buZz:D20:03
buZzcould be20:04
*** fuz_ has joined #maemo20:05
DocScrutinizer05please keeo bq27200.sh around, for decent checks in case it happens again. Thanks!20:05
DocScrutinizer05~bq27k20:06
buZzi'll check it out later20:06
DocScrutinizer05damn bot20:06
*** infobot has joined #maemo20:07
DocScrutinizer05~bq27k20:07
DocScrutinizer05~wb20:08
infobotthx20:08
DocScrutinizer05~bq27k20:08
DocScrutinizer05~listvalues bq2720:08
infobotFactoid search of 'bq27' by value (5): bq27 ;; bq27k-detail ;; calibratebq27200 ;; bq-calibrate ;; bq27200.20:08
DocScrutinizer05~bq2720:08
infobotfrom memory, bq27 is http://maemo.cloud-7.de/maemo5/usr/local/sbin/ bq27*, or http://maemo.cloud-7.de/maemo5/patches_n_tools/20:08
DocScrutinizer05~bq2720020:09
infobot[bq27k-detail] http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27k-detail2, or ~bq2720:09
DocScrutinizer05http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27200.sh20:10
DocScrutinizer05please wget and chmod +x this20:11
*** jskarvad has quit IRC20:15
DocScrutinizer05you also want to install i2ctools for that20:18
DocScrutinizer05ignore the scary warnings i2ctools installation pops up ;-)20:19
* DocScrutinizer05 considers powerkernel overclocking app way more dangerous than i2ctools20:20
*** dafox has joined #maemo20:44
*** g3kk3r has quit IRC20:49
*** ashneo76 has joined #maemo21:01
*** geaaru has quit IRC21:17
kerioyo Pali21:24
kerioare you around21:24
Palihm?21:24
kerioi have bought a pi 0 w21:24
kerio;o21:25
keriohow do i do usb gadget mode with more than one module?21:25
kerioiirc it was something supported by recent linuxes21:25
KotCzarnylol, rpi?21:25
KotCzarnyseriously?21:25
kerioKotCzarny: the pi 0 wireless is /actually useful/ now21:25
KotCzarnyyou got ripped21:25
keriobecause it has wifi21:25
KotCzarnyoff21:26
Palionly one gadget module can be attached/loaded21:26
keriono g_usbhub module? :(21:26
Palino21:26
KotCzarnythere is a gadget that does network + something21:26
KotCzarnyso just see what gadgets are available21:27
KotCzarnybut seriously, buying rpi is a sucker's choice :P21:27
Paliyou can export via one usb gadget more functions21:27
Palithere is one userspace for it21:27
keriowhat about g_multi21:28
Paliconfigfs21:28
Paliiirc gadget modules are already deprecated21:28
kerioIn it's standard configuration it provides a single USB configuration21:28
keriowith RNDIS[1] (that is Ethernet), USB CDC[2] ACM (that is serial) and21:28
kerioUSB Mass Storage functions.21:28
keriothat's perfect :o21:28
PaliCONFIG_USB_CONFIGFS21:29
PaliFor more information see Documentation/usb/gadget_configfs.txt.21:29
keriodammit, it wants a file to do mass storage :<21:30
Palimodprobe libcomposite21:30
PaliRTFM21:30
*** g3kk3r has joined #maemo21:31
keriomeh, it's too complicated21:35
kerioi'll just leave g_ether and forget about the serial console21:35
*** mp107 has quit IRC21:35
*** Kabouik has joined #maemo22:05
*** florian has joined #maemo22:16
*** DocScrutinizer05 has quit IRC22:17
*** DocScrutinizer05 has joined #maemo22:17
*** DocAvalanche has joined #maemo22:18
SiceloPali: what is correct way to restart h-d? killall is evidently not good22:18
*** heroux_ has joined #maemo22:18
Palistop and start via dsme22:18
*** wnd_ has joined #maemo22:18
Sicelohmm, let me check how to do that22:18
*** teotwaki_ has joined #maemo22:19
*** `0660_ has joined #maemo22:19
*** Elleo_ has joined #maemo22:19
*** xkr47_ has joined #maemo22:20
Sicelodsmetool i guess?22:20
*** jrayhawk_ has joined #maemo22:20
*** cyphase_eviltwin has joined #maemo22:22
*** esaym has joined #maemo22:22
*** ab_ has joined #maemo22:24
*** ab_ has joined #maemo22:24
*** peetah_ has joined #maemo22:25
*** Enrico_Menotti has joined #maemo22:26
Sicelomaemo with no h-d running looks freaky :)22:28
Siceloanyway, didn't solve my problem .. reboot incoming when i get fed up with lack Ctrl-BkSp functionality22:29
*** ecloud has quit IRC22:29
*** cyphase has quit IRC22:29
*** ab has quit IRC22:29
*** xkr47 has quit IRC22:29
*** heroux has quit IRC22:29
*** DocScrutinizer51 has quit IRC22:29
*** teotwaki has quit IRC22:29
*** peetah has quit IRC22:29
*** jrayhawk has quit IRC22:29
*** `0660 has quit IRC22:29
*** Elleo has quit IRC22:29
*** esaym153 has quit IRC22:29
*** Oksana has quit IRC22:29
*** wnd has quit IRC22:29
*** ab_ is now known as ab22:29
*** teotwaki_ is now known as teotwaki22:29
*** heroux_ is now known as heroux22:29
*** DocAvalanche is now known as DocScrutinizer5122:29
*** ecloud has joined #maemo22:29
*** Oksana has joined #maemo22:30
Enrico_MenottiHello everybody. I'd like to know a few things about the boot process in the N900. I know there is some hardware boot, which for the moment I won't consider, and a certain point the NOLO system comes into play.22:36
Enrico_MenottiDoes anybody know how to access NOLO and configure it so that it may boot something different from Maemo?22:36
Enrico_MenottiI've read that with u-boot by Pali the process is NOLO -> U-Boot -> kernel, so I'd like to know how NOLO can boot u-boot instead of Maemo's kernel.22:37
*** wnd_ is now known as wnd22:38
Sicelolayman's terms - uboot presents itself as the kernel, so NOLO thinks it's starting a regular kernel ..22:40
Enrico_MenottiBut is it possible to upload and boot a kernel without flashing it to the device?22:41
Enrico_MenottiI am asking this because I would like to try some things about kernel hacking, and to try I need to upload and boot the kernel without flashing it.22:41
Siceloyes, it's possible. the flasher has a -l switch for that22:42
Enrico_MenottiSicelo: You mean Nokia's flasher, or Pali's 0xFFFF?22:43
Sicelo0xFFFF has similar functionality i believe22:43
Enrico_MenottiThe problem with 0xFFFF is that... well, let me tell the whole story. I ported 0xFFFF on my Mac. The Nokia bootloader is not working anymore on newer Macs. And on Windows it was not working properly.22:44
Enrico_MenottiNow the problem with 0xFFFF is that if it does not do the job properly, it gets in a loop and I need to shut down my computer and reboot it.22:44
*** chfoo has quit IRC22:44
*** chfoo has joined #maemo22:45
Enrico_MenottiSo I would like to understand how the flasher (Nokia's or 0xFFFF) does its job.22:46
Enrico_MenottiSicelo: Do you have any knowledge about this?22:47
Sicelono idea. told you i'm a layman :)22:49
Siceloyou'll have to ask Pali and other knowledgeable ones22:49
Enrico_MenottiI asked Pali privately. He told me to ask here.22:50
KotCzarnyo.O22:51
Enrico_MenottiKotCzarny: ?22:51
KotCzarnyrebooting whole computer because of hung flasher?22:51
Enrico_MenottiYes.22:52
Enrico_MenottiAnyway I have been able to reflash the device - now it's alive again.22:52
KotCzarnythat's good22:53
Siceloyes he answers here when he has time :)22:53
Sicelolike he answered my question about h-d22:53
Enrico_MenottiSicelo: would be great if he could provide a link to some documentation, if ever one exists.22:54
Siceloon another note: is osso-feed reader open?23:06
*** LjL has quit IRC23:07
*** LjL has joined #maemo23:09
*** ravelo_ has joined #maemo23:15
*** ravelo has quit IRC23:18
*** xkr47_ is now known as xkr4723:19
*** Kabouik has quit IRC23:21
*** ravelo__ has joined #maemo23:23
*** florian has quit IRC23:24
*** script has quit IRC23:24
*** script has joined #maemo23:24
*** florian has joined #maemo23:24
*** platicus has quit IRC23:25
*** ravelo_ has quit IRC23:26
*** ravelo has joined #maemo23:28
*** ravelo__ has quit IRC23:30
*** ravelo_ has joined #maemo23:34
*** ravelo__ has joined #maemo23:35
*** ravelo has quit IRC23:36
*** ravelo_ has quit IRC23:39
*** platicus has joined #maemo23:40
*** Pali has quit IRC23:44
*** freemangordon has quit IRC23:51
*** ravelo_ has joined #maemo23:54
*** ravelo__ has quit IRC23:56

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!