View previous topic :: View next topic |
Author |
Message |
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Fri Jan 13, 2006 9:56 pm Post subject: irda e symlinks [risolto] |
|
|
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 |
|
|
drakkan Apprentice
Joined: 21 Jun 2004 Posts: 232
|
Posted: Sat Jan 14, 2006 4:25 pm Post subject: |
|
|
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 |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Sat Jan 14, 2006 8:08 pm Post subject: |
|
|
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 |
|
|
|