Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1

From: Oliver Neukum (oliver_at_neukum.org)
Date: 12/13/03

  • Next message: neel vanan: "acpi related error....."
    To: Alan Stern <stern@rowland.harvard.edu>
    Date:	Sat, 13 Dec 2003 12:52:52 +0100
    
    

     
    > The API has an admitted weak spot when more than one driver is bound to
    > the device. No one has settled on a definite policy for how to handle
    > that situation.

    Right. You have to disconnect all but the driver requesting the reset.

    > > IMHO you should do the code paths for late errors and the device morphed
    > > case in another thread, but what's the benefit for success?
    >
    > In the success case there are no errors, the device hasn't morphed, and
    > there's no need to do anything in another thread. The existing driver(s)
    > can remain bound, usb_reset_device returns 0, and nothing more has to be
    > done.

    OK, we agree.
    There is one pathological case. We could have a device with several
    interfaces of the same kind. In this case we would reenter probe, if
    the reset was requested from within probe().
    Could we avoid any complication if we move the rebinding to another
    thread always?

            Regards
                    Oliver

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: neel vanan: "acpi related error....."

    Relevant Pages

    • Re: ACPI S3 - USB resume problem (kernel 2.6.7)
      ... I also tried to get this working, without success (And no more time ... The e1000 driver has the same problem. ... Interrupts on RX. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: 2.6.3 gdth driver NMI Watchdog detected LOCKUP
      ... I will include the change into our new driver version and will send a patch for 2.6.4 on Monday next week to Linus. ... 2.6.3 gdth driver NMI Watchdog detected LOCKUP ... > 4808 return SUCCESS; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: My thoughts on the "new development model"
      ... |>>> 2.6 tree is great for gentoo users who like gcc consuming all CPU ... |>> that after a month or so of fixes etc it will be a very stable kernel ... driver for 2.6.7 for an ADSL card; a development driver for 2.6.5 for a ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: libata in 2.4.24?
      ... IDE disks report immediate success even before the ... The way CONFIG_IDE (the traditional IDE driver) and libata work right ... > until the write hits disk. ...
      (Linux-Kernel)
    • Re: RASN Discussion Topics
      ... Success Is Slow to Come - New York Times ... he must at least have some degree of talent to be in a Cup car. ... On the other hand, he *has* been driving with what is essentially the family team, and more so, was the only marketable driver on said team for quite some time. ...
      (rec.autos.sport.nascar)