Re: Filedes is not a tty

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

 



On Tue, Aug 01, 2017 at 11:16:13AM -0700, Greg KH wrote:
> Is your debugging messages getting printed out when your device is
> probed?
> 
> Do you see /dev/ttyS8 and 9 being created by the kernel when the device
> is found?
Yes, everything is fine. And just before I left my desk yesterday, Ì
think I was able to figure this out myself:
When poking around in /sys/class/tty/ttyS8 I found the type was 0.
However, in my code I set it to PORT_16550. I learned I have to set the
UPF_FIXED_TYPE flag.

This solved the issue - but many thanks!
I sent the driver yesterday, but I will resend it. It has some
whitespace issues.

Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux