> perhaps you can trace the cables and get a PCB diagram? I need to do this "on the fly" via some shell script to be able to use it in devd rules. On Linux we use /sys/* entries to do this - unfortunately it's working on Linux only.