fixed enumeration list to be a proper list, return posix errors if hid_error is not available