Re: Connecting input driver to underlying uart

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

 



On Fri, Jul 17, 2015 at 04:00:16PM -0700, Joshua Clayton wrote:
> On Wednesday, July 15, 2015 11:22:06 AM you wrote:
> > Hi list,
> > I'm starting work on an input driver.
> > the device is connected to an RS232 uart in my freescale imx6q arm system, 
> > which has 2 serial ports, one of which is a console
> > 
> > It is not anything like a ps2/at device.
> > How can I get it to take over the uart device? A devicetree entry?
> > 
> > I do not understand serio probing, and don't understand if I should use serio 
> > for a non ps2 compatible device.
> > 
> > Any pointers would be helpful.
> > 
> > The input device documentation is great if I can just figure out how to 
> > connect it to my hardware.
> > 
> > 
> I went ahead and converted (parts of) the existing userspace driver. 
> Clearly I am missing something. My driver is registered with serio, but serio is not associated with any devices.
> I turned on the SERIO_SERPORT...
> /sys/bus/serio/devices/ is empty.
> I would like it to bind my driver to /dev/ttymxc1 (uart 2 on this  system), or its underlying uart.

You need to use inputattach utility to activate serport on the uart of
your choosing and tell it what type of serio port to create.

Thanks.

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



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux