![]() ![]() ![]() This would allow having multiple sunxi devices > nice to have that for USB gadget drivers that make use of it (e.g. This can seem not very useful, but it would be > device a unique serial number, that would be shown in > As far as I know, there is currently no mechanism in place to give each Replicant is a fully free Android distribution running on severalĭevices, a free software mobile operating system putting the emphasis on Those should have device-specific values, exceptĭo you have any better idea to do this, or is there some reference that See, Allwinner SoCs have some e-fuses, known as SID (Security ID): I'm interested in figuring out the best way to do this. Get_board_serial, that is not yet implemented on sunxi. Normally, the serial number has to be figured out by the bootloader and Nice to have that for USB gadget drivers that make use of it (e.g. Printf("CPUID opcode not supported, exiting.As far as I know, there is currently no mechanism in place to give eachĭevice a unique serial number, that would be shown inĮ.g. Printf("Processors - %d\n", SysInfo.dwNumberOfProcessors) For the specific register settings prior to executing the CPUID instruction, check Intels system programmer PDF available through their website. it is rumored than you can special order processors with serial numbers, btu the minimum purchase is something like 1 million processors. The feature is present in newer processors for compatibility reasons. The feature was removed from late model P3's and all newer processors. It did not go over well with the community, and lawsuits ensued. The feature was primarily aimed at copy protection, allowing software to be linked to specific processors. Later model Pentium 3's may also return 0x00000000's. Also on Pentium 4 and newer processors the instruction always returns 0x00000000 in all 4 registers. However, this functionality is only available on Pentium 3 and later processors. Since this is more like a low-priority traffic I didn't want to spam my network for gathering WMI data on multi-threaded call.Įxecuting the CPUID instruction with the proper register settings will retrieve the processor serial number in EAX, EBX, ECX, and EDX. So if you do the math it took me over 3 hours on a single thread operation. This was really simple to implement using ManagementClass
0 Comments
Leave a Reply. |