Re: [ibm-acpi-devel] [PATCH 59/86] x86/thinkpad_acpi: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Henrique de Moraes Holschuh
On Sun, Mar 29, 2015, at 10:41, Michael S. Tsirkin wrote:
> Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
> use the new header directly so we can drop
> the wrapper in include/linux/pci_ids.h.
> 
> Signed-off-by: Michael S. Tsirkin 

Acked-by: Henrique de Moraes Holschuh 

> ---
>  drivers/platform/x86/thinkpad_acpi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/x86/thinkpad_acpi.c
> b/drivers/platform/x86/thinkpad_acpi.c
> index 3b8ceee..f1ac982 100644
> --- a/drivers/platform/x86/thinkpad_acpi.c
> +++ b/drivers/platform/x86/thinkpad_acpi.c
> @@ -77,7 +77,7 @@
>  #include 
>  #include 
>  #include 
> -#include 
> +#include 
>  #include 
>  #include 
>  #include 

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel


[ibm-acpi-devel] [PATCH 59/86] x86/thinkpad_acpi: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Michael S. Tsirkin
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h,
use the new header directly so we can drop
the wrapper in include/linux/pci_ids.h.

Signed-off-by: Michael S. Tsirkin 
---
 drivers/platform/x86/thinkpad_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/thinkpad_acpi.c 
b/drivers/platform/x86/thinkpad_acpi.c
index 3b8ceee..f1ac982 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -77,7 +77,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 #include 
-- 
MST


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel


[ibm-acpi-devel] Lenovo T450s

2015-03-29 Thread Efthymios Christofides

Hi there,

Just got a T450s. Most of the Function Keys don't seem to work, only 
F1-F3, F12 work. Sensors seem lacking.


Running Mint 17.1, kernel 3.19.3-031903-generic.

# dmesg |grep thinkpad
[8.228000] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[8.228005] thinkpad_acpi: http://ibm-acpi.sf.net/
[8.228007] thinkpad_acpi: ThinkPad BIOS JBET39WW (1.04 ), EC unknown
[8.228008] thinkpad_acpi: Lenovo ThinkPad T450s, model 20BX0014CY
[8.233308] thinkpad_acpi: Unsupported brightness interface, please 
contact ibm-acpi-devel@lists.sourceforge.net

[8.233340] thinkpad_acpi: radio switch found; radios are enabled
[8.233450] thinkpad_acpi: This ThinkPad has standard ACPI backlight 
brightness control, supported by the ACPI video driver
[8.233452] thinkpad_acpi: Disabling thinkpad-acpi brightness events 
by default...
[8.235047] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio 
is unblocked
[8.237476] input: ThinkPad Extra Buttons as 
/devices/platform/thinkpad_acpi/input/input9


# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:+44.0°C  (crit = +128.0°C)

coretemp-isa-
Adapter: ISA adapter
Physical id 0:  +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0: +44.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1: +44.0°C  (high = +105.0°C, crit = +105.0°C)

thinkpad-isa-
Adapter: ISA adapter
fan1:   0 RPM

# ls /sys/bus/platform/devices/thinkpad_hwmon
driver   fan1_input  modalias  power  pwm1_enable  uevent
driver_override  hwmon   name  pwm1   subsystem

# ls /sys/bus/platform/devices/thinkpad_acpi
bluetooth_enable hotkey_mask  power
cmos_command hotkey_poll_freq rfkill
driver   hotkey_radio_sw  subsystem
driver_override  hotkey_recommended_mask  uevent
hotkey_all_mask  hotkey_source_mask wakeup_hotunplug_complete
hotkey_bios_enabled  inputwakeup_reason
hotkey_bios_mask leds
hotkey_enablemodalias


Let me know if I can provide any more info that can help you.


Regards,

--
Efthymios Christofides
Technical Manager
Chr. Av. Services Ltd
Tel: +357 99579554
Fax: +357 22340242

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel


Re: [ibm-acpi-devel] thinkpad_acpi: Unsupported brightness interface

2015-03-29 Thread Grzegorz Listwan
Sounds good. Thank you very much for the information.

Best regards,
Greg

On 03/22/2015 08:09 PM, Henrique de Moraes Holschuh wrote:
> On Fri, Mar 20, 2015, at 10:17, Grzegorz Listwan wrote:
>> Mar 20 08:21:27 linux kernel: thinkpad_acpi: Unsupported brightness
>> interface, please contact ibm-acpi-devel@lists.sourceforge.net
> You can just ignore this, it is likely going to be fixed in Linux 4.1,
> and anyway it is to be handled by the GPU drivers, not thinkpad-acpi.
>


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel


[ibm-acpi-devel] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net

2015-03-29 Thread Sergey Tsivin
Hi!

I have ThinkPad E545 laptop with Ubuntu 14.04 installed. When booted it
reports the "thinkpad_acpi: Unsupported brightness interface, please
contact ibm-acpi-devel@lists.sourceforge.net" error.

Once booted, the brightness is at maximum, but I can adjust it with
brightness soft keys (F7/F8).

Here's some info about my machine, and I have attached the full dmesg log.

sergey@octopus:~$ uname -a
Linux octopus 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

sergey@octopus:~$ lsmod
Module  Size  Used by
ip6table_filter12815  0
ip6_tables 27025  1 ip6table_filter
iptable_filter 12810  0
ip_tables  27239  1 iptable_filter
x_tables   34059  4
ip6table_filter,ip_tables,iptable_filter,ip6_tables
pci_stub   12622  1
vboxpci23194  0
vboxnetadp 25670  0
vboxnetflt 27613  0
vboxdrv   409935  3 vboxnetadp,vboxnetflt,vboxpci
bnep   19624  2
rfcomm 69160  8
binfmt_misc17468  1
wl   6367819  0
btusb  32412  0
uvcvideo   80885  0
bluetooth 391136  22 bnep,btusb,rfcomm
videobuf2_vmalloc  13216  1 uvcvideo
videobuf2_memops   13362  1 videobuf2_vmalloc
videobuf2_core 40664  1 uvcvideo
videodev  134688  2 uvcvideo,videobuf2_core
kvm_amd60026  0
kvm   455835  1 kvm_amd
crct10dif_pclmul   14289  0
crc32_pclmul   13113  0
ghash_clmulni_intel13216  0
aesni_intel55624  0
aes_x86_64 17131  1 aesni_intel
radeon   1522640  4
lrw13286  1 aesni_intel
gf128mul   14951  1 lrw
glue_helper13990  1 aesni_intel
snd_hda_codec_conexant57441  1
ablk_helper13597  1 aesni_intel
snd_hda_codec_hdmi 46368  1
snd_hda_intel  56451  5
thinkpad_acpi  81013  1
cryptd 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
cfg80211  484040  1 wl
joydev 17381  0
serio_raw  13462  0
nvram  14411  1 thinkpad_acpi
snd_hda_codec 192906  3
snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep  13602  1 snd_hda_codec
snd_pcm   102099  3
snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
k10temp13126  0
ttm85150  1 radeon
snd_page_alloc 18710  2 snd_pcm,snd_hda_intel
rtsx_pci_ms18151  0
snd_seq_midi   13324  0
snd_seq_midi_event 14899  1 snd_seq_midi
snd_rawmidi30144  1 snd_seq_midi
memstick   16966  1 rtsx_pci_ms
snd_seq61560  2 snd_seq_midi_event,snd_seq_midi
drm_kms_helper 55071  1 radeon
snd_seq_device 14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer  29482  2 snd_pcm,snd_seq
drm   303102  6 ttm,drm_kms_helper,radeon
snd69322  22
snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_seq_midi
i2c_algo_bit   13413  1 radeon
wmi19177  0
i2c_piix4  22155  0
video  19476  0
soundcore  12680  1 snd
shpchp 37032  0
mac_hid13205  0
parport_pc 32701  0
ppdev  17671  0
lp 17759  0
parport42348  3 lp,ppdev,parport_pc
rtsx_pci_sdmmc 23274  0
psmouse   106714  0
ahci   25819  3
libahci32716  1 ahci
r8169  67581  0
rtsx_pci   46245  2 rtsx_pci_ms,rtsx_pci_sdmmc
mii13934  1 r8169


-- 
С уважением, Сергей.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Initializing cgroup subsys cpuacct
[0.00] Linux version 3.13.0-44-generic (buildd@lamiak) (gcc version 
4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 
(Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12)
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-44-generic 
root=UUID=aa9e7ef0-d12f-4f46-a8e4-789fd8c76768 ro quiet splash vt.handoff=7
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00]   AMD AuthenticAMD
[0.00]   Centaur CentaurHauls
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009dfff] usable
[0.00] BIOS-e820: [mem 0x0009e000-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000e-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0xaa0d8fff] usable
[0.00] BIOS-e820: [mem 0xaa0d9000-0xaea11fff] reserved
[0.00