It is currently Tue May 21, 2013 8:03 pm

All times are UTC




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Wed Mar 25, 2009 5:38 pm 
Master Zenwalker
Master Zenwalker
User avatar

Joined: Wed Apr 25, 2007 3:08 pm
Posts: 696
Location: Oslo, Norway
No, it says so. But it also says that it depends on which version of the thinkpad-acpi we've got in ZW6, and I don't know that for sure.

What does lsmod tell you? And can you find the documentation text-file referenced above?

_________________
ThinkZen member #012
My Lenovo ThinkPad T61: Thrasymach.us


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Wed Mar 25, 2009 7:55 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Mar 12, 2009 8:43 am
Posts: 96
Location: Denmark
lsmod:
Code:
root[/]# lsmod
Module                  Size  Used by
i915                   38020  2
drm                    48936  3 i915
speedstep_lib           2436  0
iptable_mangle          1408  0
iptable_nat             2564  0
nf_nat                  8980  1 iptable_nat
nf_conntrack_ipv4       6156  3 iptable_nat,nf_nat
nf_conntrack           28728  3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4          1024  1 nf_conntrack_ipv4
iptable_filter          1280  0
ip_tables               6544  3 iptable_mangle,iptable_nat,iptable_filter
x_tables                6404  2 iptable_nat,ip_tables
parport_pc             22972  0
lp                      5452  0
parport                19412  2 parport_pc,lp
fuse                   31004  6
fan                     2176  0
cpufreq_userspace       1540  0
cpufreq_stats           2052  0
cpufreq_powersave        896  0
cpufreq_ondemand        3980  0
cpufreq_conservative     3208  0
freq_table              1792  2 cpufreq_stats,cpufreq_ondemand
btusb                   6552  0
bluetooth              32352  1 btusb
arc4                    1280  2
ecb                     1536  2
iwl3945               125280  0
snd_hda_intel         288916  0
mac80211               97312  1 iwl3945
thinkpad_acpi          32080  0
snd_pcm                34820  1 snd_hda_intel
rfkill                  3888  4 iwl3945,thinkpad_acpi
snd_timer              11016  1 snd_pcm
hwmon                   1308  1 thinkpad_acpi
e1000e                 73648  0
snd                    26296  3 snd_hda_intel,snd_pcm,snd_timer
cfg80211               17936  2 iwl3945,mac80211
sdhci_pci               4096  0
i2c_i801                6032  0
pcmcia                 19988  0
led_class               1668  2 iwl3945,thinkpad_acpi
soundcore               3016  1 snd
sdhci                   9092  1 sdhci_pci
intel_agp              16188  1
nsc_ircc                9360  0
ohci1394               20272  0
shpchp                 20372  0
snd_page_alloc          4360  2 snd_hda_intel,snd_pcm
ehci_hcd               22540  0
mmc_core               22812  1 sdhci
video                  11408  0
thermal                10012  0
ieee1394               43204  1 ohci1394
agpgart                16436  3 drm,intel_agp
nvram                   4236  1 thinkpad_acpi
uhci_hcd               13708  0
output                  1280  1 video
i2c_core               10516  1 i2c_i801
pci_hotplug            15776  1 shpchp
yenta_socket           14988  1
ac                      2308  0
irda                   61960  1 nsc_ircc
rsrc_nonstatic          6400  1 yenta_socket
sg                     15412  0
evdev                   5380  3
pcmcia_core            17812  3 pcmcia,yenta_socket,rsrc_nonstatic
processor              28844  3 thermal
crc_ccitt               1408  1 irda

I have no idea what it means, though. . . (I just swtiched from Windows).

I found the documentation in the kernel-source. Apparently thinkpad_acpi have moved from procfs to sysfs. This apparently means that there are no longer a bunch of acpi-files (correct me if I am wrong). So, I believe the configuration are now located in /sys/devices/platform/thinkpad_acpi.
The question is whether these files should be edited manually or via some software.

From the txt file:
Code:
Thinkpad-acpi Hot Key event map (version 0x4101):

ACPI   Scan
event   code   Key      Notes

0x1001   0x00   FN+F1      -
0x1002   0x01   FN+F2      IBM: battery (rare)
            Lenovo: Screen lock

0x1003   0x02   FN+F3      Many IBM models always report
            this hot key, even with hot keys
            disabled or with Fn+F3 masked
            off
            IBM: screen lock
            Lenovo: battery

0x1004   0x03   FN+F4      Sleep button (ACPI sleep button
            semantics, i.e. sleep-to-RAM).
            It is always generate some kind
            of event, either the hot key
            event or a ACPI sleep button
            event. The firmware may
            refuse to generate further FN+F4
            key presses until a S3 or S4 ACPI
            sleep cycle is performed or some
            time passes.

0x1005   0x04   FN+F5      Radio.  Enables/disables
            the internal Bluetooth hardware
            and W-WAN card if left in control
            of the firmware.  Does not affect
            the WLAN card.
            Should be used to turn on/off all
            radios (Bluetooth+W-WAN+WLAN),
            really.

0x1006   0x05   FN+F6      -

0x1007   0x06   FN+F7      Video output cycle.
            Do you feel lucky today?

0x1008   0x07   FN+F8      IBM: toggle screen expand
            Lenovo: configure UltraNav

0x1009   0x08   FN+F9      -
   ..   ..      ..
0x100B   0x0A   FN+F11      -

0x100C   0x0B   FN+F12      Sleep to disk.  You are always
            supposed to handle it yourself,
            either through the ACPI event,
            or through a hotkey event.
            The firmware may refuse to
            generate further FN+F4 key
            press events until a S3 or S4
            ACPI sleep cycle is performed,
            or some time passes.

0x100D   0x0C   FN+BACKSPACE   -
0x100E   0x0D   FN+INSERT   -
0x100F   0x0E   FN+DELETE   -

0x1010   0x0F   FN+HOME      Brightness up.  This key is
            always handled by the firmware
            in IBM ThinkPads, even when
            unmasked.  Just leave it alone.
            For Lenovo ThinkPads with a new
            BIOS, it has to be handled either
            by the ACPI OSI, or by userspace.
0x1011   0x10   FN+END      Brightness down.  See brightness
            up for details.

0x1012   0x11   FN+PGUP      ThinkLight toggle.  This key is
            always handled by the firmware,
            even when unmasked.

0x1013   0x12   FN+PGDOWN   -

0x1014   0x13   FN+SPACE   Zoom key

0x1015   0x14   VOLUME UP   Internal mixer volume up. This
            key is always handled by the
            firmware, even when unmasked.
            NOTE: Lenovo seems to be changing
            this.
0x1016   0x15   VOLUME DOWN   Internal mixer volume up. This
            key is always handled by the
            firmware, even when unmasked.
            NOTE: Lenovo seems to be changing
            this.
0x1017   0x16   MUTE      Mute internal mixer. This
            key is always handled by the
            firmware, even when unmasked.

0x1018   0x17   THINKPAD   ThinkPad/Access IBM/Lenovo key

0x1019   0x18   unknown
..   ..   ..
0x1020   0x1F   unknown

As far as I can tell alle the above should be enabled if hotkey_enable is 1 (which it is in my case. No love though).

Also:
Code:
hotkey_report_mode set to 1 makes the driver export through the procfs
ACPI event interface all hot key presses (which are *also* sent to the
input layer).  This is a legacy compatibility behaviour, and it is also
the default mode of operation for the driver.

I think that means that the ACPI event should be used, but really they are not. (hotkey_report_mode set to 1).

This is really confusing ???

_________________
Zenwalk 6.0 on Thinkpad X60.


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Thu Mar 26, 2009 6:21 pm 
Master Zenwalker
Master Zenwalker
User avatar

Joined: Wed Apr 25, 2007 3:08 pm
Posts: 696
Location: Oslo, Norway
First try removing and re-adding the acpi module:
Code:
# modprobe -r thinkpad_acpi
# modprobe thinkpad_acpi

and see if you get any messages. Also run
Code:
# modprobe -c thinkpad_acpi

to dump configuration file location(s).

Latest version (beta) is 0.22: http://sourceforge.net/project/showfile ... _id=117042

_________________
ThinkZen member #012
My Lenovo ThinkPad T61: Thrasymach.us


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Tue Mar 31, 2009 9:45 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Thu Nov 20, 2008 9:08 pm
Posts: 468
Location: Israel
This is how to enable the volume keys in T61.
http://wiki.zenwalk.org/index.php?title ... enwalk_6.0

Please help me create a useful page for a better world :-\

_________________
Zenwalk snapshot on ThinkPad T61


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Fri May 01, 2009 9:03 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Mar 12, 2009 8:43 am
Posts: 96
Location: Denmark
Hello,
First of all thanks for the help so far. I somehow broke my Zenwalk distro and I just got it back together. However the problem regarding thinkpad_acpi persists.
Sigg3.net wrote:
First try removing and re-adding the acpi module:
Code:
# modprobe -r thinkpad_acpi
# modprobe thinkpad_acpi

[/qoute]
I tried but it did not seem to do a difference. There are no messages.

Quote:

I would need to update the kernel manually to install the latest version, right?
I could get the kernel-source to check which version is included.

Thanks,
Rasmus

_________________
Zenwalk 6.0 on Thinkpad X60.


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Sat May 02, 2009 3:12 am 
Zenwalk Packager
Zenwalk Packager

Joined: Wed Mar 29, 2006 7:33 am
Posts: 1580
Location: Bicester, Oxfordshire, UK
You can check the version of thinkpad_acpi in the kernel this way:

Code:
dmesg | grep thinkpad


On my Zenwalk 6.0 installation (kernel 2.6.28.7) that reports:

Code:
Thinkpad ACPI Extras v0.21


paul.

_________________
ThinkZen member #001
Proud Thinkpad Zenwalker


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Sat May 02, 2009 9:05 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Mar 12, 2009 8:43 am
Posts: 96
Location: Denmark
Thanks Paul,
I have the same version:
Code:
thinkpad_acpi: ThinkPad ACPI Extras v0.21
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 7BETD7WW (2.18 ), EC 7BHT40WW-1.13
thinkpad_acpi: Lenovo ThinkPad X60, model 1706M8U
thinkpad_acpi: ACPI backlight control delay disabled
thinkpad_acpi: radio switch found; radios are enabled
thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.

The strange thing is volume buttons works out of the box but none of the Fn-Fx-combinations works...

_________________
Zenwalk 6.0 on Thinkpad X60.


 Profile Send private message  
 
 Post subject: Re: ThinkZen: The club for ThinkPad owners
PostPosted: Sun Sep 27, 2009 7:05 pm 
Promo Team
Promo Team
User avatar

Joined: Sun Mar 19, 2006 7:53 pm
Posts: 1607
Location: Denmark
Running a bit late ... and it seems there hasn't been much going on since May. Just installed Zenwalk 6.2 on my ThinkPad T42. About 37 Gb disk (total) and 1,5 Gb RAM. I simply couldn't bear using my old PII 400 MHz machine anymore - it seems Zenwalk 6.2 is too demanding.

Any help on ThinkPad configuration is very appreciated. For one, the keyboard is worn out, but I have a Logitech diNovo Edge Keyboard (Bluetooth) that I'd like to use, if possible.

Best regards,
Claus


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: