On Thu, 17 Apr 2008, vcgandhi1@xxxxxxx wrote: > When I switch to static Major and Minor numbers, the code started to work. So > I believe the issue is with dynamic Major and Minor number. I still don't understand. drivers/serial/jsm/jsm_driver.c does the same. But as it calls in its jsm_init_module: uart_register_driver tty_register_driver where if (!driver->major) { error = alloc_chrdev_region(&dev, driver->minor_start, driver->num, driver->name); if (!error) { driver->major = MAJOR(dev); driver->minor_start = MINOR(dev); } then it does get non-zero major and minor numbers. Doesn't this work for you? Thanks Guennadi --- Guennadi Liakhovetski -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html