belcher_ has joined #maemo-leste
belcher has quit [Ping timeout: 255 seconds]
sunshavi_ has joined #maemo-leste
sunshavi has quit [Ping timeout: 252 seconds]
stano_ has joined #maemo-leste
stano has quit [Ping timeout: 265 seconds]
cockroach has quit [Quit: leaving]
diejuse has quit [Quit: Leaving.]
<tmlind> Wizzup: oh cool, you got it booting :) looks like aes2 is not accessible on those devices, try setting:
<tmlind> &aes2_target {
<tmlind> status = "disabled";
<tmlind> };
rafael2k has quit [Ping timeout: 252 seconds]
joerg is now known as Guest9352
Guest9352 has quit [Killed (silver.libera.chat (Nickname regained by services))]
joerg has joined #maemo-leste
sixkxbeh has joined #maemo-leste
sixkxbeh has quit [Remote host closed the connection]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 276 seconds]
inky_ has quit [Read error: Connection reset by peer]
<Wizzup> tmlind: thanks, will do
<Wizzup> tmlind: INIT: version 2.93 booting
<Wizzup> :-)
<Wizzup> waiting for a bit got me to inittab
<Wizzup> er, serial
<Wizzup> (tty)
<Wizzup> wireless seems to work
<Wizzup> usbnet works
<Wizzup> display not working mihgt relate to this, perhaps?
<Wizzup> Jul 23 09:28:49 localhost kernel: [ 3.340942] abe_cm:clk:0028:0: failed to enable
<Wizzup> Jul 23 09:28:49 localhost kernel: [ 3.340942] ti-sysc: probe of 4012208c.target-module failed with error -16
<Wizzup> Jul 23 09:28:49 localhost kernel: [ 3.363189] clk: failed to reparent abe_cm:clk:0060:24 to sys_clkin_ck: -22
<Wizzup> later on also:
<Wizzup> Jul 23 09:28:49 localhost kernel: [ 7.583190] abe_cm:clk:0030:0: failed to enable
<Wizzup> Jul 23 09:28:49 localhost kernel: [ 7.827301] lm75: probe of 0-0048 failed with error -121
rafael2k has joined #maemo-leste
Pali has joined #maemo-leste
rafael2k has quit [Ping timeout: 256 seconds]
uvos has joined #maemo-leste
<uvos> Wizzup: sweet looks like mosty everything works :)
<uvos> i would not worry about the omap_vc_calc_vsel: voltage not supported by pmic: 1375000 vs max 1350000 i had that on bionic too its just the bootloader starting the device with higher voltage than d4/bionic and so higher than the kernel expects moto likely gained confidence in the silicon over time and reduced the voltage in stepps
<uvos> i have no idea on the dsi, really
<uvos> other than to, again, compear the stock kernel between d3 and bionic
<Wizzup> ok
<tmlind> Wizzup: great, you need to look at the dtb blob and get the timing values for the panel and figure out if it's a dsi command mode panel or a regular dsi panel
<tmlind> the motorola dtb is non-standard endian, just look at it with a hex editor and compare to droid4 and bionic
<tmlind> the property to look at is probably named Display@0
stano_ has quit [Ping timeout: 265 seconds]
<tmlind> hmm actually it's easier to get the info from the stock kernel dmesg
<tmlind> and then you need to configure the backlight controller
stano_ has joined #maemo-leste
stano__ has joined #maemo-leste
<tmlind> maybe post the stock kernel dmesg output somewhere to look at?
<tmlind> bbl
stano has joined #maemo-leste
inky_ has joined #maemo-leste
<Wizzup> tmlind: ok, ty
<Wizzup> will do
diejuse has joined #maemo-leste
rafael2k has joined #maemo-leste
<Wizzup> tmlind: here is dmesg https://pastebin.com/raw/3fvEQ1fP
<Wizzup> that is dmesg from safestrap
stano has quit [Quit: leaving]
stano__ has quit [Quit: leaving]
<uvos> hmm
<uvos> its missing board_panel
<uvos> could you do from android
<uvos> Wizzup: also it looks like backing off 2mb is not nessecary on d3
<uvos> oh its just formated different on the older kernel
<uvos> <6>[ 1.768554] DT: x_res=540 y_res=960 phy_w_mm=50 phy_h_mm=89
<uvos> <6>[ 1.768585] DT: hfp=0 hsw=2 hbp=2 vfp=0 vsw=1 vbp=1
<uvos> <6>[ 1.768585] DT: clk_lane=1 clk_pos=1 d1_lane=2 d1_pos=1
<uvos> <6>[ 1.768585] DT: d2_lane= 3 d2_pos= 1 xfer_mode= 0
<uvos> <6>[ 1.768615] DT: panel_id=0x90004
<uvos> <6>[ 1.768615] DT: regn=13 regm=230 regm3=7 regm4=7 lp_clk_div=8 lck_div=1 pck_div=4
<uvos> <6>[ 1.778472] Mapphone panel: controller supplier id(A1h)=0x10b
<uvos> <6>[ 1.778503] Mapphone panel: panel manufacturer ID (DAh)=0x1
<uvos> <6>[ 1.778533] Mapphone panel: controller version (DBh)=0x1
<uvos> <6>[ 1.778594] Mapphone panel: controller driver ID(DCh)=0x2
<uvos> looks the same as d4
<uvos> which makes sense
<uvos> the pannel has the same part number printed on it
<uvos> ah no its subtaly different
<uvos> clk_pos=0 vs clk_pos=1
<uvos> timeings (back front portch etc) are the same
<uvos> not sure what clk_pos is
<uvos> datasheet time i gues
jesster1234_ is now known as jesster1234
<Wizzup> uvos: still need it from android?
<uvos> Wizzup: no
<Wizzup> ok
<uvos> has something to do with port {} in dts i gues
<uvos> clk_lane and d1 lane and so on are different
<uvos> so the lcd is the same lcd
<uvos> connected to different pins
<Wizzup> same panel id?
<uvos> iiuc
<uvos> yeah that too
<uvos> bu also same timeings etc
<uvos> should not be to hard to figure out how to set it by reading the dts binding documentation and omap datasheet
<uvos> but maybe tmlind just knows
<Wizzup> hm, where do the bionic lcd panel timings come from, also motorola-mapphone-common.dsti?
<uvos> yeah its dsi1
<uvos> in that file
<uvos> the part we are worryed about is port {
<uvos> the stuff in lcd0: panel@0 { looks like its the same between d4 and d3
<Wizzup> ok
<uvos> at least if im reading this correctly
<Wizzup> recommendation for hex editor? I usually use xxd
<uvos> i use okteta
<uvos> but i mean any should do
<Wizzup> this is the stock dtb: https://wizzup.org/d3_device_tree.bin
<uvos> can you still boot 3.0 ?
<uvos> the 2.6 kernel dosent print some stuff
<uvos> like dsi_vc_cmd
<uvos> wich i assume tells us if the fw of the lcd is configured for video mode or not
<Wizzup> ok, yeah, I can install safestrap 3.x in a bit
<Wizzup> xxd doesn't make much sense of that device tree as is
<uvos> the data for the display is at 0x250
<uvos> but dont ask me how to interpret it
<Wizzup> Let me see if I can pull in okteta without the entirety of kde
alex1216 has joined #maemo-leste
<Wizzup> (nope)
<uvos> bless then?
<Wizzup> trying wxhexeditor atm
<Wizzup> lol it writes "Rahman ve Rahim olan Allah'ın adıyla." on exit
<Wizzup> ok
alex1216 has quit [Ping timeout: 272 seconds]
Kabouik_ is now known as Kabouik
uvos has quit [Read error: Connection reset by peer]
elastic_dog has quit [Ping timeout: 255 seconds]
inky_ has quit [Ping timeout: 258 seconds]
diejuse has quit [Quit: Leaving.]
<Wizzup> yeah so it looks like the dtc opcodes are the opposite endianness, but the strings are not, obviously
elastic_dog has joined #maemo-leste
uvos has joined #maemo-leste
<uvos> hi
<uvos> Wizzup: did you get anywhere in my absense
<uvos> i dont think you accutally need to decompile the dtb
<uvos> you just have to figure out how d1_pos .. dn_pos mapps to mainline dts
<Wizzup> uvos: I'm having trouble reading the dtb properly, did you see the one I uplodaed?
<uvos> sure but that would not help us that much anyhow
<uvos> it contains the same info
<uvos> and then we still dont know how the bindings work for mainline
<Wizzup> ok
<uvos> just look at the mainline dts binding doucmentation
<Wizzup> let me make a coffee first
<Wizzup> btw, it would still be good see if we can find the dts patch somewhere
<uvos> i suspect d1...d5 that is the only difference between d4 and d3 corrisponds to lanes = <0 1 2 3 4 5>;
<uvos> somehow
<Wizzup> there might be more devices where we want this
<uvos> but thats just my guess
<Wizzup> uvos: yeah I also saw the lanes in dmesg
inky_ has joined #maemo-leste
<uvos> Wizzup: sure @patch
<uvos> i want to do xt910 at some point
<uvos> so yeah
joerg has quit [Read error: Connection reset by peer]
joerg has joined #maemo-leste
<uvos> the lcd data lines are liekly connected differently due to board space conciderations. for the the d3 they where still saveing space by haveing the kayboard and sensors on own super thin flex pcbs, while the d4 is a cost reduced design where there is only 1 pcb with everything. as a side effect they had more space for routing traces
<uvos> thats also why the d4 is so mutch thicker than d1-3
<Wizzup> mhm
<Wizzup> uvos: so you're asking what the lanes = < ... > are exactly, and would like me to see if I can find that in the device-tree doc ?
<uvos> yeah
<Wizzup> grepping for lanes should indeed different orders (say in 950 dts)
<Wizzup> not quite sure where I can find the dsi port/lanes info yet (grepping my way around Documentation/device-tree)
<Wizzup> it looks like the panel doc is display/panel/panel-dsi-cm.yaml - but it doesn't mention the port
<Wizzup> maybe ./display/ti/ti,omap4-dss.txt ?
<Wizzup> DSI Endpoint required properties:
<Wizzup> - lanes: list of pin numbers for the DSI lanes: CLK+, CLK-, DATA0+, DATA0-, DATA1+, DATA1-, ...
<Wizzup> uvos: ^^ ?
<Wizzup> uvos: I mean assuming that clk_lane = 1 means that the clock is the first, then data0, then data1 the regular order might make sense?
<Wizzup> not sure what the '*_pos=1' means
<uvos> Wizzup: clk_lane on d4 i s0
<uvos> *Wizzup: clk_lane on d4 is 0
<Wizzup> as opposed to 1, you mean?
<uvos> yeah
<uvos> sec
<Wizzup> the thing is that the <lanes> mentions pos and neg
<Wizzup> but the dmesg talks about 3 lanes only
<uvos> so dose dmseg
<uvos> clk_pos is clk+
<Wizzup> so I figured the _pos=1 means os comes first or something
<Wizzup> <6>[ 1.768585] DT: clk_lane=1 clk_pos=1 d1_lane=2 d1_pos=1
<Wizzup> <6>[ 1.768585] DT: d2_lane= 3 d2_pos= 1 xfer_mode= 0
<uvos> and lane is clk -
<uvos> but the number is the same
<uvos> so thats wierd
<Wizzup> I think all the _pos=1
<uvos> let me boot los on d4 again sec
<uvos> maybe that means +1
<uvos> but no ida
<uvos> idea
<Wizzup> yes, it could be either :p
<uvos> [ 0.201080,0] board_panel: DT: phy.dsi: data1_lane=2 data1_pol=0
<uvos> [ 0.201110,0] board_panel: DT: phy.dsi: data2_lane=3 data2_pol=0
<uvos> [ 5.275909,0] DT: clk_lane=1 clk_pos=0 d1_lane=2 d1_pos=0 d2_lane=3 d2_pos=0
<uvos> [ 5.276062,0] DT: d3_lane=0 d3_pos=0 d4_lane=0 d4_pos=0
<uvos> [ 5.276153,0] DT: panel_id=0x90004 type= 0
<uvos> so for starters d1_lane is 2
<uvos> but then it dosent make any sense
<uvos> since d4 and and d3 is 0
<uvos> so it cant mapp to data0+-/data1+- in any sane way
<uvos> here is d4's entier print on the lcd for referance:
<uvos> [ 0.201049,0] board_panel: DT: width= 540 height= 960
<uvos> [ 0.201049,0] board_panel: DT: hfp=0 hsw=2 hbp=2 vfp=0 vsw=1 vbp=1
<uvos> [ 0.201080,0] board_panel: DT: gpio_reset=101 panel_id=0x90004
<uvos> [ 0.201080,0] board_panel: DT: phy.dsi: pixel_size=24 te_scan_line=300
<uvos> [ 0.201080,0] board_panel: DT: phy.dsi: data1_lane=2 data1_pol=0
<uvos> [ 0.201110,0] board_panel: DT: phy.dsi: data2_lane=3 data2_pol=0
<uvos> [ 0.201110,0] board_panel: DT: clocks.dsi : regn=13 regm=230
<uvos> [ 0.201110,0] board_panel: DT: clocks.dsi : regm3=6 regm4=6
<uvos> [ 0.201141,0] board_panel: DT: clocks.dsi : lp_clk_div=9, lck_div=1, pck_div=4
<uvos> [ 0.201141,0] board_panel: DT: phy.dsi.type=0
<Wizzup> _pos here are all 0 instead of 1, it looks like
<uvos> [ 5.275634,0] DSI: dsi_vc_cmd = 0, dsi_vc_video = 1
<uvos> [ 5.275695,0] DT: x_res=540 y_res=960 phy_w_mm=50 phy_h_mm=89
<uvos> [ 5.275848,0] DT: hfp=0 hsw=2 hbp=2 vfp=0 vsw=1 vbp=1
<uvos> [ 5.275909,0] DT: clk_lane=1 clk_pos=0 d1_lane=2 d1_pos=0 d2_lane=3 d2_pos=0
<uvos> [ 5.276062,0] DT: d3_lane=0 d3_pos=0 d4_lane=0 d4_pos=0
<uvos> [ 5.276153,0] DT: panel_id=0x90004 type= 0
<uvos> [ 5.276275,0] DT: regn=13 regm=230 regm3=6 regm4=6 lp_clk_div=9 lck_div=1 pck_div=4
<uvos> [ 5.276367,0] DT: te_support=1, te_type=0
<uvos> [ 5.276489,0] DT: number of power supplies=1
<uvos> [ 5.276580,0] DT: Supply #0, reg name=sw5, gpio=96, gpio_en_val=1
<uvos> [ 5.295471,0] Mapphone panel: controller supplier id(A1h)=0x10b
<uvos> [ 5.295562,0] Mapphone panel: panel manufacturer ID (DAh)=0x1
<uvos> [ 5.295745,0] Mapphone panel: controller version (DBh)=0x1
<uvos> [ 5.295837,0] Mapphone panel: controller driver ID(DCh)=0x2
<uvos> yeah
<Wizzup> so maybe something like <1 0 3 2 5 4> could work?
<uvos> maybe
<Wizzup> (assuming pos just means if it comes first or not)
<uvos> its clear that clk_lane and d*_lane corrispond to the CLK+, CLK-, DATA0+, DATA0-, DATA1+, DATA1- somehow
<Wizzup> kernel driver could maybe tell us
<uvos> but yeah
<uvos> Wizzup: wich one?
<Wizzup> so pos is the polarity?
<Wizzup> (data1_pol)
<uvos> that makes sense yeah
<Wizzup> what confuses me here a bit is how one could have clk+ ,data0-, etc in this schema
<uvos> but to flip the polarity fliping data*+ and data*- in mainline kernel should work
<Wizzup> maybe nobody does it for some EE reason
<Wizzup> uvos: yes
<uvos> so flip every 2 values where pol is different from d4 and try it?
<Wizzup> well, that is everywhere, no?
<Wizzup> (if I read correctly)
<uvos> looks like
<uvos> yeah
<Wizzup> so that would be:
<Wizzup> 17:31 < Wizzup> so maybe something like <1 0 3 2 5 4> could work?
<uvos> yes
<uvos> brb
Twig has joined #maemo-leste
<Wizzup> uvos: ;-)
<Wizzup> hello powervr
<uvos> dose this mean it worked?
<Wizzup> yes
<Wizzup> touch doens't work
<Wizzup> but pvr works, display work
<Wizzup> s
<uvos> sweet
<uvos> keyboard also dosent work because your using bionic dts :P
<Wizzup> yes
<uvos> i suspect the d3's keyboard matrix is the d4's but with the same mapping for the vol buttons as bionic
<Wizzup> any clue on touch?
<uvos> yeah if the touch coordinates are different enough
<Wizzup> audio works
<uvos> touchscreen buttons might be freaking out
<Wizzup> I think there is just no driver (probe fails)
<uvos> ok
<uvos> then thats not it
<uvos> might be a different chip entirely
<uvos> so do the usual
<uvos> i2cdetect etc
<Wizzup> 'usual' :p
<uvos> the accelerometer should work
<uvos> its the same one as bionic (as oppsed to d4)
<Wizzup> can't tell from tklock :p
<uvos> also we have wl1285c like d4 (as opposed to bionics wl1271) so maserati-callibrate should work
<uvos> touch is Atmel MXT224E
<Wizzup> yeah wifi works
<Wizzup> I need to figure out how to do input/touch
<Wizzup> :p
<uvos> d4 has the same touch chip
<uvos> so thats wierd
<uvos> regulator might be missconfigured
<Wizzup> one sec
<Wizzup> let me log in over usb
<Wizzup> (easier)
<Wizzup> Jul 23 17:45:12 localhost kernel: [ 8.709350] atmel_mxt_ts 1-004a: Family: 129 Variant: 1 Firmware V0.4.30 Objects: 18
<Wizzup> Jul 23 17:45:12 localhost kernel: [ 8.757965] atmel_mxt_ts 1-004a: Direct firmware load for maxtouch.cfg failed with error -2
<Wizzup> Jul 23 17:45:12 localhost kernel: [ 8.822021] atmel_mxt_ts 1-004a: Touchscreen size X1023Y1023
<Wizzup> Jul 23 17:45:12 localhost kernel: [ 8.839111] usbcore: registered new interface driver usbfs
<Wizzup> Jul 23 17:45:12 localhost kernel: [ 8.847015] input: Atmel maXTouch Touchscreen as /devices/platform/44000000.ocp/48000000.interconnect/48000000.interconnect:segment@0/48072000.target-module/48072000.i2c/i2c-1/1-004a/input/input1
<Wizzup> I don't see it in xinput though
<Wizzup> uvos: btw power button works
<uvos> thats cpcap
<uvos> yeah
<uvos> should work
<uvos> so dose evtest show anything
<Wizzup> don't have it, just setting up a wifi hotspot, but need to connect to the wifi somehow
<uvos> because input1 is blacklisted by us via libinput
<Wizzup> oh, I can do usb for network
<Wizzup> why do we blacklist it?
<uvos> or wpa_cli
<uvos> because of ts-buttons
<Wizzup> ok
<uvos> what dose touchscreen-buttons say
<uvos> dose it bind to the atmel driver?
<uvos> touchscreen-buttons mapphone_touchscreen: Binding to device: input1
<uvos> input: Filtered Touchscreen as /devices/platform/mapphone_touchscreen/input/input4
<Wizzup> sec
<Wizzup> ok so evtest shows ts works
<Wizzup> uvos: I don't see any touchscreen-buttons in kern.log I think
<uvos> what kernel are you useing?
<Wizzup> bionic kernel
<uvos> hmm ok
<uvos> so it dosent probe
<uvos> thats wierd
<uvos> for now you can rm /lib/udev/rules.d/85-input-devices.rules.leste
<uvos> to let x use the ts directly
<Wizzup> and reboot I guess
<uvos> udevadm trigger might work
<Wizzup> recall the command?
<uvos> udevadm trigger
<uvos> ?
<Wizzup> it shows in xinput:
<Wizzup> ⎜ ↳ Atmel maXTouch Touchscreen id=8[slave pointer (2)]
<Wizzup> (it didn't before)
<Wizzup> but using it doesn't really seem to work
<Wizzup> well, I mean, it probably needs calibration
<uvos> its rotated 90deg now
<uvos> and uncalibrated
<uvos> but thats not so bad
<uvos> (the calibration part)
<Wizzup> ok, I manually unlocked using dbus
<Wizzup> and yeah it seems rotated
<uvos> just rotate the display back an fourth with the acell
<uvos> (the accel might be in the wrong orientation so rotate the device in varous ways)
<Wizzup> it's in landscape atm, I don't think it rotates based on accelerometer yet
<uvos> hildon-desktop-rotate-touchscreen.sh then
<Wizzup> that did it
<Wizzup> well... :)
<uvos> pictures time :P
<Wizzup> more like video time :p
<Wizzup> keyboard doesn't work yet, but eh
<uvos> that should be trival
<uvos> copy &keypad { from droid4-xt894.dts
<uvos> and add the vol keys from bionic
<uvos> but yeah you have some dts cleaning to do
<uvos> wrt spliting mapphone-common a bit more
<Wizzup> yeah, and making clownboot work or so
<uvos> once you have sane dts
<uvos> that should be easy
<Wizzup> well the magic trick really was tmlind's info and your modules
<uvos> was a team effort
<Wizzup> I'll try to get the keyboard going and make a proper vide
<Wizzup> o
<Wizzup> uvos: shall I try to copy the keypad slide from d4 dts?
<uvos> yeah and add the vol button from bionic
<uvos> the vol button on d4 and xt910 is on cpcap
<uvos> on xt875 its on the matrix
<Wizzup> do you recall (I think you just looked) if the accelerometer is from bionic or d4
<uvos> i strongly suspect it is on d3 too
<uvos> its the bionic one
<uvos> ktxf9
<Wizzup> ok
<uvos> intterupt pin might be elsewhere
<uvos> (if it probes but dosent work)
<Wizzup> so I will take the VOLUMEDOWN from bionic as 3,0
<uvos> yeah
<Wizzup> ok
<uvos> Wizzup: i fwd you a message about the gpios
<uvos> in case you need to parse it from dtb
<Wizzup> regarding key map you mean?
<Wizzup> ok
<uvos> no the the accel intterupt (or any other)
<Wizzup> ok
<Wizzup> right
<uvos> if the accel wont work but the driver probes this is the problem
<Wizzup> ok
<Wizzup> some of the map is slightly different
<Wizzup> (keys)
<uvos> ok
<Wizzup> it has a mic and search key
<uvos> should be easy to fix by watchin MS_SCANN
<Wizzup> where d4 has the SYM
<Wizzup> volume both work
<Wizzup> slide not yet I think
inky has joined #maemo-leste
<uvos> the d3 like all the other non cost reduced droids might have 2 slide keys
<uvos> one for fully closed and one for 3/4 open
<Wizzup> aha
<uvos> so that you dont accidentaly wake the device by popping it slightly in you pocket ;)
<uvos> (somehting i find majorly annoying on d4 btw)
inky_ has quit [Ping timeout: 252 seconds]
<Wizzup> well it did freeze up just now, so there might be some things to iron out ;)
<uvos> you might want to reduce the frequency
<uvos> the d3 was never clocked at 1.2Ghz by moto
<uvos> and i has older revision of the omap4
<uvos> it might not make it
<uvos> then again its the same revision as bionic
<uvos> so idk
inky has quit [Ping timeout: 250 seconds]
<Wizzup> video incoming
yanu has quit [Remote host closed the connection]
yanu has joined #maemo-leste
<stano_> elegantly slim
<stano_> congrats wizzup ✓
<Wizzup> Bus 002 Device 002: ID 22b8:2a70 Motorola PCS modem not visible in ofono yet
<buZz> nice
<uvos> Wizzup trys to type uname twice ... gives up :P
<Wizzup> yeah :-D
<Wizzup> I forgot I had to press sym + v
inky has joined #maemo-leste
<Wizzup> so I put a sim card in my d3 on android and now it locked me out again
<Wizzup> lmao what
<Wizzup> putting it in airplane mode works
<stano_> ftl: vncserver -geometry 959x484 on server gives a full window on droid4's vncvlient
inky has quit [Ping timeout: 250 seconds]
<Wizzup> uvos: ugh this one wants a network unlock code
inky has joined #maemo-leste
sunshavi_ has quit [Read error: Connection reset by peer]
sunshavi_ has joined #maemo-leste
lyubov has quit [Remote host closed the connection]
lyubov has joined #maemo-leste
<Wizzup> hm:
<Wizzup> Jul 23 19:57:10 localhost pulseaudio: modules/alsa/alsa-ucm.c:608:pa_alsa_ucm_query_profiles:Failed to get the verb HiFi
<Wizzup> Jul 23 19:57:10 localhost pulseaudio: modules/alsa/alsa-ucm.c:608:pa_alsa_ucm_query_profiles:Failed to get the verb Voice Call
<Wizzup> Jul 23 19:57:10 localhost pulseaudio: modules/alsa/alsa-ucm.c:616:pa_alsa_ucm_query_profiles:No UCM verb is valid for Mapphone Audio
<stano_> you seem to be the resident pulse/UCM expert :)
<Wizzup> meh
<Wizzup> brain is dead today
<stano_> brain fog can be a sign of diet in need of correction
<stano_> many people are taking far too many complex carbohydrates
<stano_> this droid4 keeps losing ability to wlan, scanning stops working, nothing visible anymore
<stano_> after installing firmware-ti and maserati-calibrate and reboot even
<stano_> and the accesspoing is 90 cm away
<stano_> maybe i'll try without calibration
<uvos> stano_: upgrade
<uvos> stano_: preferably to devel
<uvos> stano_: there where issues with wifi in recent packages
<uvos> stano_: its all fixed tho
<stano_> that's great thanks
<uvos> Wizzup: yeah us d3 is verizon locked afaik
<uvos> Wizzup: should have bought a milestone 3 instead :P
<Wizzup> uvos: annoying, that's an added cost then
<uvos> Wizzup: maybe we can get a milestone 3 and see if we can unlock the d3 by seting the nvmem values like on the m3
<uvos> sadly m3s where sold only in south/central america and asia afaik
<Wizzup> yeah I didn't find any on ebay
<uvos> a eu version was planned but canceld in favor of a eu m4 that never made it before moto died
<Wizzup> uvos: either that or unlocking one and comparing nvmem values?
<uvos> Wizzup: sure if you can
<Wizzup> there's 10+ websites that will give you a proper unlock code (so they claim) for like 10 bucks
<uvos> sound shady not gonna lie
<uvos> maybe if you ask vrz nicely
<uvos> you could try at least
<Wizzup> heh
<Wizzup> I think that's naive, they have a line you can call but you have to be a customer
<Wizzup> it's not a thing here, but in the US it's common I think
<uvos> ok
<Wizzup> I'll probably try it for this one at some point
<uvos> locked phones?
<Wizzup> yes
<uvos> yeah back then in us the cariers dided even allow you to bring your own device
<uvos> it had to be a vrz device
<uvos> and they made contracts with device oems to make the deivces
<uvos> where the picked the soc and sutch even
<uvos> and exclusivity deals
<uvos> thats how moto ended up in this terrible situation where they have 100s of variants fo devices with qualcomm msm tegra 2 and omap4 socs
<uvos> and no resources to support all of them
<uvos> that basicly sunk them
Danct12 has quit [Remote host closed the connection]
<Wizzup> The account holder’s Social Security number or password
<Wizzup> A completed contract and/or device payment plan
<Wizzup> yup
Danct12 has joined #maemo-leste
<uvos> nice :P
<Wizzup> 7 eur
<uvos> luckly we have our resident guinea pig: Wizzup
<uvos> dont forget to dump the nvmem first
<Wizzup> yeah not going to do it yet
<Wizzup> but when I got it booted I did order a few from ebay so now I'm pissed :D
<uvos> lol
<Wizzup> yeah, great stuff :-D
uvos has quit [Remote host closed the connection]
uvos has joined #maemo-leste
<uvos> links even still work
<uvos> looks like thay just flash the m3 raido.img
lyubov has quit [Remote host closed the connection]
lyubov has joined #maemo-leste
<stano_> after update, ssh to droid4 is still responsive even while playing a movie in vncviewer
<tmlind> Wizzup: cool you got it configured :)
<uvos> tmlind: yeah was just the polarty of the data lines
<uvos> the pannel is the same one
<uvos> also looks like radiocomm can sim unlock d3
<uvos> according to xda
<uvos> so its in nvmem for sure
<Wizzup> tmlind: yeah, things to work on, but it's a fun start
<Wizzup> uvos: got a link?
<Wizzup> uvos: the the 'a' didn't work on the keyboard
<Wizzup> that's why I couldn't type uname
<Wizzup> I need to fix the keymap I think
<uvos> Wizzup: in the same thread as posted above
<uvos> Wizzup: thats easy
<uvos> Wizzup: just check scanncodes with evtest
<uvos> and ajust acordingly
StephanvanSchaik has quit [Ping timeout: 252 seconds]
StephanvanSchaik has joined #maemo-leste
<Wizzup> uvos: ah missed it
<Wizzup> (@ link)
<Wizzup> uvos: yeah I wil
<uvos> is parazyd around?
<uvos> we should probubly rethink how we do the repos and leste-config for mapphones
<uvos> the current setup dosent scale that well
<Wizzup> he's more close to me distance wise than usual for sure :p
<uvos> and now we have 3 mapphones soon to be 4 (mz617) and maybe 6 (mz609, xt91x)
<uvos> its wierd that audio works for you
<uvos> but ucm dosent
<uvos> that seams impossible really
<Wizzup> pa does not pick it up
<uvos> wierd
<Wizzup> (sorry, finger food dinner , hard to type :p)
alex1216 has joined #maemo-leste
lyubov has quit [Remote host closed the connection]
lyubov has joined #maemo-leste
<Wizzup> uvos: the card name did match the ucm dir, so I'll debug and figure it out, maybe tomorrow
<Wizzup> downloaded the unlock.zip (with radio.img), glad the mediafire still exists..
inky_ has joined #maemo-leste
<Wizzup> uvos: btw you said the reserved ram isn't necessary right?
<uvos> yeah
<uvos> the stock kernel dosent do it
<uvos> (saw in your dmesg)
<Wizzup> ok
<Wizzup> check
inky has quit [Ping timeout: 268 seconds]
<uvos> we should maybe try and reclaim it on d4 too
<uvos> i dont see a reason for mbm to be mapped to ram all the time
<Wizzup> not first thing on my list but yeah :p
<uvos> and no idea what mb 1023 eve is
<uvos> *even
<uvos> yeah 2mb isent a huge deal on d4
<Wizzup> I am hoping that for everything but browsing ~250MB will be enough for leste
<Wizzup> we'll see how that pans out
<uvos> gona be tight when you start to update toolkits
<Wizzup> gtk3 much worse?
<uvos> yeah the theaming engine
<uvos> same with qt5,6
<uvos> freemantle hovers at 200mb after boot allready
<Wizzup> mhm, we have thumb though, but we'll see
<uvos> i honestly dont see how we can keep the n900 going mutch longer (other than just not updateing leste to new tech)
<Wizzup> just for the record it is 'fremantle' not 'freemantle'
<Wizzup> uvos: yeah this is not about the n900 per se really
<uvos> ~250MB will be enough for leste sounds pretty n900ish to me :P
<Wizzup> it does but I didn't mean it
<uvos> ok
<Wizzup> as in, the d3 is pretty neat too imho
<uvos> well it has 512, i think thats more realistic
<Wizzup> mhm
<Wizzup> I mean, zram on n900 almost gets you there too :P
<sixwheeledbeast> https://en.wikipedia.org/wiki/Fremantle_Doctor Nokia named versions after winds hence choice of https://en.wikipedia.org/wiki/Leste
<Wizzup> yeah
<uvos> yeah its neat
<Wizzup> also I think if the sim unlock works, that means the d3 will work in the us
<uvos> yes
<Wizzup> whereas the d4 does not
<uvos> thats an advatage
<uvos> same as bionic
<Wizzup> +keyboard,-ram
<uvos> yeah
<Wizzup> I'll take it
<uvos> btw with d4 2 tabs open in ff, mpd running and asileriot open i am at 378mb useage (this is just what i had open at the moment)
<uvos> so even browsing should be fine on d3
<Wizzup> mhm, we also have zram there
<stano_> is there a way to see why ssh sessions and pings suddenly go to really slow (20sec - 1 minute) response times?
<uvos> wifi chip is asleap
<Wizzup> stano_: ping from or to device>
<stano_> ping to device. i see pinging using the d4 works just fine
<stano_> so ping -i 5 <ap addr> seems to keep things awake often enough
<Wizzup> try iw dev wlan0 set power_save off
<Wizzup> (iirc that is the syntax)
<stano_> oh ty
<Wizzup> it will increase power usage, but you will not see the slowdowns anymore
alex1216 has quit [Quit: WeeChat 2.3]
<Wizzup> wifi does deep sleeps unless the device transmits, it doens't care much for outside comms (but with enough pings, you can wake it up)
vectis has quit [Ping timeout: 268 seconds]
<Wizzup> there is a checkbox for this in the UI, but it is not yet implemented
Twig has quit [Ping timeout: 265 seconds]
<stano_> that archos 80 with omap3 could run leste too
<stano_> but it'd just be one to add another device to the list. few people have it.
<uvos> stano_: sure anything can run leste, if you put the work into it
<stano_> and the kernel i have is superold
<stano_> yea
<uvos> stano_: with other mapphones its easy since they are all the same
<uvos> stano_: so geting up to date kernel going is pretty trivial
<stano_> not all kinds of weird peripherals?
<stano_> those probably are good targets then
<uvos> not mutch the peripherals and cpcap setup varies only tiny bit
<uvos> ofc we dont really know, some other random mapphone like atrix 2 might have totaly different sensors or something, but its unlikely
<stano_> seeing 2-3.2ms pings arm :) it's so nice
<stano_> *atm
rafael2k has quit [Ping timeout: 252 seconds]
rafael2k has joined #maemo-leste
<Wizzup> uvos: I don't have/drive a car, but if I had I'm definitely try to make it work on some in-car thing
<Wizzup> seems like a decent fit imho
<uvos> Wizzup: the d3?
<Wizzup> nah, leste
<uvos> oh
<Wizzup> I'm not _that_ _delusional_ / hyped :p
<Wizzup> hm only meant that for the second word
<uvos> im confused
<uvos> do you want to run leste on some infotainment system? :P
<uvos> or a car mode app for leste?
<uvos> like android has
<stano_> i think TI got a lot of omaps into car systems
<Wizzup> infotainment yeah, or for directions
<Wizzup> uvos: I mean infotainment but useful yeah
<uvos> Wizzup: ok to be clear you want to run leste on a car build in infotaiment system hardware or write a infotainment application for leste phones/tablets
<Wizzup> uvos: former
<Wizzup> ok, apparently the 'a' key is type 4 (EV_MSC), code 4 (MSC_SCAN), value 3d
<uvos> do you have a particular model in mind?
<Wizzup> car?
<Wizzup> my knowledge of cars is really close to nothing, so no :)
<uvos> well infotainment system
<Wizzup> I also don't drive one
<uvos> the car its install in is secondary
<Wizzup> I don't know, I just know that some cars have like android built in :)
<uvos> this seams a bit random
<uvos> :P
<uvos> but would be cool no doubt
inky has joined #maemo-leste
<uvos> i also dont drive for the record
<Wizzup> uvos: so I have the key codes, how do I actually get it to pass the 'a' key properly
<Wizzup> I just see MATRIX_KEY macros (presumably)
<uvos> 1sec
<uvos> you should get something like: type 4 (EV_MSC), code 4 (MSC_SCAN), value 2f
<uvos> do you not get a value?
<Wizzup> yes, see above
<Wizzup> 22:50 < Wizzup> ok, apparently the 'a' key is type 4 (EV_MSC), code 4 (MSC_SCAN), value 3d
<uvos> oh i missed it somehow
<uvos> ok so its 3, d> in the macro or maybe d, 3> i dont quite remember but the corrispondance was obvious when i was doing this for bionic
<Wizzup> oh, so MATRIX_KEY does not correspond to the matrix on the keyboard or something
<Wizzup> oh, wait, I see
<Wizzup> maybe it's 0x3 and 0xd ?
<uvos> yeah
<uvos> its really obvious
<uvos> just type a key that works
<uvos> and see
<Wizzup> I mean there is no MATRIX_KEY in arch/arm/boot/dts that uses a value above 0x7 i seems
<Wizzup> hm, if I type a key in that works, I won't see the value
<Wizzup> unless I comment it
<uvos> ?
<uvos> you should see all values
<uvos> i can see all of them on d4
<Wizzup> the value will be 0 or 1, depending on if it is pressed
<Wizzup> no?
<uvos> no
<Wizzup> maybe you're using a program other than evtest
<uvos> you get a msc_scann event too
<uvos> no
<Wizzup> hm
<uvos> you get a key event
<uvos> and a scann event
<Wizzup> check
<Wizzup> Event: time 1627073983.311370, type 4 (EV_MSC), code 4 (MSC_SCAN), value 17
<Wizzup> Event: time 1627073983.311370, type 1 (EV_KEY), code 31 (KEY_S), value 1
<uvos> right
<uvos> so now you can reverse engeneer the macro
<uvos> thats how i did it
<Wizzup> MATRIX_KEY(2, 7, KEY_S)
<uvos> ofc you could also read the documentation
<uvos> but thats boring
<Wizzup> :p
<Wizzup> #define MATRIX_KEY(row, col, code) \ ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
<inky> did anyone try pinephone or droid4 with some debian camera program?
<stano_> usb camera?
<inky> is it a name of the program?
<Wizzup> inky: does the droid4 camera work then?
<inky> or you mean if i connected usb camera?
<uvos> inky cameras cant work on d4
<uvos> on pp they might, not sure if we have the relevant patches
<uvos> but its possible at least
<uvos> usb cameras over otg should work ofc
<inky> a right, it's not working. but on pp?
<Wizzup> uvos: funny how it's obvious to you and not at all to me :-D
<inky> camera support is not on wiki for pinephone. (:
<uvos> ^^^ thats bait
<Wizzup> more specifically it's not clear to me how the msc_scan value in any way relates to the row/column that one can pick, which are determined from the row/column gpios
<Wizzup> nope
<uvos> Wizzup: fine ill take a look :P
<uvos> no
<Wizzup> nah, I can look tomorrow as well, I'm just tired now I guess
<Wizzup> defined in omap4-l4.dtsi it looks like
<Wizzup> meanwhile gpio122 is indeed changed by the slider
<Wizzup> (I exported it in /sys/class/gpio and the value changes with the slider)
yanu has quit [Ping timeout: 252 seconds]
yanu has joined #maemo-leste
<Wizzup> yeah I misdefined it in the dts :)
<Wizzup> (the slider)
uvos__ has joined #maemo-leste
uvos has quit [Ping timeout: 252 seconds]
<uvos__> [23:13] <uvos> ok so on d4
<uvos__> [23:13] <uvos> key 7
<uvos__> [23:13] <uvos> is 0 1
<uvos__> [23:14] <uvos> and key 2 is 0 6
<uvos__> [23:14] <uvos> scann of 7 is 6
<uvos__> [23:14] <uvos> scann of 7 is 1
<uvos__> [23:14] <uvos> and scann of 2 is 6
<uvos__> [23:14] <uvos> then r is 1 0
<uvos__> [23:14] <uvos> and r is scan 8
<uvos__> [23:15] <uvos> see a pattern?
<uvos__> [23:15] <uvos> its
<uvos__> [23:15] <uvos> keypad,num-rows = <8>;
<uvos__> [23:15] <uvos> keypad,num-columns = <8>;
<uvos__> [23:16] <uvos> so a is 7, 5> on d3
<uvos__> [23:16] <uvos> Wizzup: ^^^
uvos__ is now known as uvos
<uvos> in c pseduo code its MATRIX_KEY(MSC_SCAN >> 1, MSC_SCAN%8, KEY_0)
<Wizzup> one second
<Wizzup> wen you write MSC_SCAN, do you mean the value of MSC_SCAN?
<uvos> yes
<uvos> so a is MATRIX_KEY(0x3d >> 1, 0x3d % 8, KEY_A)
<Wizzup> per your formula I don't see how that gets to 7,5
<Wizzup> 0x3d>>1 = 30
<uvos> no 0x3d = 61
<uvos> mod(61, 8) = 7
<uvos> according to my calcualtor
<uvos> rm = 5
<uvos> and 61 / 8 = 7.soemthing
<uvos> so 7
<uvos> * mod(61, 8) = 5 ofc
<Wizzup> maybe you don't mean >> 1 then?
<uvos> yes
<uvos> i ment /8
<uvos> not /2
<uvos> its /keypad,num-rows
<uvos> and then the floor of that
<uvos> sry
<uvos> MATRIX_KEY((int)(0x3d/8), 0x3d % 8, KEY_A)
<uvos> that should do it
<Wizzup> ok, yeah, so just mod and div then
<Wizzup> slider works now, btw :)
<uvos> great
<uvos> was it a gpio key?
<Wizzup> no, it was my not defining the gpio-keys compatible
<uvos> how many slider keys do we have on d3?
<uvos> ok
<Wizzup> the gpio is the same as the d4
<uvos> ok
<Wizzup> I don't know if there are more
<uvos> ok
<uvos> check with androids version of evtest i gues (on android)
<Wizzup> for msc_scan ?
<uvos> "getevent"
<Wizzup> not sure what you mean
<uvos> no if another slider switch exitsts
<uvos> getevent == evtest (but on android)
<Wizzup> btw, the microphone key currently is leftalt (which makes sense I guess)
<Wizzup> and then the search key is KEY_MINUS (less ok)
<Wizzup> and the @ key next to it is KEY_EQUAL
<uvos> but d3 has a alt already no?
<Wizzup> alt is ctrl
<uvos> where shift is on d4
<uvos> ok
<Wizzup> no :d
<uvos> uh
<Wizzup> shift is shift
<Wizzup> alt=control
<Wizzup> mic=alt
<uvos> hmm sounds confusing
<uvos> maby have alt=alt and mic=ctrl
<uvos> wierd that they have shift where capslock is on d4
<uvos> and we switched it back :P
<Wizzup> yeah
<Wizzup> yup
<uvos> at least you muscel memory will be all right :P
<Wizzup> not looking forward to doing the xkb-data
<uvos> the keyboard looks way nicer
<uvos> all those special keys have labels
<Wizzup> yeah, the led is also in a nicer place imho
<Wizzup> and it doesn't auto turn on when the usb is connected :p
<Wizzup> so now I can actually have mce do a proper pattern
<Wizzup> ;)
<uvos> it has another white charge led by the usb input like d1 or?
<Wizzup> yeah
<Wizzup> uvos: do you recall what should be done to enable the charging pattern in led-sw (to have it be anything)
<Wizzup> mce.ini says # Charging = orange tinted, should be pulsating, but we don't do that atm in led-sw
<uvos> 70-bionic.ini disabels it
<Wizzup> oh, nvm
<Wizzup> yeah
<Wizzup> just realised
<uvos> but if the white usb led works
<uvos> i would keep it disabled
<Wizzup> I want to see blink blink :-)
<uvos> but a dedicated light is better :P
Pali has quit [Ping timeout: 265 seconds]
Pali_ has joined #maemo-leste
Pali_ is now known as Pali
<Wizzup> not really, it's on the side and not visible
<uvos> i dissagree
<uvos> but ok
<Wizzup> :D
<Wizzup> it's kind of on the bottom/side and not visible (the white one)
<Wizzup> and it would not be visible at all if hdmi was also plugged in
<Wizzup> oh, it would be
<Wizzup> still
<uvos> pff you can barstardize that unit as mutch as you want :D
<uvos> anyhow ttyl
<Wizzup> hehe
<Wizzup> ttyl
<Wizzup> that's part of the fun, no
<inky> today i connected the jack to droid4, my friend helped me to have the jack (aux?) input in the car radio, so i use phone via jack usually to play something, and it seems that droid didn't understand something is connected to the jack. is it right?
<Wizzup> inky: yes, you need to select that specifically
<Wizzup> (currently)
<Wizzup> install pavucontrol-qt and set it in the output devices tab
<inky> yay.
<Wizzup> we're working on fixing that (uvos on the kernel side, me on userspace)
<inky> i had pulseaudio scripts on sailfish to do that when sailfish was not able to do that on xperia.
<Wizzup> nice, there's also a shift key led
<Wizzup> uvos: I think the ucm stuff fails because the call volume is not avail
<Wizzup> strace reveals:
<Wizzup> 3215 write(2, "I: [pulseaudio] (alsa-lib)main.c: unable to execute cset 'name='Call Volume' 0'\n", 80) = 80
<Wizzup> 3215 write(2, "I: [pulseaudio] (alsa-lib)main.c: error: failed to initialize new use case: HiFi\n", 81) = 81
<Wizzup> 3215 write(2, "E: [pulseaudio] alsa-ucm.c: \33[1;31mFailed to get the verb HiFi\33[0m\n", 67) = 67
<Wizzup> that could relate to the modem not being picked up properly or something
<Wizzup> (there is no /dev/motmdm1)
<Wizzup> but this looks ok:
<Wizzup> Jul 24 00:11:56 localhost kernel: [ 17.666717] phy-mapphone-mdm6600 usb-phy@1: modem status: 4 awake
<Wizzup> Jul 24 00:11:56 localhost kernel: [ 17.686828] phy-mapphone-mdm6600 usb-phy@1: Powered up OK
* Wizzup zzz
<inky> uvos, is it possible to accept characters from 'some language' and english always? if that is the case then english + other language will always work in x11 programs.
<inky> i won't type setxkb each time in maemo terminal.
<inky> though maemo terminal helps a lot, because it always accepts both layouts.
Pali has quit [Ping timeout: 250 seconds]
BenLand100 has quit [Quit: s/BenLand100//]
BenLand100 has joined #maemo-leste
BenLand100 has quit [Changing host]
BenLand100 has joined #maemo-leste
cockroach has joined #maemo-leste
uvos__ has joined #maemo-leste
uvos has quit [Ping timeout: 245 seconds]
uvos__ has quit [Client Quit]