Re: tiny_serial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Similar question, but nobody answer:

http://mail.nl.linux.org/kernelnewbies/2007-10/msg00007.html

And here I tried:

mknod /dev/ttytiny c 240 1
echo "ff" > /dev/ttytiny
bash: /dev/ttytiny: No such device or address

insmod tiny_serial.ko
echo "ff" > /dev/ttytiny
bash: echo: write error: Input/output error

dmesg | tail

[29920.028295] Tiny serial driver loaded
[29920.028305] Tiny serial driver loadedgggg
[29920.028332] Tiny serial driver loadedeeee
[29920.028335] result=0

It got loaded alright, but what is the supposed behavior of >/dev/tty?

On Tue, Jul 15, 2008 at 4:00 AM, Sébastien Chrétien <chretien@xxxxxxxxxx> wrote:
>
> Hello,
>
> I am learning to implemant a uart_driver. And I use your file
> "tiny_serial.c".
> Thank you for your work.
> But when I try your module, an errors occurs when I try : echo "Hello World"
>> /dev/ttytiny0
> input/output error.
>
> Can you help me to fix this ?
>
> I use kernel 2.6.25.
>
> Thanks
> Sébastien Chrétien
>
>
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux