News for hackers. Stuff that matters.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by voltagex_ on Monday February 22, 2016 @04:33PM (#11154463)
The DSDT problems aren't just for the high end laptops either - I have a $350 Z3735F system that requires a DSDT edit which I don't understand [1] https://gist.github.com/voltagex/eec041092d719c77483e

systemd can't take all the blame either - I bricked (yes really bricked) one of these by grub installing a "stub" that only booted into grub-rescue on my EFI partition. I can't get into the firmware settings and the rescue loader can't read the partition tables -> bricked unless I can corrupt the EEPROM somehow and force a menu (no CMOS battery in these low-end devices to pull)

Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by ajross on Monday February 22, 2016 @06:59PM (#11155370)
FWIW: that DSDT hack is replacing a constant return value from the first method in the "HAD" device. It was specified to return 0, but now returns 0xf instead. This is almost certainly the _STA (status) method, which informs the OS about the operational status of the described device. I forget the exact meaning of the bottom four bits offhand, but 0xf is the standard value for "device present and operating normally -- use it!".

That it was returning zero would cause the linux ACPI framework to ignore it and not probe its driver. My vague understanding is that windows works differently, and calling _STA is done by the driver, so it's possible to just not do it and still have a working system.

I don't know what the device itself is, but given that the script says "audio" in there it's probably the audio codec.

Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by voltagex_ on Tuesday February 23, 2016 @01:09AM (#11156931)
PendoPad 11" 'laptop' running Windows 10 Home 32 bit (despite having a 64 bit capable processor).

I replaced the bricked device and I'm going to be a lot more careful this time.

Booting Ubuntu Wily works, but there's no battery (status/charging?), wifi, audio or touchscreen. So if you use the XDA scale it's working perfectly!

I have another Z3735 device (MeegoPad T01 - Intel Compute Stick knockoff), but it's unusable because the clock runs fast, then slow, then fast - enough that an NTP sync makes the clock go backwards and then everything breaks.

These chipsets are turning up everywhere and most of the time the implementation is garbage. I hope Intel did better with the reference implementation/s but I can't afford them at the moment.

Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by yuhong on Tuesday February 23, 2016 @07:29PM (#11163555)
The idea of multiple vendors making the same "beige boxes" and only competing on price is bad. One of the things on my wishlist for an Intel/AMD branded laptop is a high quality UEFI implementation.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by voltagex_ on Tuesday February 23, 2016 @07:50PM (#11163644)
Keep wishing. Even a $1400 Lenovo X1 had terrible UEFI when I used it - what's the point of re-implementing your old keyboard-only BIOS UI exactly if you have mouse support? Dell does better, at least in the business grade products.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by yuhong on Tuesday February 23, 2016 @09:07PM (#11163993)
I am talking about an Intel/AMD branded laptop.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by voltagex_ on Tuesday February 23, 2016 @09:09PM (#11164006)
I get you now - do they exist outside of CES and the Intel employees toting around prototypes?
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by yuhong on Tuesday February 23, 2016 @09:10PM (#11164009)
I know it does not currently exist. The point is that it would be a better idea than what we have now.