OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: LinuxGadget on January 04, 2008, 05:11:23 pm
-
Hi all,
my C1k is running EABi on 2.6.22.9-yonggun. Tried to setup the irda-stuff. So installed irda and irda-utils.
Now, when am doing
irattach /dev/ttySx (x=0,...,2)
it gives in /var/log/messages:
Jan 4 22:53:43 Zaurus irattach: Stopping device /dev/ttyS2
Jan 4 22:53:43 Zaurus irattach: ioctl(SIOCGIFFLAGS): No such device
Jan 4 22:53:43 Zaurus irattach: exiting ...
But in /var/log/dmesg are theses devices:
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
and ls -l /dev/ttyS*
crw-rw-rw- 1 root dialout 4, 64 Jan 4 20:44 /dev/ttyS0
crw-rw-rw- 1 root dialout 4, 65 Jan 4 20:44 /dev/ttyS1
crw-rw-rw- 1 root dialout 4, 66 Jan 4 20:44 /dev/ttyS2
So, where am i missing the point ?
-
Try this, it works for me on the same kernel:
modprobe pxaficp_ir
modprobe ircomm
modprobe ircomm_tty
irattach irda0 -s
After this /dev/ircomm0 is ready to use.
-
Thanks, Vitel! Irda is working perfectly.
Now let's see if my Polar Hrm is syncing with my Z.
-
(smile) this article will soon be wikified! (smile)
so far for me:
1) i had to apt-get install irda-utils
2) i had to create the /dev/ircomm0 device node :
mknod /dev/ircomm0 c 161 0
3) then :
modprobe pxaficp_ir
modprobe ircomm
modprobe ircomm_tty
irattach irda0 -s
4) i modprobe irda too
5) now wammu can see my nokia 6021 !
and it seems to retrive the infos!!!
thanks everybody !
-
(smile) this article will soon be wikified! (smile)
Excellent idea!
Maybe you could also add your steps setting up bluetooth? https://www.oesf.org/forum/index.php?showto...mp;hl=bluetooth (https://www.oesf.org/forum/index.php?showtopic=24736&hl=bluetooth), did the job for me. Had some troubles with pairing, but now my S-E K320i syncs with some quirks on my Z (opensync+evolution+contacts). Really nice