Difference between revisions of "/dev/usb/wfssrv"

From WiiBrew
< /dev‎ | usb
Jump to: navigation, search
m (←Created page with 'Used to interact with WFS devices.')
 
(Add error codes)
Line 1: Line 1:
 
Used to interact with WFS devices.
 
Used to interact with WFS devices.
 +
 +
== Error codes ==
 +
{| class=wikitable
 +
|+ List of WFS error codes extracted from a debug function in wfskrn
 +
|-
 +
! Name !! Error code
 +
|-
 +
| OK || 0
 +
|-
 +
| BUSY || -10001
 +
|-
 +
| OUT_OF_MEMORY || -10002
 +
|-
 +
| INVALID || -10003
 +
|-
 +
| ACCESS || -10004
 +
|-
 +
| LIB_NOT_INITIALIZED || -10005
 +
|-
 +
| LIB_ALREADY_INITIALIZED || -10006
 +
|-
 +
| LIB_VERSION_INCONSISTENT || -10007
 +
|-
 +
| FILE_TOO_BIG || -10008
 +
|-
 +
| NO_CHANGE_SIZE || -10009
 +
|-
 +
| MEDIA_ERROR || -10010
 +
|-
 +
| DEV_UNUSABLE || -10011
 +
|-
 +
| DEV_NOT_INITIALIZED || -10012
 +
|-
 +
| DEV_IN_USE || -10013
 +
|-
 +
| VOL_ID_ERROR || -10015
 +
|-
 +
| WRITE_PROTECTED || -10016
 +
|-
 +
| ALREADY_MOUNTED || -10017
 +
|-
 +
| PERMISSION || -10018
 +
|-
 +
| PERMISSION_CL || -10019
 +
|-
 +
| ACL_FULL || -10020
 +
|-
 +
| ACL_ENTRY_NOT_FOUND || -10021
 +
|-
 +
| AUTHENTICATION || -10022
 +
|-
 +
| CORRUPTION || -10023
 +
|-
 +
| DIRECTORY_QUOTA || -10024
 +
|-
 +
| MAX_HANDLES || -10025
 +
|-
 +
| INVALID_HANDLE || -10026
 +
|-
 +
| ALREADY_EXISTS || -10027
 +
|-
 +
| NOT_FOUND || -10028
 +
|-
 +
| NOT_EMPTY || -10029
 +
|-
 +
| NOT_FILE || -10030
 +
|-
 +
| NOT_DIRECTORY || -10031
 +
|-
 +
| FILE_OPEN || -10032
 +
|-
 +
| LOCKED || -10033
 +
|-
 +
| DIFFERENT_AREA || -10035
 +
|-
 +
| TRANSACTION_RESOURCE_LIMIT || -10036
 +
|-
 +
| DIR_ENTRY_FOUND || -10040
 +
|-
 +
| DIR_NODE_STRING_PREFIX || -10041
 +
|-
 +
| DIR_CHOICE_PREFIX || -10042
 +
|-
 +
| DIR_NODE_STRING_MISMATCH || -10043
 +
|-
 +
| DIR_NODE_CHOICE_NOT_FOUND || -10044
 +
|-
 +
| DIR_BLK_FULL || -10045
 +
|-
 +
| SRV_END_OF_PATH || -10060
 +
|-
 +
| SRV_PATH_DEPTH_1 || -10061
 +
|-
 +
| SRV_PATH_DEV || -10062
 +
|-
 +
| SRV_PATH_VOL || -10063
 +
|-
 +
| SRV_PATH_VOL_ROOT || -10064
 +
|-
 +
| PTREE_ENTRY_FOUND || -10071
 +
|-
 +
| PTREE_ENTRY_NOT_FOUND || -10072
 +
|-
 +
| PTREE_FULL || -10073
 +
|-
 +
| DEVICE_ERROR || -10080
 +
|-
 +
| DEVICE_INVALID_PARAMETER || -10081
 +
|-
 +
| BCACHE_ERROR || -10120
 +
|-
 +
| BCACHE_RESOURCE_LIMIT || -10121
 +
|-
 +
| BCACHE_INVALID_PARAMETER || -10122
 +
|-
 +
| BCACHE_NO_MEMORY || -10123
 +
|-
 +
| BCACHE_NOT_FOUND || -10124
 +
|-
 +
| BCACHE_MAX_DEVICES || -10125
 +
|-
 +
| BCACHE_INVALID_DEVICE || -10126
 +
|-
 +
| BCACHE_INVALID_HANDLE || -10127
 +
|-
 +
| BCACHE_INVALID_VOLUME || -10128
 +
|-
 +
| BCACHE_ALREADY_MAPPED || -10129
 +
|-
 +
| BCACHE_ALLOC || -10130
 +
|-
 +
| BCACHE_PMEM || -10131
 +
|-
 +
| VOLUME_ERROR || -10140
 +
|-
 +
| VOLUME_INVALID_PARAMETER || -10141
 +
|-
 +
| VOLUME_BCACHE_ALLOC || -10142
 +
|-
 +
| VOLUME_BCACHE_CONFIG || -10143
 +
|-
 +
| TRANSACTION_ERROR || -10160
 +
|-
 +
| TRANSACTION_INVALID_PARAMETER || -10161
 +
|-
 +
| ACL_ERROR || -10180
 +
|-
 +
| ACL_INVALID_PARAMETER || -10181
 +
|-
 +
| ACL_MAX_ENTRIES || -10182
 +
|-
 +
| ACL_CACHE || -10184
 +
|-
 +
| ACL_FILE || -10185
 +
|-
 +
| ACL_FILENAME || -10187
 +
|-
 +
| ACL_HANDLE || -10189
 +
|-
 +
| AREA_ERROR || -10220
 +
|-
 +
| AREA_INVALID_PARAMETER || -10221
 +
|-
 +
| AREA_BCACHE_ALLOC || -10222
 +
|-
 +
| NOT_IMPLEMENTED || -11026
 +
|-
 +
| UNKNOWN || -11027
 +
|-
 +
| FATAL_ERROR || -11028
 +
|}

Revision as of 04:59, 12 August 2017

Used to interact with WFS devices.

Error codes

List of WFS error codes extracted from a debug function in wfskrn
Name Error code
OK 0
BUSY -10001
OUT_OF_MEMORY -10002
INVALID -10003
ACCESS -10004
LIB_NOT_INITIALIZED -10005
LIB_ALREADY_INITIALIZED -10006
LIB_VERSION_INCONSISTENT -10007
FILE_TOO_BIG -10008
NO_CHANGE_SIZE -10009
MEDIA_ERROR -10010
DEV_UNUSABLE -10011
DEV_NOT_INITIALIZED -10012
DEV_IN_USE -10013
VOL_ID_ERROR -10015
WRITE_PROTECTED -10016
ALREADY_MOUNTED -10017
PERMISSION -10018
PERMISSION_CL -10019
ACL_FULL -10020
ACL_ENTRY_NOT_FOUND -10021
AUTHENTICATION -10022
CORRUPTION -10023
DIRECTORY_QUOTA -10024
MAX_HANDLES -10025
INVALID_HANDLE -10026
ALREADY_EXISTS -10027
NOT_FOUND -10028
NOT_EMPTY -10029
NOT_FILE -10030
NOT_DIRECTORY -10031
FILE_OPEN -10032
LOCKED -10033
DIFFERENT_AREA -10035
TRANSACTION_RESOURCE_LIMIT -10036
DIR_ENTRY_FOUND -10040
DIR_NODE_STRING_PREFIX -10041
DIR_CHOICE_PREFIX -10042
DIR_NODE_STRING_MISMATCH -10043
DIR_NODE_CHOICE_NOT_FOUND -10044
DIR_BLK_FULL -10045
SRV_END_OF_PATH -10060
SRV_PATH_DEPTH_1 -10061
SRV_PATH_DEV -10062
SRV_PATH_VOL -10063
SRV_PATH_VOL_ROOT -10064
PTREE_ENTRY_FOUND -10071
PTREE_ENTRY_NOT_FOUND -10072
PTREE_FULL -10073
DEVICE_ERROR -10080
DEVICE_INVALID_PARAMETER -10081
BCACHE_ERROR -10120
BCACHE_RESOURCE_LIMIT -10121
BCACHE_INVALID_PARAMETER -10122
BCACHE_NO_MEMORY -10123
BCACHE_NOT_FOUND -10124
BCACHE_MAX_DEVICES -10125
BCACHE_INVALID_DEVICE -10126
BCACHE_INVALID_HANDLE -10127
BCACHE_INVALID_VOLUME -10128
BCACHE_ALREADY_MAPPED -10129
BCACHE_ALLOC -10130
BCACHE_PMEM -10131
VOLUME_ERROR -10140
VOLUME_INVALID_PARAMETER -10141
VOLUME_BCACHE_ALLOC -10142
VOLUME_BCACHE_CONFIG -10143
TRANSACTION_ERROR -10160
TRANSACTION_INVALID_PARAMETER -10161
ACL_ERROR -10180
ACL_INVALID_PARAMETER -10181
ACL_MAX_ENTRIES -10182
ACL_CACHE -10184
ACL_FILE -10185
ACL_FILENAME -10187
ACL_HANDLE -10189
AREA_ERROR -10220
AREA_INVALID_PARAMETER -10221
AREA_BCACHE_ALLOC -10222
NOT_IMPLEMENTED -11026
UNKNOWN -11027
FATAL_ERROR -11028