Difference between revisions of "IDP Debugging"

From ESS-WIKI
Jump to: navigation, search
(OS Information)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''<big><big>For MI3.1</big></big>'''
+
=For MI3.1=
=OS Information=
+
==OS Information==
1. '''IDP config log''' ( Note: Advantech released image only )
+
'''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 )
+
'''2. Check image version & Release Note by Advantech''' ( Note: Advantech released image only )
   #/root/Advantech/ReadMe.txt or /root/Advantech/releasenote.txt      
+
   #/root/Advantech/[[Media:IDP3.1 ReadMe.zip|ReadMe.txt]]  -> Please download for detail info
3. '''System version & information'''
+
  #/root/Advantech/[[Media:IDP3.1 releasenote.zip|releasenote.txt]] -> Please download for detail info
 +
'''3. System version & information'''
 
   #uname -a
 
   #uname -a
  
=System=
+
==System==
1. '''Kernel Log'''
+
'''1. Kernel Log'''
 
  #dmesg
 
  #dmesg
2. '''System Log''' ( includes boot, any print log file )
+
'''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 )
+
'''3. Config''' (IDP system & application at below folder )
 
  #/etc/config/
 
  #/etc/config/
  
=Sound Card=
+
==Sound Card==
1. List sound cards
+
'''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

Latest revision as of 03:55, 29 August 2016

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