Monday, June 11, 2018

Linux on AMD Ryzen 2500U powered laptop Acer Nitro 5 AN515-42-R3H6.

Tested out the AMD Ryzen 2500u based laptop on the latest Ubuntu 18.04.
Machine specs in the format it arrived here:

8GB of DDR4 RAM (1x8GB, second memory slot empty)
128GB M.2 SSD
1TB HDD
AMD Ryzen 2500U APU
AMD Radeon RX560X graphics
15.6" FullHD IPS Display, (viewing angles very fine)



Booting for install

In order to get the system even to boot i changed the grub line from
quite splash 
to 
nosplash pci=noacpi rcu_nocbs=0-7 processor.max_cstate=1
After setting the machine up then also add the keys to /etc/default/grub and run sudo grub-update.
 
 Something that i can't vouch for is the touchpad. It worked initially with linux but then suddenly disappeared and as i use external mouse anyway i wasn't bothered so far to track it down. 

 *UPDATE*
Time has moved on, on ubuntu 19.10 with kernel 5.3.0-24-generic the noacpi is no more the required workaround.
Now my kernel line looks like this :
 nosplash idle=nomwait pci=noaer iommu=pt ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 rcu_nocbs=0-7 processor.max_cstate=1

Partitioning 

 Ubuntu proposed to me that let's install the linux onto the 1tb hdd instead of the windows carrying ssd. While very generous, i was going to have none of that and chose manual partitioning. Since the machine is already in the efi era you _have to_ create a separate partition for /boot/efi with fat32 , in my case i made it 300 megabytes big (doesn't really need that much). The rest i left for rest of Ubuntu as / and the terabyte hdd i will mount as a separate mount point.

Linux tools output for the common commands. 

$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1603.260
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 1
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1572.750
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 2
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1468.217
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 1
cpu cores    : 4
apicid        : 2
initial apicid    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 3
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1461.133
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 1
cpu cores    : 4
apicid        : 3
initial apicid    : 3
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 4
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1399.344
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 2
cpu cores    : 4
apicid        : 4
initial apicid    : 4
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 5
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1432.112
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 2
cpu cores    : 4
apicid        : 5
initial apicid    : 5
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 6
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1415.625
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 3
cpu cores    : 4
apicid        : 6
initial apicid    : 6
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 7
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1300.565
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 3
cpu cores    : 4
apicid        : 7
initial apicid    : 7
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Capabilities:

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
    Flags: fast devsel

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: fef00000-feffffff
    Prefetchable memory behind bridge: 0000000250000000-0000000267ffffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Memory behind bridge: ff200000-ff2fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 19
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    Memory behind bridge: ff000000-ff1fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
    Flags: fast devsel

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 20
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    Memory behind bridge: ff300000-ff6fffff
    Prefetchable memory behind bridge: 0000000268000000-000000027fffffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 21
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    Memory behind bridge: ff700000-ff7fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
    Subsystem: Acer Incorporated [ALI] FCH SMBus Controller
    Flags: 66MHz, medium devsel
    Kernel driver in use: piix4_smbus
    Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    Subsystem: Acer Incorporated [ALI] FCH LPC Bridge
    Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
    Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
    Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
    Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
    Flags: fast devsel

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
    Flags: fast devsel

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
    Flags: fast devsel

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
    Flags: fast devsel

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
    Flags: fast devsel

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] (rev c0)
    Subsystem: Acer Incorporated [ALI] Baffin [Radeon RX 460/560D / Pro 450/455/460/560]
    Physical Slot: 0
    Flags: bus master, fast devsel, latency 0, IRQ 41
    Memory at 250000000 (64-bit, prefetchable) [size=256M]
    Memory at 260000000 (64-bit, prefetchable) [size=2M]
    I/O ports at [disabled]
    Memory at fef00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at fef40000 [disabled] [size=128K]
    Capabilities:
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
    Subsystem: Acer Incorporated [ALI] RTL8411B PCI Express Card Reader
    Flags: bus master, fast devsel, latency 0, IRQ 38
    Memory at ff214000 (32-bit, non-prefetchable) [size=4K]
    Expansion ROM at ff200000 [disabled] [size=64K]
    Capabilities:
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci

02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
    Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 40
    I/O ports at 0000
    Memory at ff215000 (64-bit, non-prefetchable) [size=4K]
    Memory at ff210000 (64-bit, non-prefetchable) [size=16K]
    Capabilities:
    Kernel driver in use: r8169
    Kernel modules: r8169

03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
    Subsystem: Lite-On Communications Inc QCA6174 802.11ac Wireless Network Adapter
    Flags: bus master, fast devsel, latency 0, IRQ 43
    Memory at ff000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities:
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon Vega 8 Mobile] (rev c4) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Vega [Radeon Vega 8 Mobile]
    Flags: bus master, fast devsel, latency 0, IRQ 42
    Memory at 270000000 (64-bit, prefetchable) [size=256M]
    Memory at 268000000 (64-bit, prefetchable) [size=2M]
    I/O ports at 0000
    Memory at ff600000 (32-bit, non-prefetchable) [size=512K]
    Capabilities:
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 44
    Memory at ff688000 (32-bit, non-prefetchable) [size=16K]
    Capabilities:
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: fast devsel
    Memory at ff300000 (32-bit, non-prefetchable) [size=1M]
    Memory at ff68c000 (32-bit, non-prefetchable) [size=8K]
    Capabilities:

04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0 (prog-if 30 [XHCI])
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0
    Memory at ff400000 (64-bit, non-prefetchable) [size=1M]
    Capabilities:
    Kernel driver in use: xhci_hcd

04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1 (prog-if 30 [XHCI])
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0
    Memory at ff500000 (64-bit, non-prefetchable) [size=1M]
    Capabilities:
    Kernel driver in use: xhci_hcd

04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 45
    Memory at ff680000 (32-bit, non-prefetchable) [size=32K]
    Capabilities:
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61) (prog-if 01 [AHCI 1.0])
    Subsystem: Acer Incorporated [ALI] FCH SATA Controller [AHCI mode]
    Flags: bus master, fast devsel, latency 0, IRQ 39
    Memory at ff700000 (32-bit, non-prefetchable) [size=2K]
    Capabilities:
    Kernel driver in use: ahci
    Kernel modules: ahci
 
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0408:a060 Quanta Computer, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04ca:3016 Lite-On Technology Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 $ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "GLAMOR Textured Video"
    number of ports: 16
    port base: 100
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x46
    number of attributes: 5
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 8192 x 8192
    Number of image formats: 2
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)


$ glxinfo
name of display: :1
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD RAVEN (DRM 3.23.0 / 4.15.0-22-generic, LLVM 6.0.0) (0x15dd)
    Version: 18.0.0
    Accelerated: yes
    Video memory: 991MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 991 MB, largest block: 991 MB
    VBO free aux. memory - total: 3067 MB, largest block: 3067 MB
    Texture free memory - total: 991 MB, largest block: 991 MB
    Texture free aux. memory - total: 3067 MB, largest block: 3067 MB
    Renderbuffer free memory - total: 991 MB, largest block: 991 MB
    Renderbuffer free aux. memory - total: 3067 MB, largest block: 3067 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 991 MB
    Total available memory: 4059 MB
    Currently available dedicated video memory: 991 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.23.0 / 4.15.0-22-generic, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
... snipped the rest ....

Monday, January 20, 2014

Ordi I56CH Super (NBO W550SU1 laptop)

Short specs:

  • Core I5-4200M cpu
  • Intel HD 4600 graphics
  • FullHD Screen 15.6"

What linux says about the hardware:

$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)


Obviously cpu guess a little bit off in lspci view :D

$ cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 60
model name    : Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
stepping    : 3
microcode    : 0x16
cpu MHz        : 800.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
bogomips    : 4988.41
clflush size    : 64
cache_alignment    : 64
address sizes    : 39 bits physical, 48 bits virtual
power management:
~ the above repeated 3 times (2 cores with hyperthreading = 2*2 = 4) ~

It seems that on idle the cpus downclock themselves to 800mhz and when load is introduced they jump nicely to 2500mhz. The unit is comfortably quite on idle.

All of the hardware working out of the box with ubuntu.
Networking hardware still needed a little bit of driver help :
  for the wifi :  updated the kernel to saucy's latest and also downloaded newer firmware than 13.10 default
  for the lan: r8168 dkms installed
 

Monday, February 13, 2012

My HP Pavilion dv6 on ubuntu

Short summary:
* installing needs the workaround with nomodeset to avoid ati radeon related crashes
* remove the the default radeon x driver, blacklist radeon kernel driver
* install fglrx
* suspend/resume is broken since ubuntu 12.04  (got fixed in final steps of 12.04 release)
* machine branding is seriously confusing, just in general dv6 6100 (various suffixes on keyboard layout dependency, hp stop doing that), mine is dv6-6101sy.

Hardware Brief:

CPU: AMD A-Series A6-3410MX QuadCore
Graphics : ATI Dual Graphics : AMD Radeon HD 6755G2 , 1GB of dedicated RAM
RAM: 8GB
HDD: 750 GB, Model=Hitachi HTS547575A9E384


Long story:
PciInfo

martin@martin:~$ sudo lspci -v
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Complex
Subsystem: Advanced Micro Devices [AMD] Family 12h Processor Root Complex
Flags: bus master, 66MHz, medium devsel, latency 32

00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 9647 (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 54
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=256]
Memory at f0400000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: fglrx_pci
Kernel modules: fglrx, radeon

00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at f0444000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:02.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f0300000-f03fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: pcieport
Kernel modules: shpchp

00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: pcieport
Kernel modules: shpchp

00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: f0200000-f02fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: pcieport
Kernel modules: shpchp

00:06.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: f0100000-f01fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] Device 1234
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Kernel driver in use: pcieport
Kernel modules: shpchp

00:10.0 USB controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at f0448000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Latency Tolerance Reporting
Kernel driver in use: xhci_hcd

00:10.1 USB controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f044a000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: xhci_hcd

00:11.0 SATA controller: Advanced Micro Devices [AMD] Hudson SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 41
I/O ports at 4138 [size=8]
I/O ports at 414c [size=4]
I/O ports at 4130 [size=8]
I/O ports at 4148 [size=4]
I/O ports at 4110 [size=16]
Memory at f0450000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [50] MSI: Enable+ Count=1/4 Maskable- 64bit+
Capabilities: [70] SATA HBA v1.0
Kernel driver in use: ahci

00:12.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at f044f000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
Memory at f044e000 (32-bit, non-prefetchable) [size=256]
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci_hcd

00:13.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
Memory at f044d000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
Memory at f044c000 (32-bit, non-prefetchable) [size=256]
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci_hcd

00:14.0 SMBus: Advanced Micro Devices [AMD] Hudson SMBus Controller (rev 13)
Subsystem: Hewlett-Packard Company Device 358d
Flags: 66MHz, medium devsel
Kernel modules: i2c-piix4

00:14.1 IDE interface: Advanced Micro Devices [AMD] Hudson IDE Controller (rev 40) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
I/O ports at 4128 [size=8]
I/O ports at 4144 [size=4]
I/O ports at 4120 [size=8]
I/O ports at 4140 [size=4]
I/O ports at 4100 [size=16]
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp

00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at f0440000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:14.3 ISA bridge: Advanced Micro Devices [AMD] Hudson LPC Bridge (rev 11)
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: Advanced Micro Devices [AMD] Hudson PCI Bridge (rev 40) (prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=05, subordinate=05, sec-latency=64

00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
Flags: fast devsel
Capabilities: [f0] Secure device
Kernel driver in use: k10temp
Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
Flags: fast devsel

00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
Flags: fast devsel

00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
Flags: fast devsel

00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
Flags: fast devsel

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 358d
Physical Slot: 2
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0300000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3000 [size=256]
[virtual] Expansion ROM at f0320000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: fglrx_pci
Kernel modules: fglrx, radeon

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 52
I/O ports at 2000 [size=256]
Memory at f0004000 (64-bit, prefetchable) [size=4K]
Memory at f0000000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number xx-xx-xx-xx-xx-xx-xx-xx
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 1483
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number xx-xx-xx-xx-xx-xx-xx-xx
Capabilities: [16c] Power Budgeting
Kernel driver in use: brcmsmac
Kernel modules: bcma, brcmsmac

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company Device 358d
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at f0100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number xx-xx-xx-xx-xx-xx-xx-xx
Kernel driver in use: rts_pstor
Kernel modules: rts_pstor





CpuInfo

martin@martin:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A6-3410MX APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x300000f
cpu MHz : 800.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat cpb npt lbrv svm_lock nrip_save pausefilter
bogomips : 3194.08
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [9]

processor : 1
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A6-3410MX APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x300000f
cpu MHz : 1600.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat cpb npt lbrv svm_lock nrip_save pausefilter
bogomips : 3194.08
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [9]

processor : 2
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A6-3410MX APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x300000f
cpu MHz : 800.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat cpb npt lbrv svm_lock nrip_save pausefilter
bogomips : 3194.09
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [9]

processor : 3
vendor_id : AuthenticAMD
cpu family : 18
model : 1
model name : AMD A6-3410MX APU with Radeon(tm) HD Graphics
stepping : 0
microcode : 0x300000f
cpu MHz : 800.000
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt arat cpb npt lbrv svm_lock nrip_save pausefilter
bogomips : 3194.03
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [9]



UsbInfo

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 5986:02ac Acer, Inc
Bus 004 Device 002: ID 138a:0018 Validity Sensors, Inc.
Bus 003 Device 002: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR



PS. the mouse goes bananas with i/o events when suspend-resume is done, workaround hint

martin@martin:~$ cat /etc/pm/sleep.d/dv6_touchpad_bug
#!/bin/bash
case $1 in
hibernate)
modprobe -r psmouse
;;
suspend)
modprobe -r psmouse
;;
thaw)
modprobe psmouse
;;
resume)
modprobe psmouse
;;
*) ;;
esac




misc:

martin@martin:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"
martin@martin:~$ uname -a
Linux martin 3.2.0-15-generic #24-Ubuntu SMP Tue Feb 7 22:32:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux



ps.ps. just drop one of the primary partitions to install linux. i dropped hp-tools.

All in all the device works pretty fine, can't really complain about the performance. OpenGL works just fine with fglrx.

Monday, October 4, 2010

new toy , shuttle xs35, running linux

so, there we go , another tecchie entry :)

according to intel, d510 should be dualcore, hyperthreaded ... cpuinfo confirms that

cat /proc/cpuinfo :
-----
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz
stepping : 10
cpu MHz : 1662.406
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3324.81
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz
stepping : 10
cpu MHz : 1662.406
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3325.03
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz
stepping : 10
cpu MHz : 1662.406
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3325.03
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz
stepping : 10
cpu MHz : 1662.406
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3325.03
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
-----


other hardware on the instance

lspci -v :
----------
martin@shuttleman:~$ sudo lspci -v
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at fe980000 (32-bit, non-prefetchable) [size=512K]
I/O ports at cc00 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [d0] Power Management version 2
Kernel driver in use: i915
Kernel modules: i915

00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0
Memory at fe780000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fe978000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 80000000-801fffff
Prefetchable memory behind bridge: 0000000080200000-00000000803fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fea00000-feafffff
Prefetchable memory behind bridge: 0000000080400000-00000000805fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: feb00000-febfffff
Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at c880 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at c800 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at c480 [size=32]
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at c400 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02) (prog-if 20)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fe977c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
Capabilities: [50] Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005

00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at ff90 [size=16]
Memory at 80800000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [70] Power Management version 2
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: medium devsel, IRQ 5
I/O ports at 0400 [size=32]
Kernel modules: i2c-i801

02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at feaffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80) (prog-if 01)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: fast devsel, IRQ 18
Memory at feaff800 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Kernel modules: sdhci-pci

02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at feaff400 (32-bit, non-prefetchable) [size=256]
Capabilities: [a4] Power Management version 3
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [94] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Kernel driver in use: jmb38x_ms
Kernel modules: jmb38x_ms

02:00.5 Ethernet controller: JMicron Technology Corp. JMC260 PCI Express Fast Ethernet Controller (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2005
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at feaf8000 (32-bit, non-prefetchable) [size=16K]
I/O ports at dc00 [size=128]
I/O ports at d800 [size=256]
Capabilities: [68] Power Management version 3
Capabilities: [50] Express Legacy Endpoint, MSI 00
Capabilities: [40] MSI-X: Enable- Mask- TabSize=8
Capabilities: [70] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/3 Enable+
Kernel driver in use: jme
Kernel modules: jme

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8171 (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. Device 8171
Flags: bus master, fast devsel, latency 0, IRQ 19
I/O ports at e800 [size=256]
Memory at febfc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
Kernel driver in use: rtl819xSE
Kernel modules: r8192se_pci

----------

i modded the serial numbers above, excuse my paranoia :)


runs 32 bit ubuntu server edition just nicely.
network card started to work after first boot (server installation image from ubuntu does not have the jme driver on the boot image, but it does install it with the kernel to your harddisk).

tried to play back 720p video with mplayer - worked just fine, intel's xvideo seemed to do a lazy job (cpu was banging around 70% at the time ... but that was just one cpu core, so ... ;-) )

no speedstep technology seems to be supported by the cpu, it's hovered around 70C while i did the video test (the box was on the side). when it's on straight up position and idle after boot, it's steady at 50C.

fanless mini pc, now i have it :-)

Thursday, March 5, 2009

Java Midlet as a guitar tuner - fail & success :)

[Updated]

So, just about 2 days ago i started to play around with my nokia e51 phone and java midlets. After some frustration i managed to come up with an application that measures the sound frequencies for me. And all that just to leave me in trouble after all.

It turns out that the micrphone of a mobile phone is just awful :) Literally awful. Anything that goes below 150hz is not noticed ... which is the lower 3 strings of the guitar (82.4, 110.0, 146.8). After i fixed the buffer reading and decoding, i did get the higher frequencies correct, so at least that's good. I detect correctly the 3 higher strings of the guitar (329.6, 246.9, 196.0), not missing by an inch (tested with audacity).

It looks like a mission impossible to get a correct reading from this on it's own, for the lower frequencies, it just won't work. No matter what you measure ( FFT aka Fast Fourier Transforms, just zero crossing counting, whatever else ...), the pcm reading that you get isn't just accurate below 150hz. What a shame :(

Long story short : you need something a lot better than a mobile phone microphone, to get an audio tuning that is good enough to tune any kind of instrument (well maybe drums would work but :p, you get the idea)

psps. it's really easy to create java midlets if you have any idea how the language works

pspsps. i will keep the code around in my gmail box, i may need it one day :)

maybe i will give the same code a shot behind a pc mic as well, just to know how good sensitivity do those have.

Monday, February 9, 2009

Ordi Enduro 6490BF+

Sai siis ordis ikkagi 2ra k2idud, kuna ilmselgelt midagi asjalikumalt selles hinnaklassis turul pole.

Ordi Enduro 6490BF+

Mis siis selle kasti sees on ? :)

Ordi keeles:

Intel Core 2 Duo T6400, 4GB DDR2, 15,4" WXGA+,HDD 320GB,DVDRW,Intel 45PM chip,VGA 512MB NV9600M GT,klaviatuur ESTvõi US,Wifi,LAN,SD/MMC/MS,3xUSB,HDMI,veebikaamera, kaal 2,9kg, aku ~4,5t, Bluetooth, FP

Riistvara emakeeles


Protsessor: Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz
M2lu: 4GB RAM
Graafika: Nvidia Geforce 9600M GT (512MB)
Kiibistik: ICH9, ICH9M
Veebikaamera: Suyin Corp. Standard UVC
Heli: Intel HDA
Ketas: SAMSUNG HM320JI (320GB , SATA1)
DVD-RW: Optiarc DVD RW AD-7590S (SATA ? IDE ?)
Touchpad: ALPS GlidePoint
Ekraan: 1440x900 resolutsiooniga LCD


Mulisemist ka : LCD vaatenurk v6iks parem olla, k6vaketas ise on SATA2 v6imeline, aga ilmselt madal rpm v chipseti kiiksatus ei lase paremat v2lja suruda. Vahet pole tegelt, 70MByte/sec lugeda on ju kiire kyll (hdparm -tT), sylearvuti kohta.


riistvara linuxi keeles :



---
martin@repeator /tmp $ sudo lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9600M GT (rev a1)
0e:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection
14:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
1a:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
1a:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller
1a:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
1a:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller
---


ja usb toru otsast vaatab vastu :


---
martin@repeator /tmp $ sudo lsusb
Bus 005 Device 001: ID 1d6b:0001
Bus 002 Device 003: ID 064e:a115 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002
Bus 008 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
Bus 008 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001
Bus 006 Device 002: ID 147e:1000
Bus 006 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
---


See optical mouse on siis minu hiireke :$

Suyin Corp - uvc tyypi kaamera
Broadcom - bluetooth ( BCM2046 Bluetooth Device )

Et siis, asjad mis siiamaani t88tavad


---
nimi : kerneli moodul

default inteli sound : snd_hda_intel
nvidia 9600m gt : nvidia
kaamera : uvcvideo
sd kaardi lugeja : sdhci_pci (moodul laetud, testida pole viitsind)
bluetooth : btusb (moodul laetud, testida pole viitsind)
wifi : iwlagn, iwlcore , inteli wifi 5300 firmware (suur socketite arv tundub lollitavat)
lan : r8169 (t88tab kenasti, suured failid said selle kaudu kopeeritud)
---


//

xorg.conf-is tuleb synapticsi juurde imetrikke teha et scrollimine fungaks kenasti :


---
Option "VertEdgeScroll" "true"
Option "HorizEdgeScroll" "true"
Option "RightEdge" "900"
Option "BottomEdge" "600"


Muidu on need servad liiga kaugel ja asi ei funka normaalselt v yldse scrollimiseks.

Ah et s6rmej2ljelugejast ? Pole aimugi :D

lisaks veel neile kes T6400 kohta ammulisui otsivad :


#cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz
stepping : 10
cpu MHz : 1200.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips : 3989.85
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz
stepping : 10
cpu MHz : 1200.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips : 3989.79
clflush size : 64
power management:


// grep x86info kasulikust infost
CPU Model: Core 2 Duo
Processor name string: Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz

Cache info
L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
L1 Data cache: 32KB, 8-way associative. 64 byte line size.
L2 unified cache: 2MB, sectored, 8-way associative. 64 byte line size.
TLB info
Instruction TLB: 4x 4MB page entries, or 8x 2MB pages entries, 4-way associative
Instruction TLB: 4K pages, 4-way associative, 128 entries.
Data TLB: 4MB pages, 4-way associative, 32 entries
L1 Data TLB: 4KB pages, 4-way set associative, 16 entries
L1 Data TLB: 4MB pages, 4-way set associative, 16 entries
Data TLB: 4K pages, 4-way associative, 256 entries.
64 byte prefetching.
Feature flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe
Extended feature flags:
sse3 [2] monitor ds-cpl est tm2 ssse3 cx16 xTPR [15] [19] [26] [27]




Skaleerub : 1.2 , 1.6 , 2.0 GHz kaudu

Tuesday, January 15, 2008

Ati x1400 on Linux with RadeonHD

So, long story short ... i got really bored out with fglrx and it's never ending buglist. Radeonhd came up from google and i decided to give it a try on my Ubuntu Gutsy:



At first, getting an up to date version of radeonhd into my dev dir




git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd

cd xf86-video-radeonhd/
./autogen.sh --prefix=/usr/
make

sudo checkinstall make install

sudo dpkg -i xf86-video_radeonhd-martin-1-1_i386.deb



notice that the checkinstall asks for your input about the version , i put martin-1 there, the package name will depend from it and it requires a number into it

so far so good, wrote the initial xorg.conf with just :




Section "Device"
Identifier "Radeon-1"
Driver "radeonhd"
EndSection



X came up nicely, but i wanted my laptop screen to become the primary display.
I twiddled around with xrandr unsuccessfully from the xterm, closed down the x display and wrote this into the config to make it work as expected :



Section "Device"
Identifier "Radeon-1"
Driver "radeonhd"
Option "RROutputOrder" "PANEL,VGA_1"
EndSection



The values for RROutputOrder you can get from "xrandr -q"
And to get the external monitor as left display , just type analogous line into xterm :

xrandr --output VGA_1 --left-of PANEL

// for me , PANEL is the laptop lcd screen of my ibm lenovo t60 , VGA_1 is the external samsung lcd

resolution combination that i use :
1680x1050 for laptop , 1440x900 for external display

the screen section is configured as




Section "Screen"
Identifier "Screen_1"
Device "Radeon-1"
Monitor "xMonitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 3120 1050
EndSubSection
EndSection





The xMonitor1 is just a dummy entry and xrandr ignores that stuff anyway.


Abracadabra, X works, xrandr manages to play with the devices nicely ;) I have a big nice desktop and none of the fglrx madness



Thanks RadeonHD people ;)

ps. i hope it helps someone out there ;) if not , don't ask me for help, use google instead.