DRI PRIME

Multiple graphic cards accessible from Linux: $ glxinfo |grep -i renderer OpenGL renderer string: Mesa DRI Mobile IntelĀ® GM45 Express Chipset $ DRI_PRIME=1 glxinfo |grep -i renderer OpenGL renderer string: Gallium 0.4 on AMD RV620 $ xrandr –listproviders Providers: number : 2 Provider 0: id: 0×83 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: ...

Thinkpad T400 – low speakers volume

My Thinkpad T400 had very low speakers volume. Turns out there is a way to bump volume up using hardware modification. T400 uses AN12946A audio amplifier (located right to touchpad, just under bios battery – remove keyboard bezel to get access). See T400 schematic for details. AN12946A has selectable gain modes using SP GAIN 1 ...

Sysrq-b from shell

sysrq-b from shell: perl -e ‘use POSIX; tcsendbreak(1,0);’ > /dev/ttyS0

Thermal transfer method for creating PCBs at home, Go-ESR meter

Thermal transfer method for creating PCBs at home, Go-ESR meter
Tested thermal transfer method for creating PCBs at home. Works pretty well: Same method used for silkscreen: And final device, russian Go-ESR meter (for measuring capacitance and ESR of electrolitic capacitors) done according to a modified project. Case:

Home made PCB etching machine

Simple, home made PCB etching machine

geo2.pl

geo2.pl
I was using geo2.pl GPS/GPRS localisation device for some time. Wasn’t best experience – frequent system failures (on device and on geo2 server side), lack of competent support, lack of information to users (once it died for a month without ANY information from geo2 company). So if you considered buying geo2 product – forget about ...

Safely remove hard disk behind usb storage bridge

udisks --detach /dev/sdX

Saving magnet links as torrent files in kde

$ cat .kde/share/kde4/services/magnet.protocol d9b68c7785b00f8d1bc2f1a2e0fc85cb002 $ cat bin/magnet2torrent.py d9b68c7785b00f8d1bc2f1a2e0fc85cb003

Mounting DOS HDD image

Mounting dos hdd image, first partition: mount -o loop,offset=32256 dos-hdd.img dir I’m using such image to update BIOSes in machines where bios doesn’t fit into floppy image. Such hdd image can be places inside iso image to be booted at virtual or real cdrom. mkisofs -v -r -T -J –hard-disk-boot -b dos-hdd.img -o ../test.iso .

Asus E35M1-I DELUXE, surround 5.1 sound and dmix

Make HDMI card be second while SB card be first one: options snd-hda-intel index=1,0 Enable dmix with surround 5.1 support (no upmixing): pcm.dmixer { type dmix ipc_key 1024 ipc_key_add_uid false # let multiple users share ipc_perm 0666 # IPC permissions (octal, default 0600) slave { pcm "hw:0,0" channels 6 # buffer_size 16384 } } pcm.!default ...