Gretting
i have simple usbdriver for one usb device, but from that node is not created
in /dev/ directory
i have registered driver with following code and driver's entry is there in sys
directory.
static struct usb_class_driver test_class = {
.name = "test%d",
.fops = &vcom_fops,
// .mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH,
.minor_base = USB_VCOM_MINOR_BASE,
// .mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH,
.minor_base = USB_VCOM_MINOR_BASE,
};
retval = usb_register_dev(interface, &test_class);
Also making node statically works.
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel