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

Re: Raw infrared access with stock kernel?



On Tue, Apr 08, 2003 at 04:45:39AM -0700, Joe Emenaker wrote:
> I've got a scuba-diving computer that downloads its recorded dive data 
> via infrared of some sort.
> 
> The company that sells the dive computer also sells a little infrared 
> receiver and some cheap-o software for some outlandish price (and the 
> software doesn't even work with anything over Win98... which is probably 
> why they're selling these dive computers for so cheap).
> 
> Anyway, I figure that, if I can just get the raw infrared output into a 
> file, I can figure out the format. However, I'm a little doubtful that 
> it's even using irda (so irda is a little higher-level than I want. For 
> example, I think I have irda working but, when I "cat ircomm0" or "cat 
> ircomm1" and send input from my TV remote control, I don't see anything. 
> So, I'm pretty sure the irda stuff is filtering out any data that 
> doesn't meet a certain format)
> 
> Most of the infrared howto's that I've come across either tell how to 
> get irda working or they talk about recompiling the kernel (which isn't 
> worth it to me).
> 
> Has anyone been able to use a stock Debian kernel to record all of the 
> infrared stuff that the ir port sees?

No idea about the irda stuff, but what I'd be inclined to do is
extract the IR receiver module from some defunct TV and hook it up to
the parallel port. It's usually a little three-legged thingy these
days that just requires a +5V supply and gives you a logic-level output.
If you're interested I could send you circuit diagrams and some stuff
about the parallel port registers.

If the data rate is slow enough you might be able to hook it up to the
sound card instead and use a waveform editor to look at the data. This
is likely to work with TV remotes as they are quite slow.

Pigeon



Reply to: