Oleg Korecky
2005-Sep-27 05:59 UTC
Infra-red in FreeBSD... Remote control in XMMS... LIRC ??
Did somebody use LIRC on the FreeBSD ? Or what you can recommend instead LIRC ? Thanks !
Torfinn Ingolfsen
2005-Sep-27 08:34 UTC
Infra-red in FreeBSD... Remote control in XMMS... LIRC ??
On Tue, 27 Sep 2005 16:00:36 +0300 Oleg Korecky <koresh@dnepr.net> wrote:> Did somebody use LIRC on the FreeBSD ?Yes, I have done that some time ago. Note: some drivers are built-in in lirc (they are not part of the parallel or serial drivers). the parallel and serial drivers was not ported (last I looked at least), but that didn't stop me from getting a remote working. I can't remember which remote just now. Try Google (groups) for FreeBSD + lirc.> Or what you can recommend instead LIRC ?That I don't know about. HTH -- Regards, Torfinn Ingolfsen, Norway
László Károly
2005-Sep-27 11:56 UTC
Infra-red in FreeBSD... Remote control in XMMS... LIRC ??
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oleg Korecky wrote:> Did somebody use LIRC on the FreeBSD ? Or what you can recommend instead > LIRC ? > Thanks !I have a Pinnacle remote controll with serial port connector. It works fine (tested only with mPlayer): lircd --device=/dev/cuad0 --drive=pinsys Best, Laci - -- L?szl? K?roly <laszlokaroly@tvnetwork.hu> Department of Altaic Studies Egyetem str. 2. University of Szeged H-6722 Szeged, Hungary PGP/GnuPG key: 1024D/869D81C5 Fingerprint: 1E61 3205 8F5A 87E7 1269 3396 1C63 F9FF 869D 81C5 Encrypted e-mail preferred. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDOZWAHGP5/4adgcURAhdBAJ97+gg8cxUihSIXOv9gxFVlH1dfswCgoPBZ WpqYLZ8HSbk2jBbi+EP5W+0=tw07 -----END PGP SIGNATURE-----
I wrote a simple python program that interfaces directly with /dev/ugen0.1 to work with the usb rf ati remote wonder plus. Rather then interfacing through lircd, I just output stuff in the format that lircd uses so that programs like mplayer just work. The format is something like: hexcode repeat-count keybinding configfile or: '00000040151f0a00 00 MUTE /home/jwood/remotewonderplus.conf\n' '00000040151f0a00 01 MUTE /home/jwood/remotewonderplus.conf\n' '00000040151f0a00 02 MUTE /home/jwood/remotewonderplus.conf\n' '00000040151f0a00 03 MUTE /home/jwood/remotewonderplus.conf\n' if I were to hold the mute key down. If anyone would like the code, reply to me off list, as I am not on the list. -Joel On Tue, 27 Sep 2005, Oleg Korecky wrote:> Did somebody use LIRC on the FreeBSD ? Or what you can recommend instead LIRC > ? > Thanks ! > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Daniel O'Connor
2005-Sep-27 18:47 UTC
Infra-red in FreeBSD... Remote control in XMMS... LIRC ??
On Tuesday 27 September 2005 22:30, Oleg Korecky wrote:> Did somebody use LIRC on the FreeBSD ? Or what you can recommend instead > LIRC ?I've used it with an IRMan compatible remote that I built http://www.jaycar.com.au/productView.asp?ID=KC5366&CATID=&keywords=remote+control&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID Note that you will probably want to use the version of LIRC in http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/86528 which is more up to date than the ports one and has some fixes for the (pretty revolting) code LIRC uses to lock the serial port. I have this in /etc/rc.conf... lircd_enable="YES" lircd_flags="-H irman -d /dev/cuaa0 /usr/local/etc/lircd.conf" /usr/local/etc/lircd.conf was generated using irrecord. I have a patch for mplayer which enables LIRC support on FreeBSD which I believe the maintainer will be committing RSN (when I get back to him anyway :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050928/93d75746/attachment.bin