Back again, the included patch adds pci functions from com32/modules/pcitest.c to lua. Example: -- get device info pciinfo = pci.getinfo() -- get plain text device description pciids = pci.getidlist("/pci.ids") -- list all pci busses for bind,businfo in pairs(pciinfo) do print("Bus: " .. bind .. " Devices:") -- list all devices on bus for dind,device in pairs(businfo) do -- search for device description search = device['vendor'] .. device['product'] if ( pciids[search] ) then print(" " .. device['vendor'] .. ":" .. device['product'] .. ":" .. device['sub_vendor'] .. ":" .. device['sub_product'] .. " = " .. pciids[search]) else -- printf(" = Unknown device\n") print(" " .. device['vendor'] .. ":" .. device['product'] .. ":" .. device['sub_vendor'] .. ":" .. device['sub_product'] .. " = Unknown device") end end end -- print(pciids["8086"]) -- print(pciids["10543009"]) -- print(pciids["00700003"]) -- print(pciids["0070e817"]) -- print(pciids["1002437a1002437a"]) Bye, Marcel -------------- next part -------------- A non-text attachment was scrubbed... Name: syslinux-lua-pci.diff Type: text/x-patch Size: 11101 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20081212/99c2f25c/attachment.bin>