[tlinux-users:08866] Re: Support of a Satellite A100-153?

zentara <[email protected]> Mon, 4 Feb 2008 14:21:03 -0500
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
On Mon, 4 Feb 2008 15:43:00 +0100
"Alexander Erlich" <[email protected]> wrote:

>Hi Renato,
>
>Try use omnibook driver:
>> Get it with svn (in Debian, tha package that offer svn is named
>> "subversion"):
>>
>> svn co http://omnibook.svn.sourceforge.net/viewvc/omnibook/omnibook/trunk
>>
>> With this action, you get last version of omnibook.
>>
>> To install, is enough run "make install" (without ./configure and "make")
>
>
>thank you!
>
>But I feel rather swamped trying to find what to do what and what to

Hi, sorry to jump in here unexpected, but you seem to have some serious questions,
which may cause you some trouble.

I installed omnibook almost a year ago, and did run into some glitches.
I'll try to comment from my memory.

>install... Using SuSE 10.2, I thought about rpms, so I tried
>http://search.rpmseek.com/search.html (searching fo 'omnibook'). Which of
>these packages do I need? I have a 2.6.18.2-34-default kernel. Is it
>actually "dangerous" trying to install omnibook? 

>Having installed it, do I 
>have to activate it, and can I deactivate it later? Presently, I really 
>depend on my notebook, so I worry about changing something fundamental. 
>
>keenPenguin


You can uninstall it it if you want, it's not dangerous. You will get an
omnibook.ko module put into your kernel's module tree. You may have
to manually copy it into the module tree( I did anyways)

You can test it first. Install it, then do "modprobe omnibook"
If you want it removed, "modprobe -r omnibook"

I did run into an incompatibility problem. You can install omnibook
on the latest kernels( last time I tried), but the 2.6.18 kernel worked.

This is all from a year old memory of doing it, so things may have changed.

zentara

You are better off building your own from source, instead of a prebuilt rpm.
Here are the notes I kept for installing it from the source code. 

Installation instructions for omnibook module                                             
                                                                                          
   How to install omnibook module from its sources on 2.6 series kernels.                 
    1. You must have full configured source for the Linux kernel which you                
       want to use for the omnibook module. Note that omnibook module is                  
       part of the kernel, so there is necessary to resolve all symbol                    
       dependencies between the used kernel and omnibook code. Partly                     
       installed kernels (for example from distributor makers) can be                     
       unuseable for this action. You need GNU make and C compiler (gcc).                 
    2. Run `make install' as the super-user. This will install omnibook.ko                
       kernel module into modules directory of your currently running                     
       kernel (usually in /lib/modules/version_of_your_kernel). You may                   
       install and load the module with `make load' command. In this case                 
       you may skip Step 3.                                                               
    3. Load the installed module with `modprobe omnibook' command. It will                
       enables the OmniBook features on your machine. To unload module                    
       issue an `modprobe -r omnibook' command. It will disable the                       
       OmniBook features and unload the module.                                           
    4. (Optional) Add necessary module options to your /etc/modprobe.conf                 
       or in a file in /etc/modporbe.d/. E.g.: "options omnibook apmemu=1                 
       dock=1 user=1"                                                                     
    5. (Optional) Edit your startup scripts (eg. /etc/rc.local,                           
       /etc/rc.modules or /etc/modules) to load this module at boot time.                 
                                                                                          
How to integrate omnibook module to kernel sources?                                       
                                                                                          
   Run in the directory where you previously extracted the omnibook module                
   sources:                                                                               
make kpatch KSRC="/patch/to/kernel/source"                                                
                                                                                          
   Configure and compile your kernel as usual. If you use `make                           
   menuconfig', the omnibook module config options are in `Processor type                 
   and feature'.   



-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html