Hello,

> > 
> > I have a doubt regarding usb_reset_dev call. In
> its
> > man page, it says,
> > 
> 
> > and the device's probe ()
> > routine will be called *automatically* by khubd?
> 
> This part is meaningless, since devices don't have
> probe() routines.

I meant the probe routine of the driver of the device
connected there. 

Hub0-->USB0
    -->USB1-->My_device
    
If I reset USB1, I am talking about the probe of
My_device device.

> 
> Assuming the device is still connected to the USB
> bus, khubd will detect 
> it and will enumerate it all over again.  A default
> configuration will be 
> selected and drivers for the interfaces in that
> configuration will be 
> probed.  All exactly the same as if the device had
> been unplugged and then 
> plugged back in.

In that case, if reset is a success nothing will
happen to the device? (I mean, will the device be
reinumerated again). If I want to fail the reset
intentionally, how can I do that? I wasn't able to
find it from the source code.

Thanks for the information/help..


 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to