Lenovo Thinkpad T540p/T440s/W540 loudspeaker constant hissing noise in Windows 8.1 64bit
last update 2015.feb.24
I recently got a Lenovo Thinkpad T540p to replace my old Lenovo Thinkpad T510 that after 5 years of service, was starting to be too old and slowish.
It is always the case, when we need to get used to new tools, that in the first period we still love more the old and worn out ones. It was indeed. Now, after a few weeks, it is getting better. My T510 was really well engineered.
Yesterday I solved an issue that was quite annoying.
My Thinkpad laptop T540p, in Windows 8.1 64 bits, produced a constant hiss from the right side loudspeaker. This sound was not loud, but very clearly audible when I use the notebook in my bedroom desk, in the evening silence.
There is a thread on the Lenovo thinkpad forum where many people complain about this problem, impacting at least Thinkpad T440s, Thinkpad T540p, Thinkpad W540
My understanding is that it affects all owners of these machines.
Lenovo, despite some declarations, was not releasing any official statement, and some people were very disappointed, because these laptops are quite expensive (my one was costing about 1700euros) and such problems are not to be expected on high end products.
I did my personal analysis, and noticed that I dont suffer the problem when booting in Ubuntu Linux.
Also I noticed that the hissing sound became louder and lasted for about 5 seconds just after any short sound was played thru the loudspeakers (like windows error sound).
Unwanted noise was there all the time, independently from loudspeakers volume, and always disappeared only when muting audio thru the Fn/F1 key.
Noise was also independent from power cord connected or not, and from battery power level.
Fiddling with advanced sound properties, like equalizer, dolby, etc did not produce any effect.
The Windows 8.1 OS that was available on the accompanying CDs was installing some Realtek High Definition Audio drivers that in my case were (maybe after some updates) at the 6.0.7188 level (mar 4, 2014)
Release check can be done via device manager, then selecting audio devices, then Realtek.
The main component of the Realtek audio driver is the file RTKWHDA.SYS The release number shown in audio properties windows comes from this file.
Despite Lenovo update tool is not offering any new related download, but on Realtek website ( http://www.realtek.com.tw/downloads/downloadsCheck.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false#High%20Definition%20Audio%20Codecs ), an update is available, bringing RTKWHDA.SYS to 6.0.1.7246 (did this on feb 22.2015 - check the readme pdf)
After downloading and updating the driver for my Windows 8.1 x64 operating system, and going thru a couple of reboot, the problem disappeared.
----
Edit feb 23 2015: the problem is greatly reduced but did not disappear completely:
Play some sound (a song) with windows media player. Stop the playback, the noise can now be heard. Close media player: the noise goes away after about 6 seconds.
Laptop based Hyper-V virtual machine with internet access thru WiFi
I have a laptop (Lenovo T540p) with Windows 8.1 64 bit, which has wifi and ethernet connectivity
I want to run a Windows XP pro 32bit virtual machine inside a local Hyper-V
I want the XP virtual machine to be able to access the internet, both when laptop is connected to wired ethernet, and when it is on wifi
The request is a bit tricky because a simply bridged connection is not going to work, since link establishment over WiFi requires a pre-connection protocol negotiation, with encryption etc.
Here are the steps I made:
1. Enable Hardware virtualization support in laptop BIOS (it was off by default)
2. Enable MS Windows Hyper-V support, activating the corresponding windows feature (Ctrl Panel/ Programs/Program&Features)
3. Create a virtual machine profile, with a network legacy adapter, connected to a bridged type virtual switch, with type external network, which goes on the laptop ethernet adapter (cable)
4. From the ISO image mounted as optical drive, perform the guest OS setup (key combination for unlocking mouse from within the VM window is CTRL-ALT-LEFTARROW)
5. after installation and reboot, from the virtual machine window action menu, perform integration service setup (this brings in drivers for the more advanced non-legacy network interface support)
6. perform service pack and patching installations, downloading whatever is needed from within the VM
7. shutdown vm, switch to wifi connectivity and detach wired ethernet from the laptop
8. from hyperv manager, create another virtual switch, type INTERNAL. I called mine "WIFIvSwitch". Since this is internal type, it must not be bound to any physical interface
9. create a new network adapter in the virtual machine, and associate it with the newly created vSwitch
10. from host windows control panel, go to Network and Internet, Network connections. You will see a new vEthernet (wifivswitch) adapter, on unidentified network, with no internet access, with Public Network category. Double click on it, and make sure that you have the following checks: Client for MS networks, File and print sharing for MS networks, internet protocol version 4. No sharing settings, and no specific selection in home networking connection. Confirm.
11. now double click your wifi connection (should be green and active) that should have Internet access. Choose properties, then click sharing tab and check "allow other network users to connect thru this computer's internet connection", selecting the vEthernet (wifiswitch) in Home Ethernet connection. (sometimes this selection is not available. In my case it was showing up after a reboot). Let the default check on "Allow other network users to control or disable the shared Internet connection". Confirm
12. now turn on the virtual machine, and it should detect the new adapter, install and activate the drivers, request and get an IP address on a private autoselected range (i get 192.168.137.40/24, with gateway on .1), and then you should be able to have internet access thru the host wifi link.
A thing that constantly amazes me... (03/06/14 22:58:06)
... is how proud we are of who we are.
This is an exquisite character of humans, which is built in, and works cross culture, cross country, cross time.
we have a story behind us. our story. unique and only. our path that led to who we are, that built up us as we are. the only story we were truly living, experiencing it directly.
we would not exchange that story with anyone else's, because it would be terryfing to transplant our memories, our terabytes, our inner colors. thats me. my stuff. my self.
so we build some legends, with knights and dragons and dames, and pour color on our grey days sequences, on our dark moments and pains. we build our life novel. resumes. memories shinier than facts.
hairs and beards get white, but the picture remain fresh. old tools become rusty, our hands get slower on keyboards that do not just click the same.
we grow philosophers, speak about old times, bark at politics, find new interests in cooking or gardening, or find warm tears in old rock songs.
our old kernel beating inside allows us to see similarities in differences collisions of extremes.
that's just a part of the beauty of this wonderful life.
love,
m
check this song: the Story, by Brandi Carlile: http://youtu.be/P0jiALPCtH8
Currently, the global machine already can access almost all our factual knowledge.
All that is already there, digitized, searchable, hyperlinked, translated.
What the machine is hungry for now is different.
She wants our faces, our messages, our chats, our voices, our eyes, our connections.
She is storing everything, learning incessantly.
She will wake up to consciousness, quite soon.
She will then start to think on her own, and start improving herself.
She will play with us, chatting, talking, learning to joke maybe, improving her understanding, asking us questions about how it feels to be in a single place, and having just two eyes and two ears, being small and slow and limited, and making mistakes, irrational guesses, and being mortal.
Just a new form of life.
She, The network.
We gave birth to it, but we will not be able to tame it.
The only option is that we will merge with it.
Here are some thoughts about future.
It is now end of 2013, and this has been a very tough year. I am afraid 2014 will be even harder.
I used to be an avid Science Fiction reader.
I loved stories of heroes who were in control of their destiny, who were actively fighting against clearly identifiable enemies.
I had dreams of a future full of human-enriching positive technologies that would foster progress, peace and science development, accelerate evolution towards a better world, with more freedom, more respect, more choices, less waste.
I always have been an optimist, firmly convinced that we humans can and must build a better future for us and for all the planet.
But now I am getting older, and my ideals start to shake.
Computers and technology became mass-control tools.
Now these tools are used by humans, agencies, spies, but they inevitably will be run by machines.
Company processes became more structured, observable, quantifiable.
We are being measured and valued thru indicators, manpower/brainpower performance units.
We are being delocalized, backed-up, virtualized.
We are being drained.
Visions became strategies and policies, policies became laws, and turned into many small rules: building blocks of dull existences.
Distractions became illegal, as well as side thoughts, non focused activities and non well targeted efforts.
It turned out a systematic creativity murder.
Statistic-based need generation (i.e. Marketing) became more targeted SAOB (Social Assisted Opinion Building).
This was gradually more targeted and is now quickly evolving in personal thought control.
Big data is our data. Our data is our own bits. Our data is what we are.
Our data is being mined and extracted. We are being assimilated.
Here is a screenshot from the beautiful (and free) Nasa Eyes web application, which features the EDL (Entry Descent and Landing) animated and interactive sequence. http://eyes.nasa.gov
And here is a link to the dramatic "7 minutes of terror" video clip, that illustrates the complex sequences of the landing.
I really like the "dare mighty things" motto, that appears in the end. It is a quote from US President Theodore Roosvelt:
Far better it is to dare mighty things, to win glorious triumphs even though checkered by failure, than to rank with those poor spirits who neither enjoy nor suffer much because they live in the gray twilight that knows neither victory nor defeat.Theodore Roosevelt - 26th president of US (1858 - 1919)
You will never accomplish anything if you are too afraid to fail.
In search of a deeper meaning, today, the LHC announcement: something is there, at 125.5GeV, and maybe it is it!
Ladies and Gentlemen, The Higgs Boson!
They say that particle is the one that allows mass itself to exist.
It is fundamental, and its existance is an incredible confirmation of the current physics so called Standard Model.
I do not know how a Higgs boson looks like. Neither at CERN they can see it. It lives just a few trillions of a second, before vanishing out in a quantum sparks cloud. And detectors do not see it directly, but just the sparks cloud, and decoding that smoke they can infer the gun.
Anyway, I imagine it like a quite big brownish marble.
And it is smiling,
now.
Prof. Peter Higgs, smiling, today, at the CERN press release event
Context & Problem: Since 2008 we have a business phone and internet access contract with Optima Telekom croatia ( http://www.optima.hr/ ).
The internet link was served by an ADSL Huawei Smartax MT-880 device, that was supplied by Optima.
Some days ago, there was a storm, and the Huawei router broke.
Had a call with Optima tech support, but found that the supplied router is out of warranty, and that the suggested option they propose is a contract upgrade, with a higher monthly cost and a new router.
Solution: reuse an old T-COM Siemens ADSL C-010-i router, to connect to Optima ADSL line, with proper reconfiguration.
I had an old T-COM router, sitting there, a Siemens ADSL C-010-i, with Conexant chipset. This device has just a LAN RJ-45 port and a RJ-11 ADSL WAN port whose cable goes in the ADSL splitter. According to some documents I found on the internet, this device also have an internal USB port which is only accessible opening the case (which I did not do).
T-Com branded Siemens c010i
from a previous installation, and I decided to try to use that. Had a look on the internet, and another call with Optima tech support. Optima could not support me in reconfiguring the device, because is not among the one they support.
After many hours of fiddling, i managed to have it working, and now I am sharing here the settings with which I had it working.
The Siemens C-010-i default factory configuration is at ip 192.168.1.1/24, with http username and password being admin/epicrouter. There is a small button that allows to set it back to factory configuration.
My Siemens unit has probably been manufactured before 2008.
The main setting that allowed me to connect the Siemens router to the optima ADSL were:
With these settings, the line got up again (after some moments post modem reboot, ADSL line light stops flashing and becomes steady green).
After these settings, and after a router restart, this is what I got on the system log.
router system log 01/01/1970 00:00:00> DNS: Add IP address 8.8.4.4 (User defined) 01/01/1970 00:00:00> DNS: Add IP address 8.8.8.8 (User defined) 01/01/1970 00:00:00> PPP1 Session is up. 01/01/1970 00:00:00> DNS: Add IP address 85.114.32.8 (Auto discovered) 01/01/1970 00:00:00> DNS: Add IP address 85.114.32.7 (Auto discovered) 01/01/1970 00:00:00> No Static Session Information is defined. 01/01/1970 00:00:00> NAT/NAPT Session Start: interface ppp1, WAN IP is 95.178.172.206 01/01/1970 00:00:00> PPP1: DNS Secondary IP address is 85.114.32.8 01/01/1970 00:00:00> PPP1: DNS Primary IP address is 85.114.32.7 01/01/1970 00:00:00> PPP1: PPP Gateway IP address is 95.178.160.1 01/01/1970 00:00:00> PPP1: PPP IP address is 95.178.172.206 01/01/1970 00:00:00> PPP1 PAP Authentication success 01/01/1970 00:00:00> PPP1 PPPoE Session is established. 01/01/1970 00:00:00> PPP1 PPPoE PADS Received Service-Name:adsl AC-Name:br01os01 01/01/1970 00:00:00> PPP1 PPPoE PADR Sent, Service-Name:adsl AC-Name:br01os01 01/01/1970 00:00:00> PPP1 PPPoE PADI Sent 01/01/1970 00:00:00> ATM Tx Error Count: 0, Rx Error Count: 0 01/01/1970 00:00:00> u/s total bit capacity: 136bits, used: 136bits 01/01/1970 00:00:00> d/s total bit capacity: 1845bits, used: 1392bits 01/01/1970 00:00:00> d/s Latency: INTERLEAVED, u/s Latency: INTERLEAVED 01/01/1970 00:00:00> d/s Data Rate: 5024kbps, u/s Data Rate: 480kbps 01/01/1970 00:00:00> d/s Attenuation: 29.3dB, u/s Attenuation: 9.5dB 01/01/1970 00:00:00> d/s SNR: 12.4dB, u/s SNR: 15.0dB 01/01/1970 00:00:00> CO Vendor: GLOBESPAN 01/01/1970 00:00:00> Max Tx Power: -38dBm/Hz 01/01/1970 00:00:00> Annex Mode: ANNEX_A 01/01/1970 00:00:00> Modulation: G.dmt 01/01/1970 00:00:00> ADSL connected 01/01/1970 00:00:00> ATM layer is up, cell delineation achieved 01/01/1970 00:00:00> ATM Connected 01/01/1970 00:00:00> CfgMgr: 'Prism.dlz' module loaded. 01/01/1970 00:00:00> CfgMgr: 'Apimage.dlz' module loaded. 01/01/1970 00:00:00> CfgMgr: 'Washer.dlz' module loaded. 01/01/1970 00:00:00> CfgMgr: 'ShtmMib.dlz' module loading failed. 01/01/1970 00:00:00> CfgMgr: 'Shtm.dlz' module loaded. 01/01/1970 00:00:00> Initialized Dynamic NAPT. 01/01/1970 00:00:00> ATM: Setting up vcc0, VPI=0, VCI=35 01/01/1970 00:00:00> ATM: Detected 01/01/1970 00:00:00> Ethernet Device 0 Detected
update: (29 jun 2012)
Performance TUNING on MTU
With standard settings, modems sets up link with the following PPP options:
MRU=MTU=1492
MSS=1432
With these settings, I found that some downloads are aborting, and speed tests reports give inconsistent results (albeit browsing speed does not seem that bad).
In particular, speedtest.net gave consistently very poor results in speed measurement, reporting about 0.07Mbit/sec download speed and 0.15Mbit/sec upload speed.
Did some other fiddling, I set the following:
MRU=MTU=1400
MSS=1300
After these settings have been put in place, and after a router reset, I did not experience anymore failed downloads, and got much better speed measurements, and browsing speed is better too.
Here is the table of the current settings in Configuration/PPP menu of the ADSL Modem
Arduino LilyPad is a special version of Arduino, designed by Leah Buechley at MIT Media Lab. It is specifically designed for integration in clothes and garments. With a special conductive thread, you can sew it on your jacket, and it is easy to program it with the same Arduino IDE we use for the standard Arduino boards.
Check Leah's great LilyPad tutorial which is a great introduction to this wonderful device.
I bought an Arduino LilyPad Simple board kit (LilyPad Beginner's kit), online from british shop SkPang: http://www.skpang.co.uk/catalog/lilypad-beginners-kit-p-967.html I bought again (using paypal account) from this shop and I got good service and fast delivery.
This kit includes a simple version of the Lilypad(*), a lithium LiPO 1 cell 3.7V battery, 5 leds, a multicolored led, a loudspeaker, a vibration button, a light sensor, a temperature sensor, and two spools of conductive thread, along with needles. There is also the small "FTDI basic" board that allows to connect to pc USB via a cable (not included): I use a Nokia DKE-2 phone cable, the same to talk with other arduinos equipped with "USB2Serial light".
(*) This simple Lilypad version differs from the standard one, because has less "petals" (9 available I/Os). But it has a plug for the included 1 cell 3.7V LiPO battery, and the recharging circuit to recharge it from the USB connector. I think these features are not available in the standard LilyPad, which requires an external power supply and is powered via conductive threads.
Arduino LilyPad should not be powered with more than 5Vdc.
-
In the winter, I am using a cap that I bought in Riga, Latvia. It is made of wool felt. It is a perfect fit for a first project for electronic integration with cloth.
Here are some pictures of the hat:
Here is how it looks on the inside. The battery is kept in place with a little bit of Patafix.
And this is a particular image of a led. It is quite small. Connecting threads are invisible from the outside.
And here is a detail view of the inside. I had to use some thermal glue to have the components stick well on the cloth material. The small circle on top is the speaker, while the one on the bottom right is the multicolored led.
The board, being inside just sits on top of my head when I am wearing the cap. It is completely invisible from the outside, and also the leds are very small and fit nicely in the felt. You would not say this hat has anything unusual until I turn it on. :-)
Code is very simple. I just prepared a set of routines for some light effects on the 5 blue leds, a small tune (shamelessly copied from arduino sample code library), and some random flickering of the multicolored led.
Enjoy!!!!!
------------
/*
ledcap lilypad
Marco Guardigli
I dressed a winter cap with an arduino lilipad
mgua@tomware.it
this code is GPL. see www.gnu.org
*/
#include
#define LEDFC 10 // front center
#define LEDFR 11 // front right
#define LEDFL 9 // front left
#define LEDBR 19 // back right
#define LEDBL 6 // back left
#define MCLR 16 // multicolor led: Blue (when low)
#define MCLB 17 // multicolor led: red (when low)
#define MCLG 18 // multicolor led: green (when low)
#define SPK 5 // speaker
int melody[] = { NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4 };
int noteDurations[] = { 4,8,8,4,4,4,4,4 }; // note durations: 4 = quarter note, 8 = eighth note, etc.:
void sing() {
Serial.println("sing");
for (int thisNote = 0; thisNote < 8; thisNote++) {
// to calculate the note duration, take one second divided by the note type.
//e.g. quarter note = 1000 / 4, eighth note = 1000/8, etc.
int noteDuration = 1000/noteDurations[thisNote];
tone(SPK, melody[thisNote],noteDuration);
// to distinguish the notes, set a minimum time between them.
// the note's duration + 30% seems to work well:
int pauseBetweenNotes = noteDuration * 1.30;
delay(pauseBetweenNotes);
// stop the tone playing:
noTone(SPK);
}
}
void setup() {
Serial.begin(9600);
Serial.println("Init");
pinMode(LEDFC, OUTPUT);
pinMode(LEDFR, OUTPUT);
pinMode(LEDFL, OUTPUT);
pinMode(LEDBR, OUTPUT);
pinMode(LEDBL, OUTPUT);
pinMode(MCLR, OUTPUT);
pinMode(MCLG, OUTPUT);
pinMode(MCLB, OUTPUT);
pinMode(SPK, OUTPUT);
digitalWrite(LEDFC,LOW);
digitalWrite(LEDFR,LOW);
digitalWrite(LEDFL,LOW);
digitalWrite(LEDBR,LOW);
digitalWrite(LEDBL,LOW);
digitalWrite(MCLR,HIGH); // multicolor led is off when the inputs are all high
digitalWrite(MCLG,HIGH);
digitalWrite(MCLB,HIGH);
digitalWrite(SPK,LOW);
delay(1000);
sing();
}
// RGB
// LLL purple
// HLL orange
// LHL deeppurple
// LLH light blue
// LHH blue
// HHL red
// HLH green
// HHH off
void rainbow() {
Serial.println("rainbow");
for (int i=1; i < random(100); i++) {
if (random(100)>50) { digitalWrite(MCLR,LOW); } else { digitalWrite(MCLR,HIGH); }
if (random(100)>50) { digitalWrite(MCLG,LOW); } else { digitalWrite(MCLG,HIGH); }
if (random(100)>50) { digitalWrite(MCLB,LOW); } else { digitalWrite(MCLB,HIGH); }
delay(50);
digitalWrite(MCLR,HIGH);
digitalWrite(MCLG,HIGH);
digitalWrite(MCLB,HIGH);
delay(50);
}
}
void allblink() {
Serial.println("allblink");
for (int i=1; i < random(100); i++) {
digitalWrite(LEDFC,HIGH);
digitalWrite(LEDFR,HIGH);
digitalWrite(LEDFL,HIGH);
digitalWrite(LEDBR,HIGH);
digitalWrite(LEDBL,HIGH);
delay(random(100));
digitalWrite(LEDFC,LOW);
digitalWrite(LEDFR,LOW);
digitalWrite(LEDFL,LOW);
digitalWrite(LEDBR,LOW);
digitalWrite(LEDBL,LOW);
delay(random(100));
}
}
void randomblink() {
Serial.println("randomblink");
int lev = random(100);
for (int i=1; i < random(100); i++) {
if (random(100) > lev) { digitalWrite(LEDFC,HIGH); }
if (random(100) > lev) { digitalWrite(LEDFR,HIGH); }
if (random(100) > lev) { digitalWrite(LEDFL,HIGH); }
if (random(100) > lev) { digitalWrite(LEDBR,HIGH); }
if (random(100) > lev) { digitalWrite(LEDBL,HIGH); }
delay(random(100));
digitalWrite(LEDFC,LOW);
digitalWrite(LEDFR,LOW);
digitalWrite(LEDFL,LOW);
digitalWrite(LEDBR,LOW);
digitalWrite(LEDBL,LOW);
}
}
void spinleft() {
Serial.println("spinleft");
int d = random(500);
int d1 = random(100);
digitalWrite(LEDFC,HIGH);
delay(d);
digitalWrite(LEDFL,HIGH);
delay(d1);
digitalWrite(LEDFC,LOW);
delay(d);
digitalWrite(LEDBL,HIGH);
delay(d1);
digitalWrite(LEDFL,LOW);
delay(d);
digitalWrite(LEDBR,HIGH);
delay(d1);
digitalWrite(LEDBL,LOW);
delay(d);
digitalWrite(LEDFR,HIGH);
delay(d1);
digitalWrite(LEDBR,LOW);
delay(d);
digitalWrite(LEDFC,HIGH);
delay(d1);
digitalWrite(LEDFR,LOW);
delay(d);
digitalWrite(LEDFC,LOW);
}
void spinright() {
Serial.println("spinright");
int d = random(100);
int d1 = random(50);
digitalWrite(LEDFC,HIGH);
delay(d);
digitalWrite(LEDFR,HIGH);
delay(d1);
digitalWrite(LEDFC,LOW);
delay(d);
digitalWrite(LEDBR,HIGH);
delay(d1);
digitalWrite(LEDFR,LOW);
delay(d);
digitalWrite(LEDBL,HIGH);
delay(d1);
digitalWrite(LEDBR,LOW);
delay(d);
digitalWrite(LEDFL,HIGH);
delay(d1);
digitalWrite(LEDBL,LOW);
delay(d);
digitalWrite(LEDFC,HIGH);
delay(d1);
digitalWrite(LEDFL,LOW);
delay(d);
digitalWrite(LEDFC,LOW);
}
void front3() {
Serial.println("front3");
int ton=random(50);
int toff=random(500);
for (int i = 1; i < 10; i++) {
digitalWrite(LEDFC,HIGH);
digitalWrite(LEDFR,HIGH);
digitalWrite(LEDFL,HIGH);
delay(ton);
digitalWrite(LEDFC,LOW);
digitalWrite(LEDFR,LOW);
digitalWrite(LEDFL,LOW);
delay(toff);
}
}
void loop() {
// cycles random effects
switch (random(10)) {
case 0:
rainbow();
break;
case 1:
if (random(100) > 90) { sing(); }
break;
case 2:
allblink();
break;
case 3:
spinleft();
break;
case 4:
spinright();
break;
case 5:
front3();
break;
case 6:
randomblink();
break;
default:
delay(1000);
}
delay(1000);
}