Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - svs57

Pages: 1 ... 3 4 [5] 6 7 8
61
Zaurus - pdaXrom / Debian And Uboot
« on: April 25, 2007, 07:30:04 am »
Forget to say. I have some problem with SD >2Gb.
Only first part of SD work correct.

62
Zaurus - pdaXrom / Debian And Uboot
« on: April 25, 2007, 07:27:39 am »
Does it works on CF?
Some notes
1. Why I don't use Debian Xserver?
Because mouse buttons doesn't work. That's why I got Xserver from angstrom.
Binaries from angstrom are compatible with debian armel.
Use xmonobut to set second and third bottons.
xmonobut -m 67 -k 68 &
2. I use xbindkeys to switch keyboard language mapping.
Here is  ~/.xbindkeysrc
"/usr/local/bin/kb.sh"
c:37 + Mod2
"/usr/local/bin/br.sh - 5"
c:12 + Mod2
"/usr/local/bin/br.sh + 5"
c:13 + Mod2
---------------------------------
/usr/local/bin/kb.sh script which switch keyboard maping
---------------------------------
#!/bin/sh
rc=/home/root/.xmodmap_cur
if ( [ -w $rc ] & grep  us $rc &>/dev/null) then
 xmodmap /home/root/.xmodmap_ru
 echo ru >$rc
else
 xmodmap /home/root/.xmodmap_us
 echo us > $rc
fi
----------------------------------
Get xmodmap files from pdaXrom
/usr/local/bin/br.sh change brightness (Fn +2, Fn +4)
----------------------------------
#!/bin/sh
act=`cat /sys/class/backlight/corgi-bl/actual_brightness`
max=`cat /sys/class/backlight/corgi-bl/max_brightness`
if [ $1 == "+" ]; then
new=$(($act+$2))
else
new=$(($act-$2))
fi
if [ $new -ge $max ]; then
new=$max
fi
if [ $new -le 1 ]; then
new=1
fi
echo  $new > /sys/class/backlight/corgi-bl/brightness
echo $new >/root/.br
fi
---------------------------------------
/usr/sbin/switchev.sh - switch landscape portaint and etc
I forget where I got  "switchevd" from. I can't find its sources.
But I can send binary  to forum.
---------------------------------------
#!/bin/sh
export DISPLAY=:0
KBD_SW=`dc -e "$2 10 % p"`
    case $KBD_SW in
    0)
        echo 0 > /sys/class/graphics/fb0/blank
        xrandr -o normal
        ;;
    4)
        echo 0 > /sys/class/graphics/fb0/blank
        xrandr -o normal
        ;;
    3)
        echo 1 > /sys/class/graphics/fb0/blank
        ;;
    7)
        echo 1 > /sys/class/graphics/fb0/blank
        ;;
    2)
        xrandr -o left
        ;;
    6)
        xrandr -o left
        ;;
    esac
-------------------------------------------------------
If you find problem feel free to ask me.
May be I've solved it.

63
Zaurus - pdaXrom / Debian And Uboot
« on: April 25, 2007, 03:36:21 am »
Quote
Can you post all the armel feeds that you are using for apt-get, so I can check out what software is available...
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
deb [a href=\"http://armel-debs.applieddata.net/debian]http://armel-debs.applieddata.net/debian[/url] sid main

64
Zaurus - pdaXrom / Debian And Uboot
« on: April 25, 2007, 02:36:37 am »
Here 2.6.20.2. kernel for zaurus 3000/3100. Rootfs on /dev/hda1.
I can't test it because I haven't this model.
Rename kernel_c3000_hda1.png to kernel.img and follow pdaXrom documentation.
Rename modules-c3000.tar.bz2.png to modules-c3000.tar.bz2 and untar it on CF.
I can't upload files with real file names.I got msg:
"Upload failed. You are not permitted to upload a file with that file extension"

65
Zaurus - pdaXrom / Debian And Uboot
« on: April 24, 2007, 09:04:53 am »
Where can I put compiled kernel and modules?

66
Zaurus - pdaXrom / Debian And Uboot
« on: April 24, 2007, 03:44:50 am »
Quote
if X works-- please post a screenshot!
(and a few words comparing it to OZ or PdaX? if it isn't too much to ask...)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
ss01.png - icewm and GTKTerm2
ss02.png - fbreader (sorry book in cyrillic  )
ss03.png - zbedic dictionary
ss04.png - gaim IM ( again with cyrillic )
ss05.png - gnome-obex-send (choose device)
ss06.png - gnome-obex-send (sending file)
ss07.png - gnome-obex-server (incoming obex msg)

1. Both OZ and pdaXrom compiled without EABI.
That's why armel applications work faster.
2. It's Debian. It's means "apt" works correct.
No need manually check package depends,
easy compile packages.
3. I hope armel will be Debian official arch.

I also tested  angstrom project:
[a href=\"http://www.angstrom-distribution.org/]http://www.angstrom-distribution.org/[/url]
It also use libc 2.5 and compiled with EABI
But it use ipkg packages. Its cause a lot of problems.
Only one  angstrom project advantage I see
It use NAND as rootfs. And I can eject SD on fly.
But it also cause problem with busybox
UNIX utilitis in busybox are not full-value.
My choice is lost NAND and don't eject SD.

67
Zaurus - pdaXrom / Debian And Uboot
« on: April 24, 2007, 03:13:16 am »
Quote
Quote
if X works-- please post a screenshot!
(and a few words comparing it to OZ or PdaX? if it isn't too much to ask...)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159609\"][{POST_SNAPBACK}][/a][/div]

Yesterday I only got to "Waiting for X-server to accept connection" ...
So, no X so far ...

Maybe svs57 can post a shot and comment on it ?

I flashed my pdaXrom-kernel back last night, sorry but I need some things for work.
I don't think I can experiment more during this week ... Maybe later.

Quote
7. correct /etc/init.d/ssh
to real start because rootfs script start-stop-daemon doesn't start sshd

Could you post the fixed script ? I hate to do things someone else has done already ...

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159621\"][{POST_SNAPBACK}][/a][/div]
start-stop-daemon utility in armel rootfs for some reason is faked.
It doesn't realy start sshd.
So I changed /etc/init.d/ssh script on SD:
Was:
case "$1" in
  start)
        check_for_no_start
        check_privsep_dir
        echo -n "Starting OpenBSD Secure Shell server: sshd"
        start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPT
S
        echo "."
        ;;
Changed:
case "$1" in
  start)
        check_for_no_start
        check_privsep_dir
        echo -n "Starting OpenBSD Secure Shell server: sshd"
#        start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPT
        /usr/sbin/sshd
S
        echo "."
        ;;
After I install real start-stop-daemon via apt-get I changed back.
"dpkg" package contains start-stop-daemon utility.
I made this because I need ssh access to Zaurus.

68
Zaurus - pdaXrom / Debian And Uboot
« on: April 23, 2007, 09:33:12 am »
Forget to say that after compile kernel you need:

mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img

I need to know correct device name for rootfs to compile kernel for you. Also you zaurus model (1000 or 3000/3100).
Where can I place compiled kernel and modules?

I can't check compiled kernel. I have Zaurus 750.
No warranty

69
Zaurus - pdaXrom / Debian And Uboot
« on: April 23, 2007, 07:50:20 am »
How I installed Debian armel

1. Install u-boot from pdaxrom
http://www.pdaxrom.org/?q=node/118
http://www.pdaxrom.org/download/1.1.0r121/...rgi-current.zip

2. Crosscompile kernel setting rootfs on SD in .config
CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/mmcblk0p1 rootfstype=ext3 rw  rootdelay=5"
I got patched kernel sources from gentoo project:
ftp://gentoo.ru/projects/handhelds/zaurus-c1000/

3. Get roofs
http://armel.applieddata.net/developers/li...root-fs.tar.bz2
untar it on SD.

4. Correct keys in console.
Put
loadkeys /etc/console-tools/keymap.map
in some rc file.
I get keymap.map from pdaxrom
I did this on PC.

5. add
g_ether
snd-soc-corgi
to /etc/modules

6. /etc/network/interfaces
auto lo
auto usb0
iface lo inet loopback
allow-hotplug usb0
mapping hotplug
script grep
map usb0
#
iface usb0 inet static
address 192.168.129.201
netmask 255.255.255.0
broadcast 192.168.129.255
gateway 192.168.129.200

7. correct /etc/init.d/ssh
to real start because rootfs script start-stop-daemon doesn't start sshd

8. Put modules on SD.

9. get xserver from
http://www.angstrom-distribution.org/unsta...-r6_armv5te.ipk
put Xfbdev to /usr/bin and make link
/usr/bin/X -> /usr/bin/Xfbdev

U-h-h-h!
I'm not a master of writing instruction
Also not a master in English.

70
Zaurus - pdaXrom / Debian And Uboot
« on: April 20, 2007, 10:15:06 am »
Quote
That's very cool!

Also had a brief look at the related links:

ArmEabiPort (from Debian wiki)
http://wiki.debian.org/ArmEabiPort#head-d8...45efe93d48bbc94

Arm eabi port available (from Debian-arm mailing list)http://lists.debian.org/debian-arm/2007/01/msg00034.html

Is there any easy installation and setup guide for Zaurus? The official docs are rather technical for a common user (compared to the docs of OpenBSD    ).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159388\"][{POST_SNAPBACK}][/a][/div]
We can talk with you about this in russian forum (hpc.ru)

71
Zaurus - pdaXrom / Debian And Uboot
« on: April 20, 2007, 04:18:19 am »
A lot of questions

>How well does this Arm EABI Debian work?
I have only 2 problems:
1.Number of packages less than in original Debian.
I have to compile some packages on Z.
2. Problem with 4G SD. Suspend/resume destroy FS. It's happen only with SD>2G

>Is it as fast as other 2.6 kernel distributions on the Zaurus or does running off the SD diminish the benefits?
Much faster then pdaXrom 121
For example. I compile firefoox on r121 3 days but now 1 day.

>Are there customizations for the Zaurus keyboard, display, touchscreen available?
Yes. But I correct some mistakes.

>Do the packages usually load and run reliably with apt-get like we are used to on the i386?
Yes

>Presumably, default screen size and dialog boxes beyond the edge of the screen are common?
No. IMHO it depends on WM. I use icewm.

>Is recompilation with Zaurus customization necessary? Desirable? Feasible?
I recompile only missing packages

>The ultimate question is whether this Debian distribution plus some "Meanie-style" customizations >to the Zaurus might be a shorter route to a laptop-style distribution on the Zaurus with an instant >broad range of applications than the other efforts currently underway.
I feel myself on Z now as comfortable as on my PC.

72
Zaurus - pdaXrom / Pdaxrom Sources
« on: April 19, 2007, 02:46:57 am »
Where can I get switched source?

73
Zaurus - pdaXrom / Debian And Uboot
« on: April 19, 2007, 02:22:41 am »
Quote
I've got a question: If I rip the filesystem off of an ARM Debian CD and stick it on SD/CF, could I use uBoot to boot it on the Z?

EDIT: I forgot to ask what the magic key combos are to pass rootfs location to uBoot. Or do I have that backwards, that you pass where the kernel is?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I use Debian with u-boot on Zaurus.
I crosscompile linux kernel (CONFIG_CMDLINE set rootfs on SD)
Then I untar Debian rootfs on SD. [a href=\"http://armel.applieddata.net/developers/linux/eabi/armel-root-fs.tar.bz2]http://armel.applieddata.net/developers/li...root-fs.tar.bz2[/url]
see http://wiki.debian.org/ArmEabiHowto

74
Zaurus - pdaXrom / Rotate.sh Ceased Working
« on: March 28, 2007, 03:26:41 am »
Quote
Quote
can you rotate with "xrandr -o X" where X is 0 - 3?
No, that does nothing. Running it with "--verbose" it claims it is setting the rotation, but doesn't.

Quote
Sometimes Xfree gets confused though so quitting and restarting X fixes it.
I already did a reboot, but that did not help either.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157307\"][{POST_SNAPBACK}][/a][/div]
try
xrandr -o left
xrandr -o normal

75
Zaurus - pdaXrom / Resuming Problem
« on: February 08, 2007, 03:32:41 am »
Quote
Hey guys.  It's been a while.

I just installed 1.1.0r121 on my c760 and everything seemed to go smoothly, but now whenever I suspend, that's the end of it - it never resumes.  Power button, Home, .. nothing has any effect.

I also noticed that it can't seem to read the battery status.  If I type apm at a shell, it reports battery critical @ 5%.  I'm getting an error - sharpsl-pm sharpsl-pm: Error: AC check failed during boot.  I dunno if the two problems are related, but maybe it thinks the battery is too low to resume.

Any ideas?

BTW - I really like the blinking memory access light.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Try to use search on this site
[a href=\"https://www.oesf.org/forums/index.php?showtopic=21490&pid=142480&mode=threaded&show=&st=0&#entry142480]https://www.oesf.org/forums/index.php?showt...=0&#entry142480[/url]
http://comomo.shacknet.nu/files/pdaxrom/r1...-8_armv5tel.ipk

Pages: 1 ... 3 4 [5] 6 7 8