Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 00:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Coming Soon: Fluppy for netbooks, widescreens, smallscreens
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 10 [149 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Next
Author Message
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 14 Oct 2009, 10:31    Post subject:  

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.
bluetooth.jpg
 Description   
 Filesize   9.83 KB
 Viewed   2341 Time(s)

bluetooth.jpg

Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 17 Oct 2009, 13:00    Post subject:  

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.
acpid-1.0.10-Eee.pet
Description 
pet

 Download 
Filename  acpid-1.0.10-Eee.pet 
Filesize  15.57 KB 
Downloaded  622 Time(s) 
synclient-0.14.6.pet
Description 
pet

 Download 
Filename  synclient-0.14.6.pet 
Filesize  5.89 KB 
Downloaded  571 Time(s) 
cpufrequtils-005-i486.pet
Description 
pet

 Download 
Filename  cpufrequtils-005-i486.pet 
Filesize  15.03 KB 
Downloaded  585 Time(s) 
acpitool-0.5.1-i486.pet
Description 
pet

 Download 
Filename  acpitool-0.5.1-i486.pet 
Filesize  29.36 KB 
Downloaded  658 Time(s) 

Last edited by jemimah on Tue 01 Dec 2009, 14:18; edited 5 times in total
Back to top
View user's profile Send private message Visit poster's website 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sat 17 Oct 2009, 13:02    Post subject:  

Looking forward to trying out your EEE Celeron version.

Jake
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 17 Oct 2009, 15:50    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 17 Oct 2009, 18:13    Post subject:  

I've posted my experimental EEE kernel here:http://www.jemimah.net/files/linux/fluppy-eee-kernel.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.:

Quote:

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.
eee.ko.gz
Description 
gz

 Download 
Filename  eee.ko.gz 
Filesize  2.94 KB 
Downloaded  502 Time(s) 
rc.sysinit.gz
Description 
gz

 Download 
Filename  rc.sysinit.gz 
Filesize  7.54 KB 
Downloaded  512 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sat 17 Oct 2009, 21:39    Post subject:  

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
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 17 Oct 2009, 21:57    Post subject:  

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:

Quote:

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
Back to top
View user's profile Send private message Visit poster's website 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 18 Oct 2009, 08:41    Post subject:  

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
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 18 Oct 2009, 08:54    Post subject:  

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
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 18 Oct 2009, 09:11    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 18 Oct 2009, 09:44    Post subject:  

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
eee900output.zip
Description 
zip

 Download 
Filename  eee900output.zip 
Filesize  7.55 KB 
Downloaded  323 Time(s) 
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 18 Oct 2009, 09:49    Post subject:  

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
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 18 Oct 2009, 10:08    Post subject:  

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:

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.
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 18 Oct 2009, 10:19    Post subject:  

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

Code:

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.
Back to top
View user's profile Send private message Visit poster's website 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 18 Oct 2009, 11:02    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 10 [149 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0884s ][ Queries: 12 (0.0060s) ][ GZIP on ]