libera/#maemo-leste/ Friday, 2022-05-13

uvosWizzup: http://uvos.xyz/maserati/stockinfo/call00:21
Wizzupgreat00:21
Wizzupinteresting to see 0006 for 081c00:22
uvoswhich one?00:22
uvoshandset has 0x100:23
uvosas expected00:23
uvosah speakerphone00:23
uvosright00:23
uvosyeah thats the real value for it00:23
uvos0x0 is invalid00:23
uvosit should never be 0, its a mux 0 makes no sense00:24
WizzupI've seen it at 000200:25
uvosWizzup: right android is enabling the left speaker too00:27
uvoseven though it dosent exist00:27
uvosthis is harmless00:27
uvosi think its because the code base is shared and xt912 has 2 speakers00:28
uvosalso mz6xx00:28
uvosanyhow muteing the mic in android changes CPCAP_REG_TXI00:29
WizzupI see00:29
uvosmaybe check what it is in leste00:29
Wizzupwhen not in calls:00:30
Wizzup# cat /sys/kernel/debug/regmap/spi0.0/registers | grep 081400:30
Wizzup0814: 008400:30
Wizzupcompared to 0cc0 in android?00:31
uvos0cc600:31
uvosand 0cc0 muted00:31
Wizzupright00:32
Wizzuphm 0828 is also diff for headset vs speakerphone00:33
Wizzupthere is also CPCAP_REG_TXMP00:33
uvosok00:34
Wizzupits mic gain00:34
WizzupI guess?00:34
uvosso the bit its setting in 0814 is ATXINEN00:35
uvosthat makes sense (mic amp enable)00:35
uvosbut we have that set00:35
uvosand "ATXOUTEN Reserved for output TXOUT enable, currently not used"00:35
uvosi gues this has maybe a different meaning in cpcap00:36
uvosthan mc1378300:36
Wizzupyeah00:36
Wizzuphm CPCAP_REG_TXI also changed for headset and speakerphone00:37
uvosim sure they change all the gains and such00:38
uvosi would just place a call on leste00:38
uvosand then sync up the headset register values with android untill it works00:38
uvosthats basicly what i did00:38
uvosand there was just one bit or so that was really nessecary that was missing00:39
uvoss/headset/handset00:39
uvos(besides 081c)00:39
Wizzupok00:40
WizzupI think the left/right being set to the right mic also helps with echo cancel somehow?00:43
uvosno idea00:43
WizzupI think I synced up most in the 0x8* range00:47
Wizzupecho 0804 60df > /sys/kernel/debug/regmap/spi0.0/registers00:47
Wizzupthis one I think00:47
Wizzupfrom 60cf to 60df00:48
Wizzupat least that seems to make the difference00:48
Wizzupspeakerphone also works with that00:49
Wizzupinteresting00:49
uvosspeakerphone with 081c at 0 has really wierd behavior00:49
uvosif you mess with the other regs00:49
Wizzupanyway maybe try this:00:50
Wizzupecho 0804 60df > /sys/kernel/debug/regmap/spi0.0/registers00:50
uvosCPCAP_REG_CC00:50
Wizzupcodec00:50
uvosso what bit makes the difference?00:50
Wizzup60cf vs 60df00:50
uvosso bit 500:51
Wizzupyes00:51
Wizzupsorry it took me a bit to remember bin() in python00:52
Wizzupso is that CPCAP_BIT_AUD_LOWPWR_SPEED ?00:53
Wizzupwait nvm00:53
uvosCPCAP_BIT_MIC1_CDC_EN00:54
uvosright00:54
Wizzupyeah 0 indexed00:54
uvosthat makes sense :)00:54
WizzupACD left/right ?00:54
uvosso do we set CPCAP_BIT_MIC1_CDC_EN when in hifi mode?00:54
Wizzupadc*00:54
uvosor is this a indipendant bug00:54
Wizzupwe always set it to 0 at least in cpcap.c00:55
uvosok00:55
uvosso its just a oversigt then00:55
uvoslet me check what android dose00:56
Wizzupyou mean the old kernel src?00:56
uvoswhilest recording ti cpu00:56
Wizzupok00:56
Wizzupif you're on it, maybe you can also check out the headphone setup, although I guess that maybe just works00:56
Wizzuplet me try that00:56
uvosi dont have a headset with mic00:57
uvosand android can tell00:57
uvos(ie it will use the internal mic in this case)00:57
Wizzupright00:58
uvosi dont get what register CPCAP_REG_CC is in mc13783 datasheet01:00
uvos(also why the heck dose the datasheet not give register values)01:00
Wizzupis this the same ic?01:00
uvosthis annoys me every time01:00
uvosno01:01
uvosbut some hw blocks are the same01:01
uvosthe audio block is one of those01:01
Wizzupcan't reproduce it right now, I think I'm too tired, but that bit was the last one I changed and it made the diff01:09
uvosWizzup: ok01:13
uvosi added recording to cpu register state01:13
Wizzupis that in handset?01:18
Wizzupor speakerphone?01:18
Wizzuplooks like a big difference in regs :p01:19
Wizzupmost things except for 0x081401:19
uvosthats recording from mic101:27
uvosand no audio output01:27
Wizzupok01:30
buZzxt921?10:54
buZzoh 912*10:55
buZzlooks nice but where's the qwerty! :D10:55
Wizzupis that the razr?10:56
Wizzupright10:56
buZzyeah, Droid Razr10:59
buZzAlso known as DROID HD10:59
buZzhmmmm https://www.ebay.com/itm/19407744691711:03
buZznext wednesday getting a pinephone :P11:04
buZzwant to see how many things that are in 'trick' or 'things to try' on various pages we could move to 'leste wide' pages11:04
dreameroooh, nice dock11:08
buZzdreamer: so wish we could find these cheaper :)11:08
dreamerhmhm. wish that seller I found that claimed to have a bunch was actually true :(11:12
WizzupI have one here but it doesn't seem to work11:15
buZzWizzup: oh? not even for charging?11:25
WizzupbuZz: no, but maybe the psu is dead12:42
Wizzup(I didn't bother to try to replace it yet, but iirc I measured it and it worked)12:42
* enyc meows :O23:58
enycsorted out so much in my life but not found my n900 charger lately ;/23:58
enycCuriosu how general interest and so-on going up...23:59
enycwhose taking up leste, not just those into older n900 etc devices, anyhow?23:59
enycis there a  user-survey of any form?23:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!