USB kernel module, how functions get called by kernel
The USB kernel module is called "ums-usbat,ko" for the 2.6.37 kernel found from www.kernel.org. The source file is "shuttle_usbat.c" which is in linux-2.6.37/drivers/usb/storage directory. It depends on usb-storage.
Much of this will be beginning questions about how the functions get called in the kernel module. In the source file, there are many functions. When the module is inserted, the Code:
static int __init usbat_init(void) Code:
static void __exit usbat_exit(void) There is also a macro called US_DEBUG. It is defined somewhere else, maybe in the kernel tree. How can I turn this on/off? I am building the module on its own. When I plug in an RCA k@zoo mp3 player, it does not create a scsi device. How can I find out if the functions are getting called? What could I do to try to read the device: Quote:
|
Quote:
Quote:
|
All times are GMT -5. The time now is 04:53 AM. |