Hi,

I'm working on an Linux embedded application with 
the following questions regarding a new USB device
driver:

1. How to add an item (e.g. xyz) of new device driver 
   for configuration with "make xconfig"?

   Currently, I used linux-2.4.18.tar.gz and related patches,
   after installation on /root/linux and "make mrproper",
   I use the following procedure to create a new kernel:
     make xconfig
     make dep
     make bzImage

2. How to assign the major number for a new device driver?
   I found USB_MAJOR = 180 (from usb.h)
           ACM_TTY_MAJOR = 166 (from usb/acm.c)
           BLUETOOTH_TTY_MAJOR = 216 (from usb/bluetooth.c)

   Any criteria for major number assignment? How to avoid
   major numbers conflict?

3. Any Test/Debug Tools available for new USB device driver?
   Any suggestions for test/debug phase based on your
   experience?

Thanks!

Jiahan

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to