Monday, April 30, 2007

Problem with debootstrap at the USB pen driver.

It's not possible install basic linux with debootstrap in the USB pen driver with vfat/fat 32 because it don't support symbolic links.

Wednesday, April 25, 2007

Handling tags in the vim editor.

* How to create tags for your project?
Into project's source code directory, execute the follow command:
# ctags -R
It goes to generate the "tags" file in the current directory.

* How the vim editor find my tags files?
By default the vim search the tags file in the current directory,
where you run the vim editor, but
to set the path of the tags file,
you can put the follow line into the .vimrc file at home directory
of the user:
set tags="put here your tags file path"

* How to handle tags in the vim editor?
CTRL + ] t
o go to the file source with the first occurrence
of the tag that it's under the cursor.
g + ] to list all occurrences of the tags that it's under the cursor,
chose one by number at the left and press ENTER.

Wednesday, April 18, 2007

Enabling Kernel crypt with lvm support

If you have some problem with cryptographic support at the Kernel,
try these options.

On kernel source directory:
#make menuconfig

Device Drivers --->
... Multi-device support (RAID and LVM) --->
...... [*] Multiple devices driver support (RAID and LVM)
...... [M] Device mapper support
...... [M] Crypt target support

Wednesday, April 4, 2007

Compiling the Kernel with Composite Gadget support

On kernel source directory:
#make menuconfig
Device Drivers --->
... USB support --->
...... USB Gadget Support --->
......... [M] Composite Gadget Support
......... [M] Ethernet Gadget (with CDC Ether support)
............ [ ] RNDIS support (EXPERIMENTAL)
......... [M] File-backed Storage Gadget

In the first version the Composite Gadget has support for file storage and ether only.
Select RNDIS support to use your ether gadget in Windows OS for example.

After this
#make modules && make modules_install

Composite Gadget

The Composite Gadget is a gadget driver that implements a framework to work with multiples gadget functions together, e. g. file storage and ether together.