News for hackers. Stuff that matters.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by iuafhiuah on Monday February 20, 2023 @07:07PM (#34874673)
Work from the Asahi Linux team has been upstreamed since 5.13. This article makes it sound like 6.2 is good to go when that's really not the case.

There is a list of upstreamed and missing functionality on the Asahi Linux wiki here: https://github.com/AsahiLinux/docs/wiki/Feature-Support

Linux 6.2 adds (checks notes): cpufreq to M1s, devicetree for newer hardware, HDMI out to Mac Studio (2022) and bluetooth support.

That doesn't sound as interesting as this article suggests when stuff like USB, the touchpad, keyboard, speakers, 3.5mm audio, suspend/sleep are all still WIP downstream.

This isn't a dig at the Asahi Linux developers. They're making solid progress. This is just a bad article.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by benatkin on Monday February 20, 2023 @07:43PM (#34874945)
There's an M1 Mac Mini. What's this about a touchpad?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by Jcowell on Monday February 20, 2023 @08:19PM (#34875244)
M1 Mac mini supports the shiv trackpad of course. Comes in clutch when you have limited desk space (and to me the superior input device).
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by RockRobotRock on Monday February 20, 2023 @08:58PM (#34875529)
It seems difficult to use long-term for RSI. What are your thoughts?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by andyferris on Tuesday February 21, 2023 @12:50AM (#34877211)
I totally had this problem with a magic touchpad.

Great device. Loved it - for about a month. Couldn’t touch it without pain after that.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by dfee on Tuesday February 21, 2023 @01:10AM (#34877336)
No idea what a shiv trackpad is. I did find this while googling for it though: https://www.etsy.com/listing/783328345/
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by Jcowell on Tuesday February 21, 2023 @10:00AM (#34881909)
Weird auto correct. Should be Magic Trackpad
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by froggit on Thursday February 23, 2023 @03:22PM (#34915953)
A shiv is an improvised, easily concealed, close quarters DIY weapon, constructed of pretty much anything that can be formed into a sharp point or cutting edge. They are popular in prisons due to supply side constraints on other armament options. Think "toothbrush sharpened into stabby thing" or "piece of bed frame filed down into cutty thing." Just about the furthest thing from Apple hardware I can think of.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by MuffinFlavored on Monday February 20, 2023 @08:23PM (#34875267)
> That doesn't sound as interesting as this article suggests when stuff like USB, the touchpad, keyboard, speakers, 3.5mm audio, suspend/sleep are all still WIP downstream.

I wonder what kind of realistic ETA there is (if any) for these kinds of features.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by Gigachad on Monday February 20, 2023 @10:51PM (#34876283)
A lot of them sound pretty close. Sleep for example is something they know how to get working, all that’s left is someone to come up with a plan to integrate it nicely in to the Linux kernel in a way that isn’t copy pasting the existing system and changing the values that are different on Mac.

Speakers also do work but they are disabled by default so a bug in the current implementation doesn’t blow up the hardware.

And a whole set of major features will be supported as soon as the thunderbolt driver is done which I’ve heard is in progress.

The touchbar, fingerprint reader, and camera are things I wouldn’t hold my breath for.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by user3939382 on Monday February 20, 2023 @11:34PM (#34876635)
> come up with a plan to integrate it nicely in to the Linux kernel in a way that isn’t copy pasting the existing system and changing the values that are different

Laughs in NetBSD

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by adduc on Monday February 20, 2023 @10:54PM (#34876302)
speaker support is being actively worked on [1]

[1]: https://phpc.social/@[email protected]/10981800943090...

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by deaddodo on Tuesday February 21, 2023 @12:08AM (#34876916)
I used to be pretty pessimistic about the team. While it had some solid heads in it, I thought things would take much longer than they have. Given their current progress/speed I wouldn't be surprised if most of these are functional enough for upstream by the end of the year, with iterative progress towards M2.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by deafpolygon on Tuesday February 21, 2023 @12:04AM (#34876872)
Agreed. Bad article because it sets false expectations which leads to poorer adoption.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by singularity2001 on Tuesday February 21, 2023 @02:22AM (#34877853)

   stuff like USB, the touchpad, keyboard, speakers, 3.5mm audio, suspend/sleep are all still WIP 
That makes it sound as if they are barely (un)usable which isn't true either
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by notpushkin on Tuesday February 21, 2023 @03:56AM (#34878561)
Are speakers enabled in Asahi stable already? If they're still behind a build flag (which is for a good reason, you can blow them up if you're not careful), I'd say those are indeed unusable.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @04:09AM (#34878663)
I don't understand why USB support should even be an issue. Is the controller integrated into the SoC or something? Or is it a chipset thing?

Feels like Apple have made this a lot harder than it needed to be. Of course they're masters at designing great hardware with ridiculous flaws. Like somehow being fragile despite the metal construction. Missing connectors, weird keyboard design choices. Soldered-on components. I bought a Macbook Pro once almost a decade ago. Never again. Never before or since have I felt less like I actually owned the hardware I'd bought.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by tuyiown on Tuesday February 21, 2023 @04:18AM (#34878733)
I often have to read this kind of comments about apple, but it never aligns with my personal anecdotes about apple, and it never mention actual hardware or brand whose qualities are so much more valuable than apple's.

You sound like anything but apple is good, but there's a lot of awful hardware out there, that is for sure. How to you avoid it ? What's your foolproof buyer method ? I might sound snarky, but I'm also genuinely interested !

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by rkangel on Tuesday February 21, 2023 @04:29AM (#34878825)
Apple is kind of in their own price-point which is (potentially) justified by their quality. The main alternative is "buy something cheaper".
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by kaba0 on Tuesday February 21, 2023 @10:31AM (#34882236)
Is their any laptop that is even in the same ballpark on a performance-battery-life plot?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @05:24AM (#34879241)
There's plenty of terrible hardware out there, indeed. Personally I prefer Thinkpads. I've owned a lot of shitty laptops over the years, though the Macbook Pro(2013/2014 retina) is the only one that's managed to become permanently dead as yet. The others I've been able to repair to some extent. I've had my Thinkpad for six years now and it's still going strong. It's not even a powerful model, I just run pretty low-overhead stuff on it and test the stuff I code remotely on my home workstation through a vpn. It's sturdy as hell though. 6 years of not-so-gentle use and no accidental damage has happened. The Macbook display was damaged and useless after 3 months, because it was dropped, once. Of course it was deemed user error, because it was. But man, I expect a bit more sturdyness from a $1400 laptop built in metal by a company that is supposed to deliver "superior quality" at a hefty premium.

I expect to keep my Thinkpad for another 5 years at least. But I might switch to Framework at some point if they can match the Thinkpad build quality. For laptops I value sturdyness and repairability over all other considerations, because I'm clumsy as hell. Apple products are far too fragile for me and far less sturdy than they look.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by gjvc on Tuesday February 21, 2023 @06:31AM (#34879795)
> Apple products are far too fragile for me and far less sturdy than they look

Amen.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by kaba0 on Tuesday February 21, 2023 @10:30AM (#34882210)
I really like my thinkpad and basically all my family has second hand thinkpads, but let’s not pretend that they are flawless — their last few generations of intels have terrible throttling issues.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @01:03PM (#34884444)
Sure, that could be, I don't have any issues, though my thinkpad also just has an i5 in.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by hutzlibu on Tuesday February 21, 2023 @05:44AM (#34879408)
"What's your foolproof buyer method ?"

Reading trustworthy test sites, before buying anything expensive. Which has gotten a bit harder, due to LOTS of paid content, but it still works, if you know how to spot the signs of a bad site.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by komali2 on Tuesday February 21, 2023 @07:51AM (#34880534)
Before I buy a laptop, I pretend I accidentally put my fist through the screen, and shadowbox the process of replacing the panel.

For example with Thinkpad that meant finding a compatible panel based on specs they publish about all their models, then finding a teardown and rebuild video published on the Lenovo website for the model.

I was really interested in an m1 laptop but I tried my process with it and all research pointed to "send it in to apple care" which I don't want to do because I know how to use a screw driver and order parts, that should be enough.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @08:12AM (#34880704)
Yeah, display, battery, and storage replacement being doable is absolutely key to me. But even more importantly, the display needs to be well shielded, especially if it's an LCD panel, because with those one crack is enough to make the entire display unusable. The Macbook I had was very vulnerable if it fell and landed in its side. It's because Apple prioritise a thin bezel over durability, I think.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by GeekyBear on Tuesday February 21, 2023 @09:45AM (#34881733)
>Self Service Repair is intended for individuals with the knowledge and experience to repair electronic devices. If you are experienced with the complexities of repairing electronic devices, Self Service Repair provides you with access to genuine Apple parts, tools, and repair manuals to perform your own out-of-warranty repair.

https://support.apple.com/self-service-repair

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by komali2 on Tuesday February 21, 2023 @03:24PM (#34886589)
Is that the thing where they mail you a pelican box of parts?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by ZiiS on Tuesday February 21, 2023 @05:46AM (#34879430)
Apple used their own physical transceiver for the USB3/DP/TB port. They probably could have found an existing one that worked and supported Linux but it doesn't seem to be unreasonable to develop their own. To support the astounding bandwidth of USB3 and above these devices are a marvel of engineering. Every different cable needs the hardware to re-tune its timing and analog circuitry to match.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @06:16AM (#34879657)
Sure, they can develop their own. But nothing is stopping them from also providing drivers/patches to the Linux kernel. Many companies that develop hardware do.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by vbezhenar on Tuesday February 21, 2023 @06:55AM (#34880018)
Apple is not charity. Why would they do that? It have to be economically justified.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mft_ on Tuesday February 21, 2023 @07:52AM (#34880543)
They’d sell a lot more to Linux-only users… but that’s obviously not their goal, and Apple seems to be unusually good at being ruthless in their prioritisation.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by vbezhenar on Tuesday February 21, 2023 @06:52AM (#34879987)
You just need to care about Macbook. It's a luxury item after all. I made the same mistake treating my first Macbook as ordinary laptop. Of course it broke very quickly. Bad USB port, GPU issues, keyboard issues, broken SSD, broken audio port and so on.

I bought my second Macbook and I'm using mostly wireless accessoires to prevent port damage. I don't use its built-in keyboard and touchpad to prevent them from breaking. I don't disconnect it from power to prevent battery damage. I bought huge SSD (2TB) and don't fill it with data to prolong its life.

And you know what? It works wonders. This macbook works without hiccups for almost a year! Sure, I'll need to replace my Apple Keyboard soon, but that's just $250, not $5200.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by mtlmtlmtlmtl on Tuesday February 21, 2023 @07:16AM (#34880236)
Oh no, be careful. You should keep it in a dry clean room with external cooling, only ever run a stripped down minimalist, headless linux distro to avoid taxing the hardware too much. Only ever use it through SSH.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by smoldesu on Tuesday February 21, 2023 @08:32AM (#34880902)
Instructions unclear, I updated to Catalina and half my software broke.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by kennend3 on Tuesday February 21, 2023 @09:48AM (#34881769)
I hope this is sarcasm.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by noirscape on Tuesday February 21, 2023 @06:12AM (#34879617)
> are all still WIP downstream

For full clarity, having observed Marcans socials for a while, a big reason as to why upstreaming into the kernel is slow is because the Linux kernel suffers heavily from having BDFL maintainers.

Basically a specific maintainer can make upstreaming patches to their part of the kernel a process few people want to go through due to how much leeway they have in approving/rejecting patches. Stuff like yelling at merges that also happen to fix bugs in the parts that they modify because "bugs should be upstreamed separately" (even when splitting out the bugfix makes zero structural sense) or getting angry at contributors for lines they didn't contribute but that git diff happened to spit out around their commit to keep the diff readable.

Having watched that for a few weeks really gives you an understanding as to why so few Linux modifications for obscure devices have their patches upstreamed. (Switchroots main project, which is the Linux kernel but modified to run on the Switch for example doesn't bother upstreaming anything as far as I can tell.)

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by KyeRussell on Tuesday February 21, 2023 @06:35AM (#34879832)
These days it’s hard to ignore the fact that Linux enjoys its continued success in spite of these sorts of crusted in grumps, not because of them.
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by LtdJorge on Tuesday February 21, 2023 @07:25AM (#34880305)
Would you give the project to other contributors, working for Meta or Google for example?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by komali2 on Tuesday February 21, 2023 @07:46AM (#34880498)
What does "give the project" mean?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by nicce on Tuesday February 21, 2023 @08:48AM (#34881061)
Giving the ultimate control for what gets accepted and rejected
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by noirscape on Tuesday February 21, 2023 @08:30AM (#34880888)
Absolutely not, but it's also not a binary choice between "power-mad maintainer" and "corporate management".

There's plenty of maintainers who aren't that sort of a stick in the mud (even on the Linux kernel), the problem is that the Linux kernel has a few too many entrenched ones who are basically using their position to be a bully to interested contributors. They're generally aware enough that they know that the people they get into fights with aren't likely to use any of the official processes and are more willing to put up with it.

It's more akin to "this maintainer should be replaced" rather than "the entire management is bad"; to my understanding the actually important trees (as in, the server related components, since Linux is primarily used as a server kernel) don't have these maintainers; they're mostly on the stuff that matters less like well... Sleep/Wake related things, speakers and batteries, all of which are mostly useful for desktops and laptops.

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by joaomacp on Friday February 24, 2023 @06:33PM (#34931767)
I'm not that knowledgeable in this department, but: if the BDFL is really hurting the usability of their library / service, can't it just be forked by more benevolent actors?
Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by float4 on Tuesday February 21, 2023 @07:10AM (#34880178)
> BDFL

(Benevolent Dictator For Life)

Re:Linux 6.2: The first mainstream Linux kernel for Apple M1... by jasoneckert on Tuesday February 21, 2023 @07:24AM (#34880296)
> Linux 6.2 adds (checks notes): cpufreq to M1s, devicetree for newer hardware, HDMI out to Mac Studio (2022) and bluetooth support.

It's worth noting that these features were long available since July 2022 (https://asahilinux.org/2022/07/july-2022-release/) to Asahi users. And like other Asahi users, I've been using them since that time on my Mac Studio running Asahi (with HDMI output, 10G ethernet, and Bluetooth too): https://triosdevelopers.com/jason.eckert/stuff/AsahiSwayM1Ul...