Coming Soon: Fluppy for netbooks, widescreens, smallscreens

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#76 Post by jemimah »

I'm pretty excited I finally got the bluetooth applet to work! The applet is needed because it takes care of asking you for your pin when a device tries to connect. I've having a heck of a time making a working package though. Hopefully I'll sort it out soon.
Attachments
bluetooth.jpg
(9.83 KiB) Downloaded 2608 times

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#77 Post by jemimah »

Tempestuous recently posted some acpi scripts for the EEE but they didn't work all that well on atom EEEs so I've given them a bit of a makeover and added a lot of features. The hotkeys are slightly different on each model so if people want to test these I can make sure they work for everyone.

These scripts should make your hotkeys work, you computer suspend when you shut it, power down when you press the power button, and switch to powersave mode when you unplug it.

I plan to release an EEE Celeron version with the new features as well but I need to test that still.

Install the synclient below if you want your touchpad button to work (assuming you have a touchpad button). You need acpitool for suspending and cpufrequtils for performace/powersave mode. Installing Tempestuous' eee-control package will make the super-hybrid-engine key work.

You can also install lxtask (in the puppy4 repo) to make the task button work and zarfy for a nice resoluion changer. http://www.murga-linux.com/puppy/viewtopic.php?t=47603. If you want your bluetooth to work, I've posted the package here: http://www.murga-linux.com/puppy/viewtopic.php?t=47842 and the network manager thread is here: http://www.murga-linux.com/puppy/viewtopic.php?t=47838

Let me know what works for you and what doesn't.

Edit: This package now supports both Atom and Celeron EEEs. Acpitool is now required for proper functionality. Celeron users will need the eee kernel module for overclocking functionality.

Edit - 11/23 - Uploaded newest version. Overclocking celeron is now disabled because it hangs some celerons and is irrelevant on others. If you have a 630Mhz celeron you can comment the clocking code back in in the /etc/acpi/performance and /etc/acpi/powersave scripts.

Edit - 12/01/09 - Uploaded newest version.

note: With the stock kernel, toggling the touch pad won't work on elantech touchpads.
Attachments
acpid-1.0.10-Eee.pet
(15.57 KiB) Downloaded 827 times
synclient-0.14.6.pet
(5.89 KiB) Downloaded 820 times
cpufrequtils-005-i486.pet
(15.03 KiB) Downloaded 789 times
acpitool-0.5.1-i486.pet
(29.36 KiB) Downloaded 897 times
Last edited by jemimah on Tue 01 Dec 2009, 18:18, edited 5 times in total.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#78 Post by jakfish »

Looking forward to trying out your EEE Celeron version.

Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#79 Post by jemimah »

Ok jakfish. I updated it to work on both CPUs. Please let me know if all your hotkeys work.

If anyone downloaded the previous version, update to the new version as I found a couple bugs and made a couple improvements as well.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#80 Post by jemimah »

I've posted my experimental EEE kernel here:http://www.jemimah.net/files/linux/flup ... nel.tar.gz

This works on both my 1005HA and my 4G/701. It does not come with a lot of modules for external hardware devices at this point, but the basic stuff should work. I tried to make it as monolithic as possible for reliable hardware detection and faster booting, but I modularized anything I thought would need to be unloaded occasionally.

The tarball contains the initrd, the zp.sfs, and vmlinuz. You can install fresh or just replace the files of the same names in /mnt/home on a running puppy, reboot, and run depmod -a. You should have a recovery strategy planned in case this kernel won't boot your machine.

If you want to store your pupsave file on a usb drive, you need to boot this kernel with the usbwait=1 parameter so it will wait for your usb drives to load before booting. I also recommend adding the fastboot paramenter and using the pdev parameter. Your kernel line of your boot loader should look something like this depending on your hardware.:
kernel /vmlinuz pdev=/dev/sda1 pmedia=ideflash usbwait=1 fastboot
Ask if this doesn't make sense to you. Skipping the usbwait should save you about 10 seconds boot time. You can also save about another 10 seconds of usb waiting by using the attached rc.sysinit file (just uncompress and replace the one in /etc/rc.d).

I've attached the eee kernel module here. This is safe on a Celeron AFAIK, but it crashes my 1005HA so be careful with it if you have an Atom with a newer BIOS.
Attachments
eee.ko.gz
(2.94 KiB) Downloaded 712 times
rc.sysinit.gz
(7.54 KiB) Downloaded 721 times

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#81 Post by jakfish »

Wonderful. But I'm a little shaky with things bootable. Since I run 4.31 on a frugall install on a 4gb sd card, with no grub, where exactly should I put usbwait=1

Any other pointers for an sd card user would be much appreciated.

Looking very forward to this,
Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#82 Post by jemimah »

There should be a file called syslinux.cfg in the root directory of your SD card (or usb drive, they are the same thing). You can append extra parameters onto the end of the first line. It looks very similar to the grub configuration.

It is possible to boot from an SD card but put your save file on the HD, therefore skipping the usb wait, but avoiding the necessity of installing grub.

Another tip. If you have a Xandros EEE, you can use the existing grub bootloader to boot Puppy without messing up your Xandros install. Simply edit /boot/grub/menu.1st on sda1. To bring up the bootloader, press F9 during startup.

To get your Synaptics driver to work, you'll need to do this:
Some distributions come with an incomplete /dev directory. The driver needs the /dev/input/eventX device nodes. Try to create them manually if they don't exist already. (Look at /proc/bus/input/devices to figure out how many nodes you need.)

# mknod /dev/input/event0 c 13 64
# mknod /dev/input/event1 c 13 65
# mknod /dev/input/event2 c 13 66

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#83 Post by jakfish »

Thank you for your very clear instructions. At this point, the boot commands copy the 431.sfs to my 4gb sda drive, and then throws that file into RAM.

This shaves a full ten seconds of the boot time; even better, it shuts down puppy in about eight seconds, far faster than my original sd card setup.

Some problems, however, with my eee 900:

1) no wifi. Even with your acpid pets installed (I uninstalled the pets of tempestuous), ath5k won't load with network setup error: "error inserting ath5k. Invalid module format. Try another module."

2) no sound and alsamixer won't start with this error: "function snd_ctl_open failed for default: no such device or address" So I can't test if volume control works. Fan control does work, however

3) significant decrease in touchpad response. Very inaccurate arrow moving, making the closing of an app/file difficult indeed

But this looks very promising, and thanks for your hard work,
Jake

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#84 Post by jakfish »

Follow up: going with a fresh install (no pupsave file), I still have no wifi, network, and same error trying to install ath5k (without your pets installed).

Touchpad response still very poor.

Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#85 Post by jemimah »

Please post dmesg and lsmod output, and I'll see what I can figure out. Ath5k works fine on my computer so it's weird you get invalid format.

Hey are you sure you replaced the zp430305.sfs file? All the kernel modules are in there and if it's saying invalid format it seems like you are trying to load modules from the old kernel. If lsmod shows nothing and there are a lot of invalid module errors in dmesg, that is almost certainly what the problem is. I haven't tested this with 4.31 yet, but I can't imagine the kernel configuration changed much. Let me know if the fix for Synaptics I posted above fixes your touchpad.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#86 Post by jakfish »

Here you go, both outputs attached in txt file, zipped.

It's very difficult to do this, due to shaky touchpad. Any workaround for that?

Jake
Attachments
eee900output.zip
(7.55 KiB) Downloaded 517 times

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#87 Post by jakfish »

Addendum: for touchpad, when I run the mknod commands, I already have those directories/etc. made. Should I be doing something else?

As for the zp430305.sfs file, I replaced everything with what I downloaded.

Also, can you give me the command to make a pupsave file. This is the only change I've made so far in boot commands:

kernel /vmlinuz pdev=/dev/sda1 pmedia=ideflash fastboot

But I'm not getting the opportunity to save session (since I'm now working with a fresh install)

Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#88 Post by jemimah »

It's definitely picking up kernel modules from the old kernel somehow. I wonder if 4.31 moves some kernel modules back into the main sfs. Can you try it with 4.30 instead? Make sure the old initrd and zp.sfs files are completely gone.


This is exactly what I do to fix the touchpad driver:

Code: Select all

mknod /dev/input/event4 c 13 68
mknod /dev/input/event5 13 69
mknod /dev/input/event6 c 13 70
mknod /dev/input/event7 c 13 71
mknod /dev/input/event8 c 13 72
mknod /dev/input/event9 c 13 73
mknod /dev/input/event10 c 13 74
You need to restart X after doing this. Send me /var/log/Xorg.0.log if that doesn't work.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#89 Post by jemimah »

also if you're booting from flash you probably want:

Code: Select all

kernel /vmlinuz fastboot usbwait=1
Let's skip the other parameters until everything works. Their only function is to speed things up. It should ask if you want a save file. It might not if you don't have an available drive with a lot of free space.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#90 Post by jakfish »

Okay, I see one problem: the zp430305.sfs is incorporated into 431.sfs. I must've had it left over from a previous 4.3 installation.

Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#91 Post by jemimah »

It is possible to edit the new sfs to delete those modules out and put in the new ones. Do you want to try that? or just use 4.30? This wasn't supposed to be this difficult. :)

I've been researching Elantech touchpads found out some things. First, the old kernel doesn't seem to have the Elantech driver in it and my new one does. Second the Synaptics driver included with puppy is too old to know what to do with the Elantech driver. Did edge scrolling and stuff work for you on the old kernel? I've built a newer version of the synaptics driver that might fix your problem if the mknod thing doesn't do it.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#92 Post by jakfish »

xorg won't work in initial setup w/ 430/frugall fresh install/eee900 no matter what resolution is chosen.

Jake

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#93 Post by jakfish »

Since 4.30 is somewhat history, and I'm having trouble even getting the video right, I would prefer to test 4.31 if possible.

Best,
Jake

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#94 Post by jemimah »

You'll need this.
http://www.murga-linux.com/puppy/viewtopic.php?t=47469

I'll tar the modules for you and give you instructions soon. It would be helpful if you could find out what the error was for 4.30 by checking /tmp/xerrs.log You can probably boot into Xvesa to to check this.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#95 Post by jemimah »

Ok edit the main sfs-file and delete the /lib/modules/2.6.30.5 directory. I think that should be enough to make it load the zp.sfs file and see the new modules. If not, it might be best to wait until I upgrade to 4.31 so I can tell you for sure.

Post Reply