Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1447556
| From | Andi Shyti <andi.shyti@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 5/7] [media] ir-lirc-codec: do not handle any buffer for raw transmitters |
| Date | 2016-07-21 02:50 +0200 |
| Message-ID | <rXalz-c2-15@gated-at.bofh.it> (permalink) |
| References | <rWFB7-5U4-7@gated-at.bofh.it> <rWFB8-5U4-17@gated-at.bofh.it> <rXalz-c2-17@gated-at.bofh.it> <rWLwR-1l8-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Sean, > > Raw transmitters receive the data which need to be sent to > > receivers from userspace as stream of bits, they don't require > > any handling from the lirc framework. > > No drivers of type RC_DRIVER_IR_RAW_TX should handle tx just like any > other device, so data should be provided as an array of u32 alternating > pulse-space. If your device does not handle input like that then convert > it into that format in the driver. Every other driver has to do some > sort of conversion of that kind. I don't see anything wrong here, that's how it works for example in Tizen or in Android for the boards I'm on: userspace sends a stream of bits that are then submitted to the IR as they are. If I change it to only pulse-space domain, then I wouldn't provide support for those platforms. Eventually I can add a new protocol. Andi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC 5/7] [media] ir-lirc-codec: do not handle any buffer for raw transmitters Andi Shyti <andi.shyti@samsung.com> - 2016-07-19 18:00 +0200
Re: [RFC 5/7] [media] ir-lirc-codec: do not handle any buffer for raw transmitters Sean Young <sean@mess.org> - 2016-07-20 00:20 +0200
Re: [RFC 5/7] [media] ir-lirc-codec: do not handle any buffer for raw transmitters Andi Shyti <andi.shyti@samsung.com> - 2016-07-21 02:50 +0200
Re: [RFC 5/7] [media] ir-lirc-codec: do not handle any buffer for raw transmitters Sean Young <sean@mess.org> - 2016-07-21 16:50 +0200
csiph-web