[Top][All Lists]

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

Re: [Patch] USB hot-plugging support - usb branch

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [Patch] USB hot-plugging support - usb branch
Date: Sat, 17 Jul 2010 13:38:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100620 Icedove/3.0.5

On 07/07/2010 01:06 AM, Aleš Nesrsta wrote:
> Hi,
> I little bit changed "hot-plugging" support added into "usb" branch by
> Vladimir - see included patch. For the first look it maybe works on
> UHCI, I did not test it on OHCI yet...
> Basic info to this patch:

> 2.
> I am not using original comparing of "hub->speed[i]" and "speed" to
> detect connection status change (but I left the "hub" structure in code,
> it can be maybe useful in future). I am using built-in functions of
> OHCI/UHCI controllers (available via root hub port register) which
> should be more reliable and are more systematic and closed to
> specifications.
I thought of this at first too but haven't found such register on UHCI
and so decided to do it the same way on all systems. Since you've found
the needed register on UHCI I agree with your approach.
> 3.
> There is missing handling of disconnected devices. For this we will need
> to know on which port which device is attached - it is currently not
> known
But it can be easily stored in usbdevice structure.
>  - and we need to know it "recursively" because devices can be
> connected indirectly via non-root hubs.
> On this part I probably will not work in near future (currently I have
> no simple and suitable idea how to do it).
> Regards
> Ales
> _______________________________________________
> Grub-devel mailing list
> address@hidden

Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]