#
✕ nick:jannau
#asahi-dev · 2023-04-16 16:05
jannaustage 1 m1n1 is broken with 13.3.1: "rtkit(dcp): unknown oslog message 103ff8000f0025f"
#asahi-dev · 2023-04-16 13:07
jannauI don't think so. iirc the product ids are unique even if the vendor id would matches across different busses
#asahi-dev · 2023-04-16 13:01
jannauyes, it should be handled by the default HID keyboard support
#asahi-dev · 2023-04-16 12:49
jannauor at least m1n1's uart and usb are still dead
#asahi-dev · 2023-04-16 12:47
jannauyes, works with main. without it I need to power cycle it. it's still dead after power cycle via usb-pd
#asahi-dev · 2023-04-16 12:41
jannauseems to be dead after display init. I removed it completely though, i.e. not even starting the endpoint
#asahi-dev · 2023-04-16 12:39
jannaumarcan: m1n1 breaks on j274 without oslog (12.3)
#asahi-dev · 2023-04-16 12:07
jannauerr, yes. 12.4
#asahi-dev · 2023-04-16 12:07
jannaubut based on the time I added it it would have been required on m1 with macos 12.x with x < 3
#asahi-dev · 2023-04-16 12:02
jannaut8112 dcp on 12.3 works without starting oslog
#asahi-dev · 2023-04-16 11:45
jannauin my logs I see endpoint 0x8 for dcp in 12.3, 12.4 and 13.2. it's gone in 13.3
#asahi-dev · 2023-04-16 11:38
jannauI think I added it for dcp. iirc it just needed to be started
#asahi-dev · 2023-04-16 11:25
jannauyes, it is intertwined with the other port setup stuff. I currently just added 'if link up's which makes the code hard to read/follow
#asahi-dev · 2023-04-16 11:19
jannaulet's see if I can refactor the linux driver to make the link up check not as ugly as it is now
#asahi-dev · 2023-04-16 11:15
jannaukettenis: linux boot works now with firmware "initrd"
#asahi-dev · 2023-04-16 10:35
jannaujust double the size
#asahi-dev · 2023-04-16 10:21
jannauprobe succeeds but it looks like no packets arrive
#asahi-dev · 2023-04-16 10:17
jannaudriver core complains about failing to create a device link to the smc gpio but that appears also with 12.3 and working mtp
#asahi-dev · 2023-04-16 10:16
jannaumarcan: did you test dockchannel/mtp with 13.3? it's broken on the j493. one obvious problem is that the sram requested by rtkit is 2 pages further down. but even after adjusting the sram size in the devicetree it is still broken without error logged
#asahi-dev · 2023-04-16 08:07
jannauChaosPrincess: have you checked if the 200m clock is correct for the touchbar spi? according to macos logs it uses a 24 MHz clock on j493
#asahi-dev · 2023-04-16 07:48
jannauno, I see it's manually handled in the driver
#asahi-dev · 2023-04-16 07:46
jannaumaybe not
#asahi-dev · 2023-04-16 07:44
jannauyou use it just for "cs-gpios". that seems to be a well establish dt property and seems to get picked up by gpiolib-of for us
#asahi-dev · 2023-04-16 07:33
jannauChaosPrincess: the touchbar turned out more popular than I assumed judging by the reaction on my posts yesterday
#asahi-dev · 2023-04-16 07:30
jannaukde has configuration to set the target display
#asahi-dev · 2023-04-16 07:27
jannauand so does kde
#asahi-dev · 2023-04-16 07:26
jannausddm associates the touchscreen with the main display
#asahi-dev · 2023-04-16 07:26
jannauoh, you don't have any SPI0_PINS in the touchbar PR just cs. that works on t8112 as well
#asahi-dev · 2023-04-16 07:12
jannauon t8112
#asahi-dev · 2023-04-16 07:09
jannauwhere did we get the SPI pins from? I'm trying to hook the touchbar touchscreen and we don't have the pins for spi3
#asahi-dev · 2023-04-15 14:56
jannauChaosPrincess: m2 dt and dcp change to register as card0. user space seems to be happy with that and uses the laptop display as default
#asahi-dev · 2023-04-15 14:26
jannauhttps://social.treehouse.systems/@janne/110203289175541411
#asahi-dev · 2023-04-15 14:16
jannauand it needs a setting to always open apps on the main display
#asahi-dev · 2023-04-15 14:14
jannauit's slightly broken though since you apparently can't have a full screen panel
#asahi-dev · 2023-04-15 14:09
jannauchadmed: I found another usecase for the touchbar: you can move the panel there
#asahi-dev · 2023-04-15 14:09
jannauChaosPrincess: drm driver works on m2 too. I'll send you the dt changes
#asahi-dev · 2023-04-15 11:38
jannauhttps://social.treehouse.systems/@janne/110202627148233641
#asahi-dev · 2023-04-15 11:12
jannaumore hilarious with 25 copies over the whole touchbar
#asahi-dev · 2023-04-15 10:38
jannauhttps://github.com/AsahiLinux/m1n1/pull/304
#asahi-dev · 2023-04-15 10:32
jannauj`ey: m1n1 can be used as video player after some optimisation: https://www.jannau.net/asahi/touchbar_m1n1_bad_apple.mp4
#asahi-dev · 2023-04-15 09:46
jannauj`ey: I'll make a video once the playback experience is improved
#asahi-dev · 2023-04-15 09:25
jannauit's black but over the the 4 is sometimes a row of white pixel of various lenght
#asahi-dev · 2023-04-15 09:22
jannauis it expected that there's sometimes a white stripe at the top above '4' during bad apple?
#asahi-dev · 2023-04-15 09:21
jannaucan't recommned it as video player though
#asahi-dev · 2023-04-15 09:21
jannauworks with the touchbar display m1n1 experiments, not sure if there is much to test otherwise
#asahi-dev · 2023-04-15 09:05
jannauChaosPrincess: touchbar display works on M2 as well
#asahi-dev · 2023-04-15 08:50
jannauI doubt we want to init dcp for devices with integrated display. dcp will be shut down when leave m1n1 so I don't see how that changes anything and distro kernels will still built-in simpledrm and have large hw specific display drivers as module
#asahi-dev · 2023-04-15 08:30
jannaunot sure if that still makes sense. I haven't heard any complains lately and we support nomodeset should there be issues
#asahi-dev · 2023-04-15 08:28
jannauChaosPrincess: dcp is intentionally written in a way it doesn't get card0 to be more resilient against error during initialisation. It removes simpldedrm late so simpledrm works as display if something fails during init
#asahi-dev · 2023-04-15 08:10
jannaubut if you just want to test if it is the refresh rate you could edit the commneted display= line in /etc/m1n1.conf and run update-m1n1

plus ›