Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    6

    probe not getting called in usb-skeleton


    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 and compiled and created .ko

    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 gets called.
    Do i need to add anyother thing in driver code for my device to be detected
    Looking for all your help

    T.Senthil

  2. #2
    Just Joined! vijay_kernel's Avatar
    Join Date
    Apr 2007
    Posts
    77
    Hi Senthil,

    Please paste the code here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •