Re: Trying to connect over Irda Timeport P7389i to Dell D620 (built-in Irda) on Ubuntu.

Jan <[email protected]> Tue, 1 Apr 2014 13:06:27 +0200
Newsgroups gmane.linux.drivers.gnokii
Message-ID <CAN7_RZ1SXAU101=aAMB3EbZY9jZXagkf0qDvdCp_rnh_Bvf+1g@mail.gmail.com>
Using confguration:
[global]
port = /dev/ttyS1
model = AT
initlength = default
connection = serial
use_locking = no

I get: Inappropriate ioctl for device

ubuntu@ubuntu:~$ sudo gnokii --config
/home/ubuntu/Desktop/gnokii-0.6.31/gnokiirc3 --identify
GNOKII Version 0.6.30
Gnokii serial_opendevice: tcflush: Inappropriate ioctl for device
Couldn't open ATBUS device: Inappropriate ioctl for device
Telephone interface init failed: Command failed.
Quitting.
Command failed.

Port seems to by OK:
ubuntu@ubuntu:~$ ps aux | grep ir
root 2987 0.0 0.0 2144 456 ? S 13:52 0:00 /usr/sbin/irattach /dev/ttyS1
none -s

ubuntu@ubuntu:~$ dmesg |grep tty
[ 0.000000] console [tty0] enabled
[ 6.408263] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

And the phone is there:
ubuntu@ubuntu:~$ cat /proc/net/irda/discovery
IrLMP: Discovery log:
nickname: Timeport, hint: 0xb104, saddr: 0x21d3fe77, daddr: 0x10f0690b


2014-03-31 21:04 GMT+02:00 Daniele Forsi <[email protected]>:

> 2014-03-31 13:33 GMT+02:00 Jan:
>
> > I'm trying to connect over Irda Timeport P7389i to Dell D620 (built-in
> Irda)
>
> > Couldn't open ATBUS device: Resource temporarily unavailable
>
> > port = /dev/ttyS1
>
> > model = AT
>
> > connection = irda
>
> use connection=serial
>
> serial will work with AT and will use the port parameter, irda works
> only with FBUS on Linux and ignores the port parameter
>
> we need documentation about valid port/model/connection values
>
> --
> Daniele Forsi
>
> _______________________________________________
> gnokii-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/gnokii-users
>

_______________________________________________
gnokii-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnokii-users