Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IRDA under 2.6.5 gentoo kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dumi
n00b
n00b


Joined: 17 Mar 2004
Posts: 30
Location: Czech Republic

PostPosted: Sun May 23, 2004 12:16 am    Post subject: IRDA under 2.6.5 gentoo kernel Reply with quote

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
View user's profile Send private message
villemeur
n00b
n00b


Joined: 28 Sep 2003
Posts: 6

PostPosted: Mon May 31, 2004 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
dumi
n00b
n00b


Joined: 17 Mar 2004
Posts: 30
Location: Czech Republic

PostPosted: Tue Jun 01, 2004 10:00 pm    Post subject: Reply with quote

Hi,

Thanks for your answer. I'll try it.

Dumi
Back to top
View user's profile Send private message
dumi
n00b
n00b


Joined: 17 Mar 2004
Posts: 30
Location: Czech Republic

PostPosted: Sat Jun 12, 2004 11:06 pm    Post subject: Problem solved Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum