Lenovo T400 report

OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#26
I use third button only for copy/pasting (also) from xterm. Really miss this feature on other laptops..

I do not use hal nor fancy xorg mappings.

//By "trackpad scrolling" I meant trackpad edge scrolling, which is probably configurable, but not really needed IMHO. Moused works for me.
 

w1k0

Member

Thanks: 1
Messages: 30

#27
Thank you for reply.

I managed to force to work third button's paste function after I put in /boot/loader.conf file that line:

Code:
hw.psm.synaptics_support="1"
It should affect TouchPad but in my case it affected TrackPoint.

In my Slackware 12.2 and previous I used specific xorg.conf configuration to enable scrolling with TrackPoint. In Slackware 13.0 I have to use for these purposes HAL with special FDI file. In FreeBSD 7.2 any of these methods doesn't work. Without vertical scrolling reading Internet sites is a nightmare. Modern Internet sites are usually wider than my 4:3 screen so horizontal scrolling is also useful.
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#28
Third button pasting works here out of the box. As I said before, I only use moused.

It should affect TouchPad but in my case it affected TrackPoint.
I do not see how's that connected with Touchpad nor Trackpoint.

Without vertical scrolling reading Internet sites is a nightmare.
I use cursor keys, mostly. There is usually scroll bar in browser.
 

w1k0

Member

Thanks: 1
Messages: 30

#31
From manufacturers point of view keyboard with TrackPoint is one part and TouchPad with five buttons is the other part. IBM/Lenovo calls each such part FRU.

From drivers developer's point of view keyboard, TrackPoint, TouchPad and five buttons are separate devices. Each should be treated separately.

From user's point of view TrackPoint with three related buttons is one device and TouchPad with two related buttons is the other device.

I presented above user's point of view.

I changed some setting related to TouchPad and it affected TrackPoint's button. This is the essence of my statement.
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#32
Ok, I just never saw those 3 buttons as part of Trackpoint. Thanks for clarification.

addendum:

(Trackpoint does not have any buttons per se.)
 

Carpetsmoker

Daemon

Thanks: 180
Messages: 1,010

#33
From manufacturers point of view keyboard with TrackPoint is one part and TouchPad with five buttons is the other part. IBM/Lenovo calls each such part FRU.
Actually, the top three buttons are part of the keyboard, not part of the touchpad.
 

w1k0

Member

Thanks: 1
Messages: 30

#34
Carpetsmoker said:
Actually, the top three buttons are part of the keyboard, not part of the touchpad.
I changed keyboard in my old T40 a dozen or so months ago. I forgot since that time that these buttons are a part of a keyboard. Since it's one FRU there is one more reason to associate these buttons with TrackPoint. Thank you Carpetsmoker for the correction.
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#35

ale

Daemon

Thanks: 166
Messages: 1,059

#36
michal said:
What about the sound card? Any luck with snd_hda? It's not working on my system. I get only system beeps (very loud) and sound on headphones (very quiet) but nothing on the speakers. Also volume up/down buttons are not working.
I had speaker working without any particular configuration for what I can remember. But they got mute somewhere between some BETA and RC1.
I had no time to investigate further...
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#38
I'm also tired, so I could miss something out, but I'm under impression michal asked for mute and up/down hot keys configuration.

As far as speakers going mute between BETA and RC1, that's something new to me, I had no such problem.

Code:
hdac0: HDA Driver Revision: 20090624_0136
hdac0: HDA Codec #0: Conexant CX20561 (Hermosa)
Code:
FreeBSD 8.0-RC1 #0 r197737: Sat Oct  3 21:14:16 CEST 2009
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#39
Works here.

8.1-STABLE #0 r210522

Code:
hint.hdac.0.cad0.nid22.config="as=1 seq=15"
hint.hdac.0.cad0.nid24.config="as=3"
hint.hdac.0.cad0.nid26.config="as=1"
hint.hdac.0.cad0.nid29.config="as=2"
 

juedan

New Member


Messages: 17

#40
Hello morbit,

what did you do to get your T400 working with FreeBSD - especially suspend/resume.
I tried to get these modes running but on resume the notebook is dead.
Thanks for your answer.

Best regards

JueDan
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#41
Sorry, I do not use suspend/resume at all*, FYI I currently use 9-STABLE amd64 (9.1-PRERELEASE #0) r241721 without any problems, ath works flawlessly, power saving, KMS too (drm2)...

Fresh unixbench (4.1 from ports tree, same as then) results! (clang3.1 system/gcc47 ports), compare with http://forums.freebsd.org/showpost.php?p=13464&postcount=23

Code:
                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        116700,0 23125985,7     1981,7
Double-Precision Whetstone                      55,0     3520,9      640,2
Execl Throughput                                43,0     2454,5      570,8
File Copy 1024 bufsize 2000 maxblocks         3960,0    86980,0      219,6
File Copy 256 bufsize 500 maxblocks           1655,0    97202,0      587,3
File Copy 4096 bufsize 8000 maxblocks         5800,0    54872,0       94,6
Pipe Throughput                              12440,0  1272614,1     1023,0
Pipe-based Context Switching                  4000,0    58523,8      146,3
Process Creation                               126,0     7388,8      586,4
Shell Scripts (8 concurrent)                     6,0     1180,7     1967,8
System Call Overhead                         15000,0   869252,7      579,5
                                                                 =========
     FINAL SCORE                                                     527,8
This is the same system (not a single change in hardware), updated from source consistently...

*Upon resume laptop was never 'dead' here, just display was not brought back properly. But I was checking it ages ago. I currently use KMS/drm2 so cannot unload graphic driver to test it properly.

After increasing 4GB->8GB (Kingston HyperX KHX1600C9S3P1K2/8G, I hope they will retain value better than value (heh.) sticks... Plus they run 6-6-6-18 / DDR3-1066, if it ever mattered. Memory chips are made by Hynix.):

Code:
                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        116700,0 23462617,5     2010,5
Double-Precision Whetstone                      55,0     3561,0      647,5
Execl Throughput                                43,0     2451,2      570,0
File Copy 1024 bufsize 2000 maxblocks         3960,0    86142,0      217,5
File Copy 256 bufsize 500 maxblocks           1655,0    93024,0      562,1
File Copy 4096 bufsize 8000 maxblocks         5800,0    55081,0       95,0
Pipe Throughput                              12440,0  1256947,4     1010,4
Pipe-based Context Switching                  4000,0    56164,2      140,4
Process Creation                               126,0     7403,3      587,6
Shell Scripts (8 concurrent)                     6,0     1189,0     1981,7
System Call Overhead                         15000,0   869894,5      579,9
                                                                 =========
     FINAL SCORE                                                     524,4
Not much difference... But libreoffice compile now does only saturate about half of memory :)

Huge variability- after 20h uptime:

Code:
                     INDEX VALUES            
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        116700,0 23592407,2     2021,6
Double-Precision Whetstone                      55,0     3549,2      645,3       
Execl Throughput                                43,0     2394,7      556,9      
File Copy 1024 bufsize 2000 maxblocks         3960,0    86828,0      219,3      
File Copy 256 bufsize 500 maxblocks           1655,0    96044,0      580,3
File Copy 4096 bufsize 8000 maxblocks         5800,0    55006,0       94,8
Pipe Throughput                              12440,0  1270230,8     1021,1
Pipe-based Context Switching                  4000,0   121242,2      303,1
Process Creation                               126,0     6852,7      543,9
Shell Scripts (8 concurrent)                     6,0     1143,0     1905,0
System Call Overhead                         15000,0   873253,7      582,2
                                                                 =========
     FINAL SCORE                                                     558,1
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#42
Same machine, FreeBSD 10.0-STABLE #0 r261091 amd64, a bit disappointing... I think it's connected with new BSD licensed tools.
Code:
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        116700,0 19479405,7     1669,2
Double-Precision Whetstone                      55,0     3417,7      621,4
Execl Throughput                                43,0     1956,3      455,0
File Copy 1024 bufsize 2000 maxblocks         3960,0    84302,0      212,9
File Copy 256 bufsize 500 maxblocks           1655,0    73788,0      445,8
File Copy 4096 bufsize 8000 maxblocks         5800,0    55651,0       96,0
Pipe Throughput                              12440,0  1096226,5      881,2
Pipe-based Context Switching                  4000,0   186495,0      466,2
Process Creation                               126,0     7381,4      585,8
Shell Scripts (8 concurrent)                     6,0      510,6      851,0
System Call Overhead                         15000,0   793704,9      529,1
                                                                 =========
     FINAL SCORE                                                     497,9
 

chrissmeuk

New Member


Messages: 4

#43
Thanks for posting this - great timing. I've got a T400 and am considering throwing 10.0 at it. It's currently running Windows 7 x64 with 9.2 in Virtualbox but it's such a waste as I don't actually use Windows that much. Will "invert" the installation making Windows the guest.

Does yours have switchable graphics? This has a Radeon and Intel graphics in it. Would rather just turn off the Radeon as it produces noisy yellows and I don't need high performance.
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#44
I only have Intel GM45 (X4500). Works as good as on 9-STABLE. Thanks for acknowledgement- I've almost thought I'm just leaving notes for myself, it's appreciated. I've once loaded GENERIC kernel- empty cardbus slot (cbb) makes an interrupt storm, but that's all. Regarding Radeon, there is Gallium now https://wiki.freebsd.org/Graphics
 

chrissmeuk

New Member


Messages: 4

#45
Thanks for info - will approach this over the weekend. I think you can kill the cardbus support in the BIOS So this might be a starting point. I don't have any CardBus devices installed so obviously depends on that. Really don't want the Radeon even powered up as it kills battery life rapidly. I'm actually beginning to wish I bought the model with only the X4500 in it.
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#46
I don't compile cbb usually, so that's not a problem for me. I've loaded GENERIC once for testing purposes. You should know, that syscons is not available for a systems where KMS/new X.org is enabled. That means no system console (blank screen once you kill X session or switch to a system console- but system does not hang). There is a newcons project, but it's not MFC'd yet. https://wiki.freebsd.org/Newcons
 
OP
OP
M

morbit

Well-Known Member

Thanks: 34
Messages: 258

#47
Code:
                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        116700,0 18268560,2     1565,4
Double-Precision Whetstone                      55,0     3516,2      639,3
Execl Throughput                                43,0     2015,1      468,6
File Copy 1024 bufsize 2000 maxblocks         3960,0    85683,0      216,4
File Copy 256 bufsize 500 maxblocks           1655,0    75441,0      455,8
File Copy 4096 bufsize 8000 maxblocks         5800,0    55932,0       96,4
Pipe Throughput                              12440,0  1076461,5      865,3
Pipe-based Context Switching                  4000,0   182937,2      457,3
Process Creation                               126,0     7755,6      615,5
Shell Scripts (8 concurrent)                     6,0      532,8      888,0
System Call Overhead                         15000,0   796356,2      530,9
                                                                 =========
     FINAL SCORE                                                     502,2
Full clang 3.4, FreeBSD 10.0-STABLE #0 r263667 amd64. As a side note, vao_demo from libva-intel-driver-1.2.0 certainly works (VAAPI under Intel GM45), but I'm not sure if it buys me anything. Looks pretty anyway (there is a relevant gstreamer plugin in ports collection available, but I don't see a difference in CPU usage anyway).
 
Top