Google
  Web www.spinics.net

Re: unable to register with usb core

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


On Mon, 17 Dec 2007, ashish mahamuni wrote:

> At this stage I don't care about my USB driver.
> I want my filter running.
> I debug my filter with printk, the problem is that
> urbs doesn't come to my registered functions.
> Later I copied the usbmon's code as it is, and build
> the mon_main.ko file. Still it doesn't call the
> functions even from mon_main.ko
> I think I compiled the kernel wrong way.
> I used the default configurations while 'make
> menuconfig'. 
> Please check the attached file.
> Any suggesstions will be helpfull.

Read the definition of usbmon_urb_submit() in core/hcd.h.  If 
CONFIG_USB_MON isn't set, the routine doesn't do anything.  Therefore 
your filter never gets called.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux