#
✕ nick:mps
#asahi · 2022-07-07 17:13
mpsjanrinze: kernel doesn't recognize UUID
#asahi · 2022-07-07 13:35
mpsand I can confirm that passing partition to qemu works on macos
#asahi · 2022-07-07 13:33
mpsyes, I sued QEMU_EFI.fd earlier when run daily linux in qemu on m1
#asahi · 2022-07-07 13:32
mpsmixi: aha, ok. I thought about same. just wanted to know which option you used. thank you
#asahi · 2022-07-07 12:41
mpsor you pass ESP and root partition to qemu
#asahi · 2022-07-07 12:38
mpsmixi: you told that you boot same rootFS in qemu and native. any hint how you solved it? with u-boot or grub?
#asahi · 2022-07-05 20:25
mpsjust once set it on macos (last october) and use disk image
#asahi · 2022-07-05 20:24
mpsmarcan: ah, didn't know for macos, I know qemu on linux
#asahi · 2022-07-05 16:37
mpsI will try to see could I got it working
#asahi · 2022-07-05 16:36
mpssteffen[m]: mixi: thank you both
#asahi · 2022-07-05 16:30
mpssteffen[m]: did you maybe also created partition table on this partition
#asahi · 2022-07-05 16:29
mpssteffen[m]: yes, access to disk or partition must be done as root
#asahi · 2022-07-05 16:25
mpssteffen[m]: would you tell option for this
#asahi · 2022-07-05 16:07
mpss/guess/sure/
#asahi · 2022-07-05 16:07
mpsbut I guess this will be a lot easier on linux than on macos, if possible
#asahi · 2022-07-05 16:05
mpshm, why then qemu docs explicit about this that partition can't be used
#asahi · 2022-07-05 16:05
mpsAdryzzOLEDEdition[m]1: are you sure that virt-manager didn't used whole disk
#asahi · 2022-07-05 16:04
mpsah
#asahi · 2022-07-05 16:04
mpsAdryzzOLEDEdition[m]1: would you tell how you did this, this would be nice to know
#asahi · 2022-07-05 16:03
mpswhole disk works fine
#asahi · 2022-07-05 16:02
mpsbestouff[m]: I tried passing partition to qemu on some other machines and it never worked
#asahi · 2022-07-05 16:01
mpss/qeu/qemu/
#asahi · 2022-07-05 16:00
mpsat least with qeu
#asahi · 2022-07-05 16:00
mpsI doubt that only partition could work
#asahi · 2022-07-05 15:59
mpsresults*
#asahi · 2022-07-05 15:59
mpsbut if decide to use it that way please inform me of the resulst
#asahi · 2022-07-05 15:58
mpsmaybe qemu could destroy partition table
#asahi · 2022-07-05 15:57
mpsyear ago when I used linux in qemu on m1 I contemplated all this
#asahi · 2022-07-05 15:57
mpsbestouff[m]: you can pass whole disk to qemu and then use linux partition but this could be risky, except using disk in RO mode but then it is mostly useless
#asahi · 2022-07-05 14:58
mpswhatever I set in macos it is dimmed
#asahi · 2022-07-05 14:58
mpsI noticed that when boot m1 mbp if the battery less than 60% full the display is dimmed
#asahi · 2022-07-01 16:25
mpsalso I need suspend/resumu and brightness control, rest is ok
#asahi · 2022-06-30 06:42
mpsit can be easily adapted/tweaked according to your needs
#asahi · 2022-06-30 06:41
mpsasahilover[m]: I wrote small hackish daemon to control charging here https://www.arvanta.net/2x3d1kfg/charge-ctl.c
#asahi · 2022-06-30 06:40
mpsfor example `echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour` will discharge battery even when machine is on power supply
#asahi · 2022-06-30 06:38
mpsoptions/parameters are, auto, inhibit-charge and force-discharge
#asahi · 2022-06-30 06:37
mpswriting to it three options controls behavior
#asahi · 2022-06-30 06:36
mpsasahilover[m]: if you didn't found backlog in short: file /sys/class/power_supply/macsmc-battery/charge_behaviour is what controls charge/discharge
#asahi · 2022-06-29 16:31
mpsasahilover[m]: if you can look at yesterday backlog here you will see about control battery charge options
#asahi · 2022-06-28 12:46
mpsmarcan: I thought about this idea but I don't have idea how to make it in kernel
#asahi · 2022-06-28 12:26
mpsheh, didn't know because I don't use upower
#asahi · 2022-06-28 12:24
mpshackish one
#asahi · 2022-06-28 12:23
mpshttps://www.arvanta.net/2x3d1kfg/charge-ctl.c
#asahi · 2022-06-28 12:23
mpsmarcan: I wrote daemon for this about 3-4 weeks ago
#asahi · 2022-06-28 10:38
mpsoptions*
#asahi · 2022-06-28 10:38
mpsso for now we can do this by using, auto, inhibit and discharge oprions
#asahi · 2022-06-28 10:38
mpschadmed: thanks for info
#asahi · 2022-06-28 10:34
mpsand no one yet documented accesss to this?
#asahi · 2022-06-28 10:32
mpsI'm keeping chromebook to 85 - 90 by decreasing and increasing charging current
#asahi · 2022-06-28 10:31
mpsAI in charger :)

plus ›