Author Topic: Irda-device On Eabi  (Read 5399 times)

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
Irda-device On Eabi
« 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
Code: [Select]
irattach /dev/ttySx (x=0,...,2)it gives in /var/log/messages:
Code: [Select]
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:
Code: [Select]
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*
Code: [Select]
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   ?
« Last Edit: January 06, 2008, 05:09:14 am by LinuxGadget »
C1000, 2.6.24-yonggun, Debian EABI

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
Irda-device On Eabi
« Reply #1 on: January 05, 2008, 08:29:49 pm »
Try this, it works for me on the same kernel:
Code: [Select]
modprobe pxaficp_ir
modprobe ircomm
modprobe ircomm_tty
irattach irda0 -s
After this /dev/ircomm0 is ready to use.
Regards,
Vitel

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
Irda-device On Eabi
« Reply #2 on: January 06, 2008, 04:44:24 am »
 Thanks, Vitel! Irda is working perfectly.
Now let's see if  my Polar Hrm is syncing with my Z.  
C1000, 2.6.24-yonggun, Debian EABI

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Irda-device On Eabi
« Reply #3 on: January 06, 2008, 07:11:11 am »
(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 !
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

LinuxGadget

  • Newbie
  • *
  • Posts: 44
    • View Profile
Irda-device On Eabi
« Reply #4 on: January 06, 2008, 10:52:55 am »
Quote from: jpmatrix
(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, 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
« Last Edit: January 06, 2008, 10:56:49 am by LinuxGadget »
C1000, 2.6.24-yonggun, Debian EABI