#
#asahi-dev · 2023-10-04 14:46
jannegmarcan: can you look into taking kernel fixes and prepare a new tag/release?
#asahi-dev · 2023-10-04 07:29
svenit makes sense to play with those values a bit, they actually need to come from TIPD :D
#asahi-dev · 2023-10-04 07:14
jannegjonmasters: I have https://paste.debian.net/1293960/ in my testing tree but iirc only that fixes detection problems
#asahi-dev · 2023-10-04 06:21
svenit looks like it never establishes a tbt connection
#asahi-dev · 2023-10-04 06:20
svenwhat enclosure is this?
#asahi-dev · 2023-10-04 06:20
svenhmmm
#asahi-dev · 2023-10-04 06:06
jonmastersboltctl is completely empty
#asahi-dev · 2023-10-04 06:03
jonmasterssven: here's the lspci: https://pastebin.com/ZibXC9gB
#asahi-dev · 2023-10-04 06:02
jonmasterswhat I meant to say was boltctl shows nothing, e.g. boltctl list is empty
#asahi-dev · 2023-10-04 06:01
jonmasterssorry not boltctl, just add remove log
#asahi-dev · 2023-10-04 06:01
jonmasterssven: btw, here's the boltctl log: https://pastebin.com/TRZYVrsR
#asahi-dev · 2023-10-02 11:17
jannegkettenis: great, send patches for things which will simplify porting
#asahi-dev · 2023-10-02 09:27
kettenisso far I've made only minimal modifications to the code
#asahi-dev · 2023-10-02 09:26
kettenisjanneg: I've got my port of the dcp driver exchanging messages with the DCP in OpenBSD
#asahi-dev · 2023-10-02 00:12
chadmedokay so it doesnt care about the mfd cell name thats nice
#asahi-dev · 2023-10-02 00:11
chadmedah yeah thats the one it didnt like
#asahi-dev · 2023-10-02 00:11
jannegprobably complained about that one
#asahi-dev · 2023-10-02 00:11
jannegdevm_hwmon_device_register_with_info has still a "macsmc_hwmon" parameter
#asahi-dev · 2023-10-02 00:10
chadmedhuh interesting. when i used - it had a big whinge about it and explicitly said to replace it with _
#asahi-dev · 2023-10-02 00:09
jannegI see only complaints about the temp sensors nopt being attached top a thermal zone
#asahi-dev · 2023-10-02 00:06
chadmeddid hwmon not complain about the '-' on probe?
#asahi-dev · 2023-10-02 00:06
chadmedoh wait no the smc stuff is in our platform/apple dir ok who cares then
#asahi-dev · 2023-10-02 00:06
jannega comment over the driver name would be helpful
#asahi-dev · 2023-10-02 00:05
chadmedits a coin flip
#asahi-dev · 2023-10-02 00:05
chadmedi wonder which will get NACKed for upstreaming, the pattern break or using a '-' :)
#asahi-dev · 2023-10-02 00:05
jannegoh well
#asahi-dev · 2023-10-02 00:05
chadmedyeah :/
#asahi-dev · 2023-10-02 00:04
jannegah, that'll break the pattern in smc_core.c
#asahi-dev · 2023-10-02 00:03
chadmedalso just fyi '-' in hwmon driver names is now illegal which is why i used '_'
#asahi-dev · 2023-10-02 00:03
chadmedwe could probably improve macsmc_hwmon_populate_info() eventually, im sure ive done something a bit silly in there
#asahi-dev · 2023-10-02 00:02
chadmed(approximately 99.999% of all kernel code)
#asahi-dev · 2023-10-02 00:02
chadmedbut thats getting very close to amd drm autogen register definitions
#asahi-dev · 2023-10-02 00:01
chadmedwhich is why my initial prototype just had a header file with all of them precomposed for each machine
#asahi-dev · 2023-10-02 00:01
jannegI tried to make macsmc_hwmon_populate_info() nicer buit gave up
#asahi-dev · 2023-10-02 00:01
chadmedyeah its a nightmare, i really really hate how the whole hwmon_channel_info thing works
#asahi-dev · 2023-10-02 00:00
jannegI thought it would be a good idea to support adding keys dynamically through sysfs for simple user testing of keys but after seeing how hwmon is probed: no way
#asahi-dev · 2023-10-01 23:59
chadmedhttps://github.com/jannau/linux/commit/e437da3c0e707fdfdec05f396fbd56c3551a27f8 ohhhh thats how you do that :)
#asahi-dev · 2023-10-01 23:56
jannegI don't think we can use keys found elsewhere without sanity checks
#asahi-dev · 2023-10-01 23:55
jannegchadmed: https://github.com/jannau/linux/tree/macsmc-hwmon has some minor cleanup and shows what I meant with using .dtsi includes for the sensor keys
#asahi-dev · 2023-10-01 23:07
chadmedyeah those two are definitely wrong
#asahi-dev · 2023-10-01 21:06
jannegnow at +72.6°C
#asahi-dev · 2023-10-01 21:06
janneg"R Palm Rest Temp: +26.4°C" and I notice no difference
#asahi-dev · 2023-10-01 21:05
j`eythat seems a little hot to the touch
#asahi-dev · 2023-10-01 21:04
jannegI don't think so: "L Palm Rest Temp: +63.8°C"
#asahi-dev · 2023-10-01 20:20
janneghard to believe that there are 6 temp sensors for each p-core but none for e-core
#asahi-dev · 2023-10-01 20:19
jannegI think I tried all likely T... keys for e-core temp sensors but none spiked significantly under load
#asahi-dev · 2023-10-01 20:14
jannegso it just displays a non-hotspot p-core temp sensor as e-core temperature
#asahi-dev · 2023-10-01 20:12
jannegbut taskpolicy -b (forcing everything on the e-core) is enough to show it
#asahi-dev · 2023-10-01 20:04
jannegit looks like even tg pro outputs bogus values for the m2's efficiency cores. thanks to the missing taskset on macos nobody has ever noticed
#asahi-dev · 2023-10-01 19:59
svenSo far I haven’t seen a device that wouldn’t show up inside the thunderbolt layer so if you have an enclosure with that issue I’m very interested

plus ›