On Wed, Feb 14, 2007 at 10:50:27AM -0500, Jon Smirl wrote:
> On 2/14/07, Vojtech Pavlik <[EMAIL PROTECTED]> wrote:
> >On Wed, Feb 14, 2007 at 09:44:46AM -0500, Jon Smirl wrote:
> >> >Sending an IR signal involves things like setting the carrier frequency,
> >> >duty cycle, and then writing a stream of timing values.
> >> >I think that evdev in general is not the right interface for this.
> >>
> >> This could be worked into the evdev support. lircd.conf would contain
> >> entries for the controls you wanted to send codes for. This info could
> >> be used to created an uinput/evdev entry for the control. If evdev
> >> supports pushing events, lircd could take the event and convert it to
> >> IR info and push it down into the lirc drivers.
> >>
> >> We need Vojtech to tell us if we can push events into uinput.
> >
> >You can. However, the event direction depends on the event type: EV_KEY
> >always goes from device to handler, EV_LED goes both ways. You'd have a
> >new event type for sending out IR events: This is different from
> >pressing a key. But it's trivial to add.
> 
> Does pushing an event work with an app using uinput?
 
Interesting question. Of course uinput can generate any events. But they
will only be delivered either back to it, or to event handlers (evdev,
...)

-- 
Vojtech Pavlik
Director SuSE Labs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to