http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586751 mentions commit
163d5fc3 which was supposed to fix the problem.

commit 163d5fc355670722ce45893e5af60ea4bde06a82
Author: Richard Hughes <rich...@hughsie.com>
Date:   Mon Sep 20 16:22:45 2010 +0100

    Do not continue to poll the serial port if there is no Watts Up Pro
adaptor

diff --git a/src/linux/up-device-wup.c b/src/linux/up-device-wup.c
index 73bb8e5..bf5dbb8 100644
--- a/src/linux/up-device-wup.c
+++ b/src/linux/up-device-wup.c
@@ -376,11 +376,7 @@ up_device_wup_coldplug (UpDevice *device)
 
        /* coldplug */
        egg_debug ("coldplug");
-       up_device_wup_refresh (device);
-
-       /* hardcode true, as we'll retry later if busy */
-       ret = TRUE;
-
+       ret = up_device_wup_refresh (device);
 out:
        return ret;
 }

However, up_device_wup_refresh() returns TRUE unconditionally, and has
always done so since 163d5fc3. It looks like the "fix" has never been
tested. This doesn't look like a regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798095

Title:
  upowerd grabs my FTDI USB serial port adapter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/798095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to