libera/#maemo-leste/ Monday, 2021-06-14

mighty17[m]Yes it looks like pvr-omap4 fails for sure08:52
* mighty17[m] uploaded an image: (187KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/DKWUvKlVWZHcXPwykhKrqxsx/Screenshot_20210614-121334_Pixel_Launcher.png >08:53
uvosit sais that it cant open the drm node so either the pvr module dident load or it dident probe09:20
uvosagain the missing moudle line at the top of that screenshot suggests you are missing modules somehow09:21
parazyduvos: Added you to repos09:23
uvosparazyd: great thanks09:25
parazydYou're welcome09:25
parazydAlso you should be able to build them from the other CI channel09:25
parazyd(I set that up beforehand)09:26
lelparazyd closed a pull request: https://github.com/maemo-leste/leste-config/pull/23 (Mapphones: switch away from mono mode on exiting internal speaker hifi output)09:28
freemangordonhi Pali09:28
Palihi!09:28
freemangordonany hint where shall I start from in regards to uboot/usb?09:29
freemangordonI guess I shall pull latest master first, no?09:31
parazydbtw. on friday I'll do a talk about Leste on Bitreichcon gopher://bitreich.org/1/con/2021 gopher://bitreich.org/0/usr/20h/phlog/2021-06-13T16-57-32-547583.md09:43
parazyd2000 CET09:43
Palifreemangordon: yes, pull latest master and build u-boot via 'make'09:46
Paliit prints deprecated warning about rx51 and USB09:46
Paliand this needs to be resolved09:46
Palimake nokia_rx51_config && make CROSS_COMPILE=arm-linux-gnueabi-09:47
parazyduvos: So regarding fbkeyboard, do you want it for devices like D4 and N900 too?09:50
mighty17[m]uvos is omap_drm supposed to be a module, I have it =y09:57
mighty17[m]Omap2plus defconfig didn't boot for me (don't know why no log just black screen)09:57
mighty17[m]So back to using my config (for now)09:59
uvosparazyd: no10:04
uvosparazyd: just no kbd deivces, but we need a way to boot to fbkyboard shell thats not dependant on the bootloader offering some kind mulitboot feature10:05
uvosmighty17[m]: jeah no shit it dosent work then10:05
uvosmighty17[m]: your not building the pvr module10:06
mighty17[m]uvos: it works in pmOS xD10:38
freemangordonPali: thanks11:26
mighty17[m]@uvos: using drm as module, display doesnt seem to be working11:26
Palifreemangordon: warning message says that it is needed to migrate to DM USB... but I'm not sure if this is the right way as DM USB is for host mode (connecting USB disk to n900), but U-Boot uses USB only for periperal mode (exporting USB TTY to computer)11:27
Paliand it seems that neither musb peripheral drivers nor usbtty driver use DM USB11:28
freemangordonPali: ok, will see11:28
Paliand I'm not sure what to do with it11:28
Paliplus DM USB depends on migration to device tree which n900 uboot does not use (device tree increase uboot size upper limit and does not have any advantages; so currently it is not used)11:29
freemangordonPali: what benefits we have if n900 is kept upstream?11:30
Palibug fixes, new features etc...11:31
Palinow we should be able to boot directly zImage kernels11:31
Paliwithout converting it to uImage11:31
freemangordonI see11:32
Palifixed nand access, etc...11:33
freemangordonPali: BTW, "[PATCH] nokia_rx51: Make onenand working" is merged, right?11:34
Paliyes, it should be!11:34
freemangordonok11:34
freemangordonPali: what about CONFIG_WDT?11:37
Palifor CONFIG_WDT I have sent patch months ago11:43
Paliit is waiting for review11:43
Palihttp://patchwork.ozlabs.org/project/uboot/list/11:44
Palihttp://patchwork.ozlabs.org/project/uboot/patch/20210309201915.16586-1-pali@kernel.org/11:44
freemangordonPali: hmm, it seems we shall enable CONFIG_USB_MUSB_GADGET and some serial gadget11:46
freemangordonn900 appears as a serial device now, right?11:47
Paliyes it appears as usbtty11:47
PaliUSB CDC ACM11:47
freemangordonthere should be serial gadget IIUC11:47
freemangordonPali: seems we shall port f_acm from linux11:56
Paliwhy? there is already usbtty code working11:56
freemangordonas a gadget?11:56
Palinot as gadget but as a driver11:56
Paliwhich is already in use11:57
PaliI have fixed bugs in it half year ago11:57
freemangordonok, lemme see what is going to happem11:57
freemangordon*happen11:57
Pali(I do not see reason/benefit for backporting additional driver if there is already one which is working and which was debugged to work properly)11:58
freemangordonok11:59
freemangordonlemme try to enable that DM_USB first11:59
Palinew driver = new issues = new debugging11:59
freemangordonsure11:59
PaliI guess enabling DM_USB would not work because n900 does not use CONFIG_OF11:59
Paliand also I do not see any benefit for rewriting n900 code to CONFIG_OF - it does not bring any functionality, only bugs12:00
freemangordonbut it will be dropped otherwise :)12:04
freemangordonalso, how does i2c_dm works then?12:05
freemangordondidn't you send patches about that?12:05
freemangordonI don;t see them upstream12:05
freemangordonoh, wait12:06
freemangordonit is there12:06
PaliDM I2C is there12:08
PaliDM I2C works with and also without CONFIG_OF12:09
Paliwe are using variant without CONFIG_OF and data for i2c are stored in C struct12:09
Paliat the end of the file board/nokia/rx51/rx51.c12:09
Palibut DM USB somehow does not to load data from support C struct ... and therefore depends on CONFIG_OF12:10
freemangordonok, will look into it12:27
* enyc meows12:56
enycgood to see channels all nicely active on libera now for all sorts, and interestingly [m] matrix connections here12:56
enycbut not main #matrix channles etc last I checked ;/12:56
freemangordonPali: so, you want migration to DT avoided?15:39
PaliDT is big, we do not have size for its support15:39
freemangordonbut, we can;t have DM_USB without OF, IIUC15:40
freemangordonOF == DT, right?15:40
freemangordonDM_USB requires CONFIG_OF_CONTROL15:41
freemangordonok, DT increases binary size by ~100k15:47
freemangordonand we have 256k, right?15:47
freemangordonPali: ^^^15:47
Palilooks like that, but question is why DM USB needs OF control15:48
PaliOF = DT15:48
Palior rather, why we need it for just usbtty?15:48
freemangordongoing to check15:48
PaliDT needs new code plus whole DTS binary15:48
Palithere is really no space for it15:48
freemangordonyeah15:49
Paliit is just wasting of space15:49
freemangordonhttps://pastebin.com/SMCn4zqp15:51
freemangordonPali: did you hear from the maintainers after your last mail?15:56
Palino15:57
Palifor other drivers there is DTS to Cstruct conversion function, so drivers works with DTS or without DTS15:57
Palitherefore devices can be initialized automatically from DTS15:58
Palior manually by specifying them in board c file (like for rx51 i2c)15:58
freemangordonnot usb it seems15:58
freemangordonmaybe we shall patch it15:58
freemangordonbut, if you look in the Makefile, it explicitly requires   CONFIG_OF_CONTROL for USB16:01
freemangordonPali: do you define board_fdt_blob_setup() somewhere?16:03
Paliit defines probably because there is no conversion function... like for i2c16:03
Paliboard_fdt_blob_setup is not defined, we do not have FDT = DT blob16:04
freemangordonso, we shall implement one, no?16:04
freemangordon(conversion function)16:04
Palimaybe?16:04
Palibut I still do not know if DM USB should / can be used for rx51 usbtty16:05
freemangordonwhere it is defined for i2c?16:05
freemangordonunderstandable, but what are the options?16:05
Paliomap_i2c_of_to_plat()16:05
Palimaybe other option is look how to use usbtty code without that "deprecated" warning16:06
freemangordonhmm, this looks like i2c is not converted to DT16:06
freemangordonthat's why they use conversion function16:06
Paliomap_i2c_of_to_plat() is used for converting DTS to plat code16:06
Paliin rx51 we use plat code directly16:06
freemangordonexactly16:07
freemangordoni2c driver itself does not use DT, but plat struct16:07
freemangordonthat16:07
freemangordon's16:07
freemangordonwhy the conversion16:07
freemangordonwhile DM_USB ises DT directly16:07
Paliand maybe it should use C structs too?16:07
freemangordonnot sure16:08
freemangordonmaybe16:08
freemangordonPali: hmm, actually it seems the only places  CONFIG_DM_USB is usb.c itself and 2 board files16:17
freemangordonso this is the same code, just trying to get its data from DT16:17
freemangordonBTW, any clue why DT support code is so big? 100k for parsing some binary blob seems like an overkill to me16:20
Palibecause they are using standard fdt library for it, which is big16:24
Paliand also fdt blob itself is big for omap3/n900 (look into kernel)16:24
freemangordonhmm, OF_PLATDATA seems to be available, but for SPL/TPL only16:24
freemangordonhmm, they say DT overhead is 3k16:27
Palithis is also too big16:27
freemangordonok, why don;t you ask the maintainers what to do there, as it is obviously that we have some size constrains16:30
PaliI have already wrote to ML... I'm not getting any responces to my patches and my emails16:31
Paliit look half of year once somebody respond16:31
freemangordonmaybe ping thm16:31
freemangordon*them16:31
freemangordonI'll reply to your latest mail with my findings, lets see16:32
PaliI was sending periodic pings last year...16:32
Paliok, try to write reply, maybe you will get responce more quickly16:36
freemangordonmhm16:36
freemangordonPali: sorry, can;t recall, where this 256k limit comes from?16:40
Palikernel starts at 256k offset16:41
Wizzupso this is for supporting attached kernel?16:41
freemangordonPali: I guess we shall give up on that (attached kernel)16:43
Paliand does it makes sense to include tons of useless glue code?16:44
freemangordonno, for sure16:44
freemangordonok, lemme write that mail and see16:44
Palithis looks like somebody really wants to remove n900 code from uboot...16:45
Pali...patches are waiting on ML without review/comments for half of year...16:45
freemangordoncould be, seems FOSS is not what it used to be, see Xorg16:46
Pali... and a patch for removal n900 was sent prior reviewing/commenting pending patches...16:46
freemangordonPali: any clue why it needs 100k for DT parsers? again, they say it should be 3k17:02
PaliI do not know17:02
PaliI know that DT parser and big DT blobs are also problem for boards with SPL builds17:03
Paliwhere space for SPL is also limited17:03
Palidue to this reason Marek worked on LTO support in U-Boot, to reduce final u-boot mage binary size17:03
freemangordonplease have a look at of-plat.rst17:04
freemangordonoh, this linked17:04
freemangordon24731217:05
Pali"approximately 3KB on Thumb 2"17:05
freemangordonyes17:05
Palibut we do not use thumb217:05
freemangordonso, 5k17:05
Paliso it is even bigger17:05
freemangordonok, but not 100k17:05
freemangordonand I think we shall be able to shave 5k17:05
freemangordonif it comes to it17:06
Paliwell, enabling DTS means to convert whole n900 code to DTS17:06
Paliwhich is tons of work17:06
freemangordonno, we can use OF_PLATDATA17:07
Paliplus, there would be issues like how to disable code which should not be touched by u-boot (as whole hw initialziation is done by nolo)17:07
freemangordonlook at usb.c, DM_USB just changes the way it gets HW data from17:08
freemangordonnothing more17:08
freemangordonno code is being added/removed17:08
Palibut it looks like that ./common/usb.c contains code for USB host mode17:09
Paliall these we do not need17:09
Paliwe do not use it in u-boot17:09
freemangordonso you say that usb.c is not compiled if DM_USB is not defined?17:10
Paliit is17:10
freemangordonso, what is the difference then?17:10
PaliI'm saying that most of that code is not used17:10
freemangordonhost mode code is there with and without DM_USEB17:10
freemangordonsure17:10
freemangordonso? adding DM_USB_ROLE?17:11
uvosWizzup: im here if you are ready wrt mce17:12
freemangordonto not build hostmode code?17:12
Paliso looks like we just need something like U_BOOT_DRVINFO() for usb periphal mode17:12
freemangordonyes17:12
uvosPali: forced move to OF is painfull for sure, but it seams to have done the kernel a lot of favors, so i can understand why uboot would like to follow17:12
freemangordonbut it seems this works only if SPL is enabled17:13
freemangordonPali: I see "select OF_LIBFDT if !OF_PLATDATA"17:13
Paliuvos: but u-boot is not operating system, for most boards it is just small bootloader17:13
uvosit still has to deal with the same shit as the kernel to initalize the hw17:14
uvosso it has the same problems as are solved by of in kernel17:14
PaliSPL binary is just for loading u-boot17:14
Paliuvos: yes, but n900 is somehow special as most of hw init is done by nolo... and we need this stuff to not be touched by u-boot17:14
uvossure on n900 that may be true17:14
freemangordonPali: yes, the point is that u-boot on n900 is not SPL17:15
Palidue to this stiff there were issues with emmc, i2c, onenand and freezes17:15
freemangordonhmm, wait, how  U_BOOT_DRVINFOS() work in n900 board file?17:18
freemangordonPali: ^^^?17:19
freemangordonaccording to doc it should not17:19
Palino idea... it works fine17:20
PaliI just used same construction which was used in other board files17:21
freemangordonyes, I see, but...17:21
freemangordonPali: I would say it does not17:25
freemangordon(work)17:25
freemangordonmost probably because i2c is setup by nolo it works fine17:25
Paliboth i2c, mmc and wtd is working fine!17:25
PaliI have tested it17:25
Paliand checked that relevant code is called17:25
PaliI did it about half year ago (maybe more)17:26
Paliso it is possible if something was changed, then it does not work now17:26
Palibut at that time it for sure worked17:26
freemangordonlook at i2c-uclass, it has  #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) all over the place17:27
freemangordonlike https://github.com/trini/u-boot/blob/master/drivers/i2c/i2c-uclass.c#L66417:28
freemangordonso, are you sure dm_i2c_set_bus_speed() gets called?17:28
freemangordonI don't see how is that possible17:28
Palithis is called from https://github.com/trini/u-boot/blob/master/drivers/i2c/omap24xx_i2c.c via __omap24_i2c_setspeed17:30
Paliand __omap24_i2c_setspeed is called during probing i2c driver17:31
freemangordonPali: the point is that I think  U_BOOT_DRVINFOS() in rx51_c are simply not compiled or ignored. Unless I don;t understand how is that supposed to work17:33
Palithey are not ignored for sure17:34
Paliotherwise my watchdog patch would not work17:34
Palibut I have tested that it correcly initalize and is reset function periodically called17:34
freemangordonhmm17:35
Paliso U_BOOT_DRVINFOS() in rx51.c must be compiled and loaded17:35
freemangordonok, seems I need more time to think about that17:35
PaliU_BOOT_DRVINFO expands to ll_entry_declare which expands to __section(".u_boot_list_2_"#_list"_2_"#_name)17:37
freemangordonmhm17:37
Paliso something which is used by linked script17:37
Pali*linker17:37
freemangordonbut, who uses that?17:37
freemangordonsee https://github.com/trini/u-boot/blob/master/drivers/mmc/mxsmmc.c#L57817:37
freemangordonI don;t see any similar code in omap_hsmmc for example17:38
uvosWizzup: will be back in a bit (if you arrive in the mean time)17:38
Palifreemangordon: I guess this is feature of DM to automatically initialize drivers from these plat structs17:39
Paliomap hs mmc has: .plat_auto= sizeof(struct omap_hsmmc_plat),17:39
freemangordonmhm17:40
freemangordonseems   AM335X board code has something similar to what we need17:43
freemangordonPali: how to check in Makefile is some config option is n?17:50
Paliifeq ($(CONFIG_XYZ),y)17:51
freemangordonthanks17:51
Paliand then on next line endif17:51
freemangordonyeah17:51
Wizzupuvos: can we aim for say 1930?17:53
lioh_hi all. I am trying to follow the instructions on the wiki for my N900 but I always get this message: https://termbin.com/73ar18:23
lioh_do you have any idea what i am doing wrong?18:23
freemangordonyou should be holding F while powering-on the device18:29
freemangordonsorry, 'U', not 'F'18:29
freemangordonlioh_: ^^^18:33
lioh_Thanks, worked now.18:37
lioh_Is there a way to increase the brightness in the tty?18:37
mighty17[m]@uvos ping, more updates tried mmc fix by tmlin.d doesnt seem to work, same rootfs issue, next is it necessary to build CONFIG_DRM and CONFIG_DRM_OMAP as modules as with that there is no display (maybe coz of mmc randomness)18:41
mighty17[m]can i flash maemo to emmc? would make things easier :P18:44
lioh_I have flashed it using the following command sudo ./0xFFFF -m test/u-boot-2013.04-2.bin -f and on boot i still have to always type run sdboot. Is there a way to automate that?18:44
Wizzupuvos: hi19:48
uvoshi19:48
uvosparazyd: https://maedevu.maemo.org/irc-this-week.txt is sortof broken19:48
Wizzupuvos: I can be avail in a bit19:48
uvosWizzup: ok me to19:48
uvos\me i think these kinds of statemens break it by creating invalid chars19:49
Wizzupuvos: finishing dinner here at a friend, 2030 ok, or too late? can also do earlier19:49
* uvos or rather these19:49
uvosthis causes browsers to treat it as data instead of text19:49
uvosparazyd: maybe sanitize your input19:50
uvosWizzup: that should be fine19:50
uvosparazyd: i also lack authority to build charge-mode please kick it and also give me rights.19:51
uvosmighty17[m]: this and omap2plus_defconfig not booting suggests you have not installed the modules properly as has been mentioned manny times allready19:51
uvosthe modules should be in /lib/modules/$(uname -r)19:52
parazyduvos: You can build it from IRC19:52
uvosparazyd: no i cant19:52
parazydI haven't seen you try19:53
uvosit saies not authorized19:53
mighty17[m]uvos: it is in there (there used to be 5.10.x from the original img of d4 i placed 5.11.0 (exactly the uname -r) of the kernel there)19:53
mighty17[m]im still sus about the mmc randomness breaking and thus modules dont load or smth, can i flash in emmc?19:54
uvossure you can flash it anywhere you want19:54
uvosas long as you change cmdline apropriately19:54
mighty17[m]how do i flash in emmc19:55
uvosmighty17[m]: fastboot19:56
uvosyou can just flash the image of just the rootfs (not with boot and the mbr) via fastboot19:56
uvosto whereever19:56
mighty17[m]uvos Samsung has no fastboot20:01
mighty17[m]It's own Download mode20:01
uvosthen i have no idea20:01
uvosright samsung uses its own propriatary bootloader setup instead of basing something of the common andorid bootloader system20:02
mighty17[m]What would be the fastboot cmd?20:02
mighty17[m]Or rather with twrp?20:03
uvosfastboot flash whatever image20:03
uvosno20:03
uvoswhatever being a partition20:03
uvostwrp is mainly a piece of crap best avoided :P20:05
mighty17[m]Ugh I can try heimdall ig20:10
mighty17[m]Will try putting it in system partition20:10
mighty17[m]I don't think 2gb will fit there tho, don't wanna wipe my userdata20:10
mighty17[m]dont think heimdall supports .img :( well im stuck20:13
uvosWizzup: hi21:14
Wizzuphi!21:15
Wizzuplet's chat mce21:16
uvossure21:17
Wizzupshould we go over the PRs one by one?21:17
uvossounds sane21:17
Wizzupok21:17
uvosok starting with #32. this one simply makes devlock and tklock a lodable module and contains no functional changes]21:18
uvosactually thats not true21:19
uvosit also removes the kp event disable21:19
uvosthis was a feature21:19
uvoswhere mce disabled the evdev devices using a kernel interface that was added to the n900 kernel by nokia21:20
Wizzupright, the /disable part21:20
uvosright21:21
Wizzupmerging it locally now21:21
Wizzupsce21:21
Wizzupsec*21:21
uvosalso i removed the usb_cable_trigger, this removes the device unlocking of the device on usb plug21:22
uvosthis is a temporary thing only21:22
uvosi later added this to a common/different module21:22
uvosbut that was after cmake21:22
uvosso for now merging the prs would make this not work21:22
uvos(note pluging in usb will still wake the device just not unlock it)21:22
Wizzupok21:22
Wizzupok, that merged21:24
Wizzupuvos: what's next?21:25
uvosi thought we where going in order21:25
uvosok so the next one is #3421:26
uvosthis makes dsme support a module21:26
uvosand contains no functional changes. the only major thing here is taht the request_*() functions21:26
Wizzupuvos: what's next => what is next in order, what number is what I meant21:26
uvoswhere turned into a data pipe system_power_request_pipe21:27
uvosthis touches a lot of code21:27
uvosbut its mostly a trival change21:27
uvosthis is so that we can later have a more coherent plugin interface21:27
Wizzuprighr21:27
Wizzupmakes sense21:27
Wizzuplet me review it briefly21:27
uvosalso the --debug-mode  flag of mce is gone21:28
Wizzuphm, it doesn't rebase cleanly on master21:28
uvosthis simply disabled dsme support before21:28
Wizzup(makefile changes)21:28
uvosthe same thing is now accived by not loading the module21:28
uvosWizzup: ok21:28
Wizzupshould be trivial21:28
uvosshal i rebase you will you?21:28
Wizzupmaybe you can, if you have a moment21:29
uvossure21:29
Wizzupthe conflict is in the Makefile21:29
Wizzupbetween master and git://github.com/IMbackK/mce.git dsme-module21:29
uvosWizzup: sure sec21:30
LangoorHey all! I'm having some issues with the pre-built images on the N900.. Flashed it to a microSD and it seems to boot fine, but the desktop enviroment seems to be broken.21:37
LangoorI get a lockscreen but only on the left-half of the LCD, when swiping to unlock the screen goes black21:37
WizzupLangoor: hmm... latest image?21:39
LangoorYeah, also tried one before that21:39
Langoorhttps://i.imgur.com/GZOPa9P.jpg21:39
LangoorThat's what i'm looking at21:40
Wizzupsounds hildon-desktop is borked21:40
LangoorI'll try the oldest one that's on the download page as well.. just to be sure21:41
Wizzupuvos: did you manage?21:44
uvosim on it21:44
Wizzupok21:45
LangoorSamei ssue with that build as well21:47
uvosits a bit messy21:48
uvosok its building now21:48
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/34 (Dsme module)21:50
uvosshould be fine21:50
uvosnow21:50
Wizzupyes21:51
Wizzupok, that's in master21:51
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/34 (Dsme module)21:51
uvoswiat21:52
uvosyou dident close #3221:52
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/32 (Modular lock)21:52
uvosok21:52
uvosok #35 conflicts also now in makefile and mce.ini21:52
uvos:P21:52
uvosso this one is a stand alone module21:53
uvosthat you can load instead of tklock21:53
uvosand it just lets you use xdg-lock or no lockscreen21:53
uvoslet me rebase21:53
Wizzupok21:55
Wizzupty21:55
uvosok21:58
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/35 (Adds Lock generic module)21:58
Wizzupchecking22:00
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/35 (Adds Lock generic module)22:01
uvosok we can skip #4122:02
uvosand reserve it for some day22:02
uvoswhen we rm dsme22:02
Wizzups/when/if/ ;)22:02
Wizzupbut yes22:02
uvoseh22:02
uvosok so #43 is self evident i think22:03
parazydLangoor: I'll check what's up tomorrow22:03
parazydTo see if it happens on my device too22:03
Wizzuphttps://github.com/maemo-leste/mce/pull/43/files#diff-ed5f28af663384bdbc28ef834511cb881c6bd66c8e202a9e7f46a1eb80968445R27 should this be || or &&22:03
uvos|| we shutdown if there is no call22:05
uvosor if the call is not an emergency22:05
Wizzupok22:05
Wizzupuvos: what adds libdisplay? that is in another pr I guess?22:05
uvosWizzup: libdisplay?22:05
Wizzup#43 has that in it's diff but I don't think it needs it22:05
Wizzupe.g.22:05
Wizzup<<<<<<< HEAD $(MODULE_DIR)/libbattery-guard.so \ $(MODULE_DIR)/libdisplay.so \22:05
Wizzup=======22:05
Wizzup(newlines removed :()22:05
uvosWizzup: we should have libdsiplay and it should be built22:06
uvosWizzup: display-dev dissapeard22:06
Wizzupwhat merged it in then?22:06
uvosWizzup: it was allways there in freemantle even22:06
Wizzupok, let me re-check the conflict...22:06
uvosbut we had display-dev and later mv display-dev to display22:06
Wizzuphm, I think PR 43 is just really old22:07
WizzupAuto-merging Makefile22:07
WizzupCONFLICT (content): Merge conflict in Makefile22:07
Wizzuperror: could not apply 350457d... display: remove superceed by soon to be renamed display-dev22:07
uvosyeah22:07
uvosok22:07
uvosso i removed it for one commit22:07
uvosthe end result needs to be that display is built but display-dev is not22:07
WizzupI can try to cherry-pick the changes22:07
uvosi mean all of these prs are really old22:08
uvos:P22:08
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/43 (add battery-guard module that shuts down the device on empty battery)22:09
uvosWizzup: ok btw we need to configure that module22:09
uvosrn its off by default22:09
Wizzupok22:09
uvos(needs per device config)22:09
Wizzupmaybe we can make an issue for this?22:09
uvosWizzup: yes22:09
uvosplease22:09
Wizzupvia leste-config I guess?22:09
uvosyes22:09
lelMerlijnWajer opened an issue: https://github.com/maemo-leste/bugtracker/issues/547 (leste-config: configure mce battery-guard module (needs new mce as well))22:10
lelMerlijnWajer assigned an issue: https://github.com/maemo-leste/bugtracker/issues/547 (leste-config: configure mce battery-guard module (needs new mce as well))22:10
uvosWizzup: ok so #44 drops a buch of moudles no device loads22:10
uvosso there is accelerometer.c that we dont even build anymore and dosent work on any device and is superceeded by iio-accelerometer22:11
Wizzuphomekey, hm22:11
Wizzupthat is not even used on n900 is it22:11
uvosno22:11
uvosso homekey was never loaded on freemantle22:11
uvosand we do the funciton it was supposed to do via hildon-shortcuts22:12
uvosalso the dbus interface it implements is no implmented by hildon-desktop22:12
Wizzupok22:12
uvoskeypad was superceeded by button-backlight22:12
uvossame thing but no hardcodeing of sysfs paths22:13
uvosand it dosent use the led engine on n90022:13
uvosisntead ists software controll everywhere22:13
uvosbut for the kbd this really dosent matter anyhow22:13
Wizzupok22:13
uvosthen there is filter-brightness-als22:14
uvosthis is just replaced by libfilter-brightness-als-iio22:14
Wizzupis that also used on the n900?22:14
uvosyes22:14
Wizzupiirc I did some brightness tests last summer22:14
Wizzupalso with the n90022:14
Wizzupok22:14
uvosals is the only sensor that works on n90022:14
Wizzupwith iio you mean22:14
uvosyes22:14
uvoswith mce too22:15
uvossince acceleromtere.c used a sysfs interface22:15
uvosthat is missing22:15
uvosand accel dosent work22:15
uvosbecuase of udev shinaniganes22:15
uvoswith evdev22:15
uvosand proximitry we broke allready22:16
uvosbecause its on evdev and we broke it with some other pr so that all the oder devices can work22:16
uvoswe should make an issue for that if not allready22:16
uvossee https://github.com/maemo-leste/mce/pull/1722:16
uvosand https://github.com/maemo-leste/mce/blob/master/debian/changelog22:17
uvos* Add iio-proximity; breaks proximity on the Nokia N900 at the moment22:17
Wizzupd716ea7816e29affbdbae12d124c4a92ee20f07c doesn't apply cleanly on top of master22:17
Wizzupboth modified:   Makefile22:17
Wizzupdeleted by us:   modules/display-dev.c22:17
uvosjust drop the change to that file22:17
WizzupMakefile changes seem somewhat trivial but I think they look a bit odd22:17
Wizzupcan you check out that commit? I'll make the issue for the n900 proximity22:18
uvosok sure22:18
WizzupI modified https://github.com/maemo-leste/bugtracker/issues/13422:20
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/44 (drop unused modules)22:23
uvossec let me check something22:23
uvosok looks fine22:23
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/44 (drop unused modules)22:25
Wizzuponto cmake?22:28
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/47 (Power generic)22:29
uvosWizzup: no #47 and #4922:29
uvos#47 is optional i gues22:29
uvosi just rebased it22:30
uvosso this one just adds the same thing as lock-generic just for power22:30
uvosif you load this instead of power-dsme22:30
uvosmce will talk to init directly22:30
Wizzupok, but default is dsme22:30
uvosyeah22:30
Wizzupok22:30
uvosyou can have only one #define MODULE_PROVIDES "power" module loaded22:31
uvosand we load power-dsme in mce.ini22:31
uvosso this is totaly passive22:31
Langoorparazyd: thanks! :)22:32
Wizzupok22:32
parazydYou're welcome22:32
Wizzupuvos: ok onto 47 then22:32
uvosthis one is goning to be fun to rebase22:32
uvosit touches absolutly everything22:32
uvosso with this instead of mce just using gconf everywhere22:33
uvosconfig is provided by a module22:33
uvosand there are several config moudles you can load22:33
uvos(atm gconf and a minimal one that loads stuff from an ini file)22:33
Wizzupyeah, I don't think we want to change that for leste until everything else is moved over22:33
Wizzupbut getting the code infrastructure in place is good22:33
uvosin future this shal have a gsettings moudule you can load22:34
uvoswith mce_rtconf_backend_register22:34
uvosanyhow22:34
uvoslet me try to rabse22:34
uvosrebase22:34
Wizzupok22:34
uvosok seams to have work22:47
uvost22:47
uvoslet me build22:47
Wizzupcheck,ty22:48
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/mce/pull/49 (RTconf - conf make backend runtime selectable)22:54
uvosWizzup: ok should be fine now22:54
Wizzupmerged22:55
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/49 (RTconf - conf make backend runtime selectable)22:55
uvos#47 is still open22:55
Wizzupgithub being weird22:55
uvosok22:56
uvoswere done here then22:56
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/47 (Power generic)22:56
uvoscmake well do some other time22:56
uvosi need to rebase22:56
Wizzupok22:56
uvosand opean apr22:56
Wizzupright22:56
Wizzupthanks for doing all of the work & the rebasing22:56
uvosand we need to let all those changes sink in a bit22:56
uvosyw22:56
Wizzupso shall we build this in -devel22:57
Wizzup?22:57
uvosyeah22:57
Wizzupok22:57
uvosi dont expect any issues22:57
uvosthis is now the same mce i use on maemo22:57
Wizzupok22:57
uvosi use the cmake branch on debian only22:57
uvosatm22:57
Wizzupok22:58
Wizzupwell, you said you'd like this synced up for modem stuff, right?22:58
uvosWizzup: right22:58
Wizzupamongst other things22:58
uvosill get the cmake stuff tested on maemo22:58
uvosand then i can work on one branch22:59
uvosinstead of having to do stuff on 222:59
uvosill make a modem module after that22:59
Wizzupmce building for -devel now22:59
Wizzuplet's see if it builds ;)22:59
uvosneed some info on what its supposed to do / interfaces its supposed to provide for that22:59
Wizzupyeah, and if we use libgofono or not23:00
uvosi also think we shal bump mce to 1.9 with cmake :P23:05
uvos.128.29 is geting kinda absurd23:05
Wizzupprobably yeah23:06
Wizzupwe maybe should avoid conflicting with other mces if any23:06
Wizzup(mostly sfos)23:06
uvostrue23:07
uvosWizzup: were are not loading rtconf-gconf23:11
uvosrtconf-gconf needs to be the first module loaded here https://github.com/maemo-leste/mce/blob/1a761d7d0cf4194167d0bb101ff6beb5fbd1cff6/mce.ini#L1723:11
Wizzupthat's for leste-config, or can we do that in mce.ini ?23:12
uvosmce.ini23:12
uvosonly23:12
uvosjust prepend rtconf-gconf to the line linked above23:13
Wizzupuvos: built23:31
Wizzupuvos: on mce and modem, we should look at connui-cellular and icd2 and see what should do what23:40
_uvos_Wizzup: great23:44
Wizzupupdating on my d423:45
Wizzupnot sure if this is new: 'update-rc.d: warning start or stop actions are no longer supported; falling back to defaults'23:48
_uvos_hmm never seen that23:50
_uvos_then again i use several de-dsme'd init scripts\23:50
WizzupI am not sure if this relates to dsme23:54
Wizzupthis was just on apt upgrade and only charge-mode and mce were updated23:54
parazydThat's fine23:55
parazydhttps://lists.debian.org/debian-devel/2013/05/msg01109.html23:57
parazydIn the debian/rules file you can append --no-start to dh_installinit to avoid the warning. Unsure if you want that though.23:58

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