Author Topic: Zubuntu 1.0 Rc1  (Read 97461 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #105 on: January 03, 2009, 12:18:39 pm »
Quote from: Capn_Fish
Quote from: Jon_J
Quote from: cortez
Quote from: Jon_J
One other thing which has been mentioned here: tskeys consumes 89% and up to 92% of CPU according to "top"
When first booting, I launch the console (which takes awhile) and use "top" to kill it. Once its killed response is greatly improved.
tskeys is responsible for the "selected device is not a touchscreen i understand". It tries to use the device used for the offscreen keys (home, mail, contacts etc) which is configured for Akita on default (sorry, my fault). Try to delete the files /etc/zaurusd/mach-config-funcs and /etc/zaurusd/mach-config-vars and reboot. With a bit of luck the message is gone  
I deleted both files and I still get the error message upon reboot. It doesn't seem to effect performance, I still need to kill tskeys to get "snappy" performance in the window manager.
I looked in /etc/zaurusd/ and these two files have been re-created.
Try commenting out the lines for tskeys in /etc/init.d/zaurusd
That stopped tskeys from loading. I'm not sure if I edited this file correctly. I had to comment out a couple commands: "fi", because I was getting syntax errors.
/etc/init.d/zaurusd
Code: [Select]
#!/bin/sh

killproc() {            # kill the named process(es)
        pid=`/bin/ps -e x |
             /bin/grep $1 |
             /bin/grep -v grep |
             /bin/sed -e 's/^  *//' -e 's/ .*//'`
        [ "$pid" != "" ] && kill $pid
}

. /etc/zaurusd/config

case "$1" in
    start)
        echo "Starting Zaurusd"

    if [ "x$HAVE_ALSA_MIXER" != "x" ]; then
        /usr/sbin/alsactl restore
    fi

        if [ "x$HAVE_INPUT_SWITCHES" != "x" -a -x /usr/bin/switchevd ]; then
            /usr/bin/switchevd $SWITCH_EVENT_DEVICE &
        fi

#        if [ "x$HAVE_TSKEYS" != "x" -a -x /usr/bin/tskeys ]; then
#            modprobe uinput    
            if [ -x /usr/bin/setleds ]; then
            /usr/bin/setleds +num < /dev/tty0
        fi
        if [ -e /etc/profile.d/tslib.sh ]; then
            . /etc/profile.d/tslib.sh
        fi
#            if [ -e /etc/pointercal ]; then
#                /usr/bin/tskeys $TSKEYS_CONF $TSKEYS_DEVICE &
#            fi
#        fi
 ;;

    stop)
        echo "Stopping Zaurusd"
    if [ -x /usr/bin/switchevd ]; then
            killproc /usr/bin/switchevd
    fi
    if [ -x /usr/bin/tskeys ]; then
            killproc /usr/bin/tskeys
    fi
    if [ "x$HAVE_ALSA_MIXER" != "x" ]; then
        /usr/sbin/alsactl store
    fi
 ;;

    restart)
        $0 stop
        sleep 1
        $0 start
 ;;

    *)
        echo "usage: $0 { start | stop }"
        exit 1
 ;;
esac

exit 0
« Last Edit: January 03, 2009, 12:20:53 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #106 on: January 03, 2009, 03:37:04 pm »
I just commented out the whole block, IIRC.

I managed to get Kdrive built, no idea if it has XKB support or not. I'll get to testing it eventually.

The dhclient issue seems to be kernel-related, since when I boot with the 2.6.24-Yonggun kernel it works fine (still get the unknown hardware message, but it works).
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Zubuntu 1.0 Rc1
« Reply #107 on: January 04, 2009, 08:09:19 am »
Quote
OK, thanks, I'll do a completely fresh install with all the latest files and make sure my card is Ext2 at the same time. Will report back later this evening...

Cortez. I've done a fresh install using the spitz tar file in your link an the other files from your blog - I trust that will give me the latest kernel. I've also made sure my SD card is formatted ext2 this time. I still cannot see any CF devices and hence cant even manually configure a network interface. My symptoms are:
no /dev/hdx devices listed at all
no output from pccardctl ident

Here is my dmesg | tail output:
Code: [Select]
logger created 64k log 'log_radio'
TCP cubic registered
Xscale iWMMXt coprocessor detected
sa1100-rtc sa1100-rtc: setting systen clock to 1970-01-02 etc
Waiting for root device /dev/mmcblkp01..
mmc new SD card at address b368
mmblk0: mmc0:b368 SD      1960448K1B
 mmcblk0: p1 p2
VFS: mounted root (ext2 filesystel) readonly
Freeing init memory: 80K

What now?
« Last Edit: January 04, 2009, 09:23:57 am by Wildherb »
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

ofels

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #108 on: January 04, 2009, 02:36:33 pm »
Quote from: Capn_Fish
-Orinoco/hermes is modprobed by default (I think there's something that can be done with making a list of card IDs or something similar)

Blacklist the orinoco modules in /etc/modprobe.d/

Oliver

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #109 on: January 04, 2009, 06:16:46 pm »
Has anyone mapped the menu key on the clamshell zaurus to zubuntu's menu yet? If so how?
I have tried xbindkeys-config, but it wants a two key combination when making new shortcuts.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #110 on: January 04, 2009, 08:44:59 pm »
Using Fluxbox makes it easy. I don't know if there's a way to switch Openbox out for it (I didn't see anything obvious, ln -s should work ), but you could disable the Fluxbox panel and it should act the same (and eliminate the need for xbindkeys).

HTH
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Zubuntu 1.0 Rc1
« Reply #111 on: January 05, 2009, 05:29:05 pm »
Just a quick post to say that I'm now up and running with my C3000! Wifi is running just fine and the microdrive is recognised. apt-get seems to work fine. Thanks Cortez and everybody else!
C3000 running OpenBSD 4.4
C3100 running OpenZaurus

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Zubuntu 1.0 Rc1
« Reply #112 on: January 06, 2009, 01:13:50 am »
Quote from: Jon_J
Has anyone mapped the menu key on the clamshell zaurus to zubuntu's menu yet? If so how?
I have tried xbindkeys-config, but it wants a two key combination when making new shortcuts.
Zubuntu uses LXDE, which is based on Openbox. For instructions on how to change mouse and keyboard mappings in Openbox, see here
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #113 on: January 12, 2009, 11:03:02 pm »
Hi Cortez,
This looks like a promising release but I haven't had any luck with my SL-C860. I went through changing the event2 to event1 for the touchscreen but when startx runs, it opens a window in "portrait" mode but upside-down. I have the zaurus open for the keyboard.

Mouse clicks are far off the mark.

At bootup I get

/usr/sbin/alsactl: load_state:1313: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
Can't open display :0
/usr/sbin/alsactl: save_state:1251: No soundcards found...

I hope to get it running to see how it does but have only command line for now.
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #114 on: January 12, 2009, 11:15:34 pm »
Some progress - I edited .xinitrc and it helped but the mouse is way off. Is there a way to calibrate it?
Thanks!
 mike

I do get an error "Extended Input Devices not yet supported. when I abort startx

ts_calibrate does the trick. Now I have to figure out how to configure networking with a symbol technologies card I guess.
« Last Edit: January 12, 2009, 11:32:48 pm by zmike »
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Zubuntu 1.0 Rc1
« Reply #115 on: January 13, 2009, 09:26:27 am »
Quote from: zmike
Now I have to figure out how to configure networking with a symbol technologies card I guess.

the socket/symbol wifi card is soft-mac, so you have to have a firmware uploader for it - spectrum24 chipset IIRC. I think it was posted to this forum a while back, let me know if you don't find it as I can probably dig out a copy (I had one once, but traded up to a prism2-based zonet/mercury zcf1100).
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #116 on: January 13, 2009, 10:33:08 am »
Quote from: speculatrix
Quote from: zmike
Now I have to figure out how to configure networking with a symbol technologies card I guess.
the socket/symbol wifi card is soft-mac, so you have to have a firmware uploader for it - spectrum24 chipset IIRC. I think it was posted to this forum a while back, let me know if you don't find it as I can probably dig out a copy (I had one once, but traded up to a prism2-based zonet/mercury zcf1100).

My Socket Low Power Wifi CF works.

Initially, it complaints for fw. I goes to /lib/firmware and find nothing there. As I have Debian installed also, I copy all files from there to Zubuntu's and the interface comes up at eth0. Of course, I have to configure the /etc/network/interface manually beforehand. Now my ugly Pretec (works with both Debian & Zubuntu) can now goes to Akita  

I also replaced the internal 16G CF (which replaced the original MD long long time ago) to a Socket bluetooth CF (works when dual-booting to Debian, yet to figure out how to set up a ppp connection with my HTC Touch Pro). If everything goes right, I will have a dual wireless Z  
« Last Edit: January 13, 2009, 10:39:01 am by Fatty »
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #117 on: January 13, 2009, 08:19:21 pm »
Thanks for the reply. I hope I don't have to update the firmware. It works with Cacko and Angstrom - not sure what is different. I searched and didn't see anything for the firmware so if you have it I could try it. Not sure how I would upgrade it since I have mainly Apples or Linux desktop-wise.

I wasn't getting any response to the card at first but after searching, I ran:

modprobe pxa2xx_cs

Looks like something to do with firmware because I get the message:

spectrum_cs: Cannot find firmwared: symbol_sp24t_prim_fw
spectrum_cs: Firmware download failed
hermes @ c4880000: Timeout waiting for card to reset (reg=0x0000)!
eth0: failed to initialize firmware (err = -110)
spectrum_cs: register_netdev() failed


Thanks!
 Mike
« Last Edit: January 13, 2009, 08:33:27 pm by zmike »
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #118 on: January 13, 2009, 08:48:30 pm »
Quote from: zmike
spectrum_cs: Cannot find firmwared: symbol_sp24t_prim_fw
spectrum_cs: Firmware download failed

I don't mean you have to update firmware in your card. I mean you don't have the firmware (driver) in Zubuntu's /lib/firmware. (In fact the rootfs of Zubuntu release doesn't contain the firmware)

I've sent you the files which are from Andromeda Debian in case you don't have. It work for me.
« Last Edit: January 13, 2009, 08:50:24 pm by Fatty »
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu 1.0 Rc1
« Reply #119 on: January 13, 2009, 08:58:03 pm »
Thanks! Got the file and put it onto the SD card. The symbol is now blinking so that probably does it!
Now to wrestle with iwconfig.

Thanks again!
 Mike
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card