gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nokia 6150 pty error (an Sharp Zaurus)


From: Martin Bürbaum
Subject: Nokia 6150 pty error (an Sharp Zaurus)
Date: Fri, 10 Oct 2003 19:48:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925

Hello,

does anybody have any experience with a Nokia-61xx (Nokia6150)
mobile and gnokiid over IR (on a Sharp-Zaurus)?

gnokii version: 0.5.2
Nokia-firmware: V 5.23 20-03-00 NSM-1 (Nokia 6150)
Zaurus-OS     : OpenZaurus 3.2
kernelversion : 2.4

Here is my gnokii-config (.gnokiirc):
------------------------------------------
[global]
port = /dev/ttyS2
model = 6150
initlength = default
connection = infrared
bindir = /mnt/card/usr/sbin/
use_locking = yes
------------------------------------------

"gnokii --monitor" and any other function of the gnokii-binary
seams to work fine.

But I really have troubles getting gnokiid to work.
I just get this error:
------------------------------------------
# gnokiid
GNOKIID Version 0.5.2
Couldn't open pty!
wait: : No such file or directory
------------------------------------------

------------------------------------------
# strace gnokiid # replaced some duplicate lines  with [...]

execve("/usr/sbin/gnokiid", ["gnokiid"], [/* 17 vars */]) = 0
brk(0)                                  = 0x21a64
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40017000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/opt/QtPalmtop/lib/v4l/fast-mult/half/libbluetooth.so.1",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/QtPalmtop/lib/v4l/fast-mult/half", 0xbfffeee8) = -1 ENOENT
(No such file or directory)
open("/opt/QtPalmtop/lib/v4l/fast-mult/libbluetooth.so.1", O_RDONLY) =
-1 ENOENT (No such file or directory)
stat64("/opt/QtPalmtop/lib/v4l/fast-mult", 0xbfffeee8) = -1 ENOENT (No
such file or directory)
open("/opt/QtPalmtop/lib/v4l/fast-libbluetooth.so.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/opt/QtPalmtop/lib/v4l/fast", 0xbfffeee8) = -1 ENOENT (No such
file or directory)
open("/opt/QtPalmtop/lib/halflibbluetooth.so.1", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/opt/QtPalmtop/lib/hal", 0xbfffeee8) = -1 ENOENT (No such file
or directory)
open("/opt/QtPalmtop/lib/fast-mult/half/libbluetooth.so.1", O_RDONLY) =
-1 ENOENT (No such file or directory)
stat64("/opt/QtPalmtop/lib/fast-mult/half", 0xbfffeee8) = -1 ENOENT (No
such file or directory)
open("/opt/QtPalmtop/lib/fast-mult/libbluetooth.so.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/opt/QtPalmtop/lib/fast-mult", 0xbfffeee8) = -1 ENOENT (No such
file or directory)
open("/opt/QtPalmtop/lib/fast-libbluetooth.so.1", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/opt/QtPalmtop/lib/fast", 0xbfffeee8) = -1 ENOENT (No such file
or directory)
open("/opt/QtPalmtop/lib/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/opt/QtPalmtop/lib", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0
open("/lib/v4l/fast-mult/half/libbluetooth.so.1", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/lib/v4l/fast-mult/half", 0xbfffeee8) = -1 ENOENT (No such file
or directory)
open("/lib/v4l/fast-mult/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/lib/v4l/fast-mult", 0xbfffeee8) = -1 ENOENT (No such file or
directory)
open("/lib/v4l/fast-libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/v4l/fast", 0xbfffeee8)     = -1 ENOENT (No such file or
directory)
open("/lib/halflibbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/hal", 0xbfffeee8)          = -1 ENOENT (No such file or
directory)
open("/lib/fast-mult/half/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/lib/fast-mult/half", 0xbfffeee8) = -1 ENOENT (No such file or
directory)
open("/lib/fast-mult/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/fast-mult", 0xbfffeee8)    = -1 ENOENT (No such file or
directory)
open("/lib/fast-libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/fast", 0xbfffeee8)         = -1 ENOENT (No such file or
directory)
open("/lib/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/usr/lib/v4l/fast-mult/half/libbluetooth.so.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/lib/v4l/fast-mult/half", 0xbfffeee8) = -1 ENOENT (No such
file or directory)
open("/usr/lib/v4l/fast-mult/libbluetooth.so.1", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/v4l/fast-mult", 0xbfffeee8) = -1 ENOENT (No such file
or directory)
open("/usr/lib/v4l/fast-libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/v4l/fast", 0xbfffeee8) = -1 ENOENT (No such file or
directory)
open("/usr/lib/halflibbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/hal", 0xbfffeee8)      = -1 ENOENT (No such file or
directory)
open("/usr/lib/fast-mult/half/libbluetooth.so.1", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/fast-mult/half", 0xbfffeee8) = -1 ENOENT (No such file
or directory)
open("/usr/lib/fast-mult/libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/fast-mult", 0xbfffeee8) = -1 ENOENT (No such file or
directory)
open("/usr/lib/fast-libbluetooth.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/fast", 0xbfffeee8)     = -1 ENOENT (No such file or
directory)
open("/usr/lib/libbluetooth.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\210\30\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=20248, ...}) = 0
old_mmap(NULL, 51952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000
mprotect(0x40024000, 31472, PROT_NONE)  = 0
old_mmap(0x40027000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x40027000
close(3)                                = 0
open("/opt/QtPalmtop/lib/libgnokii.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libgnokii.so.1", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("/usr/lib/libgnokii.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T-\1\0004"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=297468, ...}) = 0
old_mmap(NULL, 340172, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000
mprotect(0x40073000, 49356, PROT_NONE)  = 0
old_mmap(0x40074000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x40000) = 0x40074000
old_mmap(0x4007c000, 12492, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4007c000
close(3)                                = 0
open("/opt/QtPalmtop/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0H\301\1\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1158260, ...}) = 0
old_mmap(NULL, 1201752, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40080000
mprotect(0x40195000, 67160, PROT_NONE)  = 0
old_mmap(0x40198000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x110000) = 0x40198000
old_mmap(0x401a2000, 13912, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401a2000
close(3)                                = 0
mprotect(0x4002c000, 290816, PROT_READ|PROT_WRITE) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
mprotect(0x4002c000, 290816, PROT_READ|PROT_EXEC) = 0
syscall_983042(0, 0x47000, 0x5, 0x464bc, 0, 0x4002c034, 0x47c,
0x400146db, 0x4001ec20, 0xbffff57c, 0x4001e184, 0xbffff5a4, 0,
0xbffff514, 0x4000b584, 0x4000b5cc, 0x60000010, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0) = 0
brk(0)                                  = 0x21a64
brk(0x21a84)                            = 0x21a84
brk(0x22000)                            = 0x22000
write(2, "GNOKIID Version 0.5.2\n", 22GNOKIID Version 0.5.2
) = 22
open("/root/.gnokiirc", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=221, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4001a000
read(3, "[Desktop Entry]\n[connect_script]"..., 4096) = 221
read(3, "", 4096)                       = 0
open("/var/lock/LCK..ttyS2", O_RDONLY)  = 4
read(4, "      3081 gnokii\n", 127)     = 18
close(4)                                = 0
kill(3081, SIG_0)                       = -1 ESRCH (No such process)
write(2, "Lockfile /var/lock/LCK..ttyS2 is"..., 56Lockfile
/var/lock/LCK..ttyS2 is stale. Overriding it..
) = 56
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
unlink("/var/lock/LCK..ttyS2")          = 0
open("/var/lock/LCK..ttyS2", O_WRONLY|O_CREAT|O_EXCL, 0644) = 4
getpid()                                = 3086
write(4, "      3086 gnokii\n", 18)     = 18
close(4)                                = 0
brk(0x23000)                            = 0x23000
brk(0x25000)                            = 0x25000
open("/dev/ttyS2", O_RDWR|O_NONBLOCK|O_NOCTTY) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE, {B115200 -opost -isig -icanon -echo ...}) = 0
ioctl(4, 0x540b, 0)                     = 0
ioctl(4, SNDCTL_TMR_START, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_TIMEBASE, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_TIMEBASE, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_STOP, {B19200 -opost -isig -icanon -echo ...}) = 0
fcntl64(4, F_SETFL, O_RDONLY)           = 0
getpid()                                = 3086
fcntl64(4, F_SETOWN, 3086)              = 0
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
ioctl(4, 0x5416, [TIOCM_DTR])           = 0
ioctl(4, 0x5417, [TIOCM_RTS])           = 0
ioctl(4, SNDCTL_TMR_TIMEBASE, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_STOP, {B9600 -opost -isig -icanon -echo ...}) = 0
write(4, "U", 1)                        = 1
[...]
write(4, "U", 1)                        = 1
write(4, "\301", 1)                     = 1
nanosleep({0, 100000000}, NULL)         = 0
ioctl(4, SNDCTL_TMR_TIMEBASE, {B9600 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_STOP, {B115200 -opost -isig -icanon -echo ...}) = 0
write(4, "address@hidden", 18) = 18
select(5, [4], NULL, NULL, {1, 0})      = 0 (Timeout)
ioctl(4, SNDCTL_TMR_TIMEBASE, {B115200 -opost -isig -icanon -echo ...}) = 0
ioctl(4, SNDCTL_TMR_STOP, {B9600 -opost -isig -icanon -echo ...}) = 0
write(4, "U", 1)                        = 1
[...]
write(4, "U", 1)                        = 1
------------------------------------------


The nokias IR is turned on and the gnokii/gnokiid/mgnokiidev-binaries
are set to (root/root) and (setuid/setgid).

No irda-modula loaded (AFAIK):
------------------------------------------
# lsmod
Module                  Size  Used by
sharp_mmcsd_m          27472   2
collie_tc35143af       20592   0  (unused)
collie_ssp             13664   0  [collie_tc35143af]
devinfo                 3104   0  (unused)
sa1100_bi              44976   0  (unused)
net_fd                 36224   1  [sa1100_bi]
usbdcore               21616   0  [sa1100_bi net_fd]
usbdmonitor             5888   0
------------------------------------------

------------------------------------------
# mount|grep pts
devpts on /dev/pts type devpts (rw)
------------------------------------------

I hope somebody can help me. I searched for a solution
for this problem for a very very long time without success.

Regards,
Martin

-- 
No, i'm not going to buy a new mobile ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]