Wednesday, November 2, 2011

Installing cr-gpg on windows 7 pro

Could not get cr-gpg to install on windows 7 pro (64bits)...

Sunday, September 25, 2011

Reducing kernel compilation time

Okay, let's get the numbers.

I followed Sven and Stephen's advice so I:

- Used "make localmodconfig" to generate the ".config" file
- Appended "CONCURRENCY_LEVEL=2" to "make-kpkg"
- Added CONFIG_MATOM=y (just in case...)
- Removed the aforementioned "CONFIG_LGUEST_GUEST", "CONFIG_LGUEST" and
"CONFIG_PARAVIRT_SPINLOCKS" options from the ".config" file

Thursday, September 1, 2011

toshiba_acpi: Toshiba Laptop ACPI Extras version 0.20

Yeah some progress on toshiba_acpi:

* http://marc.info/?l=linux-kernel&m=131465192113848&w=2

After applying the patch:

* https://github.com/malaterre/PublicRep/tree/master/toshiba

I can now load toshiba_acpi nicely:


[43475.857947] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.20
[43475.858145] input: Toshiba input device as /devices/virtual/input/input16
[43475.878808] Registered led device: toshiba::illumination

Thursday, July 28, 2011

toshiba_acpi on L670-1JN

According to :

http://memebeam.org/toys/ToshibaAcpiDriver

$ modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi
(.../kernel/drivers/acpi/toshiba_acpi.ko): No such device

means that I do not have the proper toshiba, in my case, here is what I got:

FATAL: Error inserting toshiba_acpi (/lib/modules/3.0.0-1-amd64/kernel/drivers/platform/x86/toshiba_acpi.ko): No such device

However if one dig a little further

$ sudo acpidump -b -t DSDT -o DSDT.aml
$ iasl -d DSDT.aml
$ grep TOS1900 DSDT.dsl
Name (_HID, EisaId ("TOS1900"))
Yay ! this means I should be able to use toshiba_acpi ! TOS1900 is the Toshiba Value Added Package from windows.

ref:
* http://www.lesswatts.org/projects/acpi/overridingDSDT.php

Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]

Finally got it to work, simply:

$ sudo vim modprobe.d/alsa-base.conf

then add:

options snd-hda-intel model=auto
options snd-hda-intel model=toshiba
after a :

$ sudo alsa force-reload

it should show a nice output now:

[ 2759.008573] hda_codec: ALC259: BIOS auto-probing.
[ 2759.009419] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29
[ 2759.011722] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30
[ 2759.011949] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31
[ 2759.012435] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 2759.012601] HDA Intel 0000:01:00.1: irq 44 for MSI/MSI-X
[ 2759.012667] HDA Intel 0000:01:00.1: setting latency timer to 64
[ 2759.028207] HDMI status: Pin=3 Presence_Detect=0 ELD_Valid=0
[ 2759.028615] input: HD-Audio Generic HDMI/DP as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input32
[ 2899.944868] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.


ref:
* https://help.ubuntu.com/community/HdaIntelSoundHowto

Tuesday, July 26, 2011

TOSHIBA Satellite L670-1JN

After much struggle, I finally found out that toshiba_acpi was meant for older toshiba laptop. It looks like the proper driver for mine is at:

Omnibook

Monday, July 25, 2011

[Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

[ 0.520383] ACPI: EC: Look up EC in DSDT
[ 0.521053] ACPI Error: No handler for Region [ERAM] (ffff880133320bb8) [EmbeddedControl] (20110413/evregion-373)
[ 0.521057] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110413/exfldio-292)
[ 0.521064] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.EC0_._REG] (Node ffff880133321ab0), AE_NOT_EXIST (20110413/psparse-536)
[ 0.528310] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.528817] ACPI: SSDT 00000000bf713a18 00474 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
[ 0.529221] ACPI: Dynamic OEM Table Load:
[ 0.529223] ACPI: SSDT (null) 00474 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
[ 0.529395] ACPI: SSDT 00000000bf711018 00891 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
[ 0.529772] ACPI: Dynamic OEM Table Load:
[ 0.529774] ACPI: SSDT (null) 00891 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
[ 0.551289] ACPI: SSDT 00000000bf712a98 00303 (v01 PmRef ApIst 00003000 INTL 20050624)
[ 0.551762] ACPI: Dynamic OEM Table Load:
[ 0.551764] ACPI: SSDT (null) 00303 (v01 PmRef ApIst 00003000 INTL 20050624)
[ 0.563101] ACPI: SSDT 00000000bf710d98 00119 (v01 PmRef ApCst 00003000 INTL 20050624)
[ 0.563513] ACPI: Dynamic OEM Table Load:
[ 0.563515] ACPI: SSDT (null) 00119 (v01 PmRef ApCst 00003000 INTL 20050624)
[ 0.595654] ACPI: Interpreter enabled
[ 0.595658] ACPI: (supports S0 S3 S4 S5)
[ 0.595682] ACPI: Using IOAPIC for interrupt routing
[ 0.660178] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
[ 0.660416] ACPI: No dock devices found.

sudo apt-get install linux-image-3.0.0-1-amd64

*-network
description: Wireless interface
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 10
serial: 1c:65:9d:ba:25:47
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192se driverversion=3.0.0-1-amd64 firmware=N/A ip=192.168.0.21 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 ioport:2000(size=256) memory:d1100000-d1103fff


ref:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590280

Thursday, July 14, 2011

Laptop battery charging Laptop battery charging

In GNOME (debian squeeze) when you swap batteries, you get this funny message:
In GNOME (debian squeeze) when you swap batteries, you get this funny message:
Laptop battery charging
Laptop battery charging

Friday, June 17, 2011

t.cxx:21: error: too many initializers for ‘const __class_type_info_pseudo’

#include

struct ResourceMonitorClient { };

template struct ResourcePool : public ResourceMonitorClient {
virtual ~ResourcePool() { }
};

template struct BaseWriter {

BaseWriter() {
typeid(ResourcePool*);
}

virtual void run() {
ResourcePool pool;
}

};

BaseWriter b;

Monday, June 13, 2011

QFacture suite

juste pour info je viens de retrouver la trace de QFacture dans linuxfr:

* https://linuxfr.org/news/qfacture-release-de-la-version-01

Il semblerait que dollibar existait avant:

* http://dolibarr.org/

Logiciel de facturation pour Auto-Entrepreneur

Pas facile de trouver un logiciel de facturation simple pour auto-entrepreneur:

Depuis ce forum:
* http://forum.pcastuces.com/sujet.asp?f=23&s=28457
* http://www.commentcamarche.net/forum/affich-11153671-logiciel-de-facturation-pour-auto-entrepreneu
* http://rougeetmartin.com/2011/04/06/rendez-vous-debut-mars-pour-le-lancement-du-site/

On peux trouver des references à:
* http://www.myae.fr/
* http://www.autoentreprenons.fr/
* http://www.gestan.fr/fonctionnalites/historique-des-versions/
* http://www.ciel.com/logiciels-ciel-auto-entrepreneur.aspx

myae & autoentreprenons sont des interfaces qui necessite un acces web. Je n'ai pas reussi à installer gestan sur mon windows 7 (64bits), l'installation ne s'arrete jamais...
J'ai essayer ciel version AE, l'installation passe bien, la configuration est simple, on rentre le SIRET, il rempli les champs nom, adresse et teléphone automatiquement...mais ensuite l'interface est totalement illisible !

Apres plusieurs recherche je tombe enfin sur qlqchose qui ressemble plus à ce que je cherche: kinvoice:
* http://wiki.ubuntu-fr.org/kinvoice

Apres qlq recherche sur kinvoice, on se rends compte que le produit n'est plus développé par les developpeur originaux. On peux trouver une pseudo version 0.3 en cherchant bien (tootai).

Mais ce n'est rien, par rapport à ce que l'on trouve ici:
* http://www.julienpecqueur.com/index.php?page=15.Qfacture.html
* http://blog.julienpecqueur.com/index.php?static1/qfacture

En effet un des auteurs de patch pour kinvoice (Qt3), a décidé plutot que de porter kinvoice vers Qt4, de tout ré-écrire et cela donne un logiciel *extremement* simple d'utilisation. Le code est tres lisible, j'ai pu commencer à le patcher immédiatement:

* http://github.com/malaterre/Qfacture

et tous mes patchs ont été intégré upstream !

Pour info, une nouvelle version de Qfacture est en cours de dev, elle proposera des bindings pour mysql, psql et sqlite !

Pour info je n'ai pas testé:
* http://ae2ls.com/
* http://didaclick.free.fr/factoure/page2.html
* http://www.bedesk-express.com/index.php?redirected=bedesk5

Wednesday, June 8, 2011

Resizing a Vista partition

Disk Utility works somewhat, but I could reduce my Vista partition from an initial 500Gb only down to 250Gb... that was still too big !

Steps:
* Get MyDefrag
* Remove swap file
* Run MyDefrag !
* re-add swap file

Ref:
* http://www.vistarewired.com/2007/02/16/how-to-resize-a-partition-in-windows-vista
* http://www.vistarewired.com/2007/04/07/how-to-work-with-partitions-in-windows-vista-xp-when-disk-management-doesnt-work#comment-3471
* http://www.mydefrag.com/

Setting Up Git on MacOSX Tiger

Simple as:

* Setting up Git on Mac OS X

Installing Windows XP on a SATA Drive

Believe it or not. A download of Windows XP with SP3 directly from msdn will not include SATA driver at all !

So when F6 is not an option for you (no floppy drive), give nLite a try !

ref:
* http://jcalcote.wordpress.com/2008/01/05/installing-windows-xp-on-a-sata-drive/
* http://www.digitgeek.com/how-to-slipstream-sata-drivers-into-xp-cd/
* http://news.softpedia.com/news/Install-Windows-XP-On-SATA-Without-a-Floppy-F6-47807.shtml
* http://h30499.www3.hp.com/t5/Home-PCs-Pavilion-Presario/Pavilion-a6643it-problem-with-xp-install-STOP-0x0000007B/m-p/1100317/message-uid/1100317/highlight/true#U1100317

Box is a HP Pavilion a6643fr Desktop PC:
* http://h10025.www1.hp.com/ewfrf/wc/product?lc=en&dlc=en&cc=us&softwareitem=pv-28739-16&os=228&product=3813847

Sunday, May 15, 2011

GPG Key Transition

Link to doc signed with both keys using:

gpg -u 0EA23F2B -u 8AE09345 --armor --clearsign transition.txt

ref: OpenPGP DSA-1 key rollover

---

I am transitioning from an older 1024-bit DSA key to a new 4096-bit RSA key.
The old key will continue to be valid for some time, but I prefer all new
correspondance to be encrypted in the new key, and will be making all
signatures going forward with the new key.

This document is signed with both keys to validate the transition.

If you have signed my old key, I would appreciate signatures on my new key as well, provided that your signing policy permits that without reauthenticating me.

The old key, which I am transitioning away from, was:

pub 1024D/0EA23F2B 2009-04-16
Key fingerprint = E1FA ED1F A75C 1DA7 FD9F 14F8 1291 4ABD 0EA2 3F2B

The new key, to which I am transitioning, is:

pub 4096R/8AE09345 2010-09-17
Key fingerprint = 6933 67FF AECD 8EAA CD1F 063B 0171 E182 8AE0 9345

To fetch the full new key from a public key server using GnuPG, run:

gpg --keyserver keys.gnupg.net --recv-keys 8AE09345

If you have already validated my old key, you can then validate that the new
key is signed by my old key:

gpg --check-sigs 8AE09345

pub 0EA23F2B 2010-09-17 Mathieu Malaterre (malat)

Please contact me via e-mail if you have any questions about this
document or this transition.

Mathieu Malaterre
2011-05-15

Tuesday, May 10, 2011

Thoughts about Qt 5

From Thoughts about Qt 5:

Developed in the open, together with you, with strong backing from Nokia

Another major change with Qt 5 will be in the development model. Qt 4 was mainly developed in-house in Trolltech and Nokia and the results were published to the developer community. Qt 5 we plan to develop in the open, as an open source project from the very start. There will not be any differences between developers working on Qt from inside Nokia or contributors from the outside.

Thursday, March 31, 2011

Unhandled exception: page fault on read access to 0x00342000 in 32-bit code (0x00560b16).

wine has made some fantastic progress. I can configure/build GDCM now. Some options needs to be turned off for now:




Unhandled exception: page fault on read access to 0x00342000 in 32-bit code (0x00560b16).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00560b16 ESP:0100e390 EBP:ffffffff EFLAGS:00010297( R- -- I S -A-P-C)
EAX:0000a1a5 EBX:00319938 ECX:00319968 EDX:00007d53
ESI:010cd300 EDI:00000000
Stack dump:
0x0100e390: 0100e3cc 0100e3dc 010cd300 00000000
0x0100e3a0: 00561e29 ffffffff 00000000 00000010
0x0100e3b0: 010cd300 00000018 00000000 00000000
0x0100e3c0: 00000000 00000004 00000000 ff676980
0x0100e3d0: ffffffff d316536e 01cbefa1 00000004
0x0100e3e0: 00000000 004d35b1 010cd300 0100e43c
Backtrace:
0x00560b16: movl 0x4(%ecx,%eax,4),%edx
Modules:
Module Address Debug info Name (60 modules)
PE 400000- 67e000 Export cmake
PE 78480000-7850d000 Deferred msvcp90
PE 78520000-785c3000 Deferred msvcr90
ELF 7b800000-7b8e6000 Deferred kernel32
\-PE 7b810000-7b8e6000 \ kernel32
ELF 7bc00000-7bcbb000 Deferred ntdll
\-PE 7bc10000-7bcbb000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7e589000-7e5a7000 Deferred libgcc_s.so.1
ELF 7e5a7000-7e5b0000 Deferred libxcursor.so.1
ELF 7e5b0000-7e5b5000 Deferred libxfixes.so.3
ELF 7e5b5000-7e5b8000 Deferred libxcomposite.so.1
ELF 7e5b8000-7e5bf000 Deferred libxrandr.so.2
ELF 7e5bf000-7e5c8000 Deferred libxrender.so.1
ELF 7e5c8000-7e5cd000 Deferred libxxf86vm.so.1
ELF 7e5cd000-7e5d0000 Deferred libxinerama.so.1
ELF 7e5d0000-7e5f0000 Deferred imm32
\-PE 7e5e0000-7e5f0000 \ imm32
ELF 7e5f0000-7e5f5000 Deferred libxdmcp.so.6
ELF 7e5f5000-7e60e000 Deferred libxcb.so.1
ELF 7e60e000-7e72b000 Deferred libx11.so.6
ELF 7e72b000-7e73a000 Deferred libxext.so.6
ELF 7e73a000-7e751000 Deferred libice.so.6
ELF 7e751000-7e759000 Deferred libsm.so.6
ELF 7e77e000-7e827000 Deferred winex11
\-PE 7e790000-7e827000 \ winex11
ELF 7e83d000-7e863000 Deferred libexpat.so.1
ELF 7e863000-7e892000 Deferred libfontconfig.so.1
ELF 7e892000-7e8a6000 Deferred libz.so.1
ELF 7e8a6000-7e91d000 Deferred libfreetype.so.6
ELF 7e942000-7ea2e000 Deferred oleaut32
\-PE 7e960000-7ea2e000 \ oleaut32
ELF 7ea2e000-7eb31000 Deferred ole32
\-PE 7ea50000-7eb31000 \ ole32
ELF 7eb31000-7eba5000 Deferred rpcrt4
\-PE 7eb40000-7eba5000 \ rpcrt4
ELF 7eba5000-7ec00000 Deferred advapi32
\-PE 7ebb0000-7ec00000 \ advapi32
ELF 7ec00000-7ec8e000 Deferred gdi32
\-PE 7ec10000-7ec8e000 \ gdi32
ELF 7ec8e000-7edbd000 Deferred user32
\-PE 7eca0000-7edbd000 \ user32
ELF 7edbd000-7edfa000 Deferred winmm
\-PE 7edd0000-7edfa000 \ winmm
ELF 7edfa000-7ee28000 Deferred ws2_32
\-PE 7ee00000-7ee28000 \ ws2_32
ELF 7ee28000-7ee3f000 Deferred libnsl.so.1
ELF 7efb5000-7efdb000 Deferred libm.so.6
ELF 7efdd000-7efe1000 Deferred libuuid.so.1
ELF 7efe8000-7f000000 Deferred version
\-PE 7eff0000-7f000000 \ version
ELF f7450000-f745c000 Deferred libnss_files.so.2
ELF f745d000-f7461000 Deferred libdl.so.2
ELF f7461000-f75a8000 Deferred libc.so.6
ELF f75a9000-f75c2000 Deferred libpthread.so.0
ELF f75c2000-f7703000 Deferred libwine-unstable.so.1
ELF f7703000-f7706000 Deferred libxau.so.6
ELF f7706000-f7710000 Deferred libnss_nis.so.2
ELF f7720000-f7728000 Deferred libnss_compat.so.2
ELF f772a000-f7748000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
0000001c 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000017 0
00000013 0
00000012 0
00000019 plugplay.exe
0000001d 0
0000001b 0
0000001a 0
0000001e explorer.exe
0000001f 0
00000036 mspdbsrv.exe
00000023 0
00000022 0
0000002b hh.exe
00000037 0
00000035 wineconsole.exe
0000002e 0
00000045 cmd.exe
00000038 0
0000003b (D) C:\Program Files\CMake 2.8\bin\cmake.exe
00000028 0
00000009 0
00000040 0
00000041 0
00000031 0 <== Backtrace:

Saturday, March 19, 2011

GDCM accepted as GSoC mentoring organization !

I have the immense pleasure to tell you that GDCM has been accepted as one of the 175 organizations participating in GSoC 2011:

http://www.google-melange.com/gsoc/program/accepted_orgs/google/gsoc2011

I will send out more details in the next few days, but this is
definitely a fantastic news. I would like to thank everyone of you who
participated with ideas and suggestions.

Tuesday, March 15, 2011

Quadro 2000D

Review high-resolution, detailed patient imagery and make a confident diagnosis faster with the NVIDIA® Quadro® 2000D – the industry's most advanced diagnostic imaging graphics solution. Delivering best-in-class performance, two dual-link DVI connectors for display flexibility, support for 10/12bit grayscale monitors up to 10Mpixels, and DICOM monitor calibration capabilities – the Quadro 2000D enables more confident medical analysis.

http://www.nvidia.com/object/product-quadro-2000d-us.html

Monday, March 7, 2011

Thursday, February 24, 2011

ERROR: Invalid MBR found on image with signature 0xC033

http://packages.debian.org/squeeze/virtualbox-ose-fuse

Looks like I need a later version of vdfuse (from unstable):

$ vdfuse -v -d -t VHD -f VIRTLAP.VHD /tmp/to
ERROR: Invalid MBR found on image with signature 0xC033

Voxelent - Pervasive Medical Imaging Platform

Monday, February 21, 2011

toshset

http://www.schwieters.org/toshset/

http://memebeam.org/toys/ExperimentalToshibaAcpiDriver

http://www.flurble.org/computers/toshset.pl

Laptop battery critically low


Clearly something is wrong as the battery is fully charged !

RTL8192SU integrated into linux kernel 2.6.38

http://thread.gmane.org/gmane.linux.kernel.wireless.general/58371/focus=58455

I mean the PCIe devices. I plan to submit that driver in time to make the 2.6.38
merge. Realtek has not yet sent me the code for the USB devices, but as the chip
and core code is common, it should not be far behind.

Hopefully rtl8192se will also make it into:

http://bugzilla.kernel.org/show_bug.cgi?id=29532

Thursday, February 17, 2011

vim spell check of XML files

This is something I always forget:

:setlocal spell spelllang=fr

to install french spell, and then to use:

:syn spell toplevel

Saturday, February 12, 2011

modinfo r8192se_pci

filename: /lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/r8192se_pci.ko
license: GPL
version: 0019.1207.2010
author: Copyright(c) 2008 - 2010 Realsil Semiconductor Corporation
description: Linux driver for Realtek RTL819x WiFi cards
srcversion: B35243106478C16B758F56E
alias: pci:v000010ECd00008174sv*sd*bc*sc*i*
alias: pci:v000010ECd00008173sv*sd*bc*sc*i*
alias: pci:v000010ECd00008172sv*sd*bc*sc*i*
alias: pci:v000010ECd00008171sv*sd*bc*sc*i*
alias: pci:v000010ECd00008192sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-5-amd64 SMP mod_unload modversions
parm: ifname: Net interface name, wlan%d=default (charp)
parm: hwwep: Try to use hardware WEP support(default use hw. set 0 to use software security) (int)
parm: channels: Channel bitmask for specific locales. NYI (int)

Wednesday, February 9, 2011

RTL8191SEvB Wireless LAN Controller (continued)

*-network
description: Wireless interface
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 10
serial: 1c:65:9d:ba:25:47
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl819xSE driverversion=0019.1207.2010 firmware=63 ip=192.168.0.17 latency=0 link=yes multicast=yes wireless=802.11bg
resources: irq:17 ioport:2000(size=256) memory:d1100000-d1103fff

Looking at the log from dmesg I can see this look working:

[ 2028.969908] rtllib_crypt: registered algorithm 'NULL'
[ 2028.969911] rtllib_crypt: registered algorithm 'TKIP'
[ 2028.969912] rtllib_crypt: registered algorithm 'CCMP'
[ 2028.969913] rtllib_crypt: registered algorithm 'WEP'
[ 2028.969914]
[ 2028.969915] Linux kernel driver for RTL8192 based WLAN cards
[ 2028.969916] Copyright (c) 2007-2008, Realsil Wlan Driver
[ 2028.969957] rtl819xSE 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 2028.969963] rtl819xSE 0000:07:00.0: setting latency timer to 64
[ 2028.970100] Memory mapped space start: 0xd1100000
[ 2028.976097] GetPciBusInfo(): Find Device(10EC:8172) bus=7 dev=0, func=0
[ 2028.977088] GetPciBridegInfo : Find Device(8086:3B44) bus=0 dev=28, func=1
[ 2028.977089] Pci Bridge Vendor is found index: 0
[ 2028.977090] Pci Bridge Vendor is 8086
[ 2028.982411] =========>dm_InitRateAdaptiveMask: bUseRAMask=0
[ 2029.065603] rtl819xSE 0000:07:00.0: firmware: requesting RTL8192SE/rtl8192sfw.bin
[ 2029.213505] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2029.213512] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2029.213516] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2029.214753] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2029.432219] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2029.432226] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2029.432230] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2049.903684] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2049.903691] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2049.903695] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2079.890248] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2079.890255] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2079.890260] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2119.960961] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2119.960965] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2119.960967] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2173.776027] lo: Disabled Privacy Extensions
[ 2231.078758] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2231.078762] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2231.078763] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2232.536122] Linking with networknamewifi,channel:6, qos:0, myHT:1, networkHT:0, mode:6 cur_net.flags:0x406
[ 2232.536143] rtllib_associate_procedure_wq(), chan:6
[ 2232.536148] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ 2232.546108] ==============>rtllib_associate_procedure_wq():ieee->current_network.qos_data.qos_mode is 0,ieee->qos_capability is 1
[ 2232.546189] Linking with networknamewifi,channel:6, qos:0, myHT:1, networkHT:0, mode:6 cur_net.flags:0x406
[ 2232.546225] rtllib_associate_procedure_wq(), chan:6
[ 2232.546230] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ 2232.556188] ==============>rtllib_associate_procedure_wq():ieee->current_network.qos_data.qos_mode is 0,ieee->qos_capability is 1
[ 2232.561705] rtl8192_SetWirelessMode(), wireless_mode:4, bEnableHT = 0
[ 2232.567377] Associated successfully
[ 2232.567379] normal associate
[ 2232.567388] Using G rates:108
[ 2232.567389] Successfully associated, ht not enabled(0, 0)
[ 2232.567395] rtl8192se_update_ratr_table: ratr_index=0 ratr_table=0x00000ff5
[ 2232.569531] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2232.986229] RX: IEEE802.1X EAPOL frame!
[ 2232.994942] RX: IEEE802.1X EAPOL frame!
[ 2232.995027] alg name:CCMP
[ 2233.052391] padlock: VIA PadLock not detected.
[ 2233.064043] r8192_wx_set_enc_ext() group:0, alg:4, last_pairwise_key_type:0, key_len:16
[ 2233.064651] set_swcam():EntryNo is 4,KeyIndex is 0,KeyType is 4,is_mesh is 0
[ 2233.120207] dm_check_edca_turbo():iot peer is unknown, bssid:12:2a:72:73:b0:00
[ 2233.974604] RX: IEEE802.1X EAPOL frame!
[ 2233.974747] alg name:TKIP
[ 2234.012111] r8192_wx_set_enc_ext() group:1, alg:2, last_pairwise_key_type:4, key_len:32
[ 2234.013102] set_swcam():EntryNo is 1,KeyIndex is 1,KeyType is 2,is_mesh is 0
[ 2237.682630] DHCP pkt src port:68, dest port:67!!
[ 2237.704858] DHCP pkt src port:68, dest port:67!!
[ 2241.115880] LPS Enter: notify AP we are dozing ++++++++++ SendNullFunctionData
http://samiux.blogspot.com/2010/11/howto-rtl8191se-wireless-card-on.html

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609784

07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)

Ok so I got my new laptop. Everything seems to have gone smoothly installing the latest debian 6.0.

Now let's fix the non-free stuff (the wifi):

$ sudo lshw -c network
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 05
serial: 1c:75:08:79:91:84
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.20 latency=0 link=yes multicast=yes port=MII speed=100MB/s
resources: irq:32 ioport:4000(size=256) memory:d0004000-d0004fff(prefetchable) memory:d0000000-d0003fff(prefetchable)
*-network UNCLAIMED
description: Network controller
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
version: 10
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: ioport:2000(size=256) memory:d1100000-d1103fff


$ sudo lspci -s 07:00.0 -v
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. Device 8181
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at 2000 [size=256]
Memory at d1100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 88-55-22-fe-ff-4c-e0-00
Looks like I need:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true#2262


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590280


http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false

Tuesday, February 8, 2011

bash.exe - entry point not found

the entry point rl_filename_rewrite_hook could not be located in the dynamic link library cygreadline7.dll

Saturday, February 5, 2011

TOSHIBA Satellite L670-1JN


Found this post:

http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=29243

which links to:

http://209.167.114.38/support/techsupport/tsbs/all/-TSB001443.htm

What this post does not mention is that you cannot use USB drive to do the backup, you always have to keep your finger cross this tool can burn the image... why in the world can't you create a simple iso image...

Wednesday, January 26, 2011

Time to change my mac mini G4 harddrive

After carefully following the guide:

http://www.ifixit.com/Guide/Repair/Installing-Mac-mini-PowerPC-Hard-Drive/268/4

I tried it on mine:



I simply re-order the exact same one from amazon.fr:

Western Digital - Scorpio Blue WD800BEVE - Disque dur Interne 2,5" - PATA - 5400 tours/ min - Mémoire cache 8 Mo - 80 Go

http://www.amazon.fr/gp/product/B000RHTIZO/

Sunday, January 2, 2011

Reducing the size of a PDF

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen
-dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

That's it !

Happy New Year !