Thinkpad T410s fails to suspend in Maverick Beta

Bug #631464 reported by Cay Horstmann
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

When I try to select Suspend from the power menu, the Thinkpad doesn't suspend. syslog contains

Sep 6 10:28:38 ubuntu kernel: [ 119.870719] usbhid 2-1.8:1.1: suspend error -5
Sep 6 10:28:38 ubuntu kernel: [ 119.870732] pm_op(): usb_dev_suspend+0x0/0x20 returns -5
Sep 6 10:28:38 ubuntu kernel: [ 119.870738] PM: Device 2-1.8 failed to suspend async: error -5

Judging from the startup messages, 2-1.8:1.1 is the N-trig controller. (My computer has a touchscreen.)

Sep 6 10:27:05 ubuntu kernel: [ 27.470368] input: N-trig DuoSense as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.1/input/input11
Sep 6 10:27:05 ubuntu kernel: [ 27.470587] input: N-trig DuoSense as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.1/input/input12
Sep 6 10:27:05 ubuntu kernel: [ 27.470677] input: N-trig DuoSense as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.1/input/input13

I filed a bug a while ago at https://bugzilla.kernel.org/show_bug.cgi?id=16125.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firefox 3.6.9+build1+nobinonly-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic i686
Architecture: i386
Date: Mon Sep 6 10:43:37 2010
FirefoxPackages:
 firefox 3.6.9+build1+nobinonly-0ubuntu1
 firefox-gnome-support 3.6.9+build1+nobinonly-0ubuntu1
 firefox-branding 3.6.9+build1+nobinonly-0ubuntu1
 abroswer N/A
 abrowser-branding N/A
LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 Cannot stat file /proc/4807/fd/43: Stale NFS file handle
                      USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 3291 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 3291 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 47'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:14f15069,17aa21a4,00100302 HDA:80862804,17aa21b5,00100000'
   Controls : 14
   Simple ctrls : 6
Card1.Amixer.info:
 Card hw:1 'Q9000'/'Logitech, Inc. QuickCam Pro 9000 at usb-0000:00:1a.0-1.2.7, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0990'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 3072
   Mono: Capture 0 [0%] [18.00dB] [on]
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6UHT29WW-1.10'
   Mixer name : 'ThinkPad EC 6UHT29WW-1.10'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.10
LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
MachineType: LENOVO 2901CTO
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Regression: No
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
Tags: maverick kernel-power suspend resume needs-upstream-testing
Uname: Linux 2.6.35-19-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/07/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6UET38WW (1.16 )
dmi.board.name: 2901CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6UET38WW(1.16):bd06/07/2010:svnLENOVO:pn2901CTO:pvrThinkPadT410s:rvnLENOVO:rn2901CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2901CTO
dmi.product.version: ThinkPad T410s
dmi.sys.vendor: LENOVO

Revision history for this message
Cay Horstmann (cay) wrote :
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Can you please run in terminal
apport-collect 631464
Thanks

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Cay Horstmann (cay) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Cay Horstmann (cay) wrote : AlsaDevices.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : AplayDevices.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : ArecordDevices.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : BootDmesg.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : IwConfig.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : Lspci.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : Lsusb.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : PciMultimedia.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : ProcModules.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : RfKill.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : UdevDb.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : UdevLog.txt

apport information

Revision history for this message
Cay Horstmann (cay) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi <email address hidden>,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Cay Horstmann (cay) wrote :

The bug is still present with kernel 2.6.36-020636rc4-generic #201009130905.

Changed in linux (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Confirmed
status: Confirmed → Incomplete
tags: removed: needs-upstream-testing
Revision history for this message
Florian Echtler (floe) wrote :

I can confirm this bug on my T410s running the 10.10 release.

Revision history for this message
map (map+) wrote :

The same problem on my TP X100e using 2.6.35-23-generic kernel. The laptop suspends fine, but won't wake up properly. Just pressing the power button works.

Revision history for this message
Kaspar Metz (kap) wrote :

My T410s (with n-trig multitouch) is also unable to suspend (fails to go to suspend after a few seconds) on 10.10, kernel 2.6.35-23-generic.
It looks like that what we talk about here this is a specific problem for this hardware combination and that the n-trig is causing it.

The relevant log parts on my machine:

[ 52.355041] usbhid 2-1.8:1.1: suspend error -5
[ 52.355054] pm_op(): usb_dev_suspend+0x0/0x20 returns -5
[ 52.355060] PM: Device 2-1.8 failed to suspend async: error -5
[ 52.355179] PM: Some devices failed to suspend

Revision history for this message
Florian Echtler (floe) wrote :

I found a workaround for this bug which involves recompiling the hid-ntrig kernel module.

In drivers/hid/hid-ntrig.c, comment out or remove line 419-423:

 /* This is needed for devices with more recent firmware versions */
 /*report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a];
 if (report)
  usbhid_submit_report(hdev, report, USB_DIR_OUT);

 ntrig_report_version(hdev);*/

Rebuild and install the module and suspend works (and the touchscreen, too).

Florian

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Sam Gong (samdoesmath)
Changed in linux (Ubuntu):
status: Expired → In Progress
Revision history for this message
Sam Gong (samdoesmath) wrote :

Hi Florian. Sorry I'm a newbie, but I can't get your fix to work for me. I don't have even see a hid-ntrig.c file, but there is a hid-ntrig.ko file which I cannot edit.

/lib/modules/2.6.35-25-generic-pae/kernel/drivers/hid/hid-ntrig.ko

Did you get multi-touch to work in Maverick too?

Revision history for this message
Florian Echtler (floe) wrote :

Hello Sam,

you will have to install the kernel source code first - see https://help.ubuntu.com/community/Kernel/Compile for more details.
After you have edited the file as described above and rebuilt the kernel, you will get a new hid-ntrig.ko in linux-2.6.35/drivers/hid. Then, you can replace the one you described with the new one. Multitouch works, too.

Florian

Revision history for this message
Cay Horstmann (cay) wrote :

I tried Florian's workaround, and indeed, it cures the problem. Touchscreen and suspend work.

I realize that this isn't very common hardware, but for those of us who shelled out the money for it, it would be awfully nice if this managed to get fixed so we don't have to recompile the module with every kernel update.

Revision history for this message
anshuiitk (himanshu-kgp) wrote :

I tried this on my T410s and it works. The suspend is clean and smooth. but touchscreen is not working. Do i need to activate it somehow ?.

Revision history for this message
Cay Horstmann (cay) wrote :

@anshuiitk: Run lsusb to see whether you have the N-Trig hardware. Maybe Lenovo has more than one vendor for this stuff, so do this first. If no N-Trig device is listed, your problem is unrelated to this issue. If it is, run lsmod to see if the hid_ntrig driver is loaded. If it's not there, run

grep ntrig /etc/modprobe.d/*

to see if anyone blacklisted it. In that case, comment out the blacklist with a # and reboot. If lsmod shows hid_ntrig, you should get touch.

Revision history for this message
anshuiitk (himanshu-kgp) wrote :
Download full text (3.8 KiB)

@Cay : Please fin d the results below :

lsusb gives :

Bus 002 Device 004: ID 1b96:0001 N-Trig Duosense Transparent Electromagnetic Digitizer
Bus 002 Device 003: ID 05c6:9204 Qualcomm, Inc.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 005: ID 17ef:480d Lenovo Integrated Webcam [R5U877]
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So the N-Trig hardware is there.

The output of lsmod is :

Module Size Used by
rfcomm 40787 4
binfmt_misc 7984 1
sco 9986 2
bnep 11985 2
l2cap 42304 16 rfcomm,bnep
parport_pc 30086 0
ppdev 6804 0
snd_hda_codec_intelhdmi 11032 1
snd_hda_codec_conexant 37663 1
joydev 11395 0
arc4 1497 2
thinkpad_acpi 78503 0
snd_hda_intel 26147 2
snd_hda_codec 100951 3 snd_hda_codec_intelhdmi,snd_hda_codec_conexant,snd_hda_intel
i915 334721 4
nouveau 569328 0
snd_hwdep 6660 1 snd_hda_codec
snd_pcm 89104 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 5932 0
snd_rawmidi 22207 1 snd_seq_midi
iwlagn 202721 0
snd_seq_midi_event 7291 1 snd_seq_midi
snd_seq 57512 2 snd_seq_midi,snd_seq_midi_event
ttm 68212 1 nouveau
uvcvideo 62379 0
snd_timer 23850 2 snd_pcm,snd_seq
iwlcore 146875 1 iwlagn
drm_kms_helper 32836 2 nouveau,i915
snd_seq_device 6912 3 snd_seq_midi,snd_rawmidi,snd_seq
videodev 49359 1 uvcvideo
drm 206198 6 nouveau,i915,ttm,drm_kms_helper
v4l1_compat 15519 2 uvcvideo,videodev
tpm_tis 10022 0
v4l2_compat_ioctl32 12614 1 videodev
qcserial 4476 1
video 22176 1 i915
btusb 12929 2
tpm 16013 1 tpm_tis
snd 64181 14 snd_hda_codec_conexant,thinkpad_acpi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usb_wwan 12201 1 qcserial
mac80211 267099 2 iwlagn,iwlcore
tpm_bios 6426 1 tpm
nvram 7990 1 thinkpad_acpi
i2c_algo_bit 6208 2 nouveau,i915
intel_ips 13252 0
output 2527 1 video
soundcore 1240 1 snd
usbserial 39780 4 qcserial,usb_wwan
bluetooth 59245 9 rfcomm,sco,bnep,l2cap,btusb
snd_page_alloc 8588 2 snd_hda_intel,snd_pcm
psmouse 62080 0
cfg80211 170485 3 iwlagn,iwlcore,mac80211
serio_raw 4910 0
intel_agp 32334 2 i915
lp 1020...

Read more...

Revision history for this message
anshuiitk (himanshu-kgp) wrote :

Hello Cay,

Also would you have any idea about : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/631464

I am really clueless on this one as i cant use my extended monitor at all, without this nvidia card.

Revision history for this message
anshuiitk (himanshu-kgp) wrote :

Hello Cay : I found the solution for https://bugs.launchpad.net/ubuntu/+source/linux/+bug/631464 , which I will post there.

Revision history for this message
anshuiitk (himanshu-kgp) wrote :

In the above two posts I meant to refer to bugs : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/744081
Which is solved. Sorry for the confusion and typos.

Revision history for this message
penalvch (penalvch) wrote :

Cay Horstmann, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.