eval has quit [Ping timeout: 240 seconds]
eval has joined #maemo-leste
dsc_ has quit [Ping timeout: 246 seconds]
dsc_ has joined #maemo-leste
elastic_dog has quit [Ping timeout: 255 seconds]
elastic_dog has joined #maemo-leste
neimsaci has quit [Quit: WeeChat 4.0.4]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Quit: WeeChat 4.0.4]
Daanct12 has joined #maemo-leste
joerg has quit [Ping timeout: 255 seconds]
joerg has joined #maemo-leste
macros_ has quit [Ping timeout: 252 seconds]
macros_ has joined #maemo-leste
fab_ has joined #maemo-leste
maxwelld has quit [*.net *.split]
Danct12 has quit [*.net *.split]
sunshavi has quit [*.net *.split]
fab_ has quit [*.net *.split]
doc has quit [*.net *.split]
sixwheeledbeast has quit [*.net *.split]
dreamer has quit [*.net *.split]
macros_ has quit [*.net *.split]
joerg has quit [*.net *.split]
Daanct12 has quit [*.net *.split]
elastic_dog has quit [*.net *.split]
dsc_ has quit [*.net *.split]
SuperMarioSF_ has quit [*.net *.split]
jr-logbot has quit [*.net *.split]
xmn has quit [*.net *.split]
LIERO has quit [*.net *.split]
eval has quit [*.net *.split]
lightbringer has quit [*.net *.split]
Juest has quit [*.net *.split]
RedW has quit [*.net *.split]
xray256 has quit [*.net *.split]
Kabouik has quit [*.net *.split]
peetah has quit [*.net *.split]
Langoor has quit [*.net *.split]
eloy has quit [*.net *.split]
bencoh has quit [*.net *.split]
meridion has quit [*.net *.split]
xes has quit [*.net *.split]
pere has quit [*.net *.split]
The_Niz has quit [*.net *.split]
tk has quit [*.net *.split]
jrayhawk has quit [*.net *.split]
antranigv has quit [*.net *.split]
eniac_e3c has quit [*.net *.split]
danielinux has quit [*.net *.split]
brabo has quit [*.net *.split]
Retr0id has quit [*.net *.split]
lel has quit [*.net *.split]
ashley has quit [*.net *.split]
__20h__ has quit [*.net *.split]
aat596_3 has quit [*.net *.split]
nohit has quit [*.net *.split]
branon has quit [*.net *.split]
Wizzup has quit [*.net *.split]
freemangordon has quit [*.net *.split]
n900 has quit [*.net *.split]
tmlind has quit [*.net *.split]
vectis has quit [*.net *.split]
attah has quit [*.net *.split]
aczid has quit [*.net *.split]
ikmaak has quit [*.net *.split]
Daanct12 has joined #maemo-leste
sunshavi has joined #maemo-leste
maxwelld has joined #maemo-leste
pere has joined #maemo-leste
dsc_ has joined #maemo-leste
macros_ has joined #maemo-leste
elastic_dog has joined #maemo-leste
fab_ has joined #maemo-leste
eval has joined #maemo-leste
SuperMarioSF_ has joined #maemo-leste
joerg has joined #maemo-leste
Danct12 has joined #maemo-leste
sixwheeledbeast has joined #maemo-leste
Juest has joined #maemo-leste
Wizzup has joined #maemo-leste
lel has joined #maemo-leste
freemangordon has joined #maemo-leste
danielinux has joined #maemo-leste
jrayhawk has joined #maemo-leste
brabo has joined #maemo-leste
ashley has joined #maemo-leste
The_Niz has joined #maemo-leste
tk has joined #maemo-leste
antranigv has joined #maemo-leste
n900 has joined #maemo-leste
ikmaak has joined #maemo-leste
aczid has joined #maemo-leste
vectis has joined #maemo-leste
nohit has joined #maemo-leste
__20h__ has joined #maemo-leste
aat596_3 has joined #maemo-leste
tmlind has joined #maemo-leste
LIERO has joined #maemo-leste
dreamer has joined #maemo-leste
jr-logbot has joined #maemo-leste
xmn has joined #maemo-leste
lightbringer has joined #maemo-leste
doc has joined #maemo-leste
Langoor has joined #maemo-leste
attah has joined #maemo-leste
Retr0id has joined #maemo-leste
xray256 has joined #maemo-leste
eloy has joined #maemo-leste
peetah has joined #maemo-leste
Kabouik has joined #maemo-leste
eniac_e3c has joined #maemo-leste
branon has joined #maemo-leste
bencoh has joined #maemo-leste
meridion has joined #maemo-leste
RedW has joined #maemo-leste
xes has joined #maemo-leste
moparisthebest has quit [Ping timeout: 248 seconds]
fab_ has quit [Quit: fab_]
xmn has quit [Ping timeout: 252 seconds]
<freemangordon> tmlind: is it ok to call hrtimer_start() with zero timeout?
<tmlind> freemangordon: hmm don't know what happens then
<freemangordon> well, my idea was to avoid initialization delays. but maybe it does not make sense
<tmlind> it might be ok, i don't know
fab_ has joined #maemo-leste
ahmed_sam has joined #maemo-leste
maxwelld has left #maemo-leste [Disconnected: Replaced by new connection]
ahmed_sam has quit [Read error: Connection reset by peer]
maxwelld has joined #maemo-leste
Elektra has joined #maemo-leste
Elektra is now known as Guest3387
ashley has quit [Ping timeout: 246 seconds]
ahmed_sam has joined #maemo-leste
ahmed_sam has quit [Read error: Connection reset by peer]
moparisthebest has joined #maemo-leste
moparisthebest has quit [Ping timeout: 246 seconds]
maxwelld has left #maemo-leste [#maemo-leste]
fab_ has quit [Ping timeout: 246 seconds]
maxwelld has joined #maemo-leste
Guest3387 is now known as ashley
ashley has quit [Changing host]
ashley has joined #maemo-leste
pere has quit [Ping timeout: 255 seconds]
uvos__ has joined #maemo-leste
<uvos__> i think the "non removeable" battery in d4 is a blessing in desguise
<uvos__> since it allowed motorola used screw terminals for power. which now makes it easy for us to wire in any battery
<uvos__> which is a good thing given the last eb41 rolled off the assembly line in 2014 or so
parazyd has quit [Ping timeout: 248 seconds]
parazyd has joined #maemo-leste
Daanct12 has quit [Ping timeout: 252 seconds]
pere has joined #maemo-leste
<Wizzup> arno11: so you wanted me to build these for extras right?
<Wizzup> arno11: can you make some wiki entries for it?
Juest has quit [Ping timeout: 245 seconds]
Juest has joined #maemo-leste
neimsaci has joined #maemo-leste
neimsaci has quit [Client Quit]
Daanct12 has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> Wizzup: yeah, i tried to build deb packages locally but failed because of makefile/rules errors i'm not familiar with. Otherwise binaries works perfectly, no particular errors.
<arno11> and for wiki, no probs i already posted things on TMO so just copy paste needed
<Wizzup> ah, ok
<arno11> i mean i need your help to fix makefile/rules stuff and to be sure it doesn't try to install old maemo gui libs we can't find/replace anymore. the generic menu (picodrive or pcsx) are ok and usable.
<arno11> sorry i'm doing too much things at the same time: for picodrive there is just a makefile error, no troubles with maemo stuff (not based on old maemo picodrive)
<freemangordon> why was it pushed at all? I just provided it for testing
<freemangordon> at the end it turned out the only missing thing was a call to init_waitqueue_head
<uvos__> sicelo requested it
<freemangordon> ok, but now the kernel doe not even build :)
<uvos__> i had no idea it was your patch
<uvos__> i know it failed
<freemangordon> ok
<freemangordon> shall I revert it?
<freemangordon> or could you do it?
<uvos__> sure, but i have to add some mdm fixes
<uvos__> so dont build it yet
<freemangordon> ok, then you do it
arno11 has left #maemo-leste [#maemo-leste]
<freemangordon> (revert 4af467160d52cc169bb5c27cab2a062bb4f14bea)
<uvos__> right
<freemangordon> thanks
<uvos__> so call to init_waitqueue_head
<uvos__> where is this?
<uvos__> (patch)
<uvos__> ok
<freemangordon> but it should be init_waitqueue_head(&ir_rx51.wqueue); as original code uses static global struct
<freemangordon> anyway, I don;t think we shall waste time on that
<uvos__> why not (i really have no idea what this is about)
<freemangordon> I think I have a patch for ir_pwm that will make it work properly on n900
<uvos__> different driver, ok
<freemangordon> this is IR TX
<uvos__> ok
<freemangordon> yes, and the driver we're trying to fix is marked for removal anyways
<uvos__> i presume ir_pwm can use any pwm device and this one is omap3/n900 specific
<uvos__> ok
<freemangordon> yes
<uvos__> ill just revert then
<freemangordon> see "media: rc: remove ir-rx51 in favour of generic pwm-ir-tx"
<freemangordon> right
<Wizzup> arno11: check
<freemangordon> uvos__: actually there is nothing omap/n900 specific in ir-rx51
<Wizzup> just trying to have a canonical point for this stuff in the wiki
<Wizzup> freemangordon: other than the name :D
<freemangordon> both drivers are very similar, besides ir-rx51 works on n900 while pwm-ir-tx does not
<freemangordon> Wizzup: not really
<freemangordon> ir-rx51 uses hrtimer expicitly, while pwm-ir-tx uses usleep_range()
<freemangordon> and that's what I think breaks it on n900
<freemangordon> I have a patch that fixes that, hopefully
<freemangordon> will ask sicelo and/or arno11 ti test it later on
<Wizzup> okay cool
<Wizzup> freemangordon: the name was mostly a joke since it is called rx51
<freemangordon> sicelo: arno11: please test https://pastebin.com/bS7Q43Mg
<freemangordon> once we have it working, I'll send a proper patch to lkml
<freemangordon> Wizzup: right :)
<uvos__> presumably pwm-ir-tx would not exist if the author of ir-rx51 had more foresight with the name
<freemangordon> heh
pere has quit [Ping timeout: 240 seconds]
<sicelo> freemangordon: thanks. arno, i don't have my leste sd card handy again. let me know which kernel you're on, and i can build you the module so you test with Pierogi
<Daanct12> in case if anyone wasnt aware of it already, u-boot just dropped the n900 upstream
<Daanct12> end of an era i guess :\
<sicelo> anyway, the existing uboot will still work, and someone might pick it up again in future (I would like to, but seems that's a tad too low-level for me)
<Daanct12> yeah, the 2013 u-boot still works
<sicelo> or the unfortunate fallout gets resolved too (because it's not really dropped for technical reasons ...)
<Daanct12> the commit log says it was mostly because of the usb code being legacy
pere has joined #maemo-leste
fab_ has joined #maemo-leste
fab_ has quit [Quit: fab_]
moparisthebest has joined #maemo-leste
fab_ has joined #maemo-leste
Daanct12 has quit [Quit: WeeChat 4.0.4]
xmn has joined #maemo-leste
Danct12 has quit [Read error: Connection reset by peer]
maxwelld has left #maemo-leste [Disconnected: Received SIGTERM]
maxwelld has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> sicelo: ok cool, i'm under 6.1.48 :)
pere has quit [Ping timeout: 240 seconds]
uvos__ has quit [Ping timeout: 246 seconds]
Danct12 has joined #maemo-leste
neimsaci has joined #maemo-leste
maemish_ has joined #maemo-leste
neimsaci has quit [Quit: WeeChat 4.0.4]
The_Niz has left #maemo-leste [#maemo-leste]
vectis has quit [Server closed connection]
vectis has joined #maemo-leste
Daanct12 has joined #maemo-leste
Danct12 has quit [Ping timeout: 255 seconds]
uvos__ has joined #maemo-leste
Juest| has joined #maemo-leste
Juest has quit [Ping timeout: 246 seconds]
Juest| has quit [Ping timeout: 246 seconds]
Juest has joined #maemo-leste
pere has joined #maemo-leste
Juest has quit [Ping timeout: 255 seconds]
Juest has joined #maemo-leste
Juest has quit [Excess Flood]
elastic_dog has quit [Ping timeout: 252 seconds]
akossh has joined #maemo-leste
elastic_dog has joined #maemo-leste
<sicelo> sha512sum: b0c6de105eceb228859e5e1162e55ada6c4e3924c54d679f275a284d56f4c0dd49f1fb0753cb47ac668b5042048b967f4e696c9f2451143d793624fd68d96f04
neimsaci has joined #maemo-leste
<arno11> thx i'll be ready to test in 1 hour
<freemangordon> sicelo: arno11: if it works, I want you to test another (much simpler) patch, ok?
<arno11> ok
neimsaci has quit [Quit: WeeChat 4.0.4]
Juest has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
neimsaci has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> freemangordon: sicelo: i tried the patch: works well when you press one key then when you try again it causes a kernel oops.
<freemangordon> :(
<arno11> indeed :(
<freemangordon> ok, seems I'll have to bring my dev n900 back to life
<freemangordon> not now though
<arno11> maybe the problem is not the patch but dts config ?
<freemangordon> should not cause oops
<arno11> ok
<freemangordon> can you somehow get the oops?
<arno11> if it's the same kind of oops i think only Wizzup and is serial could help
ahmed_sam has joined #maemo-leste
<sicelo> arno11: you can use mtdoops, but it's a bit unreliable sometimes. works well when it wants to :-)
<freemangordon> yeah, mtdoops should work
<sicelo> reboot the device, then select to use the uboot console. there you can type the following ... it's doable even on our tiny keyboard:
<arno11> ok i can't this night but i can definitely try tomorrow
<sicelo> `setenv bootargs console=tty0 debug mtdoops.mtddev=log mtdoops.record_size=8192 rootwait root=/dev/mmcblk0p2`
<arno11> ok
<freemangordon> sicelo: how do you build the module to be compatible with zImage from the .deb?
<sicelo> then you can boot. you can confirm this cmdline worked by `cat /proc/cmdline` in the running system. if it worked, then you can do the test, and on next boot, you can do `cat /dev/mtd2ro | less` to hopefully get the oops
<arno11> ok
<sicelo> freemangordon: i built the whole kernel, but didn't make deb :-)
<freemangordon> ok, but you provided only pwm-ir-tx.ko to arno11
<freemangordon> so, what is your workflow?
ahmed_sam has quit [Ping timeout: 255 seconds]
<freemangordon> ofc you build the whole kernel, the question is how to replace only that .ko
<sicelo> i check out leste's kernel, build the whole thing, and send him the ko, because i think it doesn't depend on others
<freemangordon> ok, but what about module symbo versions?
<freemangordon> also, how do you build it?
<sicelo> i'm guessing all that matches, since it's still technically same kernel?
<freemangordon> make ARCH=arm -j4 INSTALL_MOD_STRIP=1 modules
<freemangordon> not really
<freemangordon> ?
<sicelo> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=${mod_dir} INSTALL_MOD_STRIP=1 modules_install
<freemangordon> hmm
<arno11> sicelo's process works with your ir-rx51 patch
<freemangordon> ok, lemme try
<freemangordon> sicelo: so, you first build zImage and then apply th epatch?
<sicelo> no.
<sicelo> build the kernel first, then zimage
<freemangordon> what is "kernel first"?
<freemangordon> not uImage ;)
<sicelo> um, :p
<sicelo> ok my script has `systemd-inhibit make -j $(($(nproc) + 1)) O=${output_dir} zImage modules omap3-n900.dtb`
<sicelo> with ARCH/CROSS_COMPILE already exported
<freemangordon> same here
<sicelo> so it's fine.
<freemangordon> so, where are your modules installed?
<sicelo> in .output/modules_dir ... i customized that with the 0=${outpt_dir}
<freemangordon> full path please
<freemangordon> I mean:
<freemangordon> modules are installed in kernel version directory
<freemangordon> what is the kernel version directory your modules are installed in?
<sicelo> here's the script https://paste.debian.net/1291768/
<sicelo> .output/modules_dir/lib/modules/6.1.48/
<freemangordon> no way :)
<sicelo> :p
<sicelo> why not, heh?
<freemangordon> if you have modified code, it shoudl change the kernel version
<freemangordon> ../modules/lib/modules/6.1.48-41200-g5319954d333d-dirty/
<freemangordon> for example
<sicelo> that happens if you didn't commit the code, iirc
<freemangordon> right, but even if you commit, it still changes the kernel version
<sicelo> no idea. it doesn't happen in my case, and i build lots of N900 kernels (for my pmOS maintenance work)
<freemangordon> sicelo: right, but there must be something else
<freemangordon> some env var or something
<sicelo> maybe kernel config option
<freemangordon> hmm
<sicelo> this is the only script i use, nothing else :-)
<freemangordon> ok, lemme try
<sicelo> i just (un)comment the appropriate parts at a given moment
<sicelo> i should (someday) fix it up properly
<freemangordon> sicelo: what does scripts/setlocalversion prints?
<freemangordon> *print
<sicelo> ~/Git/linux-kernel$ scripts/setlocalversion
<sicelo> Error: kernelrelease not valid - run 'make prepare' to update it
<freemangordon> ugh
<freemangordon> how's that?
<freemangordon> there is no include/config/auto.conf it seems
<freemangordon> hmm, maybe because of your output dir, lemme try
ahmed_sam has joined #maemo-leste
<freemangordon> sicelo: still installing to ../modules/lib/modules/6.1.48-41200-g5319954d333d-dirty
<sicelo> interesting
<freemangordon> mhm
<sicelo> maybe give arno11 the ko file generated in yours. may actually just work fine ootb :-)
<freemangordon> no way
<sicelo> ...
<freemangordon> BTW, how is that new .ko loaded without proper dtb?
<sicelo> i think he did adjust dtb to use pwm-ir-tx
<freemangordon> ok
<freemangordon> sicelo: so, CONFIG_LOCALVERSION_AUTO=y in your config?
<arno11> yep, using a custom uImage
<freemangordon> and modules dir is still 6.1.48?
<sicelo> grep CONFIG_LOCALVERSION_AUTO Git/linux-kernel/.output/.config
<sicelo> CONFIG_LOCALVERSION_AUTO=y
<freemangordon> do you have .scmversion file by chance?
<sicelo> yes, it's empty though
<freemangordon> well...
<freemangordon> that's why you don't get version changed
<freemangordon> ok, I'll do the same
<sicelo> ah. i can't even recall when i set it, but now that you mention, i do vaguely remember something of that sort
<freemangordon> heh :)
<freemangordon> arno11: may I have your dts changes in regards to pwm-ir-tx?
<sicelo> you just replace the part that says ir-rx51 with pwm-ir-tx :-)
<freemangordon> ok
<freemangordon> also, where to get pierogi from?
<arno11> yep i just replaced "nokia,n900-ir" by "pwm-ir-tx"
<freemangordon> maybe just provide the binary
<sicelo> freemangordon: may i just pick your brain ... it's really small, i promise.
<sicelo> i want to replace that `goto out` with s = "0.0.0.0";
<sicelo> any obvious gotchas? e.g. pointer problems?
<sicelo> arno11: maybe you can save the deb for him somewhere if you can?
<freemangordon> arno11: yeah, if you have deb around it will be easier for me
<freemangordon> sicelo: not at a glance (obvious issues)
<sicelo> cool. thanks
<arno11> ok but not easy from my n900 (and again the baby...)
<freemangordon> ok, I'll build it
<sicelo> arno11: let me see if i have the one you sent me
<arno11> sicelo: i think i sent you the deb file iirc
<arno11> cool thx
<sicelo> this is my friend's domain and vps ... i'm abusing ... /me hides
<arno11> :)
<freemangordon> HTTP request sent, awaiting response... 403 Forbidden
<freemangordon> :)
<freemangordon> check file permissions
<sicelo> try now
<freemangordon> now it is ok
neimsaci has quit [Quit: WeeChat 4.0.4]
uvos has joined #maemo-leste
maxwelld has left #maemo-leste [#maemo-leste]
<uvos> https://uvos.xyz/llama270b.txt <--- lol 70b llama2 knows about leste, is a bit out of date however
<uvos> pretty interesting how mutch information on niche topics its able to absorb
<uvos> in just some 40 gb of wights (quantized)
akossh has quit [Quit: Leaving.]
<freemangordon> arno11: does not crash here
<freemangordon> what profile do you use?
<freemangordon> and I am able to control my toshiba TV
<freemangordon> hmm, ok, it oopsed :)
<arno11> :)
arno11 has left #maemo-leste [#maemo-leste]
maxwelld has joined #maemo-leste
ahmed_sam has quit [Read error: Connection reset by peer]
<freemangordon> tmlind: any idea https://pastebin.com/WPAruC7C?
<freemangordon> seems pwm_apply_state() cannot be called from atomic context
norayr has joined #maemo-leste
uvos__ has quit [Read error: Connection reset by peer]
maemish_ has quit [Quit: Connection closed for inactivity]