[PATCH] PCI device enumeration for lua

2010-10-27 Thread Evan Broder
Hi - This patch adds anew enum_pci(callback) function to the Lua grub library for enumerating devices on the PCI bus. This is not currently possible because there's no way to get the output of a command from grub.run. While I think that would be useful to have in the more general case, in this

Re: [PATCH] PCI device enumeration for lua

2010-11-05 Thread Evan Broder
On Wed, Oct 27, 2010 at 12:29 PM, Evan Broder wrote: > Hi - >    This patch adds anew enum_pci(callback) function to the Lua grub > library for enumerating devices on the PCI bus. This is not currently > possible because there's no way to get the output of a command from > g

Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Evan Broder
On Sat, Nov 6, 2010 at 3:06 AM, Duboucher Thomas wrote: > Hi, > > Lua 5.2 will integrate bitlib by default to perform bitwise operations; > we could also readily integrate it in the current version. Sure, I'd be happy to submit a new patch that leaves the bit mangling out if that library could be

Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Evan Broder
On Sat, Nov 6, 2010 at 2:25 PM, Duboucher Thomas wrote: > Hmm, I was a bit outdated. So you either have the choice of using bitop > if you prefer to keep Lua 5.1 (http://bitop.luajit.org/), or you can use > Lua 5.2 (http://www.lua.org/work/doc/manual.html#pdf-bit32). Ok. It seems like a generally

RFC: Plan for new "hwmatch" command

2010-11-17 Thread Evan Broder
Hi - Based on some off-list discussion, I'd like to try a different angle for the Lua patches I submitted a week or two ago. For context, Ubuntu is interested in setting gfxpayload=keep as often as we can in the next release [1]. Since gfxpayload=keep doesn't work with all hardware/driver combin

Re: RFC: Plan for new "hwmatch" command

2010-11-18 Thread Evan Broder
On Thu, Nov 18, 2010 at 7:52 PM, Brendan Trotter wrote: > Hi, > > On Thu, Nov 18, 2010 at 3:28 PM, Evan Broder wrote: >>   Based on some off-list discussion, I'd like to try a different >> angle for the Lua patches I submitted a week or two ago. For context, >>