From: Jon S. <jon...@gm...> - 2007-02-16 01:05:18
|
On 2/15/07, Ludwig Nussel <lud...@su...> wrote: > Kevin Timmerman wrote: > > The MCE(1) and MCE2 drivers could be merged into a single driver. > > They both use the same command set. The most substantial difference > > between them is the USB interface chip. The MCE1 has a FTDI serial > > chip, the MCE2 has a Philips parallel chip. The FTDI chip needs a few > > initialization packets sent to it, the Philips chip does not. The > > FTDI chip also has a two byte line status header on each received > > block that has to be stripped off. Everything else is the same. > > > > There are several features of these devices that are not being used > > by the current drivers. The IR Tx frequency can be set (default is 66 > > kHz!) and various rx parameters can be setup. > > > > I can provide all the technical info if someone wants to write code > > to support all the capabilities of the hardware. My experience with > > Linux is minimal, so I can't contribute any code right now. > > btw, is there any reason why those drivers are implemented as kernel > modules? Couldn't lircd just use libusb and talk directly to the > devices instead? This is a very good question. It's not like LIRC is high speed. A big reason to be in the kernel is to manipulate device register with root priv, but these drivers don't need to do that. USB devices have libusb parallel and serial can just open the devices how about GPIO and anything else weird? -- Jon Smirl jon...@gm... |