diff --git a/src/userland/usb/main.c b/src/userland/usb/main.c index 35b4018..5d9f64b 100644 --- a/src/userland/usb/main.c +++ b/src/userland/usb/main.c @@ -47,6 +47,10 @@ free(report); } +void setupMassStorage(UsbSlot *slot, UsbInterfaceDescriptor *interface) { + printf("detected a USB mass storage device \n"); +} + void setupInterfaces(UsbSlot *slot, void *start, uint32_t configurationValue) { // only doing blank interface descriptors for now, there are // also interface assosciations... @@ -67,6 +71,8 @@ } if (interface->interfaceClass == 3) { setupHID(slot, interface); + } else if (interface->interfaceClass == 8) { + setupMassStorage(slot, interface); } interface = nextInterface; }