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: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to