title: Can't edit IORegistryEntry
body: <p>I am creating a software on Mac and I would like to change the value of an IORegistryEntry. I can view it on the IORegistryExplorer, but I can't edit it. So it's my understanding that I have to edit it via code. Here is my code:</p>
  
  <pre><code>CFMutableDictionaryRef matchingDict = IOServiceNameMatching("AppleUSBMultitouchDriver");
  io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, matchingDict);
  if(service) {
   CFStringRef manufacturer = IORegistryEntryCreateCFProperty(service, CFSTR("Manufacturer"), kCFAllocatorDefault,0);
   NSLog(@"%@", (NSString*)manufacturer);
   kern_return_t err = IORegistryEntrySetCFProperty(service, CFSTR("Manufacturer"), CFSTR("test"));
   NSLog(@"error = %d", err);
  }
  </code></pre>
  
  <p>This will output</p>
  
  <pre><code>2010-04-10 16:09:09.015 Test[41548:a0f] Apple Inc.
  2010-04-10 16:09:09.015 Test[41548:a0f] error = 0
  </code></pre>
  
  <p>But after I check the value in the IORegistryExplorer, it still doesn't change. Does anybody have any suggestions?</p>
  
  <p>Thank you</p>