On Mon, Aug 2, 2010 at 11:12 AM, Jarod Wilson ja...@redhat.com wrote:
On Sat, Jul 31, 2010 at 05:53:33PM -0400, Jon Smirl wrote:
On Sat, Jul 31, 2010 at 2:51 PM, Andy Walls awa...@md.metrocast.net wrote:
...
Since these two protocols have such close timings that systematic errors
can cause
On Mon, Aug 2, 2010 at 12:42 PM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi!
Jon Smirl jonsm...@gmail.com wrote:
[...]
Got one. The Streamzap PC Remote. Its 14-bit RC5. Can't get it to properly
decode in-kernel for the life of me. I got lirc_streamzap 99% of the way
ported over
On Sun, Aug 1, 2010 at 5:50 AM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 31 Jul 10 at 14:14, Jon Smirl wrote:
On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus l...@bartelmus.de
wrote:
Hi Jon,
on 31 Jul 10 at 12:25, Jon Smirl wrote:
On Sat, Jul 31, 2010 at 11:12 AM, Andy
On Sun, Aug 1, 2010 at 10:00 AM, Jon Smirl jonsm...@gmail.com wrote:
On Sun, Aug 1, 2010 at 5:50 AM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 31 Jul 10 at 14:14, Jon Smirl wrote:
On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus l...@bartelmus.de
wrote:
Hi Jon,
on 31 Jul
On Sat, Jul 31, 2010 at 10:28 AM, Maxim Levitsky
maximlevit...@gmail.com wrote:
On Sat, 2010-07-31 at 09:55 -0400, Andy Walls wrote:
On Fri, 2010-07-30 at 15:45 +0300, Maxim Levitsky wrote:
On Fri, 2010-07-30 at 08:07 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl jonsm
.
Maybe something like
#define sample_period (1 / (32768 * 1000))
Then don't store this constant in a variable since it will cause a
round off. Just use it directly in the computation.
Regards,
Andy
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line
On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 31 Jul 10 at 12:25, Jon Smirl wrote:
On Sat, Jul 31, 2010 at 11:12 AM, Andy Walls awa...@md.metrocast.net
wrote:
I think you won't be able to fix the problem conclusively either way. A
lot of how
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote:
On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky
maximlevit...@gmail.com wrote:
note
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote:
On Thu, 2010-07-29 at 22:39
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl jonsm...@gmail.com wrote:
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote:
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Thu
.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
in the
system boot code to fix the register setting.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Tue, 2010-07-27 at 22:33 -0400, Jarod Wilson wrote:
On Tue, Jul 27, 2010 at 9:29 PM, Jon Smirl jonsm...@gmail.com wrote:
On Tue, Jul 27, 2010 at 7:32 PM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Wed
zero?
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jul 28, 2010 at 10:24 AM, Maxim Levitsky
maximlevit...@gmail.com wrote:
On Wed, 2010-07-28 at 10:13 -0300, Mauro Carvalho Chehab wrote:
Em 28-07-2010 07:40, Jon Smirl escreveu:
On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com
wrote:
On Tue, 2010-07-27 at 22
On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Em 28-07-2010 11:41, Jon Smirl escreveu:
It's possible to build a Linux IR decoder engine that can be loaded
with the old LIRC config files.
I think it is a good idea to have a decoder that works
On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote:
On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote:
Em 28-07-2010 11:53, Jon Smirl escreveu:
On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls awa...@md.metrocast.net
wrote:
On Wed, 2010-07-28 at 09:46 -0400
On Wed, Jul 28, 2010 at 1:21 PM, Andy Walls awa...@md.metrocast.net wrote:
On Wed, 2010-07-28 at 13:04 -0400, Jon Smirl wrote:
On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Em 28-07-2010 11:41, Jon Smirl escreveu:
Are there any IR protocols less than 20
On Sat, Jun 5, 2010 at 1:24 PM, Andy Walls awa...@md.metrocast.net wrote:
On Fri, 2010-06-04 at 14:57 -0400, Jon Smirl wrote:
On Fri, Jun 4, 2010 at 2:38 PM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Em 04-06-2010 12:51, Christoph Bartelmus escreveu:
Hi Mauro,
on 04 Jun 10 at 01
check for the proper sysfs nodes to know what version of the
driver is being
used. It will need access sysfs anyway, to enable the lirc decoder.
Cheers,
Mauro.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message
On Fri, Jun 4, 2010 at 5:17 PM, Jarod Wilson ja...@wilsonet.com wrote:
On Fri, Jun 4, 2010 at 4:17 PM, Jarod Wilson ja...@redhat.com wrote:
On Fri, Jun 04, 2010 at 02:57:04PM -0400, Jon Smirl wrote:
...
From what I'm seeing, those are the current used ioctls:
+#define LIRC_GET_FEATURES
transaction. I don't remember if I
got around to implementing that.
That same chardev could also be used to implement TX, once a suitable
interface has been fleshed out. The end result might not look exactly
like lirc...
--
David Härdeman
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe
On Sat, Apr 24, 2010 at 10:15 AM, David Härdeman da...@hardeman.nu wrote:
On Sat, Apr 24, 2010 at 08:35:48AM -0400, Jon Smirl wrote:
On Sat, Apr 24, 2010 at 1:22 AM, David Härdeman da...@hardeman.nu wrote:
On Fri, Apr 23, 2010 at 06:20:28PM -0400, Andy Walls wrote:
Not that my commit rate
mappings. My radio receivers show up as network
devices. So I have multiple devices too.
I don't think we want a 'rc' device. The IR transceiver should be an
'ir' device. My radios are already 'net' devices. So my complaint
really is, I don't want an three devices - input, rc and net.
--
Jon Smirl
and it is
clearly indicated what's mark and what's duration.
If all three of you agree on this approach, I'll write a patch to convert
ir-core to use it instead.
Fine with me.
--
David Härdeman
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media
...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
be a good idea.
--
Jarod Wilson
ja...@redhat.com
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Apr 9, 2010 at 10:00 AM, Mauro Carvalho Chehab
mche...@infradead.org wrote:
Jon Smirl wrote:
+/* macros for ir decoders */
+#define PULSE(units) ((units))
+#define SPACE(units) (-(units))
Encoding pulse vs space with a negative sign
pattern match. An enterprising hacker can probably change the firmware
in the existing devices.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
of the equipment sees the command in parallel. The protocols
are designed so that parallel decode works properly.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
the
entire message into the decoders.
--
Cheers,
Mauro
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
years. So far no
one has complained about it (they have complained about my pilot
errors using it).
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
of the ir-common module.
Cheers,
Mauro.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Dec 15, 2009 at 3:19 PM, Pavel Machek pa...@ucw.cz wrote:
On Tue 2009-12-15 15:14:02, Jon Smirl wrote:
On Tue, Dec 15, 2009 at 2:58 PM, Pavel Machek pa...@ucw.cz wrote:
Hi!
(11) if none is against renaming IR as RC, I'll do it on a next
patch;
Call it irc -- infrared
On Tue, Dec 15, 2009 at 3:33 PM, Pavel Machek pa...@ucw.cz wrote:
On Tue 2009-12-15 15:29:51, Jon Smirl wrote:
On Tue, Dec 15, 2009 at 3:19 PM, Pavel Machek pa...@ucw.cz wrote:
On Tue 2009-12-15 15:14:02, Jon Smirl wrote:
On Tue, Dec 15, 2009 at 2:58 PM, Pavel Machek pa...@ucw.cz wrote
On Tue, Dec 15, 2009 at 3:45 PM, Jon Smirl jonsm...@gmail.com wrote:
On Tue, Dec 15, 2009 at 3:33 PM, Pavel Machek pa...@ucw.cz wrote:
Untrue. Like ethernets and wifis, bluetooth devices have unique
addresses. Communication is bidirectional.
I read a little about how Bluetooth remotes work
.
--
To unsubscribe from this list: send the line unsubscribe linux-input in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media
On Tue, Dec 8, 2009 at 6:17 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Mon, Dec 7, 2009 at 6:44 PM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Where is the documentation for the protocol?
I'm not sure what you're meaning here. I've started a doc about IR
that an address equal to 0x1e is
Hauppauge.
Cheers,
Mauro.
--
To unsubscribe from this list: send the line unsubscribe linux-input in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
On Tue, Dec 8, 2009 at 8:40 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 7:35 AM, Andy Walls awa...@radix.net wrote:
On Mon, 2009-12-07 at 20:22 -0800, Dmitry Torokhov wrote:
On Mon, Dec 07, 2009 at 09:42:22PM -0500, Andy Walls wrote:
So I'll
On Tue, Dec 8, 2009 at 8:59 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:30 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Andy Walls wrote:
On Mon, 2009-12-07 at 20:22 -0800, Dmitry Torokhov wrote:
On Mon, Dec 07, 2009 at 09:42:22PM
On Tue, Dec 8, 2009 at 9:16 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:40 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 7:35 AM, Andy Walls awa...@radix.net wrote:
On Mon, 2009-12-07 at 20:22
.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Dec 8, 2009 at 9:34 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:59 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:30 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Andy Walls wrote
On Tue, Dec 8, 2009 at 9:40 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 9:16 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:40 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote
can wake the kthread only after 16 events for really simple decoders,
or if a timeout event is detected. The number of events to wake may be
customized
per decoder.
Cheers,
Mauro.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media
On Tue, Dec 8, 2009 at 11:27 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 9:34 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Tue, Dec 8, 2009 at 8:59 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote
On Mon, Dec 7, 2009 at 6:44 PM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Let me add my view for those questions.
Jon Smirl wrote:
On Sun, Dec 6, 2009 at 3:34 PM, Krzysztof Halasa k...@pm.waw.pl wrote:
Jon Smirl jonsm...@gmail.com writes:
Once again: how about agreement about the LIRC
. Decoding down to the scancodes probably
happens over in the networking code.
After an in-kernel IR decoder runs it needs to hand off the scancodes
into the input subsystem. This same API can be used by the networking
code to hand off RF scancodes.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from
On Sun, Dec 6, 2009 at 7:12 AM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 04 Dec 09 at 19:28, Jon Smirl wrote:
BTW, I just came across a XMP remote that seems to generate 3x64 bit
scan codes. Anyone here has docs on the XMP protocol?
Assuming a general purpose receiver
-complete design for an in-kernel IR system
before anything is merged from any source.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On Sun, Dec 6, 2009 at 3:34 PM, Krzysztof Halasa k...@pm.waw.pl wrote:
Jon Smirl jonsm...@gmail.com writes:
Once again: how about agreement about the LIRC interface
(kernel-userspace) and merging the actual LIRC code first? In-kernel
decoding can wait a bit, it doesn't change any kernel-user
be extracted from
the LIRC code and turned into modules.
Where are IR repeat bits going to be handled?
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
to transmit.
My goal was to make it simple for people to do really basic tasks like
using a remote to pause their music player. Something like: plug in
MSMCE receiver, program remote to send codes for Sony CR-114 mp3
player, hit pause button, music stops.
--
Jon Smirl
jonsm...@gmail.com
On Fri, Dec 4, 2009 at 8:48 PM, Andy Walls awa...@radix.net wrote:
On Fri, 2009-12-04 at 19:28 -0500, Jon Smirl wrote:
On Fri, Dec 4, 2009 at 6:01 PM, Christoph Bartelmus l...@bartelmus.de
wrote:
BTW, I just came across a XMP remote that seems to generate 3x64 bit scan
codes. Anyone here
) to implement Jon's filter idea of splitting one evdev interface into
several evdevs interface, one for each address.
We should not forget that simple IR's don't have any key to select the
address,
so the produced codes there will never have KEY_TV/KEY_DVD, etc.
Cheers,
Mauro.
--
Jon Smirl
to 32 bits (keeping compatibility of course)
- Maybe adding new ioctl to zap the keymap table
- Adding more key EV_KEY/KEY_* definitons, if needed
Aren't EV_IR events needed so that an app for building keymaps can be written?
Normal apps would not use EV_IR events.
--
Jon Smirl
jonsm
to transmit IR codes.
Cheers,
Mauro.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Dec 2, 2009 at 2:50 PM, Jon Smirl jonsm...@gmail.com wrote:
On Wed, Dec 2, 2009 at 2:33 PM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Dmitry Torokhov wrote:
The raw interface applies only to the devices that doesn't have a hardware
decoder
(something between 40%-60
On Wed, Dec 2, 2009 at 3:04 PM, Jarod Wilson ja...@wilsonet.com wrote:
On Dec 2, 2009, at 2:56 PM, Dmitry Torokhov wrote:
On Wed, Dec 02, 2009 at 02:22:18PM -0500, Jarod Wilson wrote:
On 12/2/09 12:30 PM, Jon Smirl wrote:
(for each remote/substream that they can recognize).
I'm assuming
On Wed, Dec 2, 2009 at 9:22 PM, Mauro Carvalho Chehab
mche...@redhat.com wrote:
Jon Smirl wrote:
On Wed, Dec 2, 2009 at 3:04 PM, Jarod Wilson ja...@wilsonet.com wrote:
On Dec 2, 2009, at 2:56 PM, Dmitry Torokhov wrote:
On Wed, Dec 02, 2009 at 02:22:18PM -0500, Jarod Wilson wrote:
On 12/2/09
device codes.
Using things like Alt-Tab to switch apps is impossible. There's no
screen to look at.
--
Jarod Wilson
ja...@wilsonet.com
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord
decode engines are in the kernel. The raw
data will come in, run through the engines, and pop out as evdev
messages with a vendor/device/command triplet. Devices that decode in
hardware will just send vendor/device/command triplets.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list
On Tue, Dec 1, 2009 at 10:47 AM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Tue, 2009-12-01 at 10:08 -0500, Jon Smirl wrote:
While reading all of these IR threads another way of handling IR
occurred to me that pretty much eliminates the need for LIRC and
configuration files in default
protocols. I'm not sure if you can write those bits back into evdev to
turn a feature off/on. If not its something that could be added to
evdev.
I agree that there is no consistency in the existing driver implementations.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send
--
To unsubscribe from this list: send the line unsubscribe linux-input in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media
...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On Sun, Nov 29, 2009 at 7:01 AM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 27 Nov 09 at 12:49, Jon Smirl wrote:
[...]
Christoph, take what you know from all of the years of working on LIRC
and design the perfect in-kernel system. This is the big chance to
redesign IR support
-send.buffer[ir-send.count++] = abs(delta);
+ }
+
+ ir-xmit(ir-private, ir-send.buffer, ir-send.count,
ir-raw.carrier, ir-raw.xmitter);
+
+ return count;
+}
What type of data are you expecting here? More than one value?
thanks,
greg k-h
--
Jon Smirl
jonsm...@gmail.com
keyboard and mouse
drivers.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
input layer IR interface, does it?
--
Krzysztof Halasa
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
to use a $300 CPU to eliminate $2 worth of IR hardware. This type
of hardware will continue to work via event injection. But neither of
these solutions belong in the kernel.
What are other examples of user space IR drivers?
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send
- put IR on equal footing.
2) Specific tools (xmodmap, setkeycodes, etc or the LIRC ones) or
generic tools (ls, mkdir, echo) for configuration
Once consensus is reached in those two areas everything else should be
much easier.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send
On Sat, Nov 28, 2009 at 12:35 PM, Krzysztof Halasa k...@pm.waw.pl wrote:
Jon Smirl jonsm...@gmail.com writes:
There are two very basic things that we need to reach consensus on first.
1) Unification with mouse/keyboard in evdev - put IR on equal footing.
2) Specific tools (xmodmap
On Sat, Nov 28, 2009 at 1:45 PM, Maxim Levitsky maximlevit...@gmail.com wrote:
On Sat, 2009-11-28 at 11:45 -0500, Jon Smirl wrote:
What are other examples of user space IR drivers?
many libusb based drivers?
If these drivers are for specific USB devices it is straight forward
to turn them
On Sat, Nov 28, 2009 at 1:17 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
There are two very basic things that we need to reach consensus on first.
1) Unification with mouse/keyboard in evdev - put IR on equal footing.
2) Specific tools (xmodmap, setkeycodes, etc
On Sat, Nov 28, 2009 at 2:30 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
If these drivers are for specific USB devices it is straight forward
to turn them into kernel based drivers. If we are going for plug and
play this needs to happen. All USB device drivers can
On Sat, Nov 28, 2009 at 2:45 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
Also, how do you create the devices for each remote? You would need to
create these devices before being able to do EVIOCSKEYCODE to them.
The input subsystem creates devices on behalf of input
On Sat, Nov 28, 2009 at 2:55 PM, Krzysztof Halasa k...@pm.waw.pl wrote:
Jon Smirl jonsm...@gmail.com writes:
EVIOCSKEYCODE is lacking, first parameter is an INT. Some decoded IR
codes are over 32b. Christoph posted an example that needs 128b.
This only means that the existing interface
On Sat, Nov 28, 2009 at 3:29 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
On Sat, Nov 28, 2009 at 2:45 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
Also, how do you create the devices for each remote? You would need to
create these devices
On Sat, Nov 28, 2009 at 4:46 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
On Sat, Nov 28, 2009 at 3:29 PM, Stefan Richter
stef...@s5r6.in-berlin.de wrote:
Jon Smirl wrote:
We have one IR receiver device and multiple remotes. How does the
input system know how many
into the five apps?
I did it by creating five evdev devices each mapping 40 scancodes.
That's lets me reuse KP_1 for each of the five apps.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord
On Fri, Nov 27, 2009 at 2:33 AM, Christoph Bartelmus l...@bartelmus.de wrote:
Hi Jon,
on 27 Nov 09 at 00:06, Jon Smirl wrote:
[...]
code for the fun of it, I have no commercial interest in IR. I was
annoyed with how LIRC handled Sony remotes on my home system.
Can you elaborate
.
When designing the key mapping in the kernel you should be aware that
there are remotes out there that send a sequence of scan codes for some
buttons, e.g.
http://lirc.sourceforge.net/remotes/pioneer/CU-VSX159
This is good input.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from
integrated with Linux - put IR on equal footing
with the keyboard and mouse as it should be.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
On Fri, Nov 27, 2009 at 2:03 PM, Ferenc Wagner wf...@niif.hu wrote:
Jon Smirl jonsm...@gmail.com writes:
On Fri, Nov 27, 2009 at 12:29 PM, Christoph Bartelmus l...@bartelmus.de
wrote:
Maybe we decide to take the existing LIRC system as is and not
integrate it into the input subsystem
as
if the event originated in the kernel.
-
Sure you could push the protocol decoding code (RC5, etc) into user
space. Seems like a lot of hassle to move about 3KB of code out of the
kernel.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux
with a device specific user
space interface for IR. I believe all new input devices should
implement the evdev framework.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info
Minimal changes to the core input system. The bulk of IR support loads as a
module. These changes are passive if the rest of IR isn't loaded.
Jon Smirl
jonsm...@gmail.com
---
drivers/input/input.c | 17 +
include/linux/input.h | 75
USB device commonly found on Microsoft Media Center boxes.
Hardware can send and recieve at all common IR frequencies - 36K, 38K, 40K, 56K
---
drivers/input/ir/Kconfig |6
drivers/input/ir/Makefile |1
drivers/input/ir/ir-mceusb2.c | 745
---
arch/powerpc/boot/dts/dspeak01.dts | 19 ---
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/arch/powerpc/boot/dts/dspeak01.dts
b/arch/powerpc/boot/dts/dspeak01.dts
index 429bb2f..50cc247 100644
--- a/arch/powerpc/boot/dts/dspeak01.dts
+++
from IR hex codes to keycodes that
an app is interested in. Usually there is a 1:1 correspondence between
remote and app but there doesn't have to be.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord
.
The same idea is behind getting rid of IOCTLs and using sysfs. Normal
Unix commands can manipulate sysfs. IOCTLs have problems with strace,
endianess and the size of int (32/64b).
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body
strategy, even more so than a hybrid approach. The
in-kernel implementation will then be free to evolve without the
constraint of legacy APIs. As people become happy with it they can
switch over.
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux
step up and
own this. They are the ones that would benefit the most. Jarod would
probably be open to some consulting, right?
--
Jon Smirl
jonsm...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo
On Sun, Jun 7, 2009 at 2:35 AM, Hans Verkuilhverk...@xs4all.nl wrote:
On Sunday 07 June 2009 00:20:26 Jon Smirl wrote:
On Sat, Jun 6, 2009 at 9:00 AM, Hans Verkuilhverk...@xs4all.nl wrote:
Hi all,
For video4linux we sometimes need to probe for a single i2c address.
Normally you would do
On Sun, Jun 7, 2009 at 9:25 AM, Jon Smirljonsm...@gmail.com wrote:
On Sun, Jun 7, 2009 at 2:35 AM, Hans Verkuilhverk...@xs4all.nl wrote:
On Sunday 07 June 2009 00:20:26 Jon Smirl wrote:
On Sat, Jun 6, 2009 at 9:00 AM, Hans Verkuilhverk...@xs4all.nl wrote:
Hi all,
For video4linux we
1 - 100 of 101 matches
Mail list logo