#
#asahi-dev · 2026-05-23 19:43
chaos_princesshttps://developer.apple.com/documentation/kernel/1575337-iolog
#asahi-dev · 2026-05-23 19:42
chaos_princessmaybe missing an include? it could be some header-only thing
#asahi-dev · 2026-05-23 19:37
yukaFailed to bind '_IOLog' in 'yuka.i2c'
#asahi-dev · 2026-05-23 19:35
chaos_princessIOLog?
#asahi-dev · 2026-05-23 19:31
yukaI can find very little on it
#asahi-dev · 2026-05-23 19:31
yukaThis may sound stupid but does anyone know how to do any kind of printf / logging in a kext in recent mac os?
#asahi-dev · 2026-05-23 14:24
jannauyes, no pcie for t603x
#asahi-dev · 2026-05-23 14:23
fl0_djannau, none of these have pcie yet, right?
#asahi-dev · 2026-05-23 14:18
fl0_djannau, awesome :) I look forward to testing once I have my work stuff restored from backup
#asahi-dev · 2026-05-23 14:18
yukaand their uuids
#asahi-dev · 2026-05-23 14:18
yukaat least it's very difficult to get documentation on the available "plug-ins"
#asahi-dev · 2026-05-23 14:14
jannauno, but HPM were i2c devices and the interface smells like macos could have an i2c in userspace API
#asahi-dev · 2026-05-23 14:13
yukasadly this also fails
#asahi-dev · 2026-05-23 14:05
yukaThere is IOI2CInterfaceOpen
#asahi-dev · 2026-05-23 14:04
yukaIOCreatePlugInInterfaceForService failed
#asahi-dev · 2026-05-23 14:04
yukaThe AppleHPMLib plugin does not work for sure
#asahi-dev · 2026-05-23 13:32
yukaIs the hub a "HPM" device? Does this work for non-HPM devices?
#asahi-dev · 2026-05-23 13:21
jannaumight not even need a kext, https://github.com/AsahiLinux/macvdmtool/blob/main/AppleHPMLib.h
#asahi-dev · 2026-05-23 13:18
yukaI wonder if a kext can simply talk to the i2c mmio directly
#asahi-dev · 2026-05-23 13:17
yukaIf I could these i2c values from a running mac os, that would be probably helpful
#asahi-dev · 2026-05-23 13:17
yuka*= vl122
#asahi-dev · 2026-05-23 13:17
yuka0x2122 = vl211 (just a guess, this is not in the usb ids database)
#asahi-dev · 2026-05-23 13:16
yuka0x2109 = via labs
#asahi-dev · 2026-05-23 13:16
yukathe first few i2c addresses of the hub smell like usb vendor/product id
#asahi-dev · 2026-05-23 13:16
yukadevices 0x2c and 0x3b appeared after resetting the hub
#asahi-dev · 2026-05-23 13:15
yukadevice 0x21 (the usb-repeater according to adt) was already present at boot
#asahi-dev · 2026-05-23 13:15
yukai2c bus 1 here is i2c2
#asahi-dev · 2026-05-23 13:15
yukahttps://yuyu.yuka.dev/public/j700-usb-i2c.txt
#asahi-dev · 2026-05-23 13:10
yukanot if I'm the VL122 based hub
#asahi-dev · 2026-05-23 13:09
yuka* :D
#asahi-dev · 2026-05-23 13:09
yukadD
#asahi-dev · 2026-05-23 13:09
yuka> VL122-based hub devices work under Windows, Mac OS X, and various Linux kernels without additional drivers
#asahi-dev · 2026-05-23 13:08
yukaor i2c interface documentation
#asahi-dev · 2026-05-23 13:08
yukayes but no data sheet
#asahi-dev · 2026-05-23 13:08
jannauhttps://www.via-labs.com/product_show.php?id=126
#asahi-dev · 2026-05-23 13:08
yukahttps://www.ifixit.com/News/116152/macbook-neo-is-the-most-repairable-macbook-in-14-years
#asahi-dev · 2026-05-23 13:08
yukayou can spot it on the teardown pics
#asahi-dev · 2026-05-23 13:08
yukaVia Labs VL122
#asahi-dev · 2026-05-23 13:07
jannauany information on the hub's maker and model?
#asahi-dev · 2026-05-23 13:07
yuka(fwiw these "tunables" are also in the device tree extracted from ipsw, so they are not device specific)
#asahi-dev · 2026-05-23 13:06
yukaand then padding to 32-bit
#asahi-dev · 2026-05-23 13:06
yukaevery fourth byte is zero so I guess it's always one byte address, one byte mask and one byte value
#asahi-dev · 2026-05-23 13:03
yukathere are only so many knobs on this thing
#asahi-dev · 2026-05-23 13:03
yukafor the usb-hub-i2c
#asahi-dev · 2026-05-23 13:03
yukaI take any guesses on what tunable-vl, tunable-gl and tunable-vlf0 mean
#asahi-dev · 2026-05-23 13:02
jannaufl0_id: I did already ^^^
#asahi-dev · 2026-05-23 13:01
jannauI've tagged and pushed asahi-7.0.10-1 to github. rust builds will now fail without toolchain and additional m3 pro/max hardware support: nvme, mtp and smc
#asahi-dev · 2026-05-23 11:12
yukanow it shows up on i2c
#asahi-dev · 2026-05-23 11:11
yukahad to reset the usb hub
#asahi-dev · 2026-05-23 11:11
yukagot it

plus ›