[mythtv-users] LIRC kernel strangeness with more than four devices

Jarod Wilson jarod at wilsonet.com
Tue Apr 12 16:23:50 UTC 2011


On Apr 11, 2011, at 8:18 PM, Ramin K wrote:

> 	I had been playing around with four HDPVRs attached to single machine 
> and all was well. Once I attached the fifth the kernel started 
> complaining loudly and a sixth took the machine completely down.
> 	After I bit of tail chasing I tracked it down to 
> lirc/drivers/lirc_dev/lirc_dev.h which sets
> 
> #define MAX_IRCTL_DEVICES 4
> 
> 	Doing a bit of research it appears this is an arbitrary limit since it 
> used to be 2 and it was simple to raise it to 4.

Yeah, looks like it could be trivially increased, all it would do is waste
a tiny bit of memory. That area of code could actually use some further
love to make the irctl storage dynamically expand as needed.

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list