[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Nice to see the resume issue addressed. There was another issue in this bug - the fact that the Synaptics PS/2 touchpad was not being properly recognized at boot by the kernel. Is there another open bug to address this still open issue? -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: oem-priority Status: Fix Committed => Fix Released -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
This bug was fixed in the package linux - 2.6.32-23.37 --- linux (2.6.32-23.37) lucid-proposed; urgency=low [ Alex Deucher ] * SAUCE: drm/radeon/kms/atom: fix dual-link DVI on DCE3.2/4.0 - LP: #564559 [ Andy Whitcroft ] * [Config] ports -- build in dm-mod to enable LVM boot - LP: #560717 * tools -- fix perf version extraction for multi-part flavours - LP: #555130 * SAUCE: ACPI: EC: Allow multibyte access to EC (v3) - LP: #526354 * [Config] enforce -- ensure dm_mod is built-in for LVM - LP: #560717 * update to ubuntu-debian:7e708d33054c373faf41da23b73e8b48c342d958 - LP: #570500, #576274 [ Chase Douglas ] * Revert "(pre-stable): input: ALPS - Add signature for HP Pavilion dm3 laptops" - LP: #550625 * Enable ftrace function profiler - LP: #570389 * enforce CONFIG_TMPFS_POSIX_ACL=y - LP: #575940 [ Leann Ogasawara ] * Revert "staging/comdi -- disable" - LP: #563436 * [Config] Enable multicast routing for sparc - LP: #416266 * [Config] Add ahci.ko to virtual sub-flavour - LP: #570542 [ Stefan Bader ] * Revert "SAUCE: drm/i915: Disable FBC on 915GM and 945GM" - LP: #588832 [ Tim Gardner ] * ubuntu: rtl8192se -- update to version 0015.0127.2010 - LP: #567016 * [Config] Add atl1c to nic-modules udeb - LP: #557130 [ Upstream Kernel Changes ] * Revert "(pre-stable) iwlwifi: fix nfreed--" - LP: #575853 * Revert "backlight: mbp_nvidia_bl - add five more MacBook variants" - LP: #575853 * Revert "(pre-stable) pata_via: Add VIA VX900 support" - LP: #575853 * Revert "(pre-stable) x86-32, resume: do a global tlb flush in S4 resume" - LP: #575853 * Revert "x86: disable IOMMUs on kernel crash" - LP: #575853 * Revert "sunrpc: fix peername failed on closed listener" - LP: #575853 * Revert "sunrpc: move the close processing after do recvfrom method" - LP: #575853 * Revert "(pre-stable) drm/edid: allow certain bogus edids to hit a fixup path rather than fail" - LP: #575853 * Revert "drm/radeon/kms: don't print error on -ERESTARTSYS." - LP: #575853 * Revert "ath9k: fix lockdep warning when unloading module" on stable kernels - LP: #588832 * Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK - LP: #483343 * fat: fix buffer overflow in vfat_create_shortname() - LP: #575853 * xfs: simplify inode teardown - LP: #575853 * xfs: fix mmap_sem/iolock inversion in xfs_free_eofblocks - LP: #575853 * xfs: I/O completion handlers must use NOFS allocations - LP: #575853 * xfs: Wrapped journal record corruption on read at recovery - LP: #575853 * xfs: Fix error return for fallocate() on XFS - LP: #575853 * xfs: check for not fully initialized inodes in xfs_ireclaim - LP: #575853 * xfs: fix timestamp handling in xfs_setattr - LP: #575853 * xfs: Don't flush stale inodes - LP: #575853 * xfs: Ensure we force all busy extents in range to disk - LP: #575853 * xfs: reclaim inodes under a write lock - LP: #575853 * xfs: Avoid inodes in reclaim when flushing from inode cache - LP: #575853 * xfs: reclaim all inodes by background tree walks - LP: #575853 * xfs: fix stale inode flush avoidance - LP: #575853 * xfs: xfs_swap_extents needs to handle dynamic fork offsets - LP: #575853 * xfs: quota limit statvfs available blocks - LP: #575853 * xfs: don't hold onto reserved blocks on remount, ro - LP: #575853 * xfs: remove invalid barrier optimization from xfs_fsync - LP: #575853 * xfs: Non-blocking inode locking in IO completion - LP: #575853 * xfs: fix locking for inode cache radix tree tag updates - LP: #575853 * sh: Enable the mmu in start_secondary() - LP: #575853 * sh: Fix FDPIC binary loader - LP: #575853 * libiscsi: Fix recovery slowdown regression - LP: #575853 * Freezer: Fix buggy resume test for tasks frozen with cgroup freezer - LP: #575853 * iwlwifi: counting number of tfds can be free for 4965 - LP: #575853 * iwlwifi: fix nfreed-- - LP: #575853 * iwlwifi: range checking issue - LP: #575853 * setup correct int pipe type in ar9170_usb_exec_cmd - LP: #575853 * mac80211: move netdev queue enabling to correct spot - LP: #575853 * mac80211: tear down all agg queues when restart/reconfig hw - LP: #575853 * WATCHDOG: hpwdt - fix lower timeout limit - LP: #575853 * WATCHDOG: iTCO_wdt: TCO Watchdog patch for additional Intel Cougar Point DeviceIDs - LP: #575853 * genirq: Force MSI irq handlers to run with interrupts disabled - LP: #575853 * lis3: fix show rate for 8 bits chips - LP: #575853 * pata_ali: Fix regression with old devices - LP: #575853 * HID: fix oops in gyration_event() - LP: #575853 * raw: fsync method is now required - LP: #575853 * readahead: fix NULL filp dereference - LP: #575853 * ALSA: mixart
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: oem-priority Status: In Progress => Fix Committed -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Tags added: verification-done ** Tags removed: verification-needed -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Verified Fixed. Fix tested & verified. Kernel 2.6.32-23 now has touchpad working after suspend. This was tested on a Dell Inspiron n4010 that demonstrated the issue, where touchpad would not come back after suspend. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Branch linked: lp:ubuntu/lucid-proposed/linux-ec2 -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Branch linked: lp:ubuntu/lucid-proposed/linux-mvl-dove -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Accepted linux into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
This fix has been included upstream and in Maverick. ** Changed in: linux (Ubuntu Lucid) Status: In Progress => Fix Committed ** Changed in: linux (Ubuntu) Status: Triaged => Fix Released -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
@Tim, looks good. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Please try linux-2.6.32-22.34~lp551234 in my PPA at http://ppa.launchpad.net/timg-tpi/ppa/ubuntu -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Also affects: linux (Ubuntu Lucid) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Lucid) Importance: Undecided => Low ** Changed in: linux (Ubuntu Lucid) Status: New => In Progress ** Changed in: linux (Ubuntu Lucid) Milestone: None => lucid-updates ** Changed in: linux (Ubuntu Lucid) Assignee: (unassigned) => Tim Gardner (timg-tpi) -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: oem-priority Importance: High => Medium -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
The proposed fixed has been massaged and has finally landed in upstream. Please consider the following commit for the next SRU cycle. Thank you. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ef110b24e28f36620f63dab94708a17c7e267358 -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
This fix has finally been distilled and has been proposed for Linus to pull: http://git.kernel.org/?p=linux/kernel/git/dtor/input.git;a=commit;h=ef110b24e28f36620f63dab94708a17c7e267358 The root cause is we have a synaptics touchpad device that fails to be identified as a genuine synaptics device, so the ps2 subsystem fails back to the generic psmouse driver. The psmouse driver does *not* issue a reset to device on reconnect, which is ps2 slang for resume. Had it been probed correctly, it would have received a reset on reconnect from the synaptics driver. So we've succeeded in making the psmouse driver a little more robust but have yet to resolve the root cause, which is to correctly identify and configure the touchpad as a genuine synaptic device. We're working on getting the datasheet for this part. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Work is still happening upstream on a proper patch for this issue. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: oem-priority Status: New => In Progress -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: linux (Ubuntu) Milestone: None => lucid-updates -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Cleaned up patch and dropped the msleep as it appears not be necessary. ** Patch added: "updated psmouse reset patch" http://launchpadlibrarian.net/4329/psmouse_reset.patch -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Tags added: patch -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Assigning to this to the canonical-kernel-team so they can have a look to the patch too. ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: New => Triaged ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team) -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Changed in: oem-priority Importance: Undecided => High -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
Reproduced on 2.6.31 (karmic) and 2.6.32 (lucid) kernel series. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Tags added: kernel-series-unknown -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Description changed: - I'm working on an OEM laptop where on boot the touchpad works just fine, but - after coming back from S3, the system doesn't detect that a touchpad is present. - I instrumented the psmouse driver and later the libps2 core and found we were - bailing in psmouse_probe with -ENODEV. + Upcoming Dell Laptop being worked on by OEM has a touchpad that works fine on boot, but + after coming back from S3 suspend, the system doesn't detect that a touchpad is present. + + + The kernel psmouse driver was instrumented and later the libps2 core and found we were + bailing in psmouse_probe with -ENODEV. [ 2241.043143] XXX loading psmouse module [ 2241.043321] XXX finished loading psmouse [0] [ 2241.043614] XXX (psmouse_connect) ENTER [ 2241.043622] XXX (psmouse_probe) ENTER:879 [ 2241.043626] XXX (psmouse_probe) HERE [/root/build/linux-2.6.31/drivers/input/mouse/psmouse-base.c:887] [ 2241.240721] XXX (psmouse_connect) psmouse probe failed ENODEV - printk(KERN_INFO "XXX (%s) HERE [%s:%d] \n", __FUNCTION__, + printk(KERN_INFO "XXX (%s) HERE [%s:%d] \n", __FUNCTION__, __FILE__, __LINE__); - param[0] = 0xa5; - if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETID)) - return -1; + param[0] = 0xa5; + if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETID)) + return -1; and... Here's what's going on in libps2 during the failed probe which results in -ENODEV - 0 kseriod(41): -> ps2_init + 0 kseriod(41): -> ps2_init ps2_init args [ps2dev=0xf006de08 serio=0xf6d36200 ] exit 17 kseriod(41): -> ps2_init ps2_init args [] - 0 kseriod(41): -> ps2_command + 0 kseriod(41): -> ps2_command ps2_command args [ps2dev=0xf006de08 param=0xf75bbeaa command=0x2f2 ] (ps2_command) libps2.c:172 (ps2_command) libps2.c:177 (ps2_command) libps2.c:182 (ps2_command) libps2.c:197 - 42 kseriod(41): -> ps2_sendbyte + 42 kseriod(41): -> ps2_sendbyte ps2_sendbyte args [ps2dev=0xf006de08 byte=0xf2 timeout=0xc8 ] exit 200048 kseriod(41): -> ps2_sendbyte ps2_sendbyte args [return=0x ] (ps2_command) libps2.c:224 exit 200070 kseriod(41): -> ps2_command ps2_command args [return=0x ] Generated by systemtap ... probe kernel.function("ps2_*").call { - printf ("%s -> %s\n", thread_indent(1), probefunc()) - printf ("%s args [%s]\n", probefunc(), $$parms) + printf ("%s -> %s\n", thread_indent(1), probefunc()) + printf ("%s args [%s]\n", probefunc(), $$parms) } probe kernel.function("ps2_*").return { - printf ("exit %s -> %s\n", thread_indent(-1), probefunc()) - printf ("%s args [%s]\n", probefunc(), $$return) + printf ("exit %s -> %s\n", thread_indent(-1), probefunc()) + printf ("%s args [%s]\n", probefunc(), $$return) } - So I noticed that while we have some elaborate reset code once we know what + So I noticed that while we have some elaborate reset code once we know what kind of ps2 device we have, the probe routine itself by comparison doesn't try - as hard. The attached patch perfoms a psmouse_reset on the port should the + as hard. + + + The attached patch perfoms a psmouse_reset on the port should the initial probe fail followed by a therapeutic 1/2 sec sleep. The attach patch does exactly that and retries that probe up to 3 times. I only need one reset to recover the Synaptic touchpad. - - This is still broken in lucid as of the 3/27 build. -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551234] Re: touchpad doesn't reconnect after resume: Synaptics ps2
** Patch added: "0001-Perform-a-reset-should-psmouse_probe-fail-for-any-re.patch" http://launchpadlibrarian.net/42424863/0001-Perform-a-reset-should-psmouse_probe-fail-for-any-re.patch ** Also affects: oem-priority Importance: Undecided Status: New -- touchpad doesn't reconnect after resume: Synaptics ps2 https://bugs.launchpad.net/bugs/551234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs