Re: probe not getting called in usbskeleton

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 12, 2007 at 09:34:37AM +0530, Sendhilraj T wrote:
> Hi ,
> 
> I have modified the usb-skeleton.c to work for my first usb device driver.
> I have just modified the 
> #define USB_SKEL_VENDOR_ID 
> #define USB_SKEL_PRODUCT_ID 
> in usb-skeleton.c according to my need.
> when I give insmod init function gets called and when i give rmmod exit 
> function gets called correctly.
> When i insert my device probe hardly get called.
> Do I  need to add anyother thing in driver code to detect my deive.

Are you sure that no other driver is grabbing your device?

What does the kernel log show when you enable CONFIG_USB_DEBUG and plug
in your device?

thanks,

gre k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux