Displaying 1 result from an estimated 1 matches for "format_serial".
2006 Jun 03
1
RFC: allow HID subdriver's to register ups.conf settings
...int (*claim)(HIDDevice *hd);
usage_tables_t *utab;
hid_info_t *hid2nut;
int (*shutdown)(int ondelay, int offdelay);
char *(*format_model)(HIDDevice *hd);
char *(*format_mfr)(HIDDevice *hd);
char *(*format_serial)(HIDDevice *hd);
void (*extendvartable)(void);
};
- In the subdriver source, add an extra function,
subdriver_extendvartable(). I'm currently
working on belkin-hid.c, so it would have;
void belkin_extendvartable(void) {
addvar(VAR_FLAG, "...