USB Speed Checking
David Zeuthen
david at fubar.dk
Tue Jul 29 05:28:43 PDT 2008
On Mon, 2008-07-28 at 23:45 -0400, Martin Owens wrote:
> Thoughts?
Hi. This sounds pretty useful to me though it should probably be a
gnome-settings-daemon plug-in. I didn't look at the code but here are
some questions
- Should cover more than just mass storage devices.
- What happens at session startup? The right thing is probably to
create a small notification icon but no bubbles (bubbles at
login is normally frowned upon)
- What is the user interaction like? I'd suppose the right thing
is to create an icon and show a notification bubble. Bonus points
for telling the user what ports (ideally mention the hub by name) he
can plug his Hi-Speed device into instead.
You probably also need some button for the user "Stop" (e.g. unmount
or other actions) the device before the user yanks it out to plug it
into another port.
- How do you determine if a Hi-Speed device isn't running at
full speed? IIRC it's non-trivial to do it right (you'd have
to look at some of the device descriptors not exposed in sysfs)
and pretty easy to do it wrong.
It would probably be good to file a bug with your patches too.
David
More information about the hal
mailing list