[ltp] X1 1st gen, suspend and bluetooth

Gijs Hillenius linux-thinkpad@linux-thinkpad.org
Tue, 07 Oct 2014 14:56:14 +0200


Hi


Following a hunch from this list's recent discussion on the X1 (2nd
Gen), I'm now typing away on a 2st Gen X1. Great!


There are 2 things I'd really like some help with: I'm using

Debian unstable
lightdm display manager
i3 windowmanager

Eufi bios is updated to 2.67

suspend works but i3lock never switches on when the laptop's lid is
re-opened. I'd like i3lock to lock the screen when the lid is
closed/re-opened.

I've been troubling the patient Debian maintainer of acpi-support with
this, and have been looking at all kinds of possible configuration
problems for the past week, but at this point I don't know where to
look anymore. I'm thinking this X1 does not send a recognizable lid
signal.

Is this a 'known' issue?

Second question: there is this warning in dmesg about bluetooth


 PM: resume of devices complete after 600.545 msecs
[11128.901720] ------------[ cut here ]------------
[11128.901731] WARNING: CPU: 0 PID: 5138 at /build/linux-Lep8DD/linux-3.16.3/drivers/base/firmware_class.c:1109 _request_firmware+0x49e/0xa20()
[11128.901787] Modules linked in: acpi_call(O) usbhid hid cpufreq_conservative cpufreq_userspace cpufreq_stats cpufreq_powersave binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ctr ccm joydev iTCO_wdt iTCO_vendor_support ecb cdc_mbim a btusb uvcvideo bluetooth x86_pkg_temp_thermal videobuf2_vmalloc 6lowpan_iphc videobuf2_memops intel_powerclamp videobuf2_core intel_rapl v4l2_common cdc_ncm videodev usbnet mii cdc_acm cdc_wdm iwldvm media coretemp mac80211 kvm snd_hda_codec_hdmi psmouse snd_hdodec_realtek evdev pcspkr serio_raw snd_hda_codec_generic iwlwifi i915 snd_hda_intel cfg80211 lpc_ich drm_kms_helper snd_hda_controller mfd_core i2c_i801 snd_hda_codec thinkpad_acpi snd_hwdep drm nvram snd_pcm tpm_tis wmi rfkill snd_timer tpm ac i2c_algo_bit baty mei_me snd i2c_core
[11128.901849]  soundcore mei intel_smartconnect shpchp video button processor fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 btrfs xor raid6_pq algif_skcipher af_alg dm_crypt dm_mod sg sd_mod crc_t10dif crct10dif_generic crct10dif_common crc32lmul crc32c_intel aesni_intel sdhci_pci aes_i586 sdhci xts lrw gf128mul ablk_helper mmc_core cryptd ahci libahci libata ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore thermal usb_common thermal_sys
[11128.901855] CPU: 0 PID: 5138 Comm: kworker/u17:0 Tainted: G        W  O  3.16-2-686-pae #1 Debian 3.16.3-2
[11128.901857] Hardware name: LENOVO 3460CWG/3460CWG, BIOS G6ETA7WW (2.67 ) 06/12/2014
[11128.901872] Workqueue: hci0 hci_power_on [bluetooth]
[11128.901887]  c159dc50 f32e5d94 c14747f8 00000000 c10568d4 c154d880 00000000 00001412
[11128.901900]  c159dc50 00000455 c134de4e c134de4e 00000009 f32e5e48 f7638580 fffffff5
[11128.901914]  f32e5da4 c1056992 00000009 00000000 f32e5df8 c134de4e f32e5df4 f876f0bc
[11128.901916] Call Trace:
[11128.901928]  [<c14747f8>] ? dump_stack+0x3e/0x4e
[11128.901936]  [<c10568d4>] ? warn_slowpath_common+0x84/0xa0
[11128.901943]  [<c134de4e>] ? _request_firmware+0x49e/0xa20
[11128.901951]  [<c134de4e>] ? _request_firmware+0x49e/0xa20
[11128.901957]  [<c1056992>] ? warn_slowpath_null+0x22/0x30
[11128.901963]  [<c134de4e>] ? _request_firmware+0x49e/0xa20
[11128.901970]  [<c125825a>] ? vsnprintf+0x24a/0x430
[11128.901976]  [<c134e3fd>] ? request_firmware+0x2d/0x40
[11128.901982]  [<f876c8be>] ? btusb_setup_bcm_patchram+0x7e/0x430 [btusb]
[11128.901989]  [<f876edd8>] ? btusb_open+0x88/0xdc [btusb]
[11128.902001]  [<f8fd173c>] ? hci_dev_do_open+0x1cc/0x8d0 [bluetooth]
[11128.902009]  [<c1085188>] ? select_task_rq_fair+0x2f8/0x6b0
[11128.902021]  [<f8fd23fd>] ? hci_power_on+0x2d/0x160 [bluetooth]
[11128.902025] PM: Finishing wakeup.
[11128.902028] Restarting tasks ... 
[11128.902032]  [<c107ed95>] ? check_preempt_curr+0x65/0x90
[11128.902038]  [<c106d705>] ? process_one_work+0x115/0x380
[11128.902042]  [<c1081356>] ? try_to_wake_up+0x136/0x290
[11128.902046]  [<c106dec3>] ? worker_thread+0xf3/0x470
[11128.902051]  [<c106ddd0>] ? create_and_start_worker+0x50/0x50
[11128.902056]  [<c10730eb>] ? kthread+0x9b/0xb0
[11128.902064]  [<c1479641>] ? ret_from_kernel_thread+0x21/0x30
[11128.902070]  [<c1073050>] ? kthread_create_on_node+0x110/0x110
[11128.902076] ---[ end trace 5091fb18e016184a ]---
[11128.902082] bluetooth hci0: firmware: brcm/BCM20702A0-0a5c-21e6.hcd will not be loaded
[11128.902088] Bluetooth: hci0: BCM: patch brcm/BCM20702A0-0a5c-21e6.hcd not found

Google tells me I should install special firmware. This firmware issue
is not going to go away with the next kernel update, is it? I don't use
bluetooth, so I should switch it off in the bios, next time I reboot.


-- 
Don't feed the bats tonight.