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 - DReymann

Pages: [1] 2 3
1
Zaurus - Arch Linux ARM support / How to emulate right mouse click
« on: December 25, 2018, 10:35:39 am »
Quote from: greguu
Yes, there is away. pdaxrom used [Fn] + [screen tap] = right-click.
I do not have the Xorg mapping required in front of me, but this information may be in the pdaxrom forum here on oesf.org if you search for it or inside the pdaxrom rootfs itself.

Xorg has builtin mouse emulation, too - you can try:

Code: [Select]
Option "XkbOptions" "keypad:pointerkeys""-" would then perform a right click.
To activate the mouse emulation press: (you may need to map Num Lock first as I do not believe it is mapped in the default keymap):

 Alt+Left Shift+Num Lock

Hi,

thanks for the answer.

So to get it correct. Add the Option line to /etc/X11/xorg.conf.d/99-touchscreen.conf ?

And where are Alt and Num Lock on the zaurus. Alt might be Fn, but Num Lock?

Detlev

2
Zaurus - Arch Linux ARM support / How to emulate right mouse click
« on: December 24, 2018, 06:25:14 am »
Hi,

after playing around with X11 on zalarm there is one thing I do net get solved. Btw., it is a great way of understanding arch linux more and more ...

A lot of the desktop environments make use of the right mouse click, e.g. for opening the menu.
On other devices with touch screen it is mostly done by having a long touch on the screen. But that does not work on the zaurus.

I tried some "tricks" like mapping a key to a mouseclick within Xmodmap (e.g. "keycode 68 = PointerButton2", keycode 68 is the Button for the addressbook down left on the keyboard).
Testing with xev shows, that the keyevent happens, but there seem to be no mouse device?

Clicking on the screen shows events e.g. "ButtonRelease event, serial 45" or "MotionNotify event, serial 45". 45 is related to the touchscreen?
Holding the pen on the screen leads to a permanent row of events, nothing like a "long press" event or so.

So, is there any way to have a right click on the touch screen?

I will look on the internet, whether there are other examples for this touchscreen. Maybe with a raspberry.
Any hint would great.

Detlev

Just to add:

the output of cat /proc/bus/input/devices is


I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="matrix-keypad"
P: Phys=
S: Sysfs=/devices/platform/matrix-keypad/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=100013
B: KEY=168a 1800017 fb5ff47f f3ffdffc
B: MSC=10

I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/platform/gpio-keys/input/input1
U: Uniq=
H: Handlers=event1 apm-power
B: PROP=0
B: EV=400021
B: SW=3

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="ADS7846 Touchscreen"
P: Phys=spi2.0/input0
S: Sysfs=/devices/platform/pxa2xx-spi.2/spi_master/spi2/spi2.0/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003

3
Zaurus - Arch Linux ARM support / X And Window Managers
« on: December 22, 2018, 01:46:52 pm »
Quote from: DReymann
Hi there,

hope some people are still reading this section.

Per accident I discovered the section about Arch Linux on the zaurus. In the past I had been through nearly all available ROMs for the zaurus like, Cacko, pdaxrom and so on.
Because I really loved this little device (I have an CL3100) I fetched the zaurus from my box with long not used gadgets and I followed the instructions to install zalarm. So far had success.  The basic system is working. Thanks to all involved.

I really like to try X11 on the device. But I am stuck.

What I did:

I installed the following packages:
xorg-server
xorg-apps
xorg-init
xorg-xmodmap
xf86-video-fbdev
lxde

I added the user to the group video
and took the Xmodmap-File from this thread and modified .xinitrc like described above including the start of lxde.

When I type startx the screen seems to get in graphical mode for a short while, the machine is working on the harddisk for a little while, the screen stays black and then finally the command line comes back, saying XServer shut down normally. No errors in Xorg.0.log shown.

Any ideas what is missing or has to be changed?

Any hint would be great.

Thanks in advance

Detlev


Hi,

went through the whole installation. It was my fault - lxde was not fully installed.
I now have the LXDE-Desktop. Great!

Will keep on playing with the system ...

Detlev  

4
Zaurus - Arch Linux ARM support / X And Window Managers
« on: December 22, 2018, 12:59:46 pm »
Hi there,

hope some people are still reading this section.

Per accident I discovered the section about Arch Linux on the zaurus. In the past I had been through nearly all available ROMs for the zaurus like, Cacko, pdaxrom and so on.
Because I really loved this little device (I have an CL3100) I fetched the zaurus from my box with long not used gadgets and I followed the instructions to install zalarm. So far had success.  The basic system is working. Thanks to all involved.

I really like to try X11 on the device. But I am stuck.

What I did:

I installed the following packages:
xorg-server
xorg-apps
xorg-init
xorg-xmodmap
xf86-video-fbdev
lxde

I added the user to the group video
and took the Xmodmap-File from this thread and modified .xinitrc like described above including the start of lxde.

When I type startx the screen seems to get in graphical mode for a short while, the machine is working on the harddisk for a little while, the screen stays black and then finally the command line comes back, saying XServer shut down normally. No errors in Xorg.0.log shown.

Any ideas what is missing or has to be changed?

Any hint would be great.

Thanks in advance

Detlev

5
Hi,

did you find this Tutorial:
http://oek.fbl.fh-wiesbaden.de/zaurus/SSH-...Windows-1_0.pdf

May be there are some interesting infos.  

Detlev

6
Security and Networking / Stuck With Wpa On Cacko 1.23
« on: May 17, 2006, 03:55:56 am »
Hi,

Quote
I had to update the card's firmware to get it work. Try to search for prism firmware update on the forum and you should find some hard to understand stuff which workd in my case...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127332\"][{POST_SNAPBACK}][/a][/div]

As already mentioned in my post, upgrade has been done. I think
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.4

is the latest available firmware.

Detlev

7
Security and Networking / Stuck With Wpa On Cacko 1.23
« on: May 16, 2006, 12:40:01 pm »
Hi,

although reading all informations available on oesf-forums and on different sites on the net I still have problems getting wpa to work on my zaurus 3100 with cacko 1.23.

Recently I changed my access point from wep-encryption to wpa-psk. The change was succesful - I am able to connect my laptop using wpa.

With wep it was no problem to connect my zaurus with the access point. On the zaurus I use Cacko-ROM 1.23, the Wifi-Card is a SanDisk Connect CompactFlash 802.11b.

According to some hints on forum-postings I upgraded the flash to 1.8.4, since the card has a prism chipset.

After insertion of the card it seems to be recognized correctly. For example dmesg containd the following lines:
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.4

This is my /etc/wpa_supplicant.conf
Code: [Select]
#######################
# Begin /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
# change to:
# ctrl_interface=/home/root/usr/bin/wpa_supplicant
# does not change anything
# I thought it has to be the path to the binary
ctrl_interface_group=0 # what does that mean?
eapol_version=1    # what does that mean?
ap_scan=1 # because my Access-Point does not broadcast the SSID
network={
    ssid="SSID-OF-MY-ACCESS-POINT"
    #psk="psk in plain text"
    psk=verysecretverxsecretverysecretverysecret
    scan_ssid=1
    key_mgmt=WPA-PSK
    proto=WPA
}
# End of /etc/wpa_supplicant.conf
#####################
I modified my /etc/pcmcia/wlan-ng.conf:
Code: [Select]
############################
######## begin /etc/pcmcia/wlan-ng.conf:
#! /bin/sh

WLAN_VERSION=0
WLAN_PATCHLEVEL=1
WLAN_SUBLEVEL=12
WLAN_EXTRAVERSION=-shp

case "$ADDRESS" in
# [snip several lines ...]
qpewlan0,*,*,*)
    INFO="Wpa REYMANN" # the name which was used within qtopia the config tool
    WLAN_ENABLE=y
    WPA=y # added following several post
    dot11PrivacyInvoked=false
    dot11WEPDefaultKeyID=0
    PRIV_KEY128=false
    dot11WEPDefaultKey0=
    dot11WEPDefaultKey1=
    dot11WEPDefaultKey2=
    dot11WEPDefaultKey3=
    IS_ADHOC=n
    AuthType=opensystem
    DesiredSSID="SSID-OF-MY-ACCESS-POINT"
   ;;
*,*,*,*)
    WLAN_ENABLE=n
   ;;
esac
###### end /etc/pcmcia/wlan-ng.conf ##
############################
When hitting the connection-applet the light of the Wifi card flickers for a while but at the end no connection is established.

I did not find any possibilty to send information to a log file. The only information I get is the output of dmesg but this does not help (at least not me).

Some of the possibly relevant parts of dmesg output:
Code: [Select]
########################
##### dmesg-output: #########
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen )
hostap_crypt: registered algorithm 'WEP'
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 135, io 0xf6000000-0xf600003f
prism2_hw_init: initialized in 210 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.4
wifi0: registered netdevice wlan0
prism2: wlan0: operating mode changed 3 -> 2
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
pxa_pcmcia_suspend(0)
BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8888
wifi0: hfa384x_cmd: entry still in list? (entry=c38cdf20, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd51, len=6)
# the above repeated several times
Could not read current WEP flags.
wifi0: encryption setup failed
wlan0: set_encryption failed
wlan0: hfa384x_setup_bap - timeout before
wlan0: hfa384x_set_rid (rid=fc02, len=34) - failed - res=-110
hostap_cs: CS_EVENT_PM_RESUME
hostap_cs: CS_EVENT_CARD_RESET
prism2_hw_init: initialized in 190 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.4
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:60:b3:6b:cf:d3 A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:60:b3:6b:cf:d3 A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:60:b3:6b:cf:d3 A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:60:b3:6b:cf:d3 A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
pxa_pcmcia_suspend(0)
wlan0: hfa384x_setup_bap - timeout before
######## end of dmesg-output ################
Any advice or hint what to to or how to find the reason for my problems. For security reasons I would not like to switch back to WEP-encryption.

Thanks for help in advance

Detlev

Sorry for the long post ...

8
X/Qt / Pdaxqtrom & Apps
« on: April 27, 2006, 04:40:09 am »
Hello,

Quote
[...]
I tried to launch Abiword from the X/Qt tab in Qtopia and it only launches X/Qt, but not Abiword.
Same problem for me.

Launching abiword from the terminal ends with the following error messages:
GdkPixbuf-Warning ** Error loading XPM image loader: Image type 'xpm' is not supported

followed by three Gtk-CRITICAL ... != NULL messages.

Quote
GQview doesn't seem to be able to "see" my picture files in any of my directories on my FAT formatted /hdd3.
Same for me, but does not depend on the filesystem. My jpg-files are not shown neither on fat-formatted nor on ext3-formatted partitions.

In addition I have to type "export TERM=xterm" each time I use a terminal. Default is kterm and I don't find the place to change this setting permanetly.

In general the combination of Cacko and pdaXqtrom is great.

My configuration:
Zaurus C3100, Cacko 1.23 (full), pdaXqtrom-base, pdaXqtrom-apps, xqtopenoffice, zgcc and java. All cramfs unpacked to a seperate ext3-partition (hdd4)

Detlev

9
Zaurus - pdaXrom / Dns Not Working
« on: April 10, 2006, 04:23:24 am »
Quote
All the info you have posted would point to the nameserver (192.168.0.1) being the problem. Are you sure this is working? Have you tried a tcpdump to see where the packets are going?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122415\"][{POST_SNAPBACK}][/a][/div]

Hi,

yes, I am sure it works. That's my home configuration with a fli4l-router (192.168.0.1), doing DNS, NAt etc.

The Desktop works fine just showing the same information for ifconfig.

When I use my cellphone and GPRS/bluetooth the correct DNS-Servers from the provider are in resolve.conf.

That is exactly the reason why I do not have any idea what is going on ...

Detlev

10
Zaurus - pdaXrom / Dns Not Working
« on: April 09, 2006, 11:44:25 am »
Hi,

beginning two weeks ago I have a strange problem with my SLC 760 running pdaxrom 1.1.0beta1.

I have networks configured via WiFi, CF-netcard and bluetooth/cellphone. All of them worked perfectly, but starting two weeks ago in neither of them DNS is working. Maybe I changed something without taking notice.

As far as I see, all things like receiving IP-adress, writing /etc/resolv.conf and so on work fine. Networking works fine if I use the IP-adress but as I said not name resolution.

For your information I include some output from netstat etc after inserting the CF-Netcard:

#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:A4:06:9E:E3
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1312 errors:0 dropped:0 overruns:0 frame:5
          TX packets:1133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:10 txqueuelen:100
          RX bytes:177228 (173.0 Kb)  TX bytes:238742 (233.1 Kb)
          Interrupt:39 Base address:0x300

#route
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

#dhcpcd -d
****  dhcpcd: already running
****  dhcpcd: if not then delete /var/run/dhcpcd-eth0.pid file

# netstat -vr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     *               255.255.255.0   U        40 0          0 eth0
default         192.168.0.1     0.0.0.0         UG       40 0          0 eth0

# cat /etc/resolv.conf
nameserver 192.168.0.1

Any idea what is going on there?

Detlev

11
Zaurus - pdaXrom / Gpe Pim Apps
« on: March 24, 2006, 03:04:08 pm »
Hi,

playing around with the database-files used by gpe-calendar I was able to trace down the import-problem a little bit.

As far as I see, the dates are stored in the table "calendar" within the database-file calendar (You find it in the .gpe-directory).
Each date is stored as a series of records with the fields "uid", "tag" and "value". All records of one date have the same uid.
The problem related to the import is based on the fact, that the dates are stored like this "23.05.2006 11:00:00" but gpe-calendar expects them to be "2006-05-23 11:00".
If you change the values in the database accordingly, they are shown correctly.

I am not sure, whether this is a bug in the import-routine or whether it is due to the fact, that my desktop-pc is configured for the german date-format.

Any hint where to report this to. I still think that a working import-routine might increase the acceptance of the program a lot.

Detlev

12
Zaurus - pdaXrom / Gpe Pim Apps
« on: March 21, 2006, 02:46:29 pm »
Hi,

I still have problems importing my data from Korganizer/kopi or even iCal (on Mac) to the gpe-calendar and -todo apps.

Because the import on the zaurus does not work (see my post earlier in this thread) I installed the applications with the rpms on my linux-desktop.

Importing an exported vcal-file results in an Message-Box saying "Import of 1 file failed: export.vcs". On the command-line it says:
import_vcal : Fehler beim Lesen der Kalendardatei /home/reymann/export.vcs: Syntax-Fehler (Attribut-Name/-Gruppe fehlt)!
[ a rough translation: import_vcal : Error reading the calendar-file blabla: sytax-error (missing name/group of attributes)]

In this case nothing happenes to the gpe-databases.

Using an exported ical-file (either from Korganizer or iCal) the application starts working on the file, shows a message-box "Import succesful" but no date or todo is shown. On the command-line during import a lot of messages of the type
"Das benutzerdefinierte Profil-Attribut X-KOPIEXTID ist unbekannt."
[The user defined profile-attribute X-KOPIEXTID is unknown]
and then following a lot of messages:
"Unable to parse date: 14.07.2006"
When I open .gpe/calender with sqlite and launch SELECT * FROM calendar;
I get a lot of information like:
65|duration|14400
65|start|12.12.2006 14:00:00
65|sequence|2
65|eventid|kopi-1450956042-475
65|summary|Senatssitzung

Any idea what is going wrong? I really would like to import my data from kopi ...

Detlev

13
Hardware Mods / 'self Powered' Hdds And Zaurus
« on: March 03, 2006, 12:53:31 pm »
Hi,
[...]
Quote
Then a thought struck me...
iPods charge themselves through the USB port
Some time ago I had a similar idea as using my ipod for backup purpose. After reading in different forums I rejected the idea because of the fact, that there are serious warnings to use an ipod for permanent disk usage. There shall be real problems due to the heat produced by the disc.
The ipod works normally in reading a certain amount of files from the disk to internal RAM, sendign the disk to sleep, reading again ...

Just a thought ...

Detlev

14
Zaurus - pdaXrom / Gpe Pim Apps
« on: February 27, 2006, 01:26:26 pm »
Hi,
I just installed the apps. I am very interested to test, because I exspect them to be better adapted to the PDA-screen.
Gpe-calendar and gpe-contacts segfault, when I try to import data. They crash immediately after clicking on the import-button. On the command-line there is only the message "Segmentation fault". Importing data would be essential for serious usage.
Any ideas?

Detlev

15
C1000/3x00 General discussions / What Is Using 1.5gb On Hdd3?
« on: January 25, 2006, 12:27:59 pm »
Hi,

Quote
I rebooted, same result with df
[...]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112342\"][{POST_SNAPBACK}][/a][/div]

I am not totally shure but I have in mind that even on linux you have to delete the directory where the files were stored. Only then the inodes are back in the list of available inodes?

As I said, I am not totally shure, but may be worth a try.

Detlev

Pages: [1] 2 3