Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
irda e symlinks [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Fri Jan 13, 2006 9:56 pm    Post subject: irda e symlinks [risolto] Reply with quote

buonasera a tutti, ho un problema che non riesco a risolvere.
dando il comando
Code:
 irattach /dev/ttyS1 -s
ottengo come output
Code:

Failed to open device /dev/ttyS1: Too many levels of symbolic links

ed effettivamente /dev/ttyS1 è un symlink di /dev/tts/1 come da output:
Code:
ls /dev/ttyS1 -l
lrwxrwxrwx  1 root root 5 13 gen 21:46 /dev/ttyS1 -> tts/1


però la cosa sconcertante è che "too many" vuol dire molti, quindi io voglio vedere a che punta quest'altro block e che ottengo con mia grande sorpresa?
Code:
 ls /dev/tts/1 -l
lrwxrwxrwx  1 root root 8 13 gen 21:46 /dev/tts/1 -> ../ttyS1

quindi è chiaro che dopo un po' che eseguo chiamate a link simbolici ricorsivi il mio pc si rompa un po' e mi voglia picchiare.

qualcuno di voi saprebbe cosa fare per risolvere la situazione?

PS: la porta viene rilevata correttamente, in dmesg infatti ottengo:
Code:
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

che credo possa essere un segno positivo del rilevamento del device che, tra l'altro, fino a qualche tempo fa funzionava correttamente. però è un po' che attualmente non la utilizzavo più.


Last edited by Ic3M4n on Sat Jan 14, 2006 8:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
drakkan
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 232

PostPosted: Sat Jan 14, 2006 4:25 pm    Post subject: Reply with quote

a me l'irda funziona correttamente (in questo momento sono connesso con irda+cellulare) in dev ho questo:

Code:
nicola@d810 ~ $ ls -la /dev/ttyS1
lrwxrwxrwx  1 root root 5 13 gen 21:13 /dev/ttyS1 -> tts/1
nicola@d810 ~ $ ls -la /dev/tts/1
crw-rw----  1 root tty 4, 65 13 gen 21:13 /dev/tts/1


ciao
drakkan
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sat Jan 14, 2006 8:08 pm    Post subject: Reply with quote

ok, ho risolto il problema.
ho fatto una prova metterdo tarball = no e riavviando ed i device che mi ha creato ex novo sono come i tuoi. quindi adesso riesco a lanciare irattach.
grazie.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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