Autoload kernel module after device connected ?


How to autoload linux usbhid module after keyboard connected and unload it when disconnected ?

Trying saving some memory on standalone server without permanent connected keyboard. USB core compiled in kernel.

Useful links regarding magento develop

1. A growing list of articles plumbing the depths of the enigmatic, and increasingly dominant, Magento eCommerce System Alan Storm Magento Articles for Professional Developers

2.

Installation of Magento extension turns some files into a folder

During installation of extension or magento upgrade some files turned into a folder instead of file.

Path Example: app/code/community/PunchTab/Points/Block/Body/Script.php but it created Script.php folder instead of file under app/code/community/PunchTab/Points/Block/Body/

 Linux machine run Slitaz, Linux dolilive 2.6.37-slitaz-RAF #4 SMP i686 GNU/Linux
Magento 1.7.0.1

"Unfortunately, this packing and unpacking code hasn't been robustly tested across operating systems or against tar archives created with standard *nix tools. My problem with this code was archives created on my Mac OS system via tar wouldn't unpack correctly with Magento Connect's code on a system running linux.
Hard to track down, hard to report, hard to reproduce means hard to fix."

Long file names and Magento Connect extension packager

http://stackoverflow.com/questions/15751812/manual-installation-of-magento-extension-turns-every-file-into-a-folder

Tar Archive to Magento Connect

http://stackoverflow.com/questions/15471304/magento-making-folder-instead-of-file-when-new-extension-insatll


tar directory excluding certain files/folders

 
 
$ tar --exclude='file1' --exclude='patter*' --exclude='file2'
 
Source