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:

> I need seperate usb filter because I am implementing
> remote usb detection tool.I am going to pass urbs to
> other system through socket.
> Any way..
> I removed usbmon. For now I am getting register with
> core successfully. But again there is one problem.
> I've used "usb_mon_operations" structure.
> I've registered my functions too(i.e. submit,complete
> and error).
> Then I load my module with modprobe, and insert my usb
> device. It should generate urbs and it should come to
> my functions. But my functions doesn't get call any
> more.
> 
> what should I do?

You should debug the problem.

Actually you've got two separate pieces of software, and so there might 
be two problems.  One piece is the filter and the other is your driver 
module.  Either one of the could be wrong.

You can test the filter easily enough by using a standard USB driver.  
And you can test your driver module alone (using usbmon instead of your 
filter).  With separate testing like this, you can find out where the 
problems are.

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