Re: Bound Hardware with TTY Driver

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

 



On Thu, Aug 17, 2006 at 11:12:39AM -0300, Ulises wrote:
> Hi All,
>    I'm developing a TTY driver for a Bar Code Scanner connected to the 
> serial port (just for learning purpose).

So your driver will really just be a serial uart driver, that would do
all of the same thing that the in-kernel serial port driver does, which
has nothing to do with a bar code scanner.

> My questions is: How can I bound the hardware with my TTY Driver?

You need to implement the same functions that the serial port driver
does to talk to the hardware.  I suggest reading that driver for
details.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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