Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-settings.php on line 229

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-settings.php on line 231

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-settings.php on line 232

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-settings.php on line 249

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/blog/wp-includes/theme.php on line 507
Blog.QS

Blog.QS

Polish the life


Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/qingshen.de/htdocs/gallery/bootstrap.inc on line 43
PhD_2006-06-30_001.jpg
 
 

Sexy Bluetooth Keyboard and Mouse under Linux

Posted by Sandy on August 6th, 2007

I recently bought a brand new DELL Bluetooth Keyboard and Mouse Bundle (they are actually produced by Logitech) . Here is the picture of this beauty:

DELL Bluetooth Keyboard and Mouse Bundle

The reason of this purchase was I couldn’t find my mouse shipped from Germany and my keyboard is old and I was annoyed by those wires and cables and I saw the SALE by DELL. La la la…

When I got it and tried it under windows, I was a bit surprised by its handy functionalities and reliabilities. Em at least, it’s installation under Windows was easy and straightforward. Then I tried to use it to drive my lovely Debian system, however I had no lucky this time. The set up of this BT keyboard and mouse was a bit funky and I spent a whole night to work it out. And now it’s the time to share my experience.

  • Step 1: Setup Kernel
Networking --->

<*> Bluetooth subsystem support  --->--- Bluetooth subsystem support

<M>   L2CAP protocol support

<M>   SCO links support

<M>   RFCOMM protocol support

[*]     RFCOMM TTY support

<M>   BNEP protocol support

[*]     Multicast filter support

[*]     Protocol filter support

<M>   HIDP protocol support

Bluetooth device drivers  --->

<M> HCI USB driver

[*]   SCO (voice) support

<M> HCI UART driver

[*]   UART (H4) protocol support

[*]   BCSP protocol support

[*]   Transmit CRC with every BCSP packet

<M> HCI BCM203x USB driver

<M> HCI BPA10x USB driver

<M> HCI BlueFRITZ! USB driver

(The four drivers below are for PCMCIA Bluetooth devices and will only how up if you have also selected PCMCIA support in your kernel.)

<M> HCI DTL1 (PC Card) driver

<M> HCI BT3C (PC Card) driver

<M> HCI BlueCard (PC Card) driver

<M> HCI UART (PC Card) device driver

(The driver below is intended for HCI Emulation software.)

<M> HCI VHCI (Virtual HCI device) driver

(Move back three levels to Device Drives and then check if USB is nabled. This is required if you use a Bluetooth dongle, which are mostly USB based.)

USB support  —>

<*> Support for Host-side USB

— USB Host Controller Drivers

<M> EHCI HCD (USB 2.0) support

[ ]   Full speed ISO transactions (EXPERIMENTAL)

[ ]   Root Hub Transaction Translators (EXPERIMENTAL)

<*> OHCI HCD support

<*> UHCI HCD (most Intel and VIA) support

< > SL811HS HCD support

Build the kernel and then install it

  • Step 2: Bluez-Utils

Install the Bluz-Utils by`ap-get install Bluz-Utils`

  • Step3: Configuration (very important)

Now it’s the tricky time. The key point is this BT Keyboard and Mouse can not be used as hci, so we need to use hid instead.
A) Find out the MAC address of them by `hcitool scan` or `hidd –search`. If there’s no results, then press the sync button on the bottom of the devices, and try again. The result looks like:

# hcitool scan
Scanning …
       00:0A:0B:0C:0D:0E	DELL BT Mouse

B) Turn off HID2HCI at “/etc/default/bluetooth” : change the value of HID2HCI_ENABLED to 0.

HID2HCI_ENABLED = 0;

C) Enable HID daemon and set the start up options at “/etc/default/bluetooth” :

HIDD_ENABLED=1

# The MAC address here is just a fake example

HIDD_OPTIONS="--master -i 00:0A:0B:0C:0D:0E -i 00:01:02:03:04:05 --server"

Reboot and Cheers!
There are some other softwares for gnome, which can let you setup all the functional buttons, such as volume turner. Very fancy and SEXY.

Posted in Life Recorder | 3 Comments »

Keep using modified themes of windows after M$ KB925902.

Posted by Sandy on June 17th, 2007

Microsoft recently released a security update KB925902, which keep monitoring the size of the multimedia resources loaded in the memory. Many awesome themes for windows modified shell32.dll to include more eye candies. I am personally using FlyakiteOSX, whose modified shell32.dll file reaches 27MB, and that screwed M$’s security check. The result of this issue is that some software, such as Calculator, GVim, and WMM, could not work, since system will complain the use of memory address.

Fortunately, we can still cheat M$ to work around this issue by rebuild the user32.dll, which comes with the update KB925902. And there’s a nice guy “Marzo Sette Torres Junior” wrote a detailed tutorial about how to rebuild the DLL. As a Memo, I reposted his article in below:

Read the rest of this entry »

Posted in Life Recorder | No Comments »

Subdomains works now!

Posted by Sandy on June 14th, 2007

Instead of using PHP scripts for page redirection, I am now using html code to redirect the pages. At least it works and now the gallery and blog can be accessed through http://gallery.qingshen.de and http://blog.qingshen.de

Posted in Life Recorder | No Comments »

Belgium Photos are updated!

Posted by Sandy on June 11th, 2007

The web-space provider of my personal website recently installed suPHP module, which causes some problems in page redirection. Fortunately they managed to bring my gallery and blog back to the world :-) Since the subdomains will not work at this moment, to access the blog and gallery please use http://www.qingshen.de/blog/ and http://www.qingshen.de/gallery/.

After nearly 2 months, I finally finished sorting all the photos shot in Belgium during Easter. A direct link to its album is http://www.qingshen.de/gallery/main.php?g2_itemId=2787 It’s a shame that I have been so busy with my new job and have no time at all to do my hobbies. It should be better once I get totally settled in the new city and country.

Posted in Life Recorder | No Comments »

Blog and Gallery work again!

Posted by Sandy on June 11th, 2007

The problem was that my web-space provider recently change their PHP server to suPHP, which does not allow me to use “.htaccess” to modify the memory settings. Fortunately, the provider responded to my problem report quickly and now the gallery and blog work again.

However, we still have redirection problem, which makes the wiki down. I will contact my provider again and try to fix it.

Cheers.

Posted in Life Recorder | No Comments »

The “three mouseketeers” of Nikkor Lens!

Posted by Sandy on June 5th, 2007

Before I came to Canada, I sold my lovely Nikon D70 but kept the lens AF-S DX Zoom-Nikkor 18-70mm f/3.5-4.5G IF-ED (3.8x). And I suppose to buy a new Nikon DSLR here, but recently ran out of money. So, I can only checking the website to feed my desire. Yesterday, I found some nice pics from the best three zoom lens that nikon has made. Hope I have money later to get them.

Nikkors

Posted in Photograhpy | No Comments »

接上文:微波炉煮的饺子和豪华方便面

Posted by Sandy on May 29th, 2007

旅馆里只有微波炉,就不管有没有营养了,先解馋再说:

jiaozi_cookednudle

Posted in Life Recorder | 3 Comments »

温哥华的“华”化

Posted by Sandy on May 28th, 2007

刚来温哥华两个半星期,结果上班就已经两个星期了。再加上很多要办的手续,星期一到星期五基本就是没有闲暇的时间。周末了,自然就要去放松一下。人生地不熟,能去哪里呢?平日里没有时间做调查,临时抱佛脚也来不及。哎,又过了在网上GG,MM“拉帮结派”去“海皮”的年纪了。最后只好去Shopping Mall逛逛了。虽然说俺不好一个逛街,不过生活必需品总是要购置的。在路上的时候,猛然想起刚来时一个中国朋友特意推荐过一个叫“大统华”的华人连锁超市。既然是友人极力推荐,那还是要去探探究竟的。

经过漫漫征途,终于在Shopping Mall的底层找到了传说中的“大统华”超市。大温哥华地区华人之多,其实是众所周知的事情。其中又以温哥华市和Richmond市尤最。年初的时候因为工作面试来过一趟,也看了名声在外的北美第二大“中国城”。但和今天进入“大统华”超市的感觉截然不同。去中国城,就像是老外在深圳看世界之窗,而在“大统华”超市,就是南京人逛苏果的感觉。

我这么说主要有这么几个原因:首先是语言,基本只说华语,广东话居多,剩下的都是各种腔调的普通话,这其中当然也包括台湾人的“国语”。然后是货物,正宗“国货”,这里的国货是指就是那些在国内能买到的东西。据个例子,看到这里出售的美国黑人牙膏的包装盒上赫然印着“黑人牙膏”四个汉字。不知道如此“华”化是否必要:) 再者就是购物的方式了,和国内无太大区别,熙熙攘攘好不热闹。最后就是规模,基本和本地超市规模相当。相比之下,欧洲那些小豆腐块亚超里面还包括不少泰国,越南的物品,所以根本不能说是中国超市(其实人家也没说是中国超市,只是华人在外影响大,基本上亚超可以和中国超市画等号)。回来后,打电话给纽约的一位老友,说起这件事情,他也感叹温哥华给华人带来的方便,美国恐怕也只有三藩市可以媲美了。

虽然说“大统华”东西不少,可惜我现在居无定所,也都不方便卖。最后只好无奈的买了点方便面,方便粉丝,和期待已久的饺子回来。下面奉上照片一张,大家共欣赏。温哥华的“华”化,当然不只这一点,不过由此可见一般了。我想这也要归功于那些来这里投资消费和“富有”国人们。他们说,我们想要适合自己生活的方式和环境,于是他们就有了这样的生活方式和环境。。。。

温哥华饺子

Posted in Life Recorder | 5 Comments »

First week impression about Greater Vancouver!

Posted by Sandy on May 22nd, 2007

Since May 11th, 2007, I have been in Greater Vancouver for one week. The change from Europe to North America isn’t that big and I got used to the life pretty soon. However, there is still something remarkable :D

Last Day in Germany: I had been hanging around for 2 hours at Frankfurt international airport before I get checked in. What annoyed me was the stupid questions that the clerk asked for securities :( BUT, I did get some compensation. After the check in, I was told that my seat is upgraded to business class, which far more comfortable than the economic ones. I did enjoy it and it was the first time in my life that I felt 10 hours flight is too short :D

Arrived in Vancouver: There is nothing new to me at the airport except the immigration office. I was told to see a immigration officer in order to grant my work permit. This task was easy and pleasant, but it took me 1.5 hours to wait in the queue. Plus the luggage claim, it took me almost 3 hours to get out of the airport. But the nightmare was not finished. As planned, I would pick up the car, which was rented by my company. But my credit card could not pass the machine and there is no other way around this. Finally I could only take the Cab to the hotel and ended the whole tiring day with a fast dinner at McDonald. Oh, forgot to say that I did successfully pick up my new cell phone, which I have online reserved one day before my flight in Germany, on my way. That impressed the cab driver a lot, and I told him that’s called planning, which I have learned in Germany. :D

The following days in Greater Vancouver: In the next day, I had a very rich breakfast and then Bill a very nice relocation assistant came and picked me up for the settlement orientation. It was quite pleasure to work with him and we finished all the important settlement, like bank, social insurance number, drive license, jut in the morning. It was a great success :D Besides work, there was nothing special I did in the following days. Although living without a car in north America is hard, I haven’t expected too much and everything ran smooth enough for my first week. BTW, I finally got the rental car, which is a Dodge Caliber, and here is a photo I found in the internet as a reference. Then the life became easier.

A Dodge Caliber from National Car Rental :D

Life Style in Canada: The culture here is similar to US. People keep looking forward to any new stuffs. Compare to the culture in Europe, you can easily feel their strong creative passion to entertain their life rather than to enjoy what they used to have. Anyway, it’s just different living style. I meant no criticisms. One more happy thing I found here is shopping. Typical huge american shopping mall offers everything you need. And because of its multi-culture, I can buy most of the chinese cooking materials by without going to special “Asia-Markt”. The drawback is people can hardly taste a pure culture here.

Misc: There are still many things to say. However, I decide to left it for later stories. What I want to mention at the end of this story is the cities in Greater Vancouver indeed have marvelous views. :D

Posted in Life Recorder | No Comments »

Rescue IBM ThinkPad T40 “Black” Display: Replacing its CCFL

Posted by Sandy on May 9th, 2007

I bought Lin a used IBM ThinkPad T40 from ebay about 1 year ago and it has been working very well. However, the display recently became reddish and Lin complained it always. Since it worked somehow and I thus put less attention to it. One day the poor display finally gave up his ghost and stayed in black.

After a simple analysis, I guess the problem was caused by the defect of backlight. Since the display became reddish in his last few days, I was sure that the CCFL of the LCD display is brocken. I should have done more detailed investigation but I had neither time nor mood to do so. Forturnately, I was right and the display is revived.

As a memo I documented the most important steps in my Wiki.QS by the title “IBM ThinkPad T40 CCFL Replace

Replace the CCFL

Posted in Techniques | No Comments »