no keyboard, laptop Mebius by Sharp

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
helmetz
Posts: 2
Joined: Wed 29 Oct 2008, 13:26

no keyboard, laptop Mebius by Sharp

#1 Post by helmetz »

Hi,

I got this mebius from Sharp with an AMD Duron inside (it s a japanese machine, I mean in Japan).

Thing is "Enter" key and few others was broken, so I'm moving it with an USB keyboard.

Problem is with Puppy, on default, you need to press "Enter" to boot Linux Kernel and get the OS working.

So, I was wondering if smby could teach how to write few lines on the GRUB or where you need it for Puppy to boot automatically.

Or tell me where I should search coz I searched a little bit and didn't find.

Thanks a lot.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

As you are talking about grub I assume that you have grub installed to the machine already.
You will need to add to the kernel line in menu.lst
pkeys=jp (or whatever your keyboard code should be)

The bigger problem is hardcoding an xserver to start
you will need to edit the pup_411.sfs squash file
an sfs squashfs filesystem can only be mounted read-only so you will need to copy its contents somewhere, edit and then rebuild the squash file. I achieved this by editing usr/sbin/xorgwizard and hardcoding it so that it didn't show a choice between xorg and xvesa at about line 300. Just after this I hardcoded
STATUS=1
I'm sure there are neater ways and this hardcodes Xvesa. If you want to swap to xorg after booting the change will need undoing and then you will need to rerun xorgwizard.

I then rebuilt the sfs file using
mksquashfs unpack_dir pup_411.sfs

It might be easier to achieve this second step by editing the real xorgwizard on a running puppy and then doing a remaster.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

helmetz
Posts: 2
Joined: Wed 29 Oct 2008, 13:26

thanks a lot, I'll try it tomorrow

#3 Post by helmetz »

by the way I realized I forget to tell:
the USB keyboard is not recognized when you start Puppy and get the blue screen where you have few choices like editing grub, running puppy on hda, etc etc...

I'll tell you the result.

Anyway really thanks to answering so fast!

Post Reply