samedi 31 décembre 2011

Logiciel bien pratique pour acceder à ses partitions ext2,3 et 4 depuis windows 7. apparement seuls l'ext2 et l'ext3 sont en accessible en écriture, l'ext4 uniquement en lecture, pour l'instant...
http://www.ext2fsd.com/?page_id=16 
Comment rendre visible le partage réseaux  de votre NeufBox (HDD et clé usb qui y sont connecté) sur Win7 :

-1 Ouvrir l'icone "ordinateur" ( anciennement "poste de travaille" ).
-2 Au centre de l’écran sur la barre supérieur cliquer sur connecter un lecteur réseau.
-3  Dans la case Dossier, inscrire l'adresse de votre NeufBox, pour moi //192.168.1.1/ suivit du nom de partage qui a été inscrit dans la rubrique  "partage de fichiers"  de l'onglet "Applications" de la box ex:  //192.168.1.1/ntfs .

bon bientot la nouvelle année.
me suis pris un nom de domaine www.pierrehenrilegros.fr.
Aujourd'hui je range et je me rend compte que le technicien qui a inventé la prise vga etait completement CON: les fameuse visse ou tout les file se bloque dedans et c'est comme l'ethernet quelle merde.
Enfin un sacré paquet de connard.

vendredi 30 décembre 2011

dimanche 11 décembre 2011

reinstaller grub


sudo fdisk -l                      # pour vous aider à trouver la partition sur laquelle est votre ubuntu
sudo mount /dev/sdaX /mnt          # montage de celle-ci en remplaçant le X par le bon numéro de partition
sudo mount --bind /dev /mnt/dev    # lien symbolique du dossier /dev en cours d'utilisation vers le disque monté
sudo mount -t proc /proc /mnt/proc # Pour que Grub2 trouve /proc/mounts
sudo chroot /mnt /bin/bash         # mise à la racine du disque monté
apt-get install grub-pc            # installation du logiciel Grub2 (sur le disque maintenant à la racine)
update-grub                        # création d'un nouveau fichier de configuration : grub.cfg
grub-install /dev/sda              # installation de grub sur le MBR

si la derniere commande ne passe pas : grub-install --force /dev/sda

Puis pour demonter le disque :
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt


Et enfin apres avoir rebooter : sudo update-grub pour recupérer le bootloader de windows.

Intégrer Fatrat à Chrome

lundi 21 novembre 2011

Astuce activation Bluetooth sur ralink rt 5390 combo card

Si le bluetooth ne detecte aucun periphérique mettre ça en terminal et rebouter : (sudo) bccmd psset -s 0x0000 0x028c 0x0001

astuce trouvé sur http://ubuntuforums.org/showthread.php?t=1703941

mais uniquement en anglais.

vendredi 4 novembre 2011

Modifier les groupes d'utlisateurs en manuel.

Pour par exemple modifier le groupe d'utlisateur virtualbox sur UOO : "vboxuser" ouvrir un shell et editer /etc/group par exemple gedit /etc/group , rechercher la ligne correspondante : " vboxusers:x:128:" et y rajouter son nom d'utilisateur moi c'est eis donc je rajoute "vboxusers:x:128:eis" esi a la fin et puis pour ajouter d'autre utlisateur mettre simplement une virgule : "vboxusers:x:128:eis,gerarmenvu,...".

mercredi 15 juin 2011

HOW-TO Setup PS3 BD Remote

http://www.mythtv.org/wiki/Sony_PS3_BD_Remote
http://wiki.xbmc.org/?title=HOW-TO_Setup_PS3_BD_Remote


Installation

BlueZ

Note: Newer versions of bluez have been released which appear to have this patch already. I didn't need to patch 4.63 to get BD working on ubuntu 10.04
Note: Kitlaan now has patches up to Bluez-4.69, and the patch is required for 4.64 - 4.69
The latest versions of the patch are available at: http://kitlaan.twinaxis.com/projects/bluez-ps3remote/
sudo apt-get purge bluez
cd /usr/local/src
wget http://kitlaan.twinaxis.com/holdingcell/bluez_ps3remote.diff
wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.58.tar.gz
tar xvfz bluez-4.58.tar.gz
cd bluez-4.58
patch -p0 < ../bluez_ps3remote.diff
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=bluez --pkgversion "4.58-patched"
Or, using kitlaan's PPA:
sudo apt-get purge bluez
sudo echo deb http://ppa.launchpad.net/kitlaan/ppa/ubuntu jaunty main >> /etc/apt/sources.list
sudo echo deb-src http://ppa.launchpad.net/kitlaan/ppa/ubuntu jaunty main >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6F7177CC
sudo apt-get update
sudo apt-get install bluez
Of course, replace "jaunty" with the name of your distribution.

Kernel module

Check if the uinput module is running:
lsmod | grep uinput
If that's not the case:
sudo modprobe uinput
echo uinput >> /etc/modules

Pairing

Please note that the pairing script requires that the dbus-python and pygobject python modules are installed. They are normally installed on a default 9.04 Jaunty. (If you need them added, apt-get install python-dbus and python-gobject.)
cd ~
wget http://kitlaan.twinaxis.com/projects/bluez-ps3remote/ps3pair.tar.gz
tar xvfz ps3pair.tar.gz
cd ~/ps3pair
sudo python ps3_pair.py
Now press START+Enter on your PS3 remote for at least 7 seconds, then it should detect the remote. Then run
/usr/share/doc/bluez/examples/list-devices
to verify that the remote is paired (and connected). If list-devices is not installed into /usr/share, check the bluez source tree, it should be in there. Also, running
cat /proc/bus/input/devices | grep emot
should show the remote. If it does not show up, you may not have the uinput module loaded.
Then customize the file "/etc/bluetooth/input.conf" for button mappings and timeout values (Example here). At this point, the remote should connect (and auto-disconnect after a timeout, if configured). The d-pad is probably the best way to test it within xbmc. If you have a terminal active, pressing the number buttons should type the number.
Note: - The pairing scripts are not required by some distro's - just install Blueman and setup your BD remote as an input service and trust the device - this way you dont explicitly need to pair the device - it simply becomes a keyboard extension. The input.conf below will take care of key mapping.

Example input.conf

A more advanced bluetooth input.conf is probably lurking in the depths of this thread, however here's an example to get you started. The first thing you'll need to change in this is your BD Remote's hardware address (i.e. change 00:1E:3D:B6:12:7E to your remote's address)
# input.conf - kitlaan custom
# Configuration file for the input service

# This section contains options which are not specific to any
# particular interface
[General]

# Set idle timeout (in minutes) before the connection will
# be disconnect (defaults to 0 for no timeout)
#IdleTimeout=30 



# This section contains options that are specific to a device
[00:1E:3D:B6:12:7E]
#
# Set a custom idle timeout (in minutes) for this device
IdleTimeout=1   



# This section is the PS3 Remote keymap.  It is loaded when bluez starts.
# Use 'uinput.h' from bluez sources or '/usr/include/linux/input.h' for
# a list of possible KEY_* values.
#
[PS3 Remote Map]
# When the 'OverlayBuiltin' option is TRUE (the default), the keymap uses
# the built-in keymap as a starting point.  When FALSE, an empty keymap is
# the starting point.
#OverlayBuiltin = TRUE
0x16 = KEY_E              # EJECT
0x64 = KEY_A              # AUDIO
0x65 = KEY_Z              # ANGLE
0x63 = KEY_T              # SUBTITLE
0x0f = KEY_DELETE         # CLEAR
0x28 = KEY_GRAVE          # TIMER
0x00 = KEY_1              # NUM-1
0x01 = KEY_2              # NUM-2
0x02 = KEY_3              # NUM-3
0x03 = KEY_4              # NUM-4
0x04 = KEY_5              # NUM-5
0x05 = KEY_6              # NUM-6
0x06 = KEY_7              # NUM-7
0x07 = KEY_8              # NUM-8
0x08 = KEY_9              # NUM-9
0x09 = KEY_0              # NUM-0
0x81 = KEY_F7             # RED
0x82 = KEY_F8             # GREEN
0x80 = KEY_F9             # BLUE
0x83 = KEY_F10            # YELLOW
0x70 = KEY_I              # DISPLAY
0x1a = KEY_S              # TOP MENU
0x40 = KEY_M              # POP UP/MENU
0x0e = KEY_ESC            # RETURN
0x5c = KEY_C              # TRIANGLE/OPTIONS
0x5d = KEY_BACKSPACE      # CIRCLE/BACK
0x5f = KEY_TAB            # SQUARE/VIEW
0x5e = KEY_SPACE          # CROSS
0x54 = KEY_UP             # UP
0x56 = KEY_DOWN           # DOWN
0x57 = KEY_LEFT           # LEFT
0x55 = KEY_RIGHT          # RIGHT
0x0b = KEY_ENTER          # ENTER
0x5a = KEY_F1             # L1
0x58 = KEY_F2             # L2
0x51 = KEY_F3             # L3
0x5b = KEY_F4             # R1
0x59 = KEY_F5             # R2
0x52 = KEY_F6             # R3
0x43 = KEY_HOMEPAGE       # PS button
0x50 = KEY_INSERT         # SELECT
0x53 = KEY_HOME           # START
0x33 = KEY_R              # SCAN BACK
0x32 = KEY_PLAY           # PLAY
0x34 = KEY_F              # SCAN FORWARD
0x30 = KEY_PAGEUP         # PREVIOUS
0x38 = KEY_STOP           # STOP
0x31 = KEY_PAGEDOWN       # NEXT
0x60 = KEY_COMMA          # SLOW/STEP BACK
0x39 = KEY_PAUSE          # PAUSE
0x61 = KEY_DOT            # SLOW/STEP FORWARD
0xff = KEY_MAX

Troubleshooting

Pairing

After pairing, running
cat /proc/bus/input/devices | grep emot
doesn't list your device, and you've got uinput loaded
lsmod | grep uinput
  • Install blueman
    sudo apt-get install blueman
  • Open System->Preferences->Bluetooth Manager.
  • If your device is listed (it should be), right click it and select Input service.
  • Go to a terminal and try pushing some buttons on the remote, it should work.