View previous topic :: View next topic |
Author |
Message |
dumi n00b


Joined: 17 Mar 2004 Posts: 30 Location: Czech Republic
|
Posted: Sun May 23, 2004 12:16 am Post subject: IRDA under 2.6.5 gentoo kernel |
|
|
I have kernel 2.6.5-gentoo-r1 and irda-utils-0.9.15 but irda doesn't work, I have found this in syslog:
May 23 01:34:29 dumi irattach: irattach: tty: set_disc(11): Bad file descriptor
May 23 01:34:29 dumi irattach: Stopping device /dev/ttyS1
May 23 01:34:29 dumi irattach: ioctl(SIOCGIFFLAGS): No such device
May 23 01:34:29 dumi irattach: exiting ...
Under kernel gentoo 2.4 it works fine. I use UDEV, and IRDA connected to mother board via 5 pin connector.
Any suggestions?? Thanks for every answer. |
|
Back to top |
|
 |
villemeur n00b

Joined: 28 Sep 2003 Posts: 6
|
Posted: Mon May 31, 2004 9:05 pm Post subject: |
|
|
Hi,
I just have the same problem, and finally found the solution:
first, determine what is your irda chip (findchip is your friend here).
Then, recompile it in your kernel, as a module or not, as you whish.
Be sure that this chip has been recognized on startup. dmesg should tell you that irda0 devices has been created (it don't appear under /dev).
On my system, I then had to do irattach -s irda0 (without the /dev), and then modprobe ircomm-tty, and everything went fine, and I was finally able to synchronise my palm using IRDA.
Renaud |
|
Back to top |
|
 |
dumi n00b


Joined: 17 Mar 2004 Posts: 30 Location: Czech Republic
|
Posted: Tue Jun 01, 2004 10:00 pm Post subject: |
|
|
Hi,
Thanks for your answer. I'll try it.
Dumi |
|
Back to top |
|
 |
dumi n00b


Joined: 17 Mar 2004 Posts: 30 Location: Czech Republic
|
Posted: Sat Jun 12, 2004 11:06 pm Post subject: Problem solved |
|
|
Hi
Thank you very much.
Your advice didn't help me but when I was trying it I found another solution. I tried to use findchip but with no success as well as under 2.4 kernel because findchip was looking for FIR devices (which I don't have). But when I looked in 2.4 kernel config I've noticed that I forgot to compile Irtty (which is SIR) driver to my 2.6 kernel. With this driver IRDA works fine. Thank you. Have a nice day.
dumi
Sorry for my English, I am beginner. |
|
Back to top |
|
 |
|