Skip to content

Instantly share code, notes, and snippets.

@metaphys
metaphys / nvidia-xconfig-query-gpu-info-output
Created October 2, 2011 00:48
nvidia-xconfig --query-gpu-info
Number of GPUs: 1
GPU #0:
Name : GeForce GT 540M
PCI BusID : PCI:1:0:0
Number of Display Devices: 0
@metaphys
metaphys / Xorg.8.log
Created October 2, 2011 00:50
/var/log/Xorg.8.log
[ 133.766]
X.Org X Server 1.11.1
Release Date: 2011-09-24
[ 133.766] X Protocol Version 11, Revision 0
[ 133.766] Build Operating System: Linux 3.1.0-rc4-amd64 x86_64 Debian
[ 133.766] Current Operating System: Linux debian 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64
[ 133.767] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-1-amd64 root=UUID=17677b05-57ef-406f-97d2-4e1f4a1562dc ro quiet
[ 133.767] Build Date: 24 September 2011 09:28:42AM
[ 133.767] xorg-server 2:1.11.1-1 (Cyril Brulebois <kibi@debian.org>)
[ 133.767] Current version of pixman: 0.22.2
@metaphys
metaphys / dmidecode-output
Created October 2, 2011 00:52
dmidecode --string system-product-name
K93SV
@metaphys
metaphys / xorg.conf.nvidia
Created October 2, 2011 00:54
/etc/X11/xorg.conf.nvidia
Section "Device"
Identifier "Device1"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
@metaphys
metaphys / Xorg.8.log
Created October 2, 2011 19:10
/var/log/Xorg.8.log
[ 78.777]
X.Org X Server 1.11.1
Release Date: 2011-09-24
[ 78.777] X Protocol Version 11, Revision 0
[ 78.777] Build Operating System: Linux 3.1.0-rc4-amd64 x86_64 Debian
[ 78.777] Current Operating System: Linux debian 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64
[ 78.777] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-1-amd64 root=UUID=17677b05-57ef-406f-97d2-4e1f4a1562dc ro quiet
[ 78.777] Build Date: 24 September 2011 09:28:42AM
[ 78.777] xorg-server 2:1.11.1-1 (Cyril Brulebois <kibi@debian.org>)
[ 78.777] Current version of pixman: 0.22.2
@metaphys
metaphys / acpidump
Created October 6, 2011 13:11
acpidump exit on K93SV
DSDT @ 0xcafef180
0000: 44 53 44 54 22 c5 00 00 02 6b 5f 41 53 55 53 5f DSDT"....k_ASUS_
0010: 4e 6f 74 65 62 6f 6f 6b 05 02 00 00 49 4e 54 4c Notebook....INTL
0020: 12 11 09 20 08 53 4d 42 53 0b 80 05 08 53 4d 42 ... .SMBS....SMB
0030: 4c 0a 20 08 50 4d 42 53 0b 00 04 08 50 4d 4c 4e L. .PMBS....PMLN
0040: 0a 80 08 47 50 42 53 0b 00 05 08 47 50 4c 4e 0a ...GPBS....GPLN.
0050: 80 08 53 4d 49 50 0a b2 08 41 50 43 42 0c 00 00 ..SMIP...APCB...
0060: c0 fe 08 41 50 43 4c 0b 00 10 08 53 4d 43 52 0b ...APCL....SMCR.
0070: 30 04 08 48 50 54 42 0c 00 00 d0 fe 08 48 50 54 0..HPTB......HPT
0080: 43 0c 04 f4 d1 fe 08 46 4c 53 5a 0c 00 00 20 00 C......FLSZ... .
@metaphys
metaphys / SSDT4
Created October 6, 2011 16:58
/sys/firmware/acpi/tables/SSDT4 decoded by iasl on K93SV
ACPI Error: Argument count mismatch for method P8XH 4 2 (20100528/dmextern-387)
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20100528
*
* Disassembly of file, Thu Oct 6 18:46:50 2011
*
*
* Original Table Header:
* Signature "SSDT"
@metaphys
metaphys / kern.log.enable.NVIDIA
Created October 8, 2011 18:59
kern.log enablecard with NVIDIA module
Oct 7 16:37:51 rantanplan kernel: [ 123.032092] acpi_call: Calling \_SB.PCI0.PEG0.PEGP._PS0
Oct 7 16:37:51 rantanplan kernel: [ 123.560201] acpi_call: Call successful: 0x0
Oct 7 16:37:52 rantanplan kernel: [ 124.131784] nvidia 0000:01:00.0: power state changed by ACPI to D0
Oct 7 16:37:52 rantanplan kernel: [ 124.131790] nvidia 0000:01:00.0: power state changed by ACPI to D0
Oct 7 16:37:52 rantanplan kernel: [ 124.131815] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Oct 7 16:37:52 rantanplan kernel: [ 124.131832] nvidia 0000:01:00.0: setting latency timer to 64
Oct 7 16:37:52 rantanplan kernel: [ 124.131844] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Oct 7 16:37:52 rantanplan kernel: [ 124.132022] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0df4) installed
Oct 7 16:37:52 rantanplan kernel: [ 124.132025] NVRM: in this system is not supported by the 280.13 NVIDIA Linux
Oct 7 16:37:52 rantanplan kernel: [ 124.132028] NVRM: gr
@metaphys
metaphys / rbutil1
Created November 22, 2011 15:24
rbutil commpilation problem
jean-louis@debian:~/rockbox-devtree/rockbox/rbutil/rbutilqt$ make
/usr/bin/lrelease -silent /home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt/rbutilqt.pro
Project MESSAGE: Qt version used: 4.7.3
Project MESSAGE: Rockbox Base dir: /home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt /home/jean-louis/rockbox-devtree/rockbox
Project MESSAGE: release
Warning: dropping duplicate messages in '/home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt/lang/rbutil_ru.qm'
(try -verbose for more info).
gcc -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DNODEBUG -DRBUTIL -D_LARGEFILE64_SOURCE -DLIBUSB1 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Iirivertools -Iquazip -Izlib -Ibase -I../ipodpatcher -I../sansapatcher -I../../tools/rbspeex -I../../tools -Ibuild/moc -Ibuild/ui -o build/o/mkimxboot.o ../mkimxboot/mkimxboot.c
../mkimxboot/mki
@metaphys
metaphys / rbdiff
Created November 22, 2011 19:01
diff of rockbox
diff -u -r /home/jean-louis/rbfuzep/rockbox/rbutil/chinachippatcher/.svn/entries /home/jean-louis/Bureau/rockbox-devtree/rbutil/chinachippatcher/.svn/entries
--- /home/jean-louis/rbfuzep/rockbox/rbutil/chinachippatcher/.svn/entries 2011-11-22 19:45:15.076423963 +0100
+++ /home/jean-louis/Bureau/rockbox-devtree/rbutil/chinachippatcher/.svn/entries 2011-11-22 19:30:33.028050123 +0100
@@ -1,7 +1,7 @@
10
dir
-31042
+31041
svn://svn.rockbox.org/rockbox/trunk/rbutil/chinachippatcher