glpi-project / android-inventory-library

Inventory client library written in Java for developing applications on Android
GNU General Public License v3.0
16 stars 22 forks source link

Enhance Specs for Controllers #58

Closed ajsb85 closed 5 years ago

ajsb85 commented 7 years ago

Hi, @rafaelje

This is a report from @g-bougard

Android - Inventory Agent by @flyve-mdm 0.1.0:

<CONTROLLERS/> is missing. They don't appear in GLPI Components tab.

Linux - FusionInventory 2.4.x:

<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register</CAPTION>
  <DRIVER>iosf_mbi_pci</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register</NAME>
  <PCICLASS>0600</PCICLASS>
  <PCISLOT>00:00.0</PCISLOT>
  <PRODUCTID>2280</PRODUCTID>
  <REV>36</REV>
  <TYPE>Host bridge</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers</CAPTION>
  <DRIVER>i915</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers</NAME>
  <PCICLASS>0300</PCICLASS>
  <PCISLOT>00:02.0</PCISLOT>
  <PRODUCTID>22b0</PRODUCTID>
  <REV>36</REV>
  <TYPE>VGA compatible controller</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit</CAPTION>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit</NAME>
  <PCICLASS>0480</PCICLASS>
  <PCISLOT>00:03.0</PCISLOT>
  <PRODUCTID>22b8</PRODUCTID>
  <REV>36</REV>
  <TYPE>Multimedia controller</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <DRIVER>intel_ish_ipc</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Non-VGA unclassified device</NAME>
  <PCICLASS>0000</PCICLASS>
  <PCISLOT>00:0a.0</PCISLOT>
  <PRODUCTID>22d8</PRODUCTID>
  <REV>36</REV>
  <TYPE>Non-VGA unclassified device</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller</CAPTION>
  <DRIVER>proc_thermal</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller</NAME>
  <PCICLASS>1180</PCICLASS>
  <PCISLOT>00:0b.0</PCISLOT>
  <PRODUCTID>22dc</PRODUCTID>
  <REV>36</REV>
  <TYPE>Signal processing controller</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller</CAPTION>
  <DRIVER>xhci_hcd</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller</NAME>
  <PCICLASS>0c03</PCICLASS>
  <PCISLOT>00:14.0</PCISLOT>
  <PRODUCTID>22b5</PRODUCTID>
  <REV>36</REV>
  <TYPE>USB controller</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine</CAPTION>
  <DRIVER>mei_txe</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine</NAME>
  <PCICLASS>1080</PCICLASS>
  <PCISLOT>00:1a.0</PCISLOT>
  <PRODUCTID>2298</PRODUCTID>
  <REV>36</REV>
  <TYPE>Encryption controller</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1</CAPTION>
  <DRIVER>pcieport</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1</NAME>
  <PCICLASS>0604</PCICLASS>
  <PCISLOT>00:1c.0</PCISLOT>
  <PRODUCTID>22c8</PRODUCTID>
  <REV>36</REV>
  <TYPE>PCI bridge</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU</CAPTION>
  <DRIVER>lpc_ich</DRIVER>
  <MANUFACTURER>Intel Corporation</MANUFACTURER>
  <NAME>Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU</NAME>
  <PCICLASS>0601</PCICLASS>
  <PCISLOT>00:1f.0</PCISLOT>
  <PRODUCTID>229c</PRODUCTID>
  <REV>36</REV>
  <TYPE>ISA bridge</TYPE>
  <VENDORID>8086</VENDORID>
</CONTROLLERS>
<CONTROLLERS>
  <CAPTION>QCA9377 802.11ac Wireless Network Adapter</CAPTION>
  <DRIVER>ath10k_pci</DRIVER>
  <MANUFACTURER>Qualcomm Atheros</MANUFACTURER>
  <NAME>QCA9377 802.11ac Wireless Network Adapter</NAME>
  <PCICLASS>0280</PCICLASS>
  <PCISLOT>01:00.0</PCISLOT>
  <PRODUCTID>0042</PRODUCTID>
  <REV>31</REV>
  <TYPE>Network controller</TYPE>
  <VENDORID>168c</VENDORID>
</CONTROLLERS>
rafaelje commented 6 years ago

The command tool lspci that I think is used on fusion inventory like a require tool on documentation to get information about drivers on Linux is not available on Android, need to check more in deeper how to get this information with other commands line tools or API availables

Ivans51 commented 6 years ago

The drivers are loaded into the Kernel With ls /sys/module i can get a list about some drivers in the device

8021q
accdet_drv
aed
akm09911
alarm_dev
alarmtimer
binder
block
bootprof
bridge
cfg80211
configfs
dynamic_debug
earlysuspend
ext4
firmware_class
fuse
g_android
hid
hid_apple
hid_magicmouse
ip6_tunnel
ipanic
ipip
ipv6
kernel
kpd
leds_drv
logger
loop
lowmemorykiller
mali_kbase
mc3410
mlog
mmc_core
mmcblk
mrdump_mini
mt_idle2
mt_power_gs_suspend
mt_sleep
mtk_rtc_common
musb_hdrc
nf_conntrack
nf_conntrack_ftp
nf_conntrack_ipv4
nf_conntrack_sip
nf_conntrack_tftp
ppp_generic
ppp_mppe
printk
random
rcupdate
rcutree
sbsuspend
sch_htb
scsi_mod
sec
sit
smi_common_6735m
snd
snd_pcm
snd_pcm_oss
snd_rawmidi
snd_seq
snd_seq_dummy
snd_seq_midi
snd_seq_oss
snd_timer
snd_usb_audio
soundcore
spurious
sysrq
tcp_cubic
tpd_debug
tpd_misc
tpd_setting
uinput
usb20_host
usb_storage
usbcore
usbhid
vmscan
workqueue
xt_qtaguid
xt_quota2
xt_recent
Ivans51 commented 6 years ago

With ls dev i can get information about some drivers

AD5820AF
BOOT
CAM_CAL_DRV
DW9714AF
MTK_SMI
MT_pmic_adc_cali
RT_Monitor
Vcodec
__properties__
aal_als
accdet
aed0
aed1
alarm
android_adb
ashmem
atf_log
binder
block
btif
bus
camera-isp
camera-pipemgr
camera-sysram
ccci_aud
ccci_fs
ccci_imsa
ccci_imsc
ccci_imsdc
ccci_imsv
ccci_ioctl0
ccci_ioctl1
ccci_ioctl2
ccci_ioctl3
ccci_ioctl4
ccci_ipc_1220_0
ccci_ipc_2
ccci_ipc_4
ccci_ipc_5
ccci_it
ccci_lb_it
ccci_md_log_ctrl
ccci_monitor
ccci_rpc
console
cpu_dma_latency
cpuctl
device-mapper
devmap
ebc
emmcrpmb0
fm
fscklogs
full
fuse
gps
graphics
gsensor
hwmsensor
input
ion
kd_camera_flashlight
kd_camera_hw
kmsg
log
loop-control
m_acc_misc
mali0
memcg
misc-sd
mt_otg_test
mtgpio
mtk-adc-cali
mtk-kpd
mtk_cmdq
mtk_disp_mgr
mtk_sched
mtp_usb
network_latency
network_throughput
null
offloadservice
pmic_ftm
ppp
ptmx
pts
ptyp0
ptyp1
ptyp2
ptyp3
ptyp4
ptyp5
ptyp6
ptyp7
ptyp8
ptyp9
ptypa
ptypb
ptypc
ptypd
ptype
ptypf
radio
random
rtc0
sec
snapshot
snd
socket
stpbt
stpgps
stpwmt
sw_sync
tgt
touch
tpd_em_log
tty
ttyC0
ttyC1
ttyC2
ttyC3
ttyGS0
ttyGS1
ttyGS2
ttyGS3
ttyGS4
ttyGS5
ttyGS6
ttyGS7
ttyMT0
ttyMT1
ttyMT2
ttyMT3
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
ttyp5
ttyp6
ttyp7
ttyp8
ttyp9
ttypa
ttypb
ttypc
ttypd
ttype
ttypf
tun
uhid
uinput
urandom
usb-ffs
usb_accessory
wmtWifi
wmtdetect
xLog
xt_qtaguid
zero
Ivans51 commented 5 years ago

With this ubication /sys/bus/platform/drivers/ in the adb can get information about controllers but is no possible get more information related I will close this issue