LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-20-2007, 05:06 AM   #16
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31

I actually compiled my psmouse into the kernel instead of making it a module. So I don't have the module file to give. I don't even know if that would work. I guess it'd depend on our kernel versions.

There's a lot of support for compiling kernels on the net, so don't be discouraged about it, and don't think it's such an enormous task. Believe me, I've compiled more than my fair share of them.

If you want to, I can give some pointers on it.

Sam
 
Old 05-22-2007, 03:20 PM   #17
elect
LQ Newbie
 
Registered: Apr 2007
Posts: 15

Original Poster
Rep: Reputation: 0
I have recompiled all the kernel, but i have so many problems, wireless, splash screen, etc....
But the touchpad works!! Thanks so much..
At this step, i can drag and drop the module in the old kernel? Should it work?
 
Old 05-22-2007, 04:53 PM   #18
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Ok, if the kernel versions are the same, and you gave the kernel you compiled a custom extension name (and I hope you did), then MAYBE.

You need to make sure that the original kernel does have its psmouse compiled as a module, and not built-in, like mine is - otherwise you cannot replace it. Only replace the old psmouse with the new psmouse. Don't just copy the module if you can't find the old psmouse.ko.

And, make sure you back up the original psmouse.ko, in case this doesn't work.

Then, just to make sure, run 'depmod -a'

Now reboot, and find out if this worked.

Sam

PS
The reason behind the custom extension name is so that the new kernel you built installs with its own name, and in its own directories, so it won't overwrite the original kernel or its modules. If you did overwrite the original kernel, then just re-install it from the package manager.

Last edited by samstar; 05-22-2007 at 04:56 PM.
 
Old 05-23-2007, 05:23 AM   #19
elect
LQ Newbie
 
Registered: Apr 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by samstar
Ok, if the kernel versions are the same, and you gave the kernel you compiled a custom extension name (and I hope you did), then MAYBE.

You need to make sure that the original kernel does have its psmouse compiled as a module, and not built-in, like mine is - otherwise you cannot replace it. Only replace the old psmouse with the new psmouse. Don't just copy the module if you can't find the old psmouse.ko.

And, make sure you back up the original psmouse.ko, in case this doesn't work.

Then, just to make sure, run 'depmod -a'

Now reboot, and find out if this worked.

Sam

PS
The reason behind the custom extension name is so that the new kernel you built installs with its own name, and in its own directories, so it won't overwrite the original kernel or its modules. If you did overwrite the original kernel, then just re-install it from the package manager.
I recompiled a new kernel called "Custom"...no problem with that old one.

BTW, I tried to sostitute the psmouse.ko, but with no success...
I tried with the whole /mouse too, but the result was the same..

What can i do?
I have Ubuntu, and I notices that the sources kernel is 2.6.20.3, now the last one....
 
Old 05-23-2007, 06:38 AM   #20
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Did you run 'demod -a' as root? Afterwards, manually load it with 'modprobe psmouse'. If it errors, check what the error is.
 
Old 05-27-2007, 11:01 PM   #21
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Hey elect, did you get it working? Sorry, above I meant 'depmod -a'. Slip of the finger

I had one other idea, which was to copy the config of the original kernel to the kernel source (remember to replace the used kernel source with a fresh one from the archive), do not modify it, issue 'make', do NOT issue 'make install' nor 'make modules_install'. Instead, look for the psmouse.ko module inside the source, and replace the original psmouse.ko with that one. That's just to ensure maximum compatibility with your kernel.

Sam

PS. Still waiting for a distro which defaults with a 2.6.22 kernel
 
Old 05-30-2007, 12:21 PM   #22
elect
LQ Newbie
 
Registered: Apr 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by samstar
Hey elect, did you get it working? Sorry, above I meant 'depmod -a'. Slip of the finger
Yes yes, dont worry, i tought it was a slip

Quote:
Originally Posted by samstar
I had one other idea, which was to copy the config of the original kernel to the kernel source (remember to replace the used kernel source with a fresh one from the archive), do not modify it, issue 'make', do NOT issue 'make install' nor 'make modules_install'. Instead, look for the psmouse.ko module inside the source, and replace the original psmouse.ko with that one. That's just to ensure maximum compatibility with your kernel.

Sam

PS. Still waiting for a distro which defaults with a 2.6.22 kernel

If u mean to use the same settings of the official kernel before compiling the new one I typed "sudo make oldconfig" (...it should be right)
I dont understand very well what to do with the psmouse.ko.....
 
Old 05-30-2007, 01:56 PM   #23
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Yeah, usually I don't really trust 'make oldconfig' to use the same settings. I always look for the config file that the distribution leaves in the /boot directory to copy as the .config to use.

What I meant was, since you'd be making the exact same kernel (except for the lifebook patch), there'd be little to no difference in modules. But I didn't want you to install it because I didn't want you to overwrite your tried-and-true kernel. So, just issue 'make'. The psmouse.ko module will be built during the time. When make is done, search the source tree for psmouse.ko, and replace the old one in /lib/modules with this new one.

Sam
 
Old 06-01-2007, 04:58 PM   #24
elect
LQ Newbie
 
Registered: Apr 2007
Posts: 15

Original Poster
Rep: Reputation: 0
I think Im getting love u, sam I GOT THOUCHPAD WORKING PROPERLY!!!! (with the default kernel, 2.6.20)

Now plz show me how to do with hotkey


Quote:
Originally Posted by samstar
Yes, I got lcd brightness buttons, suspend buttons, keyboard brightness buttons, mute, and volume buttons to work by using the Panasonic Hotkey drivers, located here:

http://www.da-cha.jp/letsnote

I couldn't compile the GUI provided because openSUSE 10.2 uses Berkeley's database 4, and the GUI needs version 3 to compile.


Sam

There are so many think: Driver package, Hotkey handlers, updated hotkeys utility, Kernel patches, hotkey drivers, video switch drivers...

Can u explain me in a easy way plz?
 
Old 06-01-2007, 06:40 PM   #25
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
Glad you got it working. Thanks for letting me know, I was real curious if it would work or not.

Getting the hotkeys to work is actually the easy part. I didn't spend much time configuring them, though, so all I got to work was the volume controls, sleep buttons, and LCD brightness. There are two options: you can patch the kernel sources and recompile it (I doubt we want to go through that again), or build the module and install the acpi scripts.

So get their packages: pcc-acpi-0.9.tar.bz2 , hotkey-handler-1.4.tar.gz , ac-power-handler-1.0.tar.gz , hotkeys-0.6.1.tar.gz , hotkeys.conf

(you might want to make sure you don't already have a "pcc-acpi" module before doing these steps) Open pcc-acpi-0.9.tar.bz2, issue 'make' and 'make install'. This will build and install the module for you. Then, just like before, run "depmod -a". Now you can load the module any time. It will be called "pcc-acpi".

Now, extract the handler packages to '/etc/acpi' (or wherever acpid keeps its configuration in Ubuntu)

From here, I was able to get the aforementioned hotkeys to work. I couldn't build the hotkeys utility because my suse distro didn't come with the right database. You can still try, though.

Open the package hotkeys-0.6.1.tar.gz. Issue './configure', 'make', then 'make install'. Since you have Ubuntu, though, maybe you can use their .deb package instead.

Rename the hotkeys.conf file to ~/.hotkeys

Now you can execute it with 'hotkeys -t pcc'. Maybe you can add this to your Gnome startup scripts, I think in the session configuration.

That should be it.

Sam
 
Old 07-11-2007, 01:57 AM   #26
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Just downloaded 2.6.22 kernel and compiling it on my CF-18. We'll see how our work to psmouse is working Looking really forward to see this touchpad/touchscreen issue sorted out.

In a meanwhile, I just ordered CF-19 for our company. We'll see if I get a change to try Linux on that one.

I've been trying to contact also to Panasonic to have their official statement regarding Linux support - no luck so far..
 
Old 07-13-2007, 09:04 AM   #27
Westfedora
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Question Touchscreen on CF-M24

There has been some good info for the cf-18. However I have acquired a few cf-m24's for a variety of purposes and Linux Fedora core 6 has been running great with the exception of touchscreen functionality.

I am pretty darn new to the linux world, never compiled a kernal...
I have tried following the gunzets patch but the instructions have me baffled. So far I have added the commands for the xorg file even though the patch was set up for the xfree86 file. I guess they are compatible. Touchscreen enabled in bios. No luck. I am stuck on the gunzets I think this is my last key to operability. Any advice would be appreciated, again, I am pretty linux illiterate so elementary descriptions really appreciated!

Super big thanks in advance!

Cheers
Wes
 
Old 07-14-2007, 01:01 AM   #28
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by PPaFin
Just downloaded 2.6.22 kernel and compiling it on my CF-18. We'll see how our work to psmouse is working Looking really forward to see this touchpad/touchscreen issue sorted out.
Compiled it ok and touchpad is working indeed. But they have changed whole wireless stack in 2.6.22.
So, when I got touchpad working, I lost my wireless ((ipw2200). I will return from holidays next week and after that IŽll take a look at this.

OT: IŽve been enjoying vacation with CF-18 with 16 GB flash harddrive! It`s great, since it is fast and totally shock proof! I highly recomend that for serious usage.
 
Old 07-16-2007, 03:09 AM   #29
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
Quote:
Originally Posted by PPaFin
Compiled it ok and touchpad is working indeed. But they have changed whole wireless stack in 2.6.22.
So, when I got touchpad working, I lost my wireless ((ipw2200). I will return from holidays next week and after that IŽll take a look at this.
Ok, I managed to get it working. What I did, was about the following;

1. Backup my user folder
2. Fresh install of Kubuntu 7.04
3. Kernel compilation and installation:
* As described in: http://www.howtoforge.com/kernel_compilation_ubuntu
* Except I did not copy 'old' .config (as was in instructions)
4. Download IPW2200 & firmware from http://ipw2200.sourceforge.net/
5. Installing those (as in INSTALL file)

It works, touchpad and wireless

There was couple of kernel panics when I tried to boot first time, reason for those was unclear and still is. I think it might relate to attached USB cd-rom drive I was using to install.
 
Old 07-16-2007, 06:54 AM   #30
PPaFin
LQ Newbie
 
Registered: Mar 2007
Location: Helsinki, Finland
Distribution: Various
Posts: 25

Rep: Reputation: 15
CF-18 with 2.6.22, ipw2200 - works, but kernel panics

Quote:
Originally Posted by PPaFin
There was couple of kernel panics when I tried to boot first time, reason for those was unclear and still is. I think it might relate to attached USB cd-rom drive I was using to install.
CF-18 with 2.6.22 is working, but it has now had one more kernel panic and I have no clue what is wrong with it.

Only thing indicating is flashing leds, KDE freezes and I cannot check any output what's wrong with kernel?

Strange, really strange and first time for me. Any ideas?

EDIT: Ok, I managed to get it reproduced. It happens when I am touching to screen. I have picture of kernel msg on display, when that happens. So touchpad is working, touching the screen produces kernel panic!

Last edited by PPaFin; 07-16-2007 at 06:56 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Panasonic Toughbook CF-29 Touch Screen Richard Craneum Linux - Laptop and Netbook 213 12-31-2011 01:21 AM
Touchscreen - Panasonic Toughbook CF-29 Azizcoos Linux - Hardware 14 04-26-2007 06:51 AM
Panasonic ToughBook Wireless ultrabots2002 MEPIS 1 06-01-2005 10:34 AM
Sound on Panasonic CF-27 Toughbook erraticassassin Linux - Hardware 2 12-02-2004 01:32 PM
Replacing Mandrake with Slack on a Panasonic Toughbook erraticassassin Slackware 5 07-04-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration