Ubuntu 10.04 64bit + D-Link DWA-125無線網卡

Environment :Ubuntu 10.04 64-bit

Step1: Download driver DPO_RT3070_LinuxSTA_V2.3.0.4_20100604.tar.gz

//un-compress
Step2: $tar -xzvf DPO_RT3070_LinuxSTA_V2.3.0.4_20100604.tar.gz

//change folder
Step3: $cd DPO_RT3070_LinuxSTA_V2.3.0.4_20100604


//get root permission
Step4: $su


//compile your driver
Step5: #make

//Create new folder
Step6: #mkdir /etc/Wireless/RT2870STA

//Copy file to the new folder
Step7: #cp RT2870STA.dat /etc/Wireless/RT2870STA/.


Step8: #cd os/linux


//install driver
Step9: #insmod rt3070sta.ko


Step10: re-insert your usb & good luck


Notice!!
Build Fail, If kernel version is 2.6.35,



=====================================================
make[2]: *** [/home/pierre/DPO_RT3070_LinuxSTA_V2.3.0.4_20100604/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/home/pierre/DPO_RT3070_LinuxSTA_V2.3.0.4_20100604/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-28-generic'
make: *** [LINUX] Error 2
=====================================================


You can check kernel version 
$uname -a

Root Cause:
After 2.6.35 version,
Function
usb_buffer_alloc => usb_alloc_coherent
usb_buffer_free  => usb_free_coherent

Solution:
Two files need to modify.

1. include/os/rt_linux.h
i.
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr) usb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
=>
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr) usb_alloc_coherent(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)

ii.
 #define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) usb_buffer_free(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
=>
#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) usb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)

2. /os/linux/rt_usb_util.c

i.
  return usb_buffer_alloc(dev, size, mem_flags, dma);
=>
return usb_alloc_coherent(dev, size, mem_flags, dma);

ii.
  usb_buffer_free(dev, size, addr, dma);
=>
usb_free_coherent(dev, size, addr, dma);

Finally, Re-compile

門 +心

=悶

我想以後週末應該都是睡覺的好日子吧
今天開始就是了..........

Mindy Gledhill- All About Your Heart ( Nie version)






















© Blue Morph Music 2010 (BMI), Kendra Lowe (ASCAP)

I don’t mind your odd behavior
It’s the very thing I love
If you were an ice cream flavor
You would be my favorite one

My imagination sees you
Like a painting by Van Gogh
Starry nights and bright sunflowers
Follow you where you may go

Oh, I’ve loved you from the start
In every single way
And more each passing day
You are brighter than the stars
Believe me when I say
It’s not about your scars
It’s all about your heart

You’re a butterfly held captive
Small and safe in your cocoon
Go on you can take your time
Time is said to heal all wounds

Chorus

Like a lock without a key
Like a mystery without a clue
There is no me if I cannot have you

Chorus 

Asus F8Sr + Ubuntu 10.10 64bit version

為了逃避我沒辦法擁有Win 7,又不想降轉XP,所以想到了裝Ubuntu 反正公司用也順順的,回家也只是當讚讚人,應該可以用吧!?所以指擔心驅動程式的問題。為了這東西稍微google一下,似乎很少有人裝,所以也沒什麼分享,於是我就跟他賭一把啦。

大致分享一下目前週邊裝置的使用情況。

網路卡              ==> Pass
無線網路          ==> Pass
SD卡讀卡機     ==> Pass
Webcam            ==> Pass
藍牙                  ==> Pass
Function key     ==> Pass
外接投影機功能  ==> Pass
======================================
以上都是安裝好Ubuntu就可以使用,不用特別找驅動程式^^y

指紋辨識  ==> 沒試過,應該要特別再去處理
光雕機     ==>需要另外安裝驅動軟體,即可使用

至於其他沒有列到的,我就沒測試囉!

第二次主題報告

距離上次滿三個月報告後,再一次的報告我已經滿七個多月!
這次主題是【Android Stagefright Overview】
我依然很緊張,看得東西雖多,可是卻講不出來系統性的東西給大家了解!
應該要多多訓練一下自己整理筆記及報告的能力!
期待下次報告可以更進步。


緊張個什麼鬼!!

散步台北


星期日結束了簡短的聚餐,便與同學由古亭站走往公館站,
自以為兩站差不了多少,結果大出意料之外QQ 總共兩公里!
回家路上又跑去台北車站附近晃,結果一路向北,走到雙連站!又多了1.5KM

不過收穫是我知道原來中山地下街有個書街!
還挺多書的,只是沒有多少阿宅的工具書。

右圖:出中山捷運站外的行人徒步區


時間小偷

時間,總主導著人們的聚離!
每次的相聚,
感覺距離多了些,
座位又少了些。
下次的聚離,又會是何時?
就由時間小偷來告訴大家吧!

Hi, Pierre!

All New Pierre!