Am Dienstag, 22. Januar 2008 08:28:04 schrieben Sie:
> Am Dienstag, 22. Januar 2008 03:08:41 schrieb Christian Schoenebeck:
> > I'm using usb_register_dev() to create USB character devices under /dev.
> > As far as I can see it however one can only create one device for the
> > same USB interface, correct?
>
> Yes, that's a limitation. You have to use generic character devices to do
> what you want to do.

But there is no existent character device function to actually create a device 
under /dev AFAIK. Forcing the user to use mknod is undesirable.

Do I need to register my own class (class_create()) and then use 
device_create() to create the character device under /dev ? Or is there a 
*better* way to do it?

CU
Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to