Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-13 Thread Gabriel L. Somlo
On Thu, Dec 13, 2012 at 08:20:11AM +0100, Henrik Rydberg wrote: > > The only viable (from a legal CYA standpoint) thing I can think of is > > to make it easy to acquire the OSK automatically, on demand, directly > > from the hardware. Right now, the logical place for that is applesmc.ko. > > It

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-13 Thread Gabriel L. Somlo
On Thu, Dec 13, 2012 at 08:20:11AM +0100, Henrik Rydberg wrote: The only viable (from a legal CYA standpoint) thing I can think of is to make it easy to acquire the OSK automatically, on demand, directly from the hardware. Right now, the logical place for that is applesmc.ko. It already

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-12 Thread Henrik Rydberg
Hi Gabriel, > I could try to hardcode the OSK inside QEMU, or I could try to include > it as a default config file entry, but I'm quite certain the QEMU project > would be uncomfortable "distributing" a string on which Apple claims > copyright. Even if that happened, distros might then balk at

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-12 Thread Gabriel L. Somlo
Henrik, I agree with you that it's silly to poke the hardware for a string we KNOW will NEVER change :) That being said, I too would love to live in a world where technical common sense prevailed over bullshit lawyerly tactics, "corporate strategies", and the ensuing FUD. The way things stand

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-12 Thread Gabriel L. Somlo
Henrik, I agree with you that it's silly to poke the hardware for a string we KNOW will NEVER change :) That being said, I too would love to live in a world where technical common sense prevailed over bullshit lawyerly tactics, corporate strategies, and the ensuing FUD. The way things stand

Re: [PATCH v2] applesmc: add sysfs file to report OSK

2012-12-12 Thread Henrik Rydberg
Hi Gabriel, I could try to hardcode the OSK inside QEMU, or I could try to include it as a default config file entry, but I'm quite certain the QEMU project would be uncomfortable distributing a string on which Apple claims copyright. Even if that happened, distros might then balk at shipping

[PATCH v2] applesmc: add sysfs file to report OSK

2012-12-10 Thread Gabriel L. Somlo
The AppleSMC contains two char[32] keys, OSK0 and OSK1, which are not reported in the key count and index by default. These keys are used by the OS X boot sequence, and normally don't matter when running Linux. This patch creates a sysfs entry which reports the value of these keys as an ASCII

[PATCH v2] applesmc: add sysfs file to report OSK

2012-12-10 Thread Gabriel L. Somlo
The AppleSMC contains two char[32] keys, OSK0 and OSK1, which are not reported in the key count and index by default. These keys are used by the OS X boot sequence, and normally don't matter when running Linux. This patch creates a sysfs entry which reports the value of these keys as an ASCII