WiFI using Realtek RTL8812AU not found (Ubuntu 16.04.3 LTS) - ubuntu-16.04

Currently I can't use Wifi on my Ubuntu 16.04.3 LTS. However same hardware works, when booting Win10, or using Ethernet on Ubuntu.
When setting up the machine (desktop and external wifi adapter) I did lsusb and recieved following information:
Bus 001 Device 006: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
So i used following tutorial to set it up using ethernet connection. It worked fine, with the same speed as on all other machines. I can't recall changing anything, what could have triggered this issue now. rfkill unblock all isn't helping.
Current information:
cat /etc/lsb-release provides
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
lshw -C network provides
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci#0000:03:00.0
logical name: enp3s0
version: 15
serial: 10:7b:44:17:66:c2
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:128 ioport:d000(size=256) memory:f7204000-f7204fff memory:f7200000-f7203fff
uname -r provides
4.10.0-38-generic
lspci -k provides
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8694
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H USB 3.0 xHCI Controller
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H CSME HECI
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SATA controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H HD Audio
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SMBus
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c82 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 85d3
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation Device 0fb9 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 85d3
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller
Kernel driver in use: xhci_hcd

RTL8812AU is not included in the "base" Ubuntu. You would need to download and compile the module manually. You can try:
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/scrivy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
make
sudo make install
sudo modprobe 8812au

Related

pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

I'm trying to access the data stream from my Solar inverter. The inverter device is recognised in lsusb (Bus 002 Device 007) but it is disconnected as seen from dmesg. Can anyone help me with this, please?
$ lsusb
Bus 002 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 002 Device 007: ID 0665:5161 Cypress Semiconductor USB to Serial
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0bda:58c1 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 0a5c:21bc Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Bus 001 Device 008: ID 0000:3825
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub`
$ dmesg|grep tty
[ 0.000000] console [tty0] enabled
[ 460.175426] usb 2-1.2: pl2303 converter now attached to ttyUSB0
[ 478.375365] pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 478.375732] pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 478.672989] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -19
[ 478.673006] pl2303 ttyUSB0: error sending break = -19
[ 478.673382] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 479.442249] usb 2-1.2: pl2303 converter now attached to ttyUSB1
[ 480.719091] pl2303 ttyUSB1: pl2303 converter now disconnected from ttyUSB1
You may ask about this information:
$ uname -a
Linux kumar54-Laptop-home 4.15.0-101-generic #102~16.04.1-Ubuntu SMP Mon May 11 11:44:23 UTC 2020 i686 i686 i686 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 18.3 Sylvia
Release: 18.3
Codename: sylvia

Intel QuickSync error : Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

I want to make IPTV with a topology like this:
Restream / source -----> IPTV server -----> User
The problem at the moment is the question of bandwidth that is still large.
Finally I announced by IPTV software providers to transcode with Intel QuickSync video and FFmpeg.
I followed the steps given by the software provider at the following link:
http://www.ezhometech.com/document/intel_ffmpeg.txt
Which comes from the link below:
https://www.intel.com/content/dam/www/public/us/en/documents/white-paper...
I installed IPTV software on a laptop with an Intel processor, chipset and VGA.
[root#iptv ffmpeg-4.1]# **lspci**
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
[root#iptv ffmpeg-4.1]# **lspci -nn -s 0:02.0**
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
but when I do a transcoding test, an error always appears :
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height.
Error details :
https://paste.fedoraproject.org/paste/vp9XIzbeOuyXRuLBlLfSng
FFmpeg log:
./ffmpeg -hwaccel qsv -i http://premium-play.org:8000/domm0H56Cj/q3ODLP6C16/2826 -vcodec h264_qsv -acodec copy -b:v 1200K -f mpegts udp://127.0.0.1:9011?pkt_size=1316
ffmpeg version 3.2.12 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
configuration: --enable-libmfx --enable-nonfree
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
Input #0, mpegts, from 'http://premium-play.org:8000/domm0H56Cj/q3ODLP6C16/2826':
Duration: N/A, start: 30200.274878, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 125 kb/s
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[h264_qsv # 0x2a89500] Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (copy)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

Get specific model of a xeon phi [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm trying to find the exact model of a Xeon Phi coprocessor i'm using.
I run micpinfo and this is what i get
***************************/opt/intel/mic/bin/micinfo***************************
MicInfo Utility Log
Created Fri Jan 10 13:09:40 2014
System Info
HOST OS : Linux
OS Version : 2.6.32-279.el6.x86_64
Driver Version : 5889-16
MPSS Version : 2.1.5889-16
Host Physical Memory : 1911 MB
Device No: 0, Device Name: mic0
Version
Flash Version : 2.1.02.0383
SMC Boot Loader Version : NotAvailable
uOS Version : 2.6.38.8-g9b2c036
Device Serial Number : NotAvailable
Board
Vendor ID : 8086
Device ID : 225c
Subsystem ID : 2500
Coprocessor Stepping ID : 1
PCIe Width : Insufficient Privileges
PCIe Speed : Insufficient Privileges
PCIe Max payload size : Insufficient Privileges
PCIe Max read req size : Insufficient Privileges
Coprocessor Model : 0x01
Coprocessor Model Ext : 0x00
Coprocessor Type : 0x00
Coprocessor Family : 0x0b
Coprocessor Family Ext : 0x00
Coprocessor Stepping : B0
Board SKU : ES2-P1750
ECC Mode : Enabled
SMC HW Revision : Product 300W Active CS
Cores
Total No of Active Cores : 61
Voltage : 1001000 uV
Frequency : 1090909 KHz
Thermal
Fan Speed Control : On
SMC Firmware Version : 1.2.3257
FSC Strap : 14 MHz
Fan RPM : 2700
Fan PWM : 50
Die Temp : 63 C
GDDR
GDDR Vendor : Elpida
GDDR Version : 0x1
GDDR Density : 2048 Mb
GDDR Size : 7936 MB
GDDR Technology : GDDR5
GDDR Speed : 5.500000 GT/s
GDDR Frequency : 2750000 KHz
GDDR Voltage : 1000000 uV
************************/opt/intel/mic/bin/micsmc --freq************************
mic0 (freq):
Core Frequency: .......... 1.09 GHz
Total Power: ............. 102.00 Watts
Lo Power Limit: .......... 315.00 Watts
Hi Power Limit: .......... 375.00 Watts
Phys Power Limit: ........ 395.00 Watts
************************/opt/intel/mic/bin/micsmc --info************************
mic0 (info):
Device Series: ........... Intel(R) Xeon Phi(TM) Coprocessor
Device ID: ............... 225c
Number of Cores: ......... 61
OS Version: .............. 2.6.38.8-g9b2c036
Flash Version: ........... 2.1.02.0383
Driver Version: .......... DRIVERS_5889-16 (build#localhost.localdomain 2013-03-08 17:26:26 -0500)
Stepping: ................ 1
SubStepping: ............. 0
************************/opt/intel/mic/bin/micsmc --mem*************************
mic0 (mem):
Free Memory: ............. 7162.67 MB
Total Memory: ............ 7697.20 MB
Memory Usage: ............ 534.54 MB
************************/opt/intel/mic/bin/micsmc --temp************************
mic0 (temp):
Cpu Temp: ................ 62.00 C
Memory Temp: ............. 40.00 C
Fan-In Temp: ............. 30.00 C
Fan-Out Temp: ............ 42.00 C
Core Rail Temp: .......... 39.00 C
Uncore Rail Temp: ........ 40.00 C
Memory Rail Temp: ........ 40.00 C
*****************************dmidecode -t baseboard*****************************
# dmidecode 2.11
/dev/mem: Permission denied
*******************************dmidecode -t bios********************************
# dmidecode 2.11
/dev/mem: Permission denied
*******************************dmidecode -t cache*******************************
# dmidecode 2.11
/dev/mem: Permission denied
******************************dmidecode -t chassis******************************
# dmidecode 2.11
/dev/mem: Permission denied
*****************************dmidecode -t connector*****************************
# dmidecode 2.11
/dev/mem: Permission denied
******************************dmidecode -t memory*******************************
# dmidecode 2.11
/dev/mem: Permission denied
*****************************dmidecode -t processor*****************************
# dmidecode 2.11
/dev/mem: Permission denied
*******************************dmidecode -t slot********************************
# dmidecode 2.11
/dev/mem: Permission denied
******************************dmidecode -t system*******************************
# dmidecode 2.11
/dev/mem: Permission denied
*****************egrep -v "^[ ]*$|^#" /etc/modprobe.d/mic.conf*****************
options mic reg_cache=1 huge_page=1 watchdog=1 watchdog_auto_reboot=1 crash_dump=1 p2p=1 p2p_proxy=1
*************egrep -v "^[ ]*$|^#" /etc/sysconfig/mic/default.conf**************
BaseDir /opt/intel/mic/filesystem/base /opt/intel/mic/filesystem/base.filelist
CommonDir /opt/intel/mic/filesystem/common /opt/intel/mic/filesystem/common.filelist
ExtraCommandLine "highres=off pm_qos_cpu_dma_lat=75"
Console "hvc0"
Include "conf.d/*.conf"
PowerManagement "cpufreq_on;corec6_off;pc3_on;pc6_off"
***************egrep -v "^[ ]*$|^#" /etc/sysconfig/mic/mic0.conf***************
Version 0 4
Include default.conf
Include "conf.d/*.conf"
Service fileperms 1 99 on
Service network 21 79 on
Service sshd 80 20 on
Service pm 90 10 on
Service blcr 95 5 off
Service mictune 99 1 on
MicDir /opt/intel/mic/filesystem/mic0 /opt/intel/mic/filesystem/mic0.filelist
Hostname "floyd-mic0.icl.utk.edu"
MicMacAddress "a2:21:34:8a:21:fc"
HostMacAddress "0e:8c:d2:3e:60:8b"
Network StaticPair 172.31.1.1 172.31.1.254 yes 24
VerboseLogging Disabled
OSimage /lib/firmware/mic/uos.img
BootOnStart Enabled
ShutdownTimeout 300
CrashDumpLimitGB 16
CrashDumpDir /var/crash/mic/
UserAuthentication Local 500 65000
RootDevice ramfs /opt/intel/mic/filesystem/mic0.image
*********************************lspci -mmvvkD**********************************
Slot: 0000:00:00.0
Class: Host bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub to ESI Port
SVendor: Intel Corporation
SDevice: Device 4f53
Rev: 12
Slot: 0000:00:01.0
Class: PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 1
Rev: 12
Driver: pcieport
Module: shpchp
Slot: 0000:00:03.0
Class: PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 3
Rev: 12
Driver: pcieport
Module: shpchp
Slot: 0000:00:07.0
Class: PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 7
Rev: 12
Driver: pcieport
Module: shpchp
Slot: 0000:00:10.0
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 Physical and Link Layer Registers Port 0
Rev: 12
Slot: 0000:00:10.1
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 Routing and Protocol Layer Registers Port 0
Rev: 12
Slot: 0000:00:14.0
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub System Management Registers
Rev: 12
Module: i7core_edac
Slot: 0000:00:14.1
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers
Rev: 12
Slot: 0000:00:14.2
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub Control Status and RAS Registers
Rev: 12
Slot: 0000:00:14.3
Class: PIC
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub Throttle Registers
Rev: 12
Slot: 0000:00:19.0
Class: Ethernet controller
Vendor: Intel Corporation
Device: 82567LM-2 Gigabit Network Connection
SVendor: Intel Corporation
SDevice: Device 0000
Driver: e1000e
Module: e1000e
Slot: 0000:00:1a.0
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #4
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1a.1
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #5
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1a.2
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #6
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1a.7
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB2 EHCI Controller #2
SVendor: Intel Corporation
SDevice: Device 4f53
ProgIf: 20
Driver: ehci_hcd
Slot: 0000:00:1b.0
Class: Audio device
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) HD Audio Controller
SVendor: Intel Corporation
SDevice: Device 0022
Driver: snd_hda_intel
Module: snd-hda-intel
Slot: 0000:00:1c.0
Class: PCI bridge
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) PCI Express Root Port 1
Driver: pcieport
Module: shpchp
Slot: 0000:00:1c.1
Class: PCI bridge
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) PCI Express Port 2
Driver: pcieport
Module: shpchp
Slot: 0000:00:1c.4
Class: PCI bridge
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) PCI Express Root Port 5
Driver: pcieport
Module: shpchp
Slot: 0000:00:1d.0
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #1
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1d.1
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #2
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1d.2
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #3
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: uhci_hcd
Slot: 0000:00:1d.7
Class: USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB2 EHCI Controller #1
SVendor: Intel Corporation
SDevice: Device 4f53
ProgIf: 20
Driver: ehci_hcd
Slot: 0000:00:1e.0
Class: PCI bridge
Vendor: Intel Corporation
Device: 82801 PCI Bridge
Rev: 90
ProgIf: 01
Slot: 0000:00:1f.0
Class: ISA bridge
Vendor: Intel Corporation
Device: 82801JIR (ICH10R) LPC Interface Controller
SVendor: Intel Corporation
SDevice: Device 4f53
Module: iTCO_wdt
Slot: 0000:00:1f.2
Class: IDE interface
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
SVendor: Intel Corporation
SDevice: Device 4f53
ProgIf: 8f
Driver: ata_piix
Module: ata_generic
Module: pata_acpi
Module: ata_piix
Slot: 0000:00:1f.3
Class: SMBus
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) SMBus Controller
SVendor: Intel Corporation
SDevice: Device 4f53
Driver: i801_smbus
Module: i2c-i801
Slot: 0000:00:1f.5
Class: IDE interface
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
SVendor: Intel Corporation
SDevice: Device 4f53
ProgIf: 85
Driver: ata_piix
Module: ata_generic
Module: pata_acpi
Module: ata_piix
Slot: 0000:02:00.0
Class: Co-processor
Vendor: Intel Corporation
Device: Device 225c
SVendor: Intel Corporation
SDevice: Device 2500
Rev: 10
Driver: mic
Slot: 0000:03:00.0
Class: VGA compatible controller
Vendor: NVIDIA Corporation
Device: G96 [GeForce 9500 GT]
SVendor: eVga.com. Corp.
SDevice: Device c954
Rev: a1
Module: nouveau
Module: nvidiafb
Slot: 0000:06:00.0
Class: IDE interface
Vendor: Marvell Technology Group Ltd.
Device: 88SE6121 SATA II / PATA Controller
SVendor: Intel Corporation
SDevice: Device 4f53
Rev: b2
ProgIf: 8f
Driver: pata_marvell
Module: ata_generic
Module: pata_acpi
Module: pata_marvell
Module: ahci
Slot: 0000:07:03.0
Class: FireWire (IEEE 1394)
Vendor: Texas Instruments
Device: TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
SVendor: Intel Corporation
SDevice: Device 4f53
ProgIf: 10
Driver: firewire_ohci
Module: firewire-ohci
******************************rpm -qa intel-mic\* ******************************
intel-mic-gpl-2.1.5889-16.el6.x86_64
intel-mic-ofed-libibscif-5889-16.el6.x86_64
intel-mic-perf-data-2.1.5889-16.el6.x86_64
intel-mic-cdt-2.1.5889-16.el6.x86_64
intel-mic-ofed-dapl-devel-2.0.36.6-1.el6.x86_64
intel-mic-mpm-2.1.5889-16.el6.x86_64
intel-mic-micmgmt-2.1.5889-16.2.6.32.279.el6.x86_64
intel-mic-ofed-dapl-2.0.36.6-1.el6.x86_64
intel-mic-ofed-dapl-utils-2.0.36.6-1.el6.x86_64
intel-mic-perf-2.1.5889-16.el6.x86_64
intel-mic-flash-2.1.385-1.el6.x86_64
intel-mic-kmod-2.1.5889-16.2.6.32.279.el6.x86_64
intel-mic-sysmgmt-2.1.5889-16.el6.x86_64
intel-mic-ofed-kmod-5889-16.el6.x86_64
intel-mic-ofed-libibscif-devel-5889-16.el6.x86_64
intel-mic-ofed-dapl-devel-static-2.0.36.6-1.el6.x86_64
intel-mic-2.1.5889-16.el6.x86_64
intel-mic-ofed-kmod-devel-5889-16.el6.x86_64
intel-mic-gdb-2.1.5889-16.el6.x86_64
intel-mic-ofed-card-5889-16.el6.x86_64
intel-mic-ofed-ibpd-5889-16.el6.x86_64
***************************uname --hardware-platform****************************
x86_64
******************************uname --kernel-name*******************************
Linux
*****************************uname --kernel-release*****************************
2.6.32-279.el6.x86_64
*****************************uname --kernel-version*****************************
#1 SMP Fri Jun 22 12:19:21 UTC 2012
********************************uname --machine*********************************
x86_64
********************************uname --nodename********************************
floyd.icl.utk.edu
****************************uname --operating-system****************************
GNU/Linux
*******************************uname --processor********************************
x86_64
From this reference, according to
mic0 (info):
Device Series: ........... Intel(R) Xeon Phi(TM) Coprocessor
Device ID: ............... 225c
it appears it is a to be a Xeon Phi SE10/7120.

Chipset Information - AMD OR Intel

I want to get the chipset off multiple servers. Just testing the main line that will get this information.
Some servers have Intel and others have AMD - when I use the below it really does not work - it just sends everything back - I will choose First 1 so I only get back one but how do I make sure the script looks at either Intel or AMD only?
Get-WMIObject win32_pnpentity -ComputerName SERVERNAME| where { $_.caption -like "*AMD*" -or "*Intel*" } | select caption #-First 1
Output I get:
caption
-------
ACPI Multiprocessor PC
Microsoft ACPI-Compliant System
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
PCI bus
Intel(R) 5520/5500/X58 I/O Hub to ESI Port - 3406
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 1 - 3408
Smart Array P410i Controller
HP Virtual LUN
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 2 - 3409
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 3 - 340A
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 4 - 340B
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 5 - 340C
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 6 - 340D
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 7 - 340E
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 8 - 340F
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 9 - 3410
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 10 - 3411
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
Intel(R) 7500/5520/5500/X58 Physical Layer Port 0 - 3418
Intel(R) 7500/5520/5500 Physical Layer Port 1 - 3419
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard PCI-to-PCI bridge
Broadcom BCM5709C NetXtreme II GigE #62
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #62
Broadcom BCM5709C NetXtreme II GigE #63
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #63
PCI standard PCI-to-PCI bridge
Broadcom BCM5709C NetXtreme II GigE #103
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #103
Standard Universal PCI to USB Host Controller
USB Root Hub
figured it out - it should be:
Get-WMIObject win32_pnpentity -ComputerName SERVERNAME | where {( $_.caption -like "*AMD*" ) -or ($_.caption -like "*Intel*")} | select caption -First 1
Try the Win32_BaseBoard and Win32_Bios WMI classes.

Linux PCI driver - pci_enable_device fails

I'm fairly new to linux/kernels/drivers. I'm writing a driver for a pci card on embedded linux (3.2.17).
The problem I'm running into is that in my probe function, result = pci_enable_device(dev) fails with the following error
0000:02:00.0: device not available (can't reserve [mem 0x00000000-0x00001ff)
I'm not sure why this is or how to go about debugging it.
Please let me know what other information I should post.
edit:
lspci -v returned this
02:00.0 Class 0000: Unknown device 11aa:1770 (rev 52)
Subsystem: Unknown device feed:beef
Flags: slow devsel, IRQ 16
Memory at <ignored> (32-bit, non-prefetchable)
Capabilities: [44] Vendor Specific Information
found this in dmesg
PCI: Probing PCI hardware
pci_bus 0000:00: scanning bus
pci 0000:00:00.0: [1957:0070] type 1 class 0x000b20
pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x24
pci 0000:00:00.0: ignoring class b20 (doesn't match header type 01)
pci 0000:00:00.0: calling fixup_hide_host_resource_fsl+0x0/0x54
pci 0000:00:00.0: calling pcibios_fixup_resources+0x0/0x110
pci 0000:00:00.0: calling quirk_fsl_pcie_header+0x0/0x74
pci 0000:00:00.0: calling quirk_resource_alignment+0x0/0x19c
pci 0000:00:00.0: supports D1 D2
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:00.0: PME# disabled
pci_bus 0000:00: fixups for bus
pci 0000:00:00.0: scanning [bus 01-02] behind bridge, pass 0
pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
pci_bus 0000:01: scanning bus
pci 0000:01:00.0: [12d8:e110] type 1 class 0x000604
pci 0000:01:00.0: calling quirk_mmio_always_on+0x0/0x24
pci 0000:01:00.0: calling pcibios_fixup_resources+0x0/0x110
pci 0000:01:00.0: calling quirk_resource_alignment+0x0/0x19c
pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
pci 0000:01:00.0: PME# disabled
pci_bus 0000:01: fixups for bus
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
pci 0000:00:00.0: bridge window [mem 0xc0000000-0xc00fffff]
pci 0000:01:00.0: scanning [bus 02-02] behind bridge, pass 0
pci 0000:01:00.0: scanning [bus 00-00] behind bridge, pass 1
pci_bus 0000:02: scanning bus
pci 0000:02:00.0: [11aa:1770] type 0 class 0x000000
pci 0000:02:00.0: calling quirk_mmio_always_on+0x0/0x24
pci 0000:02:00.0: reg 10: [mem 0xc0000000-0xc0001fff]
pci 0000:02:00.0: calling pcibios_fixup_resources+0x0/0x110
pci 0000:02:00.0: calling quirk_resource_alignment+0x0/0x19c
pci_bus 0000:02: fixups for bus
pci 0000:01:00.0: PCI bridge to [bus 02-ff]
pci 0000:01:00.0: bridge window [mem 0xc0000000-0xc00fffff]
pci_bus 0000:02: bus scan returning with max=02
pci_bus 0000:01: bus scan returning with max=02
pci_bus 0000:00: bus scan returning with max=02
PCI: Cannot allocate resource region 1 of PCI bridge 2, will remap
PCI: Cannot allocate resource region 0 of device 0000:02:00.0, will remap
PCI 0000:00 Cannot reserve Legacy IO [io 0xff7ec000-0xff7ecfff]
PCI: max bus depth: 2 pci_try_num: 3
pci 0000:01:00.0: BAR 8: assigned [mem 0xc0000000-0xc00fffff]
pci 0000:01:00.0: PCI bridge to [bus 02-02]
pci 0000:01:00.0: bridge window [mem 0xc0000000-0xc00fffff]
pci 0000:00:00.0: PCI bridge to [bus 01-02]
pci 0000:00:00.0: bridge window [io 0xff7ec000-0xff7fbfff]
pci 0000:00:00.0: bridge window [mem 0xc0000000-0xdfffffff]
pci 0000:00:00.0: enabling device (0106 -> 0107)
pci_bus 0000:00: resource 0 [io 0xff7ec000-0xff7fbfff]
pci_bus 0000:00: resource 1 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:01: resource 0 [io 0xff7ec000-0xff7fbfff]
pci_bus 0000:01: resource 1 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:02: resource 1 [mem 0xc0000000-0xc00fffff]
The device in question is the 0000:02
I think this issue is due to the function pci_enable_resources() call failed, and failed reason is there is no resource->parent node.
The resouces relationship is built during pcibios_init() or somewhere during the kernel booting up.
My suggestion to fix this issue is that before kernel build the resources relationship, you have to configure the BAR registers correctly which are in the configuration spaces in the PCI chip. Then kernel will use these configurations to develop the resource relationship.