input: Texas Instruments MSP430-USB Example as /devices/platform/fsl-ehci.1/usb1/1-1/1-1.2/1-1.2:1.2/input/input3 generic-usb 0003:2047:0302.0001: input: USB HID v1.01 Mouse [Texas Instruments MSP430-USB Example] on usb-fsl-ehci.1-1.2/input2 usb 1-1.2: USB disconnect, address 3 usb 1-1.2: new full speed USB device using fsl-ehci and address 4 cdc_acm 1-1.2:1.0: This device cannot do calls on its own. It is not a modem. cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device pmem: request for physical address of pmem region from process 2167. drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed generic-usb 0003:2047:0302.0002: timeout initializing reports input: Texas Instruments MSP430-USB Example as /devices/platform/fsl-ehci.1/usb1/1-1/1-1.2/1-1.2:1.2/input/input4 generic-usb 0003:2047:0302.0002: input: USB HID v1.01 Mouse [Texas Instruments MSP430-USB Example] on usb-fsl-ehci.1-1.2/input2
ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上
2013年5月31日 星期五
2013年5月23日 星期四
python script : follow repo/manifest.xml 做出 repo mirror 的結構.
是希望由工作的 source 做出 repo --mirror 的目錄結構:
這樣做完後,還要到 platform 目錄下 單獨 clone .repo/manifests.git 出來,這樣還有修改,吃 argument 作 source path:
但是很奇怪的是,這樣做出來的 folder (假設是 uuu),用 repo init clone 下來後,folder structure 竟然也是 mirror 的結構...
但是..再由 uuuclone clone 的話就 OK 了...@_@...
不知道為什麼會這樣,但是 uuuclone 已經可以用了,所以就把他放到 git server 的 git-daemon folder 裡..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import xml.dom.minidom | |
sourcepath = "/home/charles-chang/imx53qsbandroid4.3/src/" | |
root = xml.dom.minidom.parse(os.path.join(sourcepath,'.repo/manifest.xml')) | |
projlist = [] | |
for node in root.childNodes[0].childNodes: | |
if node.nodeName == 'project': | |
pname = node.getAttribute('name') | |
ppath = node.getAttribute('path') | |
subprocess.call(['git','clone','--mirror',os.path.join(sourcepath,ppath),os.path.join('./',pname)]) |
這樣做完後,還要到 platform 目錄下 單獨 clone .repo/manifests.git 出來,這樣還有修改,吃 argument 作 source path:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import xml.dom.minidom | |
import sys | |
if len(sys.argv) < 2: | |
print 'Please specify the source path' | |
sys.exit() | |
sourcepath = sys.argv[1] | |
root = xml.dom.minidom.parse(os.path.join(sourcepath,'.repo/manifest.xml')) | |
for node in root.childNodes[0].childNodes: | |
if node.nodeName == 'project': | |
pname = node.getAttribute('name') | |
ppath = node.getAttribute('path') | |
subprocess.call(['git','clone','--mirror',os.path.join(sourcepath,ppath),os.path.join('./',pname+'.git')]) | |
print 'cloning the manifest...' | |
subprocess.call(['git','clone','--mirror',os.path.join(sourcepath,'.repo/manifests.git'),'platform/manifests.git']) | |
但是很奇怪的是,這樣做出來的 folder (假設是 uuu),用 repo init clone 下來後,folder structure 竟然也是 mirror 的結構...
$mkdir uuuclone && cd uuuclone
$repo init -u ~/uuu/platform/manifests.git -b cv3000
$repo sync
但是..再由 uuuclone clone 的話就 OK 了...@_@...
$mkdir uuucloneclone && cd uuucloneclone
$repo init -u ~/uuuclone/platform/manifests.git -b cv3000
$repo sync
不知道為什麼會這樣,但是 uuuclone 已經可以用了,所以就把他放到 git server 的 git-daemon folder 裡..
2013年5月20日 星期一
rEFIt -- Macbook 的光碟/usb 開機程式
http://refit.sourceforge.net/doc/c1s1_install.html
是在 這邊 看到的。
文章是用 rEFIt 把 Fedora 安裝在 usb3.0 的外部硬碟。
所以完全不會動到 Macbook 的 SSD。
另外 這一篇 是用 rEFIt 安裝 ubuntu 12.04
是在 這邊 看到的。
文章是用 rEFIt 把 Fedora 安裝在 usb3.0 的外部硬碟。
所以完全不會動到 Macbook 的 SSD。
另外 這一篇 是用 rEFIt 安裝 ubuntu 12.04
2013年5月15日 星期三
2013年5月13日 星期一
Wheezy 安裝測試..
就先用一個舊HD測試..
先是安裝,NIC detect 出現,要我放 brcm/....fw,猜是 wifi module,所以先不管。
裝完後內建中文是簡體,所以要裝繁體自型和輸入法。
像raspberry 一樣,安裝scim 作輸入法設定。
和一堆 中文 自型。
結果還是不太好用,...中文切英文時,後一個自會被送出...
字體也怪,有點小。
設定部份就全改了,找不到 (還是我原來就不熟?)
很 白痴 的在安裝 grub 時,問我要不要裝在 mbr 上,我回答 yes...
結果就裝在 win7 的 mbr 上了.....>_<
害我後來要用 Windows 7 rescue/repaire CD 開機,進入 command,用 bootrec.exe /fixmbr 來修復..
先是安裝,NIC detect 出現,要我放 brcm/....fw,猜是 wifi module,所以先不管。
裝完後內建中文是簡體,所以要裝繁體自型和輸入法。
像raspberry 一樣,安裝scim 作輸入法設定。
和一堆 中文 自型。
結果還是不太好用,...中文切英文時,後一個自會被送出...
字體也怪,有點小。
設定部份就全改了,找不到 (還是我原來就不熟?)
很 白痴 的在安裝 grub 時,問我要不要裝在 mbr 上,我回答 yes...
結果就裝在 win7 的 mbr 上了.....>_<
害我後來要用 Windows 7 rescue/repaire CD 開機,進入 command,用 bootrec.exe /fixmbr 來修復..
2013年5月10日 星期五
Rainbow Tables -- 平衡的 "運算--查表" 式 暴力破解法
新同學給的:(总结)密码破解之王:Ophcrack彩虹表(Rainbow Tables)原理
這個好厲害,是暴力破解法耶。
適當的利用 cpu mips 縮減 "暴力table" 的 size 到合理大小。
這個好厲害,是暴力破解法耶。
適當的利用 cpu mips 縮減 "暴力table" 的 size 到合理大小。
2013年5月7日 星期二
2013年5月6日 星期一
TVE 的 output pin 是 multi function,所以 TVE 有內建的 電路 detect 電路來偵測這三 pin 的阻抗:
配合 driver code:
tve_probe( ) 時,就有:
這個 tve_detect_handler( ) call :
cd_work 又是 call:
- Normal : 37.5 Ohm -- 這個 pin 有接
- Double : 75 Ohm -- 這個 pin 沒接 (所以只有自己這端的 75 Ohm)
- Zero : 0 Ohm -- 接地
配合 driver code:
tve_probe( ) 時,就有:
ret = request_irq(tve.irq, tve_detect_handler, 0, pdev->name, pdev);
這個 tve_detect_handler( ) call :
schedule_delayed_work(&tve.cd_work, msecs_to_jiffies(1000));
cd_work 又是 call:
tve_update_detect_status( )
標籤
- 3g (19)
- 工作的備worklog (93)
- 自言自語 (36)
- 草稿 (1)
- 亂亂寫 (8)
- 翻譯 (3)
- administration (76)
- alsa (7)
- android (299)
- apple (5)
- application (42)
- archlinux (1)
- audio (3)
- avr (6)
- backup_restore (2)
- bluetooth (5)
- bookmark (38)
- bootloader (21)
- browser (5)
- cellphone (28)
- command (8)
- Configuration (27)
- debug (7)
- django (1)
- driver (15)
- earphone (1)
- editor (1)
- EFL (1)
- ffmpeg (18)
- Filesystem (4)
- GCC (8)
- Gentoo (1)
- google (1)
- Graphic (3)
- hardware (40)
- hero (7)
- hibernation (9)
- iMX51 (38)
- Info (3)
- Install (30)
- java (4)
- Kernel (102)
- language (2)
- life (2)
- make (11)
- MantainLog (38)
- MCU_P (9)
- memo (8)
- microcontroller (3)
- MINGW (7)
- network (19)
- OpenCL (1)
- OS (11)
- package (3)
- pad (1)
- ProblemAndSolve (15)
- programming (8)
- Python (7)
- raspberry_pi (23)
- SDL (2)
- sensation (13)
- setup (3)
- software_package (36)
- SQL (1)
- suspend (2)
- ToDo (5)
- tool (3)
- ubuntu (1)
- VersionControl (45)
- Virtualization (15)
- VLC (5)
- wheezy (1)
- wifi (3)
- Windows (16)
- xiaomi (1)
- xperia (1)
網誌存檔
-
▼
2013
(116)
-
▼
5月
(10)
- input: Texas Instruments MSP430-USB Example as /de...
- python script : follow repo/manifest.xml 做出 repo m...
- raspberry pi 又無法連線
- rEFIt -- Macbook 的光碟/usb 開機程式
- 換藍色墨水
- initcall_debug
- Wheezy 安裝測試..
- Rainbow Tables -- 平衡的 "運算--查表" 式 暴力破解法
- ffmpeg for android -- port 好, support NEON
- TVE 的 output pin 是 multi function,所以 TVE 有內建的 電路 d...
-
▼
5月
(10)