Difference between revisions of "IDP Debugging"
From ESS-WIKI
Eric.liang (talk | contribs) |
Eric.liang (talk | contribs) |
||
Line 1: | Line 1: | ||
=For MI3.1= | =For MI3.1= | ||
==OS Information== | ==OS Information== | ||
− | + | '''1. IDP config log''' ( Note: Advantech released image only ) | |
#/root/Advantech/config.log | #/root/Advantech/config.log | ||
− | + | '''2. Check image version & Release Note by Advantech''' ( Note: Advantech released image only ) | |
#/root/Advantech/[[IDP3.1 ReadMe.zip|ReadMe.txt]] -> Please download for detail info | #/root/Advantech/[[IDP3.1 ReadMe.zip|ReadMe.txt]] -> Please download for detail info | ||
#/root/Advantech/[[IDP3.1 releasenote.zip|releasenote.txt]] -> Please download for detail info | #/root/Advantech/[[IDP3.1 releasenote.zip|releasenote.txt]] -> Please download for detail info | ||
− | + | '''3. System version & information''' | |
#uname -a | #uname -a | ||
==System== | ==System== | ||
− | + | '''1. Kernel Log''' | |
#dmesg | #dmesg | ||
− | + | '''2. System Log''' ( includes boot, any print log file ) | |
#cat /var/log/syslog | #cat /var/log/syslog | ||
− | + | '''3. Config''' (IDP system & application at below folder ) | |
#/etc/config/ | #/etc/config/ | ||
==Sound Card== | ==Sound Card== | ||
− | 1. List sound | + | '''1. List sound card''' |
#cat /proc/asound/cards | #cat /proc/asound/cards | ||
− | 2. Show all audion codec information of sound card ( ex: card0 ) | + | '''2. Show all audion codec information of sound card ( ex: card0 )''' |
#cat /proc/asound/card0/codec#* | #cat /proc/asound/card0/codec#* | ||
− | 3. probe kernel driver ( ex: realtek audio codec ) | + | '''3. probe kernel driver ( ex: realtek audio codec )''' |
#modprobe snd_hda_codec_realtek | #modprobe snd_hda_codec_realtek | ||
==USB or PCIe Device Information== | ==USB or PCIe Device Information== | ||
− | 1. List all detected usb device | + | '''1. List all detected usb device''' |
#lsusb | #lsusb | ||
− | 2. List all detected pcie device | + | '''2. List all detected pcie device''' |
#lspci | #lspci | ||
==Network== | ==Network== | ||
− | 1. To check config of network ( LAN / WAN / Wireless / 3G ... ) | + | '''1. To check config of network ( LAN / WAN / Wireless / 3G ... )''' |
#/etc/config/network | #/etc/config/network | ||
− | 2. To check status of all network interface | + | '''2. To check status of all network interface''' |
#ifconfig -a | #ifconfig -a | ||
− | 3. Check wireless device | + | '''3. Check wireless device''' |
#iwconfig | #iwconfig | ||
− | 4. To check support Modem module in LuCI Web | + | '''4. To check support Modem module in LuCI Web''' |
#cat /etc/modem_cell_default | #cat /etc/modem_cell_default |
Revision as of 08:20, 25 August 2016
Contents
For MI3.1
OS Information
1. IDP config log ( Note: Advantech released image only )
#/root/Advantech/config.log
2. Check image version & Release Note by Advantech ( Note: Advantech released image only )
#/root/Advantech/ReadMe.txt -> Please download for detail info #/root/Advantech/releasenote.txt -> Please download for detail info
3. System version & information
#uname -a
System
1. Kernel Log
#dmesg
2. System Log ( includes boot, any print log file )
#cat /var/log/syslog
3. Config (IDP system & application at below folder )
#/etc/config/
Sound Card
1. List sound card
#cat /proc/asound/cards
2. Show all audion codec information of sound card ( ex: card0 )
#cat /proc/asound/card0/codec#*
3. probe kernel driver ( ex: realtek audio codec )
#modprobe snd_hda_codec_realtek
USB or PCIe Device Information
1. List all detected usb device
#lsusb
2. List all detected pcie device
#lspci
Network
1. To check config of network ( LAN / WAN / Wireless / 3G ... )
#/etc/config/network
2. To check status of all network interface
#ifconfig -a
3. Check wireless device
#iwconfig
4. To check support Modem module in LuCI Web
#cat /etc/modem_cell_default