The problem ius probably that /sys is a special directory maintained by the kernel, like /proc (see this page
for more info. Therefore, just created files and directories in there will not really work. You need to have the functionality that provides that file as a part of sysfs inside the kernel itself. Unfortunately, I've never really played with sysfs, so I can't help you, but I bet googling on that file name would turn up some useful results.