Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
irda and symbolic links [SOLVED]
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
LonelyStar
Guru
Guru


Joined: 06 Dec 2005
Posts: 390

PostPosted: Thu Mar 02, 2006 4:23 pm    Post subject: irda and symbolic links [SOLVED] Reply with quote

Hello together,
I try to start irda:

Sam2 ~ # /etc/init.d/irda start
* Starting IrDA ...
Failed to open device /dev/ttyS2: Too many levels of symbolic links

mmh ... checking:

Sam2 dev # ls /dev/ttyS2 -l
lrwxrwxrwx 1 root root 5 Mar 2 19:19 /dev/ttyS2 -> tts/2
Sam2 dev # ls /dev/tts/2 -l
lrwxrwxrwx 1 root root 8 Mar 2 19:19 /dev/tts/2 -> ../ttyS2

That is quite strange, isn't it? Unfortantly, I do not know where those symlinks should point.
Any Help?
Thanks!


Last edited by LonelyStar on Sun Apr 02, 2006 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
meisterlampe
n00b
n00b


Joined: 02 Jun 2004
Posts: 23

PostPosted: Thu Mar 30, 2006 12:52 pm    Post subject: got the same Reply with quote

got the same problem...
Back to top
View user's profile Send private message
meisterlampe
n00b
n00b


Joined: 02 Jun 2004
Posts: 23

PostPosted: Thu Mar 30, 2006 4:55 pm    Post subject: my solution Reply with quote

* see: dmesg | grep ttyS (gives you the information for all serial ports in your machine)
- example output: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ...

* remove /dev/ttyS#
* create new nodes (for all serial ports you have):
- mknod -m 666 /dev/ttyS0 c 4 64
- mknod -m 666 /dev/ttxS1 c 4 65
- etc.
* set serial port information:
- setserial /dev/ttyS0 port 0x3f8 irq 4
- setserial /dev/ttyS0 port 0x2f8 irq 3
- etc.

worked fine for me...

cheers, Karl
Back to top
View user's profile Send private message
LonelyStar
Guru
Guru


Joined: 06 Dec 2005
Posts: 390

PostPosted: Sun Apr 02, 2006 8:20 pm    Post subject: Reply with quote

I do not know if your solution would have worked for me because since then I have reinstalled my gentoo.
But since there is a solution, I think I should mark the topic with a [SOLVED]
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