loss of mouse

I finally got suse 11.2 installed on my laptop and have had a few issues. Overall it runs great but it does one thing that is really annoying. If I close the screen I believe is suspends. When I open the lid it comes back up, but with one problem. The mouse does not work. I even tried plugging one into the usb port and it didn’t work. The only way I have found to get the mouse back is to reboot. Any ideas where to start?

Specs. hp laptop with an amd dual core processor. Mobile radean hd4200.

I refer you to this PM-Utils wiki.

It has a section dealing with mice, but I’m not sure how relevant it will be to your hardware.

The relevant log file is /var/log/pm-suspend.log

See if anything unusual is reported here.

I wonder if

rchal restart

might help with your usb device detection.

Here is the print out of the suspend log. I am not really sure what it means, but it looks like there may be something weird with the ati video driver

2010-06-02 00:57:22.596769408 -0700: running 'suspend'/'suspend'/'' hooks.
===== 2010-06-02 00:57:22.795668017 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== 2010-06-02 00:57:22.841387730 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
suspend initiated: Wed Jun  2 00:57:22 PDT 2010

Linux linux-jf5f 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-WDC_WD5000BEVT-60ZAT1_WD-WX20A99F3730-part6 resume=/dev/disk/by-id/ata-WDC_WD5000BEVT-60ZAT1_WD-WX20A99F3730-part5 splash=silent quiet vga=0x317'
Module                  Size  Used by
nfs                   405152  0 
lockd                  95636  1 nfs
fscache                52048  1 nfs
nfs_acl                 4072  1 nfs
auth_rpcgss            56928  1 nfs
sunrpc                267144  5 nfs,lockd,nfs_acl,auth_rpcgss
af_packet              28680  4 
ip6t_LOG                7980  6 
xt_tcpudp               4104  2 
xt_pkttype              2248  3 
ipt_LOG                 7660  6 
xt_limit                4076  12 
snd_pcm_oss            60032  0 
snd_mixer_oss          22728  1 snd_pcm_oss
snd_seq                78560  0 
snd_seq_device         10460  1 snd_seq
edd                    13232  0 
cpufreq_conservative    10360  0 
cpufreq_userspace       4364  0 
cpufreq_powersave       2152  0 
powernow_k8            19340  0 
ip6t_REJECT             6856  3 
nf_conntrack_ipv6      26632  4 
ip6table_raw            3720  1 
xt_NOTRACK              2248  4 
ipt_REJECT              4136  3 
xt_state                2920  8 
iptable_raw             3560  1 
iptable_filter          4520  1 
ip6table_mangle         5000  0 
nf_conntrack_netbios_ns     3400  0 
nf_conntrack_ipv4      14232  4 
nf_conntrack          101952  5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
nf_defrag_ipv4          2856  1 nf_conntrack_ipv4
ip_tables              24536  2 iptable_raw,iptable_filter
ip6table_filter         4552  1 
ip6_tables             26072  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               30768  11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables
fuse                   87984  7 
loop                   22292  0 
dm_mod                101544  0 
arc4                    2568  2 
ecb                     4168  2 
cryptomgr             109904  0 
snd_hda_codec_atihdmi     5352  1 
aead                   10792  1 cryptomgr
pcompress               3560  1 cryptomgr
snd_hda_codec_idt      73152  1 
crypto_blkcipher       18028  2 ecb,cryptomgr
crypto_hash            17416  1 cryptomgr
snd_hda_intel          37280  5 
snd_hda_codec         111112  3 snd_hda_codec_atihdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              11216  1 snd_hda_codec
hp_accel               13672  0 
lis3lv02d              10984  1 hp_accel
sr_mod                 20964  0 
uvcvideo               74484  0 
videodev               46848  1 uvcvideo
v4l1_compat            19020  2 uvcvideo,videodev
amd64_edac_mod         39392  0 
crypto_algapi          25904  7 arc4,ecb,cryptomgr,aead,pcompress,crypto_blkcipher,crypto_hash
joydev                 14400  0 
v4l2_compat_ioctl32    12776  1 videodev
cdrom                  48232  1 sr_mod
i2c_piix4              16088  0 
video                  29156  0 
r8169                  46412  0 
input_polldev           5528  1 lis3lv02d
snd_pcm               117808  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              32152  3 snd_seq,snd_pcm
wmi                     9600  0 
fglrx                2324024  32 
button                  8360  0 
sg                     40128  0 
ac                      6416  0 
edac_core              60788  1 amd64_edac_mod
pcspkr                  3720  0 
battery                15824  0 
ath9k                 279412  0 
mac80211              257120  1 ath9k
ath                    11048  1 ath9k
snd                    97608  18 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc         12600  2 snd_hda_intel,snd_pcm
cfg80211              123296  3 ath9k,mac80211,ath
rfkill                 28176  1 cfg80211
shpchp                 43620  0 
pci_hotplug            39640  1 shpchp
ext4                  426040  2 
jbd2                  115712  1 ext4
crc16                   2504  1 ext4
fan                     6352  0 
processor              56932  1 powernow_k8
thermal                25160  0 
thermal_sys            21888  4 video,fan,processor,thermal

             total       used       free     shared    buffers     cached
Mem:       7932044    1242232    6689812          0      35484     547460
-/+ buffers/cache:     659288    7272756
Swap:      2104472          0    2104472

===== 2010-06-02 00:57:22.871595709 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
===== 2010-06-02 00:57:22.877836887 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2010-06-02 00:57:22.888076268 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2010-06-02 00:57:22.977772484 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
===== 2010-06-02 00:57:23.198827093 running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== 2010-06-02 00:57:23.222811292 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
ejecting PCMCIA cards...
===== 2010-06-02 00:57:23.247560519 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2010-06-02 00:57:23.263803762 running hook: /usr/lib/pm-utils/sleep.d/66warning-fglrx-suspend =====
WARNING:
Trying to suspend with proprietary "fglrx" kernel module loaded.
This is known to be broken on some machines. Complain to ATI/AMD.
===== 2010-06-02 00:57:23.284183041 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2010-06-02 00:57:23.296200347 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2010-06-02 00:57:23.313125212 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2010-06-02 00:57:23.366516106 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2010-06-02 00:57:23.385175742 running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== 2010-06-02 00:57:23.400198860 running hook: /usr/lib/pm-utils/sleep.d/99info =====
2010-06-02 00:57:23.407301415: done running suspend/suspend hooks.
INFO: going to suspend. In case of problems with the selected suspend options,
INFO: please read /usr/share/doc/packages/pm-utils/README.smart-suspend-to-RAM
INFO: module fglrx is loaded, trusting it to restore video after resume.
+ /usr/sbin/s2ram --force
Switching from vt7 to vt1
fbcon fb0 state 1
fbcon fb0 state 0
switching back to vt7
+ RET=0
+ set +x
2010-06-02 00:57:44.308699207 -0700: running 'suspend'/'resume'/'reverse' hooks.
===== 2010-06-02 00:57:44.375696948 running hook: /usr/lib/pm-utils/sleep.d/99info =====
===== 2010-06-02 00:57:44.379550958 running hook: /usr/lib/pm-utils/sleep.d/99Zgrub =====
===== 2010-06-02 00:57:44.384410600 running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== 2010-06-02 00:57:44.388211063 running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== 2010-06-02 00:57:44.404713554 running hook: /usr/lib/pm-utils/sleep.d/80videobios =====
===== 2010-06-02 00:57:44.408623377 running hook: /usr/lib/pm-utils/sleep.d/80acpi-fan =====
===== 2010-06-02 00:57:44.412711791 running hook: /usr/lib/pm-utils/sleep.d/66warning-fglrx-suspend =====
WARNING:
Trying to suspend with proprietary "fglrx" kernel module loaded.
This is known to be broken on some machines. Complain to ATI/AMD.
===== 2010-06-02 00:57:44.417870314 running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== 2010-06-02 00:57:44.425063758 running hook: /usr/lib/pm-utils/sleep.d/45pcmcia =====
inserting PCMCIA cards...
===== 2010-06-02 00:57:44.429950979 running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check =====
===== 2010-06-02 00:57:44.434372885 running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
===== 2010-06-02 00:57:44.670473840 running hook: /usr/lib/pm-utils/sleep.d/06autofs =====
===== 2010-06-02 00:57:44.686770926 running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== 2010-06-02 00:57:44.690536833 running hook: /usr/lib/pm-utils/sleep.d/02rtcwake =====
===== 2010-06-02 00:57:44.694901972 running hook: /usr/lib/pm-utils/sleep.d/01logging =====
===== 2010-06-02 00:57:44.698862953 running hook: /usr/lib/pm-utils/sleep.d/00clear =====
2010-06-02 00:57:44.706148857: done running suspend/resume hooks.

WARNING:
Trying to suspend with proprietary “fglrx” kernel module loaded.
This is known to be broken on some machines. Complain to ATI/AMD.

I wouldn’t worry too much about that message. I use the fglrx driver, and don’t have an issue here.

There is no definitive answer here - its going to take a bit of experimentation on your part. Now, I notice you have a hp laptop, and after a bit of googling, I have found this Ubuntu thread which has a post by AClark who mentions

I had the same symptom on an old HP laptop and it turned out to be caused by the ethernet driver & also the wireless driver

When I added them both to the SUSPEND_MODULES list that problem was solved.

Now your problem may or may not be related. This is a trial and error and googling process. Maybe someone else with HP hardware will be able to shed some light on this. Anyway, referring back to the PM-Utils guide I mentioned previously, you can create a simple text file called ‘modules’ (located in /etc/pm/config.d/) with something like

SUSPEND_MODULES=“b43”

In this example, the b43 module is the problem. (You’ll obviously try putting your ethernet and/or wireless drivers here).