It looks like you simply need to close the process that's using the serial port.

If you don't know how to do this, and this is a desktop, you can simply reboot 
it.

On Jan 12, 2011, at 1:36 PM, jin&hitman&Barracuda wrote:

> Hi 
> Thanks for answer.
> Here is the command results
> 
> fatal...@squeeze:~$ dmesg | grep ttyS
> [    0.480071] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [    0.480323] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> 
> sudo su
> r...@squeeze:/home/fatality# cu -l /dev/ttyS0 -s 9600
> cu: open (/dev/ttyS0): Permission denied
> cu: /dev/ttyS0: Line in use
> 
> r...@squeeze:/home/fatality# cu -l /dev/ttyS1 -s 9600
> cu: open (/dev/ttyS1): Permission denied
> cu: /dev/ttyS1: Line in use
> 
> 
> r...@squeeze:/home/fatality# id fatality
> uid=1000(fatality) gid=1000(fatality) 
> groups=1000(fatality),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(video),46(plugdev),105(fuse),107(powerdev),110(netdev),116(lpadmin),117(vboxusers),123(scanner)
> 
> Same command results with non-root user 
> fatal...@squeeze:~$ cu -l /dev/ttyS0 -s 9600 -d
> cu: open (/dev/ttyS0): Permission denied
> cu: /dev/ttyS0: Line in use
> 
> Some extra info:
> r...@squeeze:/home/fatality# cat /proc/tty/driver/serial 
> serinfo:1.0 driver revision:
> 0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
> 1: uart:unknown port:000002F8 irq:3
> 2: uart:unknown port:000003E8 irq:4
> 3: uart:unknown port:000002E8 irq:3
> 
> 
> Thanks again
> 
> 
> 
> 2011/1/12 Luis Mondesi <[email protected]>
> 1. are you a member of the group that owns your serial port (/dev/ttyS0 or 
> ttyS1?)
> 2. what if you use "cu" like: cu -l /dev/ttyS0 -s 9600
> 3. what did your kernel think is the ttyS* port? (grep ttyS /var/log/dmesg)
> 
> It's possible that your udev rules are messed up somehow and you don't have 
> the right special files. Verify everything first.
> 
> On Jan 12, 2011, at 2:56 AM, jin&hitman&Barracuda wrote:
> 
>> Hi .
>> 
>> I was working on my Cisco Router with serial port for configure the IOS. I 
>> can see the terminal results on the screen but i can not send any signal or 
>> character with keyboard on Minicom 2.4.
>> I'm still using the same cable on other os (RedHat, OpenBSD, win...) and it 
>> is working. I sent some order, character and signal same cable.  There is a 
>> status bar on the minicom and allways writing "Offline" marked with red 
>> color. 
>> After some hours, i changed my mind, now  i'm using cutecom. But it doesn't 
>> work. every thing still same it was.  
>> 
>> Please, Can anyone tell me what is problem/s? 
>> I'm using Squueze. Have nice day.
>> Thanks, Fatih
>> -- 
>> 
>> -- 
>> From HemiB A R R A C U D A !
> 
> --
> Luis Mondesi
> [email protected]
> 
> 
> 
> 
> 
> 
> 
> -- 
> From HemiB A R R A C U D A !

--
Luis Mondesi
[email protected]




Reply via email to