Re: LDD3 usb-skeleton.c

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

 



On Sat, Jan 06, 2007 at 11:40:58PM +0530, Ashok kumar wrote:
> On 1/6/07, Greg KH <greg@xxxxxxxxx> wrote:
> >
> >On Sat, Jan 06, 2007 at 08:16:15PM +0530, Ashok kumar wrote:
> >> 1. usb-skeleton.c is a module, how can i check this?
> >
> >What do you mean "check this"?
> 
> 
> we have "hello world module", it is printing "Hello world", while installing
> module so that i can come to know, when "module_init"  is called and
> "module_exit" is called and actually i can see the output also.
> one memory mapping example is also there.
> like that we have so many simple drivers in that we can invoke open,
> release,read,write as our wish.
> 
> but here i don't know how invoke all entry points(probe,disconnect) without
> any kind of usb hardware.
> is it possible?
> if so,how ?

No, you need some USB hardware in order to have the probe and disconnect
function to be called properly.

good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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