Showing posts with label debugfs. Show all posts
Showing posts with label debugfs. Show all posts

Apr 28, 2008

S3C2440, USB in Linux

他媽的USB似乎根本就沒啟動

帥哥的測試:
GPH10 控制小 port:0 是打開 1 是關掉
GPH8 控制大 port: 1 是打開 0 是關掉

送電之後就可以用了...他媽的白費兩個禮拜

05/23 :
之前請正哥寄信去要電路圖都不屌我們

COLOR 打電話去就要到了

更正
GPH8 : USB_HOST_EN

GPH10 : nUSB_PULL_UP_EN

USB_HOST_EN 控制 USB_H_5V --> USB HOST PORT 的供電 (大PORT)

nUSB_PULL_UP_EN 控制 USB_C_D+ --> MINI USB 的供電 (小PORT)

DEBUGFS Support

(host)# cd rootfs

(host)# pwd
/home2/fyodor/filesystem/rootfs

(busybox)# mkdir var/debug

(busybox)# vi etc/fstab
加一行:none  /var/debug    debugfs  ramfs 0  0

(busybox)# modprobe rt73usb
phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002, rev: 000.
usbcore: registered new interface driver rt73usb

(busybox)# cd /var/debug

(busybox)# ls
drwxr-xr-x    3 0        0               0 Jan  1 00:32 ieee80211
drwxr-xr-x    3 0        0               0 Jan  1 00:00 ohci
drwxr-xr-x    2 0        0               0 Jan  1 00:00 usbmon

rt73的debugfs出來的資訊就在ieee80211裡面