#
✕ nick:yuka
#asahi-dev · 2026-05-23 19:50
yukaworks!
#asahi-dev · 2026-05-23 19:44
yukato be able to link against the com.apple.kpi.iokit kext, which provides the iolog symbol
#asahi-dev · 2026-05-23 19:44
yukaI had to add an entry in the Info.plist
#asahi-dev · 2026-05-23 19:44
yukaFound it
#asahi-dev · 2026-05-23 19:37
yukaFailed to bind '_IOLog' in 'yuka.i2c'
#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: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: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: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
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
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 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
#asahi-dev · 2026-05-23 10:44
yukaIt prints "genpd: Not disabling unused power domains" but then continues to disable them (according to following "PS ...: pwrstate = ..." prints)
#asahi-dev · 2026-05-23 10:43
yukaAlso, pd_ignore_unused does not seem to work for me
#asahi-dev · 2026-05-23 10:40
yukaguessing this is some power thing again
#asahi-dev · 2026-05-23 10:35
yukabut not the usb-hub (addr 0x2c)
#asahi-dev · 2026-05-23 10:35
yukaI see the usb-repeater (addr 0x21) on i2c2
#asahi-dev · 2026-05-23 10:35
yukaI'm trying some usb shenanigans on the macbook neo
#asahi-dev · 2026-05-21 08:45
yukaSo I wasn't sure how this was set up to get the dcp for brightness control while using simple panel still
#asahi-dev · 2026-05-21 08:44
yukaI remember in the old days, using apple dcp + software rendering was much slower than simple panel + software rendering

plus ›