Re: usbd config file parse behaviour

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 03/30/04

  • Next message: Bernd Walter: "Re: usbd config file parse behaviour"
    Date: Tue, 30 Mar 2004 01:46:32 -0700 (MST)
    To: ticso@cicely.de, ticso@cicely12.cicely.de
    
    

    In message: <20040330083607.GC32646@cicely12.cicely.de>
                Bernd Walter <ticso@cicely12.cicely.de> writes:
    : On Mon, Mar 29, 2004 at 07:44:34PM -0700, M. Warner Losh wrote:
    : > In message: <1080613926.1125.6.camel@dirk>
    : > Sam Lawrance <samuel.lawrance@studentmail.newcastle.edu.au> writes:
    : > : On Sun, 2004-03-28 at 20:47, Bernd Walter wrote:
    : > : > On Sun, Mar 28, 2004 at 01:31:03AM -0700, M. Warner Losh wrote:
    : > : > > Btw, any interest in making it possible to kldload a usb module and
    : > : > > having device attach to it? Right now the usb code assumes that you
    : > : > > can unplug the device and replug it back in. I have at least two
    : > : > > devices on my laptop that can't be removed (bluetooth and memory stick
    : > : > > reader), so I can't dynamically load drivers for them...
    : > : >
    : > : > I'll think about it.
    : > : > Reprobing is not so much an issue as selecting an interface for it.
    : > :
    : > : would this done by filling in uhub_driver_added() to find a better
    : > : driver match for a device and reattaching?
    : >
    : > Yes. Actually, it also requires some changes to newbus as well to
    : > allow for rebidding of devices. And there's some minor resetting of
    : > the device that likely needs to happen, but that's lower priority.
    :
    : Don't forget that we already have a driver for every USB device: ugen(4)
    : We need a better trigger to reprobe drivers - thats the real problem.

    No. That's not the real problem here. The real problem here is that
    uhub doesn't implement the driver_added callback correctly. The ugen
    issue, while interesting, can be overcome by not having ugen in the
    kernel.

    When ugen is in the kernel, we do need to do the rebid thing in
    newbus, which we don't do, but there's little point in fixing one w/o
    fixing the other.

    Warner
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Bernd Walter: "Re: usbd config file parse behaviour"

    Relevant Pages

    • Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4
      ... soundcard driver instead of snd-cs46xx doesn't make a difference either. ... This may need fixing. ... Will build a kernel with debugging stuff to see what's up. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Hackers Expose Critical Wi-Fi Driver Flaw
      ... | can isolate even device drivers in their own processes (contexts) to ... Saying "The real problem" is misleading. ... long some aspect (like writing the driver) will take. ... Guess which two that most managers usually end up picking. ...
      (alt.internet.wireless)
    • Re: VStudio 2008 EE C# UI blocked with strange message,...
      ... windows driver, ... output comming with fresh symbols for xp kernel. ... SFU Services where the SFU cant even run without ... [Not a real problem] ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Desk top publishing
      ... John I am using Serv Pack 4the real problem is 2 sided printing. ... I will try H/P for driver or driver guide.com ... >> old computer with Windows ME, when I try to print would bring up the ...
      (microsoft.public.publisher)
    • Re: REMA question/Big UnEasy
      ... brakepads" bad! ... The real problem though, is the driver! ... I've been hanging out online with the Sisters. ...
      (alt.gathering.rainbow)