Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 17:31:12 -0500
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        Jim Stapleton <stapleton.41@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: pvrxxx, linux code and modules
Message-ID:  <20070416223112.GB56883@keira.kiwi-computer.com>
In-Reply-To: <80f4f2b20704160745r50010c8ap62fdae49d9acdd92@mail.gmail.com>
References:  <c39ec84c0704151508t126cf975gaa1957b9205d3244@mail.gmail.com> <20070416055055.GC1593@wantadilla.lemis.com> <c39ec84c0704160448h2d7b0515l8c6e22555d128056@mail.gmail.com> <80f4f2b20704160659q77ef204dlbb29a3a432891a9c@mail.gmail.com> <c39ec84c0704160705g3781c0a9s29dcb4764e3b2c87@mail.gmail.com> <80f4f2b20704160745r50010c8ap62fdae49d9acdd92@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 16, 2007 at 10:45:13AM -0400, Jim Stapleton wrote:
> 
> >> I'd like to be able to keep an eye on this, and see if there's any way
> >> I can help or suggest if possible. (For example, I would like a
> >> tuner/input selector device that I could cat/echo commands into).
> >
> >why?
> 
> It'd be nice to have a trivial form of control that doesn't need me to
> run any unusual commands.
> 
> Right now, I user the pvr250[I hit tab here] command, but if I could
> simply do an echo/redirection, it would feel a lot more natural to me
> I guess (more UNIXy), and since it would be interfacing the device
> directly, I wouldn't get the obnoxious bktr warnings.

The pvr250-setchannel does interface with the device directly.  I don't
believe cat is any more unixy-- or are you suggesting that programs like
atacontrol and mount and ifconfig should all take input redirection for
their commands?  The setchannel program is essentially the same as
atacontrol for cxm devices.  Maybe it could be renamed cxmcontrol, if you
prefer?

I think the setchannel is exactly unixy-- a small program which provides a
simple interface to a device driver.

I guess I don't understand what would be more natural..  Maybe give an
example of how other devices are more natural/unixy.  I also don't
understand how the more natural way would prevent the obnoxious warnings.

I'm all for renaming this to cxm_control or cxmcontrol or similar.  It's
not just for pvr250s anymore..

-- Rick C. Petty



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070416223112.GB56883>