OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Post Install Tweeks, That would make life easyer
craigtyson
post Jun 4 2009, 09:43 AM
Post #1





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



Having installed ZUBUNTU for the first time, here are some bits that people might find of use

after loging in the first time run

ts_calibrate

to calibrate your touch screen

run killall tskeys

to get some free memory

ensure dhcp is running properly by changing the 102 and 103 entries for dhcp in /etc/passwd to 0

get your wifi / network running by looking on the forums

once you have internet connectivity, install synaptic so you can find packages with

apt-get install synaptic

now you're ready to rock

Go to the top of the page
 
+Quote Post
RX Shorty
post Jun 19 2009, 05:45 PM
Post #2





Group: Members
Posts: 121
Joined: 12-October 07
From: The Netherlands
Member No.: 20,813



Nice smile.gif
Thanks, I am going to try Zubuntu tonight.
Go to the top of the page
 
+Quote Post
ptoki
post Jul 9 2009, 09:58 AM
Post #3





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



at my c1000 its not nessesary to kill tskeys
its sufficient to edit /etc/zaurusd/mach-config-vars and put TSKEYS_DEVICE=/dev/input/event2 instead default value

another must do thing is:
alsamixer:
set headphone, pcm, speaker to the top
unmute all left mixers (four of them) and right mixer (leave other right mixers muted)
finally enable speaker function (third control from end)

This gives clear sound through speaker and working headphones in stereo.

bass, treble, 3d set as you like. Play a bit with all of this deemphasis and filter thing if you have audiohile ear.

if your usb device does not work try dmesg and look if there is something like this:
usb 1-2: new full speed USB device using pxa27x-ohci and address 6
usb 1-2: rejected 1 configuration due to insufficient available bus power
usb 1-2: no configuration chosen from 1 choice

if you encounter problems with usb power then here is solution: http://www.oesf.org/forum/index.php?showto...mp;hl=usb+power

tweak a bit zaurus leds:
echo mmc0 > /sys/class/leds/spitz\:green\:mail/trigger
echo ide-disk > /sys/class/leds/spitz\:amber\:charge/trigger

if you like put it in /etc/init.d/zaurusd right after echo "starting zaurusd"
this gives you blinking leds while accessing cards.

Make some swap, 64MB is quite enough for pda use, if you intend to use zaurus with zubuntu as a little laptop it may be neccessary to put some more swap.

install lynx, dillo, mpg321 (uses a lot less cpu), fbreader, consider installing mpd

after that zubuntu is very fine. I would even say it may be a new cacko.

Great job for its creators and maintainers! I dont miss cacko smile.gif

In case you encounter "Unresolved Inheritance Operation" do as http://www.oesf.org/forum/index.php?showtopic=26703 thread says.
xfig, xpat2, xmpuzles are affected.
Go to the top of the page
 
+Quote Post
brontoZaurus
post Jul 23 2009, 03:35 AM
Post #4





Group: Members
Posts: 47
Joined: 18-February 09
Member No.: 31,414



QUOTE(craigtyson @ Jun 4 2009, 07:43 PM) *
Having installed ZUBUNTU for the first time, here are some bits that people might find of use

after loging in the first time run

ts_calibrate

to calibrate your touch screen

run killall tskeys

to get some free memory

ensure dhcp is running properly by changing the 102 and 103 entries for dhcp in /etc/passwd to 0

get your wifi / network running by looking on the forums

once you have internet connectivity, install synaptic so you can find packages with

apt-get install synaptic

now you're ready to rock

i cant run synaptic in Zubuntu 8.04, it installs but when i click it in the menu, nothing happens...
someone who can throw some light...
Go to the top of the page
 
+Quote Post
craigtyson
post Jul 24 2009, 06:44 AM
Post #5





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



QUOTE(brontoZaurus @ Jul 23 2009, 11:35 AM) *
QUOTE(craigtyson @ Jun 4 2009, 07:43 PM) *
Having installed ZUBUNTU for the first time, here are some bits that people might find of use

after loging in the first time run

ts_calibrate

to calibrate your touch screen

run killall tskeys

to get some free memory

ensure dhcp is running properly by changing the 102 and 103 entries for dhcp in /etc/passwd to 0

get your wifi / network running by looking on the forums

once you have internet connectivity, install synaptic so you can find packages with

apt-get install synaptic

now you're ready to rock

i cant run synaptic in Zubuntu 8.04, it installs but when i click it in the menu, nothing happens...
someone who can throw some light...


What do you get from a command line when you type in synaptic?

C
Go to the top of the page
 
+Quote Post
brontoZaurus
post Jul 26 2009, 11:49 PM
Post #6





Group: Members
Posts: 47
Joined: 18-February 09
Member No.: 31,414



oh!
yes from shell it works, but from the menu icon doesn´t.
thanks anyway!!! wink.gif
Go to the top of the page
 
+Quote Post
craigtyson
post Jul 27 2009, 02:47 AM
Post #7





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



QUOTE(brontoZaurus @ Jul 27 2009, 07:49 AM) *
oh!
yes from shell it works, but from the menu icon doesn´t.
thanks anyway!!! wink.gif


Some apps seem to run gksudo {command} in their menu entry

I know WIFI Radar does

Try editing synaptic.desktop and take out the gksudo

C
Go to the top of the page
 
+Quote Post
brontoZaurus
post Jul 27 2009, 04:02 AM
Post #8





Group: Members
Posts: 47
Joined: 18-February 09
Member No.: 31,414



ok but where is located that fileż?
thanks in advance.

Edited:

/usr/share/applications/synaptic.desktop

Ok no problem located and removed de "gksu" word and all is ok now.
thanks man!
Go to the top of the page
 
+Quote Post
ptoki
post Jul 30 2009, 08:00 AM
Post #9





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



Another chunk of post install tweaks.

Put
CODE
#middle mouse click
"xte 'mouseclick 2'"
    Shift + b:1

in /root/.xbindkeysrc to have middle click with shift key (right click with Control is already there). Finally it is possible to use xfig smile.gif without mouse.

put
CODE
xhost +
in .xinitrc to have screen flipping working (xrandr from zaurus-hinge script cant connect to X and thus not working).

Edit /etc/zaurusd/zaurus-hinge and put there display-brightness.sh off just after #echo "sleeping"
and display-brightness.sh on after #echo "lanscape".
Change /bin/display-brightness.sh script

put
CODE
elif [ "$1" = "off" ]; then
    if [ $BRIGHTNESS -ne 0 ];then
    echo "$BRIGHTNESS" >/tmp/backlight
    echo 0 > $BRIGHTNESS_FILE
    fi
elif [ "$1" = "on" ]; then
    cat /tmp/backlight > $BRIGHTNESS_FILE
    rm /tmp/backlight

just after "fi" in "down" section.

This will give you turned off screen when lid is closed (but screen will be lit while in portrait mode)

change
CODE
STEP=5
MAX_BRIGHTNESS=47
MIN_BRIGHTNESS=0
in this script according to /sys/class/backlight/$DRIVER/max_brightness
or just uncomment
CODE
#MAX_BRIGHTNESS=`cat /sys/class/backlight/$DRIVER/max_brightness`
line (I suppose someone put there a artificial limit to save batteries smile.gif or it is a legacy from other zaurus model) In c1000 max is 47.

put
CODE
/root/repeatoff
in /root/.xinitrc and put there a repeat-rate-workaround:
CODE
#!/bin/sh
xset r on
for k in 10 11 12 13 14 15 16 17 18 19 24 25 26 27 28 29 30 31 32 33 38 39 40 41 42 43 44 45 46 52 53 54 55 56 57 58 20 59 60 70
do
xset -r "$k"
done
It is a bit modified version of solution provided by gojira here http://www.oesf.org/forum/index.php?showtopic=25165. I added escape key to non repeated keys (useful in mc)

All files modified are attached.

Edit: did minor changes, attachments updated.
Attached File(s)
Attached File  tweaks.zip ( 2.19K ) Number of downloads: 16
 
Go to the top of the page
 
+Quote Post
ptoki
post Aug 5 2009, 09:30 PM
Post #10





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



To make irda work:
Ensure that modules irda, ircomm_tty, ircomm, pxaficp_ir are loaded.
install irda-utils (so irattach is available)
cat /proc/net/irda/discovery will tell you if any device is found by irda.
irattach irda0 -s will make irda working.

Then:
irxfer or ircp -r will make beaming to zaurus working
To beam files from zaurus use irobex_palm3 ircp doezt work with for example nokia e61.
Go to the top of the page
 
+Quote Post
ptoki
post Sep 11 2009, 12:18 AM
Post #11





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



Another batch of tweaks:

Do not use LXDE, it has a bug (not sure which component) causing high cpu usage after resume (probably something with changing date/time too rapidly) and it doesnt have fill-all-space behaviour.

Install aosd_cat as osd functionality.
in .xbindkeysrc put similar configuration to display-backlight for volume controls (amixer sput PCM ...)
and for checking battery.
Add some osd to those scripts to have nice OSD while changing volume, brightness and similar. It is independent from WM-s.
Aosd_cat is very early version but it works quite nicely (lacks bar and multi line functionality)

Go to the top of the page
 
+Quote Post
craigtyson
post Sep 11 2009, 01:56 AM
Post #12





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



QUOTE(ptoki @ Sep 11 2009, 08:18 AM) *
Another batch of tweaks:

Do not use LXDE, it has a bug (not sure which component) causing high cpu usage after resume (probably something with changing date/time too rapidly) and it doesnt have fill-all-space behaviour.

Install aosd_cat as osd functionality.
in .xbindkeysrc put similar configuration to display-backlight for volume controls (amixer sput PCM ...)
and for checking battery.
Add some osd to those scripts to have nice OSD while changing volume, brightness and similar. It is independent from WM-s.
Aosd_cat is very early version but it works quite nicely (lacks bar and multi line functionality)


In my experience changing the date once the gui is up causes MAXout of theCPU and eventual lockup. The only way I've found round this is to set the date at first login at the command line.
Go to the top of the page
 
+Quote Post
RGRICH
post Dec 5 2009, 11:35 AM
Post #13





Group: Members
Posts: 16
Joined: 20-May 05
Member No.: 7,171



QUOTE(ptoki @ Jul 9 2009, 02:58 PM) *
at my c1000 its not nessesary to kill tskeys
its sufficient to edit /etc/zaurusd/mach-config-vars and put TSKEYS_DEVICE=/dev/input/event2 instead default value

another must do thing is:
alsamixer:
set headphone, pcm, speaker to the top
unmute all left mixers (four of them) and right mixer (leave other right mixers muted)
finally enable speaker function (third control from end)

This gives clear sound through speaker and working headphones in stereo.

bass, treble, 3d set as you like. Play a bit with all of this deemphasis and filter thing if you have audiohile ear.

if your usb device does not work try dmesg and look if there is something like this:
usb 1-2: new full speed USB device using pxa27x-ohci and address 6
usb 1-2: rejected 1 configuration due to insufficient available bus power
usb 1-2: no configuration chosen from 1 choice

if you encounter problems with usb power then here is solution: http://www.oesf.org/forum/index.php?showto...mp;hl=usb+power

tweak a bit zaurus leds:
echo mmc0 > /sys/class/leds/spitz\:green\:mail/trigger
echo ide-disk > /sys/class/leds/spitz\:amber\:charge/trigger

if you like put it in /etc/init.d/zaurusd right after echo "starting zaurusd"
this gives you blinking leds while accessing cards.

Make some swap, 64MB is quite enough for pda use, if you intend to use zaurus with zubuntu as a little laptop it may be neccessary to put some more swap.

install lynx, dillo, mpg321 (uses a lot less cpu), fbreader, consider installing mpd

after that zubuntu is very fine. I would even say it may be a new cacko.

Great job for its creators and maintainers! I dont miss cacko smile.gif

In case you encounter "Unresolved Inheritance Operation" do as http://www.oesf.org/forum/index.php?showtopic=26703 thread says.
xfig, xpat2, xmpuzles are affected.

I'm having the power problem with a usb ethernet dongle. I tried the workaround describe here by setting the address in the bConfigurationValue but that did not seem to make any difference. Is there something else to try?
Go to the top of the page
 
+Quote Post
ptoki
post Dec 22 2009, 02:08 AM
Post #14





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



QUOTE(RGRICH @ Dec 5 2009, 09:35 PM) *
QUOTE(ptoki @ Jul 9 2009, 02:58 PM) *
at my c1000 its not nessesary to kill tskeys

if your usb device does not work try dmesg and look if there is something like this:
usb 1-2: new full speed USB device using pxa27x-ohci and address 6
usb 1-2: rejected 1 configuration due to insufficient available bus power
usb 1-2: no configuration chosen from 1 choice

if you encounter problems with usb power then here is solution: http://www.oesf.org/forum/index.php?showto...mp;hl=usb+power

I'm having the power problem with a usb ethernet dongle. I tried the workaround describe here by setting the address in the bConfigurationValue but that did not seem to make any difference. Is there something else to try?

What dmesg says after setting this value?
are you sure that all needed modules are loaded?
You can try powered hub or make a hardware hack (changing pullup resistor in zaurus - quite difficult for amateur).
Or buying another ethernet dongle.
Go to the top of the page
 
+Quote Post
ptoki
post Feb 15 2010, 02:43 AM
Post #15





Group: Members
Posts: 90
Joined: 1-April 08
From: Silesia
Member No.: 21,583



Next thing to do is to make dual boot with cacko.
Zubuntu does not handle hardware acceleration for video (or I cant do it properly).
Cacko is fine for old software, video, some games. Iqnotes are missing for zubuntu.

To have dual boot working do:
Use other linux box to do this:
Copy all files from SD-card to somewhere else. Use mc and do not copy /media or /mnt (there are some links and that can make troubles smile.gif )

Make backup: dd if=/dev/mmcblk of=/tmp/backup.card bs=1M

Then make cfdisk and partition card to two or more partitions.
One for cacko kernel (small 10-16mb is enough) and one for zubuntu (rest of sd-card).
Make ext2 on both partitions (mkfs.ext2).
Put boot dir on both partitions (mkdir boot).

On small partition put kernel image, command-line and description.
On big partition put files copied from sd-card at the beginning.

And voila. My c1000 boots to zubuntu or to cacko.
Some helpful threads (source of whole knowledge about this):
http://www.oesf.org/forum/index.php?showtopic=26640
http://www.oesf.org/forum/index.php?showtopic=26548


One more thing:
Cacko does not like my sd-card which doesnt have a partition. I tried to make dual booting on two cards(to avoid copying files back and forth) but cacko kernel was filling dmesg log with messages about "unreadable something" (I dont remember exactly). After making partition all is fine.
But anyway I found new target for my mobile life: sharp netwalkre pc z1 smile.gif



Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd December 2014 - 05:32 PM