/dev/ttyS1 can not be used : io error

Xiangfu Liu xiangfu at sharism.cc
Sun Apr 11 01:22:43 EDT 2010


Hi Guylhem

the ttyS1 have stop in bootloader.
so you need enable the UART1 in bootloader.

On 04/11/2010 08:20 AM, Guylhem Aznar wrote:
> Hello
>
> I did hook up the bluetooth chip to RX2 and TX2, but I have a strange
> io problem:
> root at BenNanoNote:~# hciattach /dev/ttyS1 csr 115200
> Can't get port settings: Input/output error
> Can't initialize device: Input/output error
>
> Apparently, trying to access the 2nd serial port gives io errors,
> while the 1st one works fine
> root at BenNanoNote:~# cat /dev/ttyS1
> cat: read error: Input/output error
> root at BenNanoNote:~# cat /dev/ttyS0
> ^C
>
> Any idea why? I see the port in /dev so I guess it is detected.
> However it is not listed in dmesg:
> root at BenNanoNote:~# dmesg|grep -i tty
> [    0.000000] Kernel command line: mem=32M console=ttyS0,57600n8
> ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
> [    0.000000] console [ttyS0] enabled, bootconsole disabled
> [    0.660000] serial8250: ttyS0 at MMIO 0x0 (irq = 17) is a 16550A
>
> I'd prefer keeping the 1st serial port free, in case I need it later
> because it is accessible without removing the screws, and because it's
> used as the serial console too.
>
> Guylhem
>
> _______________________________________________
> discussion mailing list
> discussion at lists.qi-hardware.com
> http://en.qi-hardware.com/mailman/listinfo/discussion





More information about the discussion mailing list


interactive