_inky has quit [Ping timeout: 268 seconds]
_inky has joined #maemo-leste
ikmaak2 has quit [Ping timeout: 240 seconds]
ikmaak has joined #maemo-leste
Oksanaa has quit [Read error: Connection reset by peer]
Oksanaa has joined #maemo-leste
ikmaak has quit [Quit: No Ping reply in 180 seconds.]
ikmaak has joined #maemo-leste
Pali has quit [Ping timeout: 250 seconds]
joerg is now known as DocScrutinizer
DocScrutinizer has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
macros__ has joined #maemo-leste
macros_ has quit [Ping timeout: 250 seconds]
mardy has joined #maemo-leste
Oksanaa has quit [Remote host closed the connection]
Oksanaa has joined #maemo-leste
<rafael2k> uvos: sphone now shows me: Unable to transmit dial number via ofono
<rafael2k> sphone: comm-ofono: Dialing number: +79096274557
<rafael2k> sphone: comm-ofono: Error: GDBus.Error:org.ofono.Error.InProgress: Operation already in progress
Oksanaa has quit [Remote host closed the connection]
<rafael2k> but it does not seem related to sphone now... something wrong with telephony stuff
<rafael2k> restarted the modem - all goodd
<rafael2k> audio routing is working!
sunshavi has joined #maemo-leste
<rafael2k> also:
<rafael2k> sphone: playback-gstreamer: /usr/share/sounds/Nokia_tune.aac is not a valid file
elastic_dog has quit [Ping timeout: 250 seconds]
<rafael2k> the phone does not ring
<rafael2k> apart of that, all good, sphone is pretty useful! tks!!
macros_ has joined #maemo-leste
elastic_dog has joined #maemo-leste
<rafael2k> btw, I get this when restarting the modem: [50811.084706] udevd[9376]: failed to execute '/lib/udev/gpsd.hotplug' '/lib/udev/gpsd.hotplug': No such file or directory
macros_ has quit [Quit: Konversation terminated!]
<rafael2k> btw, lets please pack: https://github.com/rafael2k/firmware-pine64-ov5640
<rafael2k> for pinephone camera support
macros_ has joined #maemo-leste
sunshavi has quit [Remote host closed the connection]
WunderWungiel has joined #maemo-leste
<rafael2k> just a couple of v4l controls are missing from kernel drivers to have libcamera working
<rafael2k> when I have time I'll implement them in the drivers
<Wizzup> rafael2k: do you want the firmware to be a specific package or merged in with bt or something
<rafael2k> rafael2k: specific package
<rafael2k> just like in all the other distros
<rafael2k> imho
<rafael2k> Wizzup:
sunshavi has joined #maemo-leste
<rafael2k> for the record, these are the v4l missing controls for ov5640: 0x009e0902 and 0x009e0901
<rafael2k> and for gc2145: 0x009e0902, 0x009f0902 and 0x009e0901
<rafael2k> need to grep the headers to get their proper name
<rafael2k> with these we can have libcamera up and running
<rafael2k> for both front and back cameras in the pp
<rafael2k> (and all the goodies of having a gstreamer source element)
<Wizzup> ok
<rafael2k> indeed, today I manage to take the first picture in Maemo
inky_ has joined #maemo-leste
<rafael2k> with both front and back cameras
<rafael2k> but using MegaPixels
<rafael2k> *my first pictures in maemo with the pp
<rafael2k> : )
_inky has quit [Ping timeout: 260 seconds]
<Wizzup> cool!
inky has quit [Ping timeout: 240 seconds]
<rafael2k> Megapixels implementation is clean C code, I like, but is a bit too hardcoded for pinephone devices afaiu
<rafael2k> and gtk4 too... does not compile in current Maemo
<Wizzup> do we need to support gtk4 at this point?
<rafael2k> no no, I like the libcamera way... I'm using Megapixels just before we have maemo's camera-ui forward ported
WunderWungiel has quit [Quit: Leaving]
Twig has joined #maemo-leste
<Wizzup> ok, no strong opinion on what our camera uit looks like imho, but check
<rafael2k> me neither... but in case we need gtk4, would it be bad to add its package in the repo?
<rafael2k> as a stop-gap for people who wants to take pictures right now
<rafael2k> (before a maemonized camera-ui with libcamera get in place)
<Wizzup> probably quite some work to make it build and all integrated
<Wizzup> but yes, possible I suppose
<Wizzup> and it'd lack any theming
<rafael2k> too much work I think... this will come when maemo moves to chimaera...
<rafael2k> I think I'll just strip the gtk4 parts of MegaPixels and make a cmd line UI for it
<rafael2k> : )
<Wizzup> ok
<bencoh> isn't there a libcamera commandline client of some sort already?
<rafael2k> yes
<rafael2k> but kernel drivers still misses some v4l controls
<rafael2k> need to spend some time, it not quite ready as I thought
<humpelstilzchen[> what is missing?
<rafael2k> <rafael2k> for the record, these are the v4l missing controls for ov5640: 0x009e0902 and 0x009e0901
<rafael2k> <rafael2k> and for gc2145: 0x009e0902, 0x009f0902 and 0x009e0901
<rafael2k> some patches flying around here: https://github.com/kbingham/libcamera/issues/28
_inky has joined #maemo-leste
<rafael2k> bencoh: not only a cmd line, but also a qt interface and gstreamer plugins : )
<rafael2k> holy shit
<rafael2k> my keyboard started working again
<humpelstilzchen[> gut got the smoke back into?
<rafael2k> the only different is the kernel with new patches supporting it
<rafael2k> but I did not connect it to the socket yet
<rafael2k> not pressed its button
<humpelstilzchen[> I wouldn't, also better check the battery
<humpelstilzchen[> Probably best is also to isolate the power line
<rafael2k> may be just use it as keyboard and forget about the battery... the smoke some days ago cant be something good
<rafael2k> good idea
<rafael2k> [ 11.446414] kb151 2-0015: Charger read failed - MCU returned 0xff
<rafael2k> after pressing the kbd button, I get: [ 1030.912480] kb151 2-0015: Charger is initialized
<rafael2k> and I see in maemo the battery charging
<rafael2k> hum
<bencoh> uhuh
<bencoh> sounds reliable :*
<rafael2k> :P
<humpelstilzchen[> uh wow, I wonder what burned then
<humpelstilzchen[> > [ 11.446414] kb151 2-0015: Charger read failed - MCU returned 0xff
<humpelstilzchen[> Afaik thats normal
<humpelstilzchen[> the button is to wake the IC up
<rafael2k> right, just realized that
<humpelstilzchen[> in fact, I could just reproduce that on a non-smoking device
<rafael2k> indeed, I can read voltages now, status and so on at /sys/class/power_supply/ip5xxx-charger/*
<rafael2k> I'm just not very excited of connecting it to a socket
<humpelstilzchen[> oh, so we have a kernel driver now, nice
<rafael2k> : )
<bencoh> could be a faulty cable (a short resulting in plastic smoking from overheat)
<rafael2k> bencoh: indeed!
Oksanaa has joined #maemo-leste
<Wizzup> oh I need to build kernel for stable
<Wizzup> (pine)
<Wizzup> started it
<Wizzup> rafael2k: so your keyboard works again?
Pali has joined #maemo-leste
inky_ has quit [Ping timeout: 240 seconds]
<rafael2k> Wizzup: YES!
<rafael2k> : ))
<uvos> rafael2k: we dont ship any ringtones atm
<uvos> rafael2k: you have to set some file you proivde yourself as a ringtone
<uvos> rafael2k: in settings->profiles
_inky has quit [Ping timeout: 240 seconds]
_inky has joined #maemo-leste
<Wizzup> should we just package/import the nokia ringtones?
<uvos> using the nokia tune is asking for someone to check if they have rights to this
<uvos> since its so well known
<Wizzup> well, we do
<Wizzup> but we can ask maemo orga as well
<Wizzup> they had a meeting last night so we might be able to ask them some of these questions
<uvos> probubly not worth it over a tune we dont want to use anyhow
<uvos> (we want our won idenity)
<uvos> *own identity
<Wizzup> mhm
<uvos> but we should package some ringtones
<uvos> the model 500 sample from sphone is fine
<uvos> but we need a sms/notification ring tone
<uvos> i had to delete the sphone one as we dident have rights to it (it was a recording of the ringer of a samsung feature phone)
<uvos> then in addition we can package the android ringtones, as they have clear licences (apache), obv they arnt usefull as defaults.
pere has quit [Ping timeout: 250 seconds]
<Wizzup> rafael2k: ok, kernel is in stable
<Wizzup> uvos: right
_inky has quit [Ping timeout: 256 seconds]
Oksanaa has quit [Ping timeout: 250 seconds]
_inky has joined #maemo-leste
uvos has quit [Ping timeout: 240 seconds]
<Wizzup> freemangordon: building your him changes for stable
<rafael2k> Wizzup: yay!
<rafael2k> rafael2k: so why sphone try to play a ringtone which is not package?
<rafael2k> it is nice for nostalgia reasons
<rafael2k> lets pack all the tones
<rafael2k> do we have a package somewhere?
<rafael2k> also for camera-ui, there are lots of hardcoded paths for the tones, which can just be considered public domain, as small sound notes can't be propriety of anybody
<rafael2k> I doubt any big tech would bother for a corner case use like ours, it is not even worth the salary of the lawyers
<Wizzup> camera-ui is foss?
<rafael2k> yes
<Wizzup> check, I didn't even look :)
<rafael2k> This program is free software; you can redistribute....
<rafael2k> btw, this qt webbrowser is wonderful
<rafael2k> the only only my daugher can watch youtube without hassle
<rafael2k> but the vkb keeps showing up...
<Wizzup> hm, maybe check with uvos on that one
<rafael2k> will connect my bt mouse in the pp
<rafael2k> the battery still did not end!
<rafael2k> : ))
<Wizzup> glad to hear it works
<rafael2k> lets see... I had not connected it to the psu yet
<rafael2k> still afraid
<Wizzup> yeah..
pere has joined #maemo-leste
<rafael2k> my first youtube video in the pp
<rafael2k> finally working on realtime and in sync with qt web browser
<rafael2k> a couple of other pics
<rafael2k> qt webbrowser playing 15min of video already in youtube, flawless
<rafael2k> pavucontrol crashes X when clicking ramdonly
<rafael2k> :/
<rafael2k> <- I'm happy finally with my new Jornada 710 / N900 - like subnotebook!
<rafael2k> tablet pc, whatever we call, with the bonus of 4G
<rafael2k> : )
<Wizzup> nice @ video screenshot
<rafael2k> my daughter complaining the video was too loud... eheheheh
macros_ has quit [Ping timeout: 240 seconds]
<freemangordon> :)
<freemangordon> Wizzup: great
<freemangordon> so, what is the PP state now in regards to repos - do we have everyhting needed?
uvos has joined #maemo-leste
<uvos> mce and ke-recv assume that the "slide" is "closed" when no keyboard slide key exists is attached
<uvos> there is currently no provision for a device with a keyboard that cant be retracted
<uvos> so yeah the vkb shows because it thinks its needed
<uvos> btw hardware accleration in qwebengine is currently broken on pp for no reason
<rafael2k> can we hardcode this if the pp is with the keyboard attached (checking for hardware kbd is easy)?
<uvos> it hardcodes xcb and wl as the only platform plugins where it tries to use accelrataion
<rafael2k> but video plays nicelly, much smother than in ff or chromium
<freemangordon> uvos: hmm, maemo is xcb based
<uvos> sure, but not hardcode, mce needs assume extended if input devices covering all qwerty keycodes are present but not a slide switch
<rafael2k> right
<uvos> but someone told me that the pp hwkbd dosent remove itself in evdev
<uvos> when its removed
<uvos> that needs to befixed
<uvos> freemangordon: but its not the platform plugin XCB
<uvos> it checks for the plugin called xcb specifcily
<rafael2k> it does
<uvos> we need to complain to upstream, its stupid
<rafael2k> but I can double check this
<rafael2k> uvos: but you can not remove the keyboard with the phone on anyway... so this is a no-issue
<freemangordon> ok, seems I am stupid too. WTF I have to do do get some sound out of my PP?!?
<uvos> freemangordon: update? rafael2k broke it for a while
<rafael2k> freemangordon: pactl set-default-sink 1
<freemangordon> just did that
<freemangordon> ah
<rafael2k> set-default-sink 1
<rafael2k> to /etc/pulse/default.pa
<freemangordon> yeah, that fixed it
<uvos> so .. why is that not in leste config
<rafael2k> also add:
<rafael2k> load-module module-switch-on-port-available
<uvos> right thats also needed for mapphones
<uvos> (all devices really)
<freemangordon> we have some .d directories, can we use those?
<rafael2k> that is the issue...
<freemangordon> WTYM?
<rafael2k> no .d
<rafael2k> not that me and Wizzup knows at least
<rafael2k> :P
<freemangordon> well, I see client.d and daemon.d, what are those for?
<uvos> daemon.conf
<uvos> this is different than default.d
<freemangordon> default.d is not processed?
<uvos> the problem here (i think) is that we are running it system wide
<uvos> freemangordon: afaik no
<uvos> we should not be running it system wide
<uvos> mainly
<uvos> i gues we can work around this
<uvos> using deamon.d
<uvos> with default-script-file= drective
<uvos> and mapphone.pa pinephone.pa etc
<Wizzup> freemangordon: uvos: this does not work
<uvos> ok
<uvos> why not?
<Wizzup> I chased this down, these are different args
<Wizzup> we load system.pa
<Wizzup> and we can include more files from there
<Wizzup> e.g.
<Wizzup> ### Allow including a system.pa.d directory, which if present, can be used
<Wizzup> .nofail
<Wizzup> ### for additional configuration snippets.
<Wizzup> .include /etc/pulse/system.pa.d
<Wizzup> but this file (system.pa) is owned by pulse, not us
<Wizzup> and it doesn't include the include statement (doh)
<Wizzup> daemon.conf and clinent.conf afaik don't work for includes
<uvos> sure
<Wizzup> hm, I suppose a default script file might work
<uvos> but default-script-file= pointing to a different file should work no
<freemangordon> I got lost
<Wizzup> uvos: not really different from diverting the whole system.pa but yeah
<uvos> and then every device can have thair own
<uvos> well it needs no files we dont own
<freemangordon> uvos: no, we rather have a default that has .include
<uvos> becasue we can add a deamon.d file
<uvos> freemangordon: cant do it without forking the package
<uvos> i dont want to fork the package
<freemangordon> why not?
<Wizzup> we can divert files
<Wizzup> (from pulse)
<uvos> its work
<Wizzup> but also we can include files from pulse
<freemangordon> ok, wait, whoi starts pulse?
<freemangordon> *who
<Wizzup> init script
<uvos> this is bad too
<freemangordon> which is provided by whom?
<uvos> we should have it dbus activated
<uvos> us
<uvos> but thats not relevant
<Wizzup> no no no, it runs in system mode
<freemangordon> what it the issue then?
<uvos> Wizzup: sure but thats _bad_
<freemangordon> please, lemme explain
<Wizzup> I suppose we can set it in the init script
<freemangordon> if init script is provided by us, we can pass different default.pa in cmd line. this default.pa will be provided by us
<freemangordon> and will include .include statement to use .d directory
<uvos> sure thats no different than setting default.pa in deamon.d
<freemangordon> and we put devices specific stuff in that .d directory
<uvos> (the path to default.pa)
<freemangordon> ok
<freemangordon> som I don;t really understand the issue is OOB setup allows us to use different default.pa
<freemangordon> *if OOB
<uvos> except the init script method is more messy, since you have to have all the default.pas called the same
<uvos> with the deamon.d method you can give descriptive names
<freemangordon> uvos: do we need to change from system mode to use daemon.d?
<uvos> no
<uvos> but it confers other beneifts
<uvos> its not relevant in this case
<freemangordon> ok, I am lost again :)
<freemangordon> do we have an issue or not?
<uvos> no probubly
<freemangordon> good
<uvos> the deamon.d method just has to be tried
<freemangordon> Wizzup said it does not work
<uvos> no that was something else
<freemangordon> ah, ok
<freemangordon> Wizzup: daemon.d or daemon.conf.d?
<freemangordon> oops
<freemangordon> uvos: ^^^
<uvos> man pulse-daemon.conf:
<uvos> /etc/pulse/daemon.conf.d/*.conf
<uvos> PATHS:
<uvos> default-script-file=
<uvos> The default configuration script file to load. Specify an empty string for not loading a default script file. The default behaviour is to load ~/.config/pulse/default.pa
<freemangordon> yeah
<uvos> no so no problem
<uvos> just have /etc/pulse/daemon.conf.d/mapphone.conf point to /etc/pulse/mapphone.pa
<uvos> etc
<freemangordon> uvos: hmm, "This startup script is used only if PulseAudio is started per-user"
<freemangordon> default.pa that is
<freemangordon> so, it seems we use system.pa as Wizzup said
<uvos> freemangordon: sure but how i read this just changes the default
<uvos> freemangordon: not the baviro of the config option if set
<uvos> *behavior
<freemangordon> lemme check something
<uvos> also the man file is wrong
<uvos> since i changed default.pa and it changed behavior
<uvos> (and we are running system mode)
<freemangordon> I get the comment from the script itsewlf
<uvos> ok main file explains the same thing
<uvos> *man
<freemangordon> I still think it is more clear to have our own system.leste.pa that incluides original system.pa and .includes system.pa.d
<uvos> i dissagree, but i mean its not a big deal either way
macros_ has joined #maemo-leste
<freemangordon> uvos: that way we don;t need to fork
<uvos> i know
<uvos> but i would like to avoid having random packages divert files of others
<freemangordon> me too
<freemangordon> that's why my proposal
<freemangordon> it is us that provide the init script
<uvos> oh you want to use the init scipt
<freemangordon> yes
<uvos> either variant is fine
<uvos> with me
<Wizzup> uvos freemangordon can you test if this daemon.d thing works
<freemangordon> sure, what you want me to do?
<freemangordon> create daemon.d directlry or what?
<uvos> daemon.conf.d
<freemangordon> it is already there
<freemangordon> and we have 89-pinephone.conf.leste in it
<freemangordon> and 89-pinephone.conf
<freemangordon> do you want me to create some .pa file in it?
<freemangordon> ah, I think I get it, lemme try
Twig has quit [Ping timeout: 256 seconds]
macros_ has quit [Ping timeout: 250 seconds]
<freemangordon> getting there :) :
<freemangordon> pulsecore/cli-command.c:2041:pa_cli_command_execute_line_stateful:stat('default.pa'): No such file or directory
<freemangordon> yep, seems to work
<freemangordon> lemme reboot to be sure
<freemangordon> YAY! charging sound on startup
<freemangordon> root@devuan-pinephone:/etc/pulse/daemon.conf.d# cat 00-leste.conf
<freemangordon> default-script-file=/etc/pulse/leste.pa
<freemangordon> root@devuan-pinephone:/etc/pulse# cat leste.pa
<freemangordon> .include /etc/pulse/default.pa
<freemangordon> .include /etc/pulse/leste.pa.d
<freemangordon> .nofail
<freemangordon> root@devuan-pinephone:/etc/pulse/leste.pa.d# cat 00-default.pa
<freemangordon> set-default-sink 1
<freemangordon> load-module module-switch-on-port-available
<freemangordon> uvos: Wizzup: ^^^
<Wizzup> that sounds good
<Wizzup> I had some trouble with the include calls earlier when I tried it, so please check if it works on d4 or so as well
<freemangordon> at least on PP this seems to give sound on reboot
<Wizzup> well if you test on pp this is ok
<Wizzup> ok
<Wizzup> I need to go afk for a while
<freemangordon> and this is stock PP, I have modified nothing
<freemangordon> me too
<Wizzup> ok
<freemangordon> brb, dinner
_inky has quit [Ping timeout: 252 seconds]
<uvos> that sounds good
<uvos> but lets have a 00-default.pa with just "load-module module-switch-on-port-available"
<uvos> in leste-config-common
<uvos> since all devices need that
<uvos> and then 20-pinephone.pa with set-default-sink 1
<freemangordon> yeah, sure, this was just a POC
<uvos> right
_inky has joined #maemo-leste
rafael2k has quit [Ping timeout: 240 seconds]
Oksanaa has joined #maemo-leste
_inky has quit [Ping timeout: 250 seconds]
rafael2k has joined #maemo-leste
Oksanaa has quit [Ping timeout: 252 seconds]
_inky has joined #maemo-leste
mardy has quit [Quit: WeeChat 2.8]
Oksanaa has joined #maemo-leste
macros_ has joined #maemo-leste
pere has quit [Ping timeout: 245 seconds]
macros_ has quit [Ping timeout: 240 seconds]