*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 ... 13 14 15 [16] 17 18 19 ... 37
Print
Author Topic: Beyond the Ubuntu Installation  (Read 414667 times)

#225 Re: Beyond the Ubuntu Installation

Directive0
Master Contributor
***
Posts: 375



August 05, 2008, 08:01:46 AM

Teapot, you are great!
If you manage to create a working Hardy image for the XO with power management, I will officially declare you a hero of the G1G1 community.

Agreed.
Logged

#226 Re: Beyond the Ubuntu Installation

amilcarodonte
New

Posts: 4


August 05, 2008, 12:50:02 PM

Thanks teapot for all your hard work! Looking forward to the update.
Logged

#227 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 09, 2008, 02:58:52 AM

Quote
To get usable Youtube and Google Video support:

1. Install packges:

sudo aptitude install mplayer xclip python python-central python-feedparser python-newt python-urlgrabber
.......
.......

Well,  I did it and it does work for some videos nicely indeed.
The problem is I lost sound on my XO!
Actually I can hear through a headphone but no the speakers! What is worse, the mike now is going to the headphone and not out, so I lost my VoIPing ability

I reinstalled all the installed ALSA packages through synaptic
reset als defaults to "factory settings" by issuing sudo /etc/init.d/alsa-utils reset 0
Restart ALSA and the XO, but the problem persists!
Any ideas?
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 Grin )

#228 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 09, 2008, 04:29:39 AM

I reinstalled all the installed ALSA packages through synaptic
reset als defaults to "factory settings" by issuing sudo /etc/init.d/alsa-utils reset 0
Restart ALSA and the XO, but the problem persists!
Any ideas?

While playing some video file, run alsamixer -V all or enable all controls in Xfce mixer and select CS5535 device. Among other things make sure that external amplifier is muted. There may be other settings that you will have to change.
Logged

#229 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 09, 2008, 06:03:06 AM

Quote
While playing some video file, run alsamixer -V all ...

First the message that I get at MPlayer startup is AO:[Pulse] Failed to connect to Server. Connection refused

Now, Alsa mixer says that the card  is CS5535 and the Chip AD1888 while the controls are like that:
Master, Master M, CPM, CD  and Capture are ON with some value
Master S, Headphone, Surround, Center, LFE, Line, Line Jac, Mic Capture, Mic Boos, Phone, Aux, DC Mode, Exchange, External, Spread F and V_Refout are on mute (MM)
Vedeo, Mix, and Mix Mono have  NO Options to select or modify
Surrount is at Shared (or Indep-no dif)
Mic Selection is 1 (or 2-no def)
Chanel is 2ch (or 6ch-no dif)
Downmix is 6->2

Any clues?
Thx
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 Grin )

#230 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 09, 2008, 07:07:23 AM

Quote
While playing some video file, run alsamixer -V all or enable all controls in Xfce mixer and select CS5535 device. Among other things make sure that external amplifier is muted.

Actually, after playing for the last hour with this, turns out that External Amplifier  should not be on mute to hear from the speakers.
The aforementioned AO:[Pulse] Failed to connect to Server. Connection refused warning persists when MPlayer starts, but video pays just fine. All the other settings are as in the previous response only Mic must be set to 1, but when I was testing first time around I was focusing to the speaker sound Undecided

Now are there any settings that would allow Tube Watcher to see other sites that are usually embedded in youtube like s.ytimg.com?
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 Grin )

#231 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 09, 2008, 09:19:37 AM

Quote
While playing some video file, run alsamixer -V all or enable all controls in Xfce mixer and select CS5535 device. Among other things make sure that external amplifier is muted.

Actually, after playing for the last hour with this, turns out that External Amplifier  should not be on mute to hear from the speakers.

Can you check in alsamixer the settings of other switches? In GUI checkbox means NOT muted, in alsamixer "MM" is muted.

Quote
The aforementioned AO:[Pulse] Failed to connect to Server. Connection refused warning persists when MPlayer starts, but video pays just fine.
.mplayer/config file should be:

Code:
# Write your default config options here!
vo=sdl
ao=alsa
framedrop=1
lavdopts=skiploopfilter=all
lavdopts=fast=1

Quote
All the other settings are as in the previous response only Mic must be set to 1, but when I was testing first time around I was focusing to the speaker sound Undecided

Now are there any settings that would allow Tube Watcher to see other sites that are usually embedded in youtube like s.ytimg.com?
The URL that you need to pass to the server is always to the Youtube/Google video/... page -- clive script will download the actual video file. s.ytimg.com is merely one of their image servers.
Logged

#232 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 09, 2008, 10:27:45 AM

Quote
Can you check in alsamixer the settings of other switches? In GUI checkbox means NOT muted, in alsamixer "MM" is muted.

In the GUI the box is checked and in the terminal is "OO"

Quote
mplayer/config file should be:

Code:

# Write your default config options here!
vo=sdl
ao=alsa
framedrop=1
lavdopts=skiploopfilter=all
lavdopts=fast=1



That is exactly how it is.

Just to point out that I'm getting the AO:[Pulse] Failed to connect to Server. Connection refused warning only when I play the saved version of the video and not the first time when is played after Tube watcher

Quote
The URL that you need to pass to the server is always to the Youtube/Google video/... page -- clive script will download the actual video file. s.ytimg.com is merely one of their image servers.

Oh... I was putting the video URL by right clicking on it...  Now it works with all videos.
Thanks
« Last Edit: August 09, 2008, 10:31:38 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 Grin )

#233 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 11, 2008, 10:18:23 AM

I was playing with overclocking and swap with Ubuntu 8 installed on an 4GB Kingston class 6 card.
Overclock to 500MH CPU /200MH RAM had a marginal effect on Restart time from 80 to 75 seconds. So, although the machine “felt” more responsive I’m not sure that the 5-7% speed bump justifies the stress on the CPU and the shorter battery life.
What I can not find is a good test for is swap. I tried to just open several applications at the same time but regardless of swap status the machine hanged on the 4th one, an 800K power point (!) file.
Has any one seen a measurable effect in Ubundu performance/use with the swap on that could justify the putative damage to the SD card ?
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 Grin )

#234 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 11, 2008, 10:39:57 AM

I was playing with overclocking and swap with Ubuntu 8 installed on an 4GB Kingston class 6 card.
Overclock to 500MH CPU /200MH RAM had a marginal effect on Restart time from 80 to 75 seconds.
Startup time mostly depends on reading from flash, -- CPU spends most of that time waiting for reading to finish, so the effect is minimal.
Quote
So, although the machine “felt” more responsive I’m not sure that the 5-7% speed bump justifies the stress on the CPU and the shorter battery life.
What I can not find is a good test for is swap. I tried to just open several applications at the same time but regardless of swap status the machine hanged on the 4th one, an 800K power point (!) file.
Has any one seen a measurable effect in Ubundu performance/use with the swap on that could justify the putative damage to the SD card ?

I was able to keep more applications running with 1G swap file. Make sure that swap is active -- you can see if it is on, and how much of both memory and swap is in use, running top in terminal.
Logged

#235 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 15, 2008, 01:44:47 AM

I'm not sure if I missed it above in this thread Undecided, but I thought to upgrade all the installed and upgradable components in teapot's installation through "Mark all Upgrades" in Synaptic's "Installed (upgradable)" list, and a big list is coming up.
Besides upgrading already install packages it also wants to install linux-image- and -ubuntu-modules-2.6.24-19-generic and libdns35 packages.
The questions are:
1) Is the upgrade going to break the installation?
2) Should the non preexisting packages be installed?
3) If the answer to 1 and 2 is "no", how do you do it without going through each individual package in synaptic eg how to you remove the "files to be installed" from the "marked" list? Is there some filter in settings  that will do that?
4) If you have to go through individual packages Embarrassed ...which ones are safe?
Tanks
PS "If it isn't broken, don't fix it" answers don't qualify Grin Grin Grin
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 Grin )

#236 Re: Beyond the Ubuntu Installation

teapot
OLPC News Forum Expert
****
Posts: 662



WWW
August 15, 2008, 02:35:39 AM

Ubuntu will upgrade its kernel/modules, however bootloader will ignore it -- I recommend to keep it updated for consistency until I will release a packaged version of XO-compatible kernel (then it will replace Ubuntu-provided package). The rest of updates should work as intended.
Logged

#237 Re: Beyond the Ubuntu Installation

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


August 15, 2008, 11:57:55 AM

Quote
The rest of updates should work as intended
They did!
I only had to reset the time zone that went back to UTC
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 Grin )

#238 Re: Beyond the Ubuntu Installation

trashjunkid
Commenter

Posts: 15


August 15, 2008, 10:06:50 PM

Teapot-

Your instructions to install Xubuntu to the SD card for the XO worked fantastically. The system seems much more responsive and I am excited for getting more work done on the machine.

I have posted in the past regarding using fedora liveusb- the advantage being that you could bring your install along with you. Is there anyway to get a system that works with the XO and will work as a "plug and play" OS for another computer?

I think the difficulty lies in the XO's quirkiness on it's boot-level programing. Anyway to satisfy both the XO's unique demands while remaining flexible to accommodate booting up on other systems?

Anyway, great work and thank you once again,
Trashjunkid
Logged

#239 Question on screen resolution

Sarc
Commenter

Posts: 14


August 20, 2008, 07:21:45 AM

I really like XFCE, but the one drawback for me is the screen resolution. I have  bad eyesight, so reading and using XFCE at 1200x900 on the XO is almost out of the question. Does anybody know of a way to change the resolution?

I would be grateful if you helped me.
« Last Edit: August 21, 2008, 01:14:15 AM by Sarc » Logged
Pages: 1 ... 13 14 15 [16] 17 18 19 ... 37
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 28
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 17
Total: 17