On Thu, Nov 23, 2006 at 10:12:08AM +0100, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I want to implement a usb host device driver that uses major number 61 and
> minor numbers 1 to 14.

Why would a host driver need a major number, or even a minor number?
You don't directly access them at all.

> I have developed a usb device driver based on usb-skeleton.c. This
> driver uses major number 180 and assigns minor number dynamically when
> usb devices are connected.
> 
> Now, I want to assign major and minor number statically, and not use major
> number 180. I guess that I have to use the function register_chrdev
> instead of usb_register. What else do I have to change in the
> usb-skeleton.c code?

What kind of driver are you using the usb-skeleton.c file for?  You can
probably just get away with using a userspace program that talks to the
usb device through usbfs or libfs.

thanks,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to