微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 查看 IP usb

查看 IP usb

时间:10-02 整理:3721RD 点击:
MYS-6ULX-IOT 正常启动后,查看 IP方法:ifconfig************************************************
mys6ull14x14 login: root
root@mys6ull14x14:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 4a:20:28:8a:93:40  
          inet addr:192.168.1.72  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::4820:28ff:fe8a:9340/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1144 (1.1 KiB)  TX bytes:8040 (7.8 KiB)
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
root@mys6ull14x14:~#
MYS-6ULX-IOT 正常启动后,查看 USB driver方法:************************************************
root@mys6ull14x14:~# cd /sys/bus/usb/
root@mys6ull14x14:/sys/bus/usb# ls
devices            drivers            drivers_autoprobe  drivers_probe      uevent
root@mys6ull14x14:/sys/bus/usb# ls -l
drwxr-xr-x    2 root     root             0 May  8 13:29 devices
drwxr-xr-x   13 root     root             0 May  8 13:32 drivers
-rw-r--r--    1 root     root          4096 May  8 13:32 drivers_autoprobe
--w-------    1 root     root          4096 May  8 13:32 drivers_probe
--w-------    1 root     root          4096 May  8 13:32 uevent
root@mys6ull14x14:/sys/bus/usb# ls -l ./drivers
drwxr-xr-x    2 root     root             0 May  8 13:32 ath3k
drwxr-xr-x    2 root     root             0 May  8 13:32 bcm203x
drwxr-xr-x    2 root     root             0 May  8 13:32 btusb
drwxr-xr-x    2 root     root             0 May  8 13:32 hub
drwxr-xr-x    2 root     root             0 May  8 13:32 snd-usb-audio
drwxr-xr-x    2 root     root             0 May  8 13:32 usb
drwxr-xr-x    2 root     root             0 May  8 13:32 usb-storage
drwxr-xr-x    2 root     root             0 May  8 13:32 usb_ehset_test
drwxr-xr-x    2 root     root             0 May  8 13:32 usbfs
drwxr-xr-x    2 root     root             0 May  8 13:32 usbhid
drwxr-xr-x    2 root     root             0 May  8 13:32 uvcvideo
root@mys6ull14x14:/sys/bus/usb#

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top