Home
Forum
Help
Login
Register
XO Laptop Shop
Forum Staff
OLPC News
OLPC News Forum
»
XO Laptop
»
XO Hacks
»
Other Operating Systems
»
Puppylinux for the XO-1 and XO-1.5
Welcome,
Guest
. Please
login
or
register
.
Get your own OLPC -
Buy an XO laptop on eBay
!
Pages: [
1
]
2
3
4
...
28
« previous
next »
Print
Author
Topic: Puppylinux for the XO-1 and XO-1.5 (Read 191982 times)
Puppylinux for the XO-1 and XO-1.5
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 18, 2010, 10:20:20 AM
Update
Aug 20, 2011:
XOpup-2.2
has been released
Oct 23:
The Puppy
Precise_5.4_XO
build is
now available
(Check the "visual history" of XOpup
HERE
)
XOpup-2.2 has
many
improvements and updates over XOpup-2.1 (and XOpup-2.2.RC) and is
faster
and friendlier than ever
Please,
do see
the
build announcement
and the
change log
to see the new features, functions, requirements and instructions.
To install (or update to) XOpup-2.2
:
- Make sure you have updated to the latest firmware (having
OLPC 10.1.3
or
OLPC 11.2.0
in your XO will suffice),
- Download the
XOpup-2.2.tar.gz
file (md5sum: a05a34ba7ddac575cba785eedcad5479),
- Expand it at the root of an ext2/ext3/vfat formatted USB or SDcard and
- Boot your
security disabled
XO-1 or XO-1.5.
--------------------------------------------------------------------------------------------------------
Update
Mar 9, 2011:
XOpup-2.1
has been released
XOpup-2.1 is a slimmed down version of XOpup-1.0 (and XOpup-2.0
) and now supports equally well the XO-1 and the XO-1.5
The main changes compared to XOpup-1.0 are:
Addition of Openbox/fbpanel window manager that is screen rotation aware
Screen, touchpad, Dpad and arrow-keys rotation
New XO-1.5 chrome video driver that supports rotation
XO camera support through the Guvcview application
A first attempt of a Spanish localization package (included in the download)
New olpc-2.6.35-based kernels for both the XO-1 and the XO-1.5 (a new 2.6.31 kernel for the XO-1 is also provided)
Jamesbond's new snapmergepuppy that dramatically decreases savefile and shutdown times
Shinobar's new "sfs_load on the fly" for loading and unloading sfs without reboot.
External monitor/projector, firewall, samba sharing and bluetooth support
Improvements in the puppyfile detection and the shutdown process
Better power management
Updated XO-version-specific Quickpet and PPM repo data
Updated Flash player
Trio's you2pup-2.1.2. Very handy, particularly on the XO-1
New XOpup-specific desktop backgrounds
"xopup"-based instead of "lupu"-based SFS names
Many more updates and under-the-hood changes
The main sfs file is now
only 88MB
!
See the
change log
for the changes from XOpup-2
To install XOpup-2.1
download the
XOpup-2.1.tar.gz
file (md5sum:800b9351753fe792a5e14c5c39e0fe16), expand it at the root of an ext2/ext3/vfat formatted USB or SDcard and boot your XO-1 or XO-1.5.
Please
do see the
build Announcement
for more info, requirements issues etc.
Note:
Some SDcards, particularly those reformatted may not work as expected.
Try the work around
from this post
--------------------------------------------------------------------------------------------------------
Update
Oct. 16, 2010 :
XOpup-1.0
has been released.
It has considerably increased stability running with a savefile and many other improvements, including 3G modem functionality!
Checkout detailed changes
here
Links on this post have been updated to the final XOpup-1.0 release.
--------------------------------------------------------------------------------------------------------
XOpup is for
both the XO-1 and the XO-1.5
laptops.
It has
no
special card/stick formatting requirement or anything else to adjust!
Please see the full
build announcement
for requirements, info and known issues
Has all the changes mentioned in this thread so far and more.
And of course a custom desktop
To install, download
XOpup-1.0.tar.gz
(md5sum: e01bced2c4d24677119291ec3a3ef501 )
expand it at the root of a VFAT or etx2/3 formatted USB stick or SDcard, load the stick/card on the XO-1 or XO-1.5 and boot!
If you prefer you can expand it anywhere you want, transfer the boot, boot10 and boot15 folders as well as the lupu-511.sfs file in any stick or card and boot!
You still need a
developer key
and
permanently
inactivate security
at the OFW prompt though.
Alternatively
, copy the /security folder with your developer key in it, from you XO to the XOpup USB/SDcard.
--------------------------------------------------------------------------------------------------------
And a personal note as a "tester" of XOpup
:
Although there are many ways to install XOpup and even with the new improvements, I find that is more stable (though not necessarily as fast) when installed in a good ext3 formatted SDcard and you choose to save in the entire partition. If this card also includes a swap partition is even better than having a swap file in the XOpup partition. If you want to use XOpup for more than just "testing", try this setup.
«
Last Edit: October 23, 2012, 03:57:37 AM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#1
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
anna
Master Contributor
Posts: 326
August 18, 2010, 04:14:07 PM
Thanks, mavrothal! I installed it this afternoon and been messing around. I did have a couple of issues, though.
Networking
So my XO could be eth0 instead of eth1, I removed this file and rebooted.
/etc/udev/rules.d/70-persistant-net.rules
Got connected OK, but the connection was kinda flaky and then wouldn't come up automatically after reboot. Reading some of the Lucid related bug reports on the Puppy forum, I installed the dhcpcd pet from here and now the connection seems to be more stable and is persistent on reboot.
http://puppylinux.org/wikka/dhcpcd
Browser
I tried to install Google Chrome from quickpet, which seemed to take an unusually long time. It wouldn't run from the menu, though, so I started it from terminal (/usr/bin/chrome) to see what was going on. Gave me "illegal instruction." So I removed that and installed Firefox. That wouldn't run from the menu either, so back to terminal to see what was wrong. It failed with an error (I can't remember what exactly). Running out of options, I installed Opera, which finally worked.
Multimedia
I installed SMplayer from the Puppy repo and opened an avi file from a USB drive. It was really, really slow and not really watchable, even with hard frame drop enabled. The same file played fine with mplayer -framedrop from command line. That's OK, though, as I'm used to playing stuff from a terminal. And I really can't complain since sound actually works now!
Except for the browser issue I had, all in all a great little XOPup!
Logged
#2
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
anna
Master Contributor
Posts: 326
August 18, 2010, 07:13:04 PM
The small fonts in the console were making my head hurt, so I googled around and found something to make it not so bad. Right click on the Console icon on the desktop. In the box provided for "Arguments to pass (for executables):" here's what I entered.
Code:
-fn "xft:Courier New:pixelsize=20" -fb "xft:Courier New:pixelsize=20"
It's still not ideal, but at least it's a lot more readable.
Logged
#3
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
Eddie Owens
Contributor
Posts: 94
August 18, 2010, 08:18:41 PM
EXCELLENT Mavrothal and Anna! Thanks to you both for all of your hard work!
I was in the home stretch of trying to put together a lupu5.1/xo-1 combo when I saw your post. I was having trouble with connecting to the wireless in my package...hadn't even gotten to testing sound yet with the "augmentation" of files that you folks have found to be useful.
So I have your xopup.tgz unpacked and up and running now. Looks good. I like your wallpaper. It's GREAT to hear the "2 barks" at bootup (after all of these months)!
The wireless connected on the first try. I downloaded Seamonkey and did a little browsing. It worked well.
I did seem to have a problem with with video resolution though. The native resolution that puppy picks is (I think) 1200 x 900, and the print size is a bit small for me. So I went to "Setup X Video" and clicked on "X" to run the Xorg Video Wizard. And then clicked on "Xorg Wizard", and then hit "Enter" for "probe". I then selected "C" for "1024 x 768", did "OK", "OK". The screen went dark for a couple of seconds and the new resolution came up (which was just about right for me) but the system (both mouse and touchpad) lost control of the pointer. Also almost nothing on the keyboard seemed to work. CTL-ALT-ERASE got me to a terminal, and lsmod showed that mousedev and psmouse were still in memory. "xwin" got me back to the desktop, but still no pointer control.
Speaking of font size, there is also the ability to set the font size directly: Desktop => Desktop Settings => Set Global Font Size. It does resize the fonts, but you have to restart the X server: Menu => Shutdown => Restart X Server (you don't loose mouse and touchpad doing this however).
Oh well! If there were no problems to solve, life would be boring!
Any idea what the specific file or files were, lack of which caused he alsa problem?
Logged
#4
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 19, 2010, 01:55:46 PM
still on borrowed flaky connection
Eddie edit /etx/x11/xorg.conf (re-written by the wizard) with "/dev/input/mice" instead of "/dev/mouse0"
Anna sorry have no videos with me and I doubt I can download anything big for a week or so. Though by then I'm sure you'll come up with the solution
A thought though, do you by any chance using the same stick/sd and have old files there?
«
Last Edit: August 19, 2010, 02:01:57 PM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#5
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
CobyHoff
Commenter
Posts: 5
August 19, 2010, 02:17:48 PM
I just said thank you on Murga-linux.com/puppy, but I'll say it again here. Thank you! I hope I get a chance to install it and check it out tonight! So excited for puppy on my XO!
Logged
G1G1 November 2007
#6
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 20, 2010, 07:26:04 AM
Eddie,
you may find out that geode in other resolutions has a bug waking up from suspend (vertical stripes) and you'll need to relaunch X to fix it. Also that xorgwizard does not have native XO resolution
So I took a better look at /usr/sbin/xorgwizard (and its tween xorg-setup) and introduced the following changes.
Change kbd default to pc104 in line 576
Fix the "dead" mouse problem commenting out lines 670 and 671
Add xo-1 choices as follows
Code:
#add line 868-9:
"X" "h31.5-74v48-52 XO-1 1200x900" \
"X1" "h31.5-74v48-52 XO-1 1200x900x24" \
#add lines 972-981 :
X) # "h31.5-74v48-52 XO-1 1200x900"
RECMODE="1200x900x16"
HORIZSYNC="31.5-74"
VERTREFRESH="48-52"
;;
X1) # "h31.5-74v48-52 XO-1 1200x900x24"
RECMODE="1200x900x24"
HORIZSYNC="31.5-74"
VERTREFRESH="48-52"
;;
#add to line 1011 ("for ONECHOICE in..."):
1200x900x16 1200x900x24
The revised xorgxizard is attached. Just expand replace the original with it.
Would be nice if someone (anna
) check to see if 16 vs 24 makes a difference in video playing.
Also if you want to fix the sound-up/F12 issue, comment out ( with <!--) line 40 in /root/.jwm/jwmrc-personal. You can still get the menu by alt-F1.
To fix the battery monitor launching add this (xo-batmon) script in /root/Startup
Code:
#!/bin/sh
xo_bat -g -0+0 &
and make it executable (chmod 755). Remove relevant entry from bottom of /root/.xinitrc if you want.
«
Last Edit: August 20, 2010, 10:28:57 AM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#7
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
Eddie Owens
Contributor
Posts: 94
August 22, 2010, 10:41:36 AM
Thanks Mav for all of your delving into the innards of Puppy.
Another problem for me: at the stock 1200x900 resolution, the cursor is so small that I keep losing it! Using Menu => Desktop => Desktop Settings => Global Font Size I can set the font size to an acceptable level, but this does not alter the cursor.
I know there is a Desktop Settings => Pcur Cursor Selector, but you have to go to the repositories to look for packages. All I want is to make the cursor bigger, not to have one that looks like a giraffe or rocket ship!
There are lots and lots of Desktop packages out there. Know of any that simply make the cursor larger?
Thanx!
Puppy is so POWERFULL and FAST for its size, everyone ought to try it!
Logged
#8
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 22, 2010, 02:06:52 PM
I'm cleaning up and fixing/polishing little things on the build besides the xorgwizard and dhcpd mentioned above and should have a better version asa I'm back to "internet world". Till then can someone tell me if Menu->Multimedia->Multimedia->Luvcview Web camera utility works? (my XO camera is broken again). If not, what is the message if launched from terminal (luvcview)?
Eddie, Check the puppy forum for cursor pets (and let us know
)
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#9
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
anna
Master Contributor
Posts: 326
August 22, 2010, 02:55:53 PM
Quote from: mavrothal on August 22, 2010, 02:06:52 PM
Till then can someone tell me if Menu->Multimedia->Multimedia->Luvcview Web camera utility works? (my XO camera is broken again). If not, what is the message if launched from terminal (luvcview)?
# luvcview
luvcview 0.2.6
SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
Frame format: YUYV (MJPG is not supported by device)
Frame size: 640x480
Frame rate: 45 fps (requested frame rate 30 fps is not supported by device)
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
EDIT: This brings up the webcam. So at least we know Puppy sees it OK.
Code:
mplayer -cache 128 -tv driver=v4l2:width=640:height=480 -vo x11 tv://
Include this in the above command and you can hit s to take a picture while the webcam is on. It saves it in your current working directory as a png.
Code:
-vf screenshot
«
Last Edit: August 22, 2010, 03:39:08 PM by anna
»
Logged
#10
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
Eddie Owens
Contributor
Posts: 94
August 23, 2010, 12:40:33 PM
Regarding cursor size in lupu510:
I went to PPM and looked under Desktop for "cursor themes" in ubuntu-lucid-main, ubuntu-lucid-multiverse, ubuntu-lucid-universe and puppy-lucid, and none seemed to have any cursor themes, at least under that name.
So I googled the problem and found mikeb's post (
http://208.109.22.214/puppy/viewtopic.php?p=278673&sid=daa714cb2097789bcafa54974fc4837e
) in response to someone with a similar problem. He posted a file big_cursor.tar.gz, which I downloaded to /root/ and per mikeb's instructions unpacked it there, so that the contents are included in /root/.icons.
And after Menu => Shutdown => Restart X-Server MAGIC! The cursor is larger! There is a whole bunch of files in the dir /root/.icons/Polar Cursor Theme, makes me wonder if each is perhaps a different cursor. But there was no selection process involved in what I did...after reboot the cursor was simply larger.
I have cross-posted about this issue on murga-linux.com, to see if someone might know how redirect "Pcur Cursor Selector" to /root/.icons/PolarCursorTheme to look thru these files so that a choice of cursors might be available.
Edit: PPM = Puppy Package Manager
«
Last Edit: August 23, 2010, 12:46:57 PM by Eddie Owens
»
Logged
#11
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
Eddie Owens
Contributor
Posts: 94
August 23, 2010, 03:40:17 PM
Well, puppy's murga-linux.com forum came to the rescue rapidly in regards to cursor themes.
Flash gave me a link to Pizzagood who provided us with this:
http://www.murga-linux.com/puppy/viewtopic.php?t=37852
link to a downloadable file with 25 cursor themes.
You can download the file to anywhere (I made a "Download" directory in /root/ and put it in there). The file is a ".pet" (dot pet). If you have not used one before, they are very handy. You simply go to the directory they are in, click on it, and it self-installs!
This one installs itself into /root/.icons. Notice this directory has a "." in front of it, so it is normally hidden...click on the eyeball in the bar at the top to see it and look inside.
Once the file is installed, Desktop => Desktop Settings => Pcur Cursor Selector has something to work with. In this group of 25 themes there are probably 4 or 5 large enough to be useful (just don't choose the big blue one...you can't see it against the blue wallpaper)!
After selecting the new cursor, go to Menu => Shutdown => Restart X Server to activate it.
Logged
#12
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 is here!
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 25, 2010, 11:14:18 AM
Quote from: anna on August 18, 2010, 04:14:07 PM
Browser
I tried to install Google Chrome from quickpet, which seemed to take an unusually long time. It wouldn't run from the menu, though, so I started it from terminal (/usr/bin/chrome) to see what was going on. Gave me "illegal instruction."
Apparently, there is a problem with the new
version of chrome
and older machines.
However you can still download the previous version for Lupu501 that works fine from here
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/Lucid_Puppy/Chromium-5.0.342-Lucid.pet
The only problem that this version has in lupu510, is that does not show at the menu (!?) You can start it from terminal with "chromium-browser" or better yet edit /usr/local/bin/defaultbrowser to "exec chromium browser @", then pressing the desktop browser icon will open chrome.
I had no problem with Firefox etc.
«
Last Edit: August 25, 2010, 12:40:53 PM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#13
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 -version 2
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 25, 2010, 12:12:33 PM
While out of network area I was cleaning-up/improving XOpup to v2.
Besides the xorgwizard, battery monitor and sound-up/F12 fixes mentioned above, I also integrated the dhcpcd-5.2.6-p5.pet from
http://puppylinux.org/wikka/dhcpcd
that anna suggested. It works much better. Autoconnects etc.
Integrated the latest official lupu510-update003
Increased global and terminal font size and added a bigger mouse cursor (whitelarge from the Lucid-cursors.pet).
Fixed the messed up "First run" screen
Add warnings on different puppy programs about XO-1 compatibility and removed a number of useless to XO-1 packages, like Grub and universal installer.
I also did A LOT (~5MB
) of cleanup
. Apparently in the excitement of the first build a lot of things were left behind. Nothing harmful or even private, but still...
A full change log is included in the tarball.
I also included some fdisk formatting instruction that may help people without another Linux machine, but the XO-1/Sugar combo.
The build looks nice. I installed several packages without problems except the Chromium Browser (see the above post)
The Download link of XOpup-v2 is at the
first post
of this thread.
«
Last Edit: August 25, 2010, 12:44:06 PM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
#14
Re: Puppy Linux Lucid 5.1 (lupu510) for the XO-1 - power management
mavrothal
Administrator
OLPC News Forum Expert
Posts: 1289
August 26, 2010, 01:23:44 PM
Quote from: mavrothal on August 18, 2010, 10:20:20 AM
2- Power management on inactivity is not activated
It is now
and actually works even better than on the XO-1 with F11/Sugar (os850+).
Just download the attached xopup_kbdshim-01.zip file (must be logged in) rename to .pet eg "xopup_kbdshim-01.pet" (forum policies do not allow other file formats) and just click on it. Done!
To set the timeouts open the terminal and type "powerd.config". A screen with appear and is pretty much self explanatory. You need to reboot or kill and restart "powerd" for the new settings to take effect.
Right now the settings are pretty conservative, but if you do not mind the 0.8-1 sec wakeup time from sleep you can set sleep time down to 10-20 sec and increase your XO-1 battery life.
In contrast to the F11/Sugar version I see no screen flicker and no loss of wifi association.
«
Last Edit: August 26, 2010, 01:41:26 PM by mavrothal
»
Logged
XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or
XOpup
)
Pages: [
1
]
2
3
4
...
28
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
OLPC G1G1 Information
-----------------------------
=> G1G1 Introduction
===> First Impressions
===> G1G1 Europe
===> XO Shipping - USA
===> XO Shipping - Canada
===> XO Shipping - Problems
=> XO User Groups
===> OLPC Canada
===> OLPC Learning Club DC
===> XO Europe User Group
===> Assistive Technology Group
=> OLPC Publicity
-----------------------------
XO Laptop
-----------------------------
=> XO Laptop Help
===> User Guide
===> Internet & Mesh Networking
===> Sugar & Linux
===> Battery & Power
===> T-Mobile HotSpot
=> XO 1.5 Laptop
=> XO Activities
===> Activities Development
===> Games!
===> eBooks
===> Music & Radio
===> Jabber & Chat
=> XO Hacks
===> Hardware Modifications
===> Other Operating Systems
=> XO Accessories
===> USB Memory Sticks & SD Cards
===> USB Adapters & Attachments
=> XO Problemo
===> Hardware Trouble
===> Keyboard
=> XO MISC
-----------------------------
OLPC Outreach
-----------------------------
=> Press & Blogs
=> Your Opinion
=> Promoting OLPC to Schools
-----------------------------
Other Devices
-----------------------------
=> Asus Eee PC
=> Classmate and 2go PC
=> Other 4P Computers
Stats
Members
Total Members: 2405
Latest:
sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 48
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 12
Total: 12
Loading...