From owner-freebsd-multimedia Mon Oct 4 17:57:50 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 0FF8115214 for ; Mon, 4 Oct 1999 17:57:43 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-2-244.dialup.rdu.ipass.net [209.170.133.244]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id UAA24647; Mon, 4 Oct 1999 20:57:38 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id UAA22029; Mon, 4 Oct 1999 20:59:09 -0400 (EDT) (envelope-from rhh) Date: Mon, 4 Oct 1999 20:59:09 -0400 From: Randall Hopper To: Jukka Simila Cc: multimedia@FreeBSD.ORG Subject: Re: hauppauge remote Message-ID: <19991004205909.B20705@ipass.net> References: <19991003152634.A15810@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jukka Simila: |> if ( ioctl( tuner_fd, BT848_SAUDIO, &arg ) < 0 ) |> perror( "BT848_SAUDIO" ) |> | |Thanks, this helped alot. Now my remote doesn't give the white noise |sound. I think the next thing I'll do is I'll expand the program to |switch fxtv channels.. unless fxtv is about to support hauppauge ir? I don't have one, so if some wants to add support, I'm certainly open to it. I'll help. We should talk first to see what might already be implemented. I suspect most of it is; fxtv already supports the X-10 mouse TV remote, so we probably just need an event translation table to take Hauppauge remote events and translate those into key names. For example, notice the remoteTranslations setting in the Fxtv resource file: Fxtv.remoteTranslations: \ ChanUp : TVSetStation( +1 ) \n\ ChanDn : TVSetStation( -1 ) \n\ VolUp : TVSetVolume( +1 ) \n\ VolDn : TVSetVolume( -1 ) \n\ Mute : TVToggleMute() \n\ Disp : TVToggleZoom( fullscreen ) \n\ A-B : TVSetCaptureInput( +1 ) \n\ Pause : TVToggleFreeze() \n\ Rec : TVVideoRecordStart( 240x180 ) \n\ Stop : TVVideoRecordStop() \n I'd bet we just need some minimal code to slirp up Hauppauge remote events (wherever they come from) and convert them to canonical key strings (e.g. "ChanUp", "ChanDn", "VolUp", etc.). Give it a shot! :-) |Anyway I like to use my remote-control to play mp3's.. isn't it wonderful |what laziness can make you to do.. hours of work on the desktop, just |because of the extra 2.5 meters you need to walk to select the next song. Yeah, I know the feeling. :-) It's technically un-challenging to walk the 2.5 meters, so no matter what, that's got to be the inferior option. (Though at work we have to be more practical...) Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message