- From: Calin A. Culianu <calin_at_ajvar.org>
- Date: Wed, 14 Aug 2002 17:47:37 -0400 (EDT)
I just sent Tim Curry a new version of the driver that has comedi_config options for specifying the jumpered range settings, on a per-channel basis, a-la dt282x.c. As soon as he finishes testing the changed driver, I will forward the updated cb_pcimdda.c driver to David, so he can kindly include it in cvs. :) -Calin On Wed, 14 Aug 2002, Curry, Timothy E (Contractor-Summit) wrote: > Calin, > I will be your tester if you want to send me the new driver. > > Thanks for everyone support! > > Tim Curry > > > >-----Original Message----- > > >From: Calin A. Culianu [mailto:calin_at_ajvar.org] > > >Sent: Wednesday, August 14, 2002 11:00 AM > > >To: David Schleef > > >Cc: Curry, Timothy E (Contractor-Summit); comedi_at_comedi.org > > >Subject: Re: pcimdda.c > > > > > > > > >On Tue, 13 Aug 2002, David Schleef wrote: > > > > > >> On Tue, Aug 13, 2002 at 02:36:44PM -0400, Calin A. Culianu wrote: > > >> > Well, please call Computer Boards and ask them, that > > >would be great! The > > >> > thing to ask is roughly: "whether or not analog output > > >range can be > > >> > specified through software only, because the manual > > >makes no mention of > > >> > any registers for changing channel range, only some on-board DIP > > >> > switches." > > >> > > >> If the board has jumpers, it is highly doubtful that you can set > > >> the gain in software. > > >> > > >> The proper way to tell a driver the jumper settings is to use > > >> the additional devconfig options, which are set by the user on > > >> the comedi_config caommand line. Since these are driver-specific, > > >> they need to be documented. See dt282x.c for an example. > > >> > > > > > > > > >Ah! I see.. then I should investigate this and update the driver > > >accordingly. That way, at least, the driver will inform the > > >application > > >of the right range settings depending on how the board is physically > > >jumpered (assuming the devconfig options were correct). I > > >wanted to avoid > > >doing this since really I *thought* it might be a drag for > > >users to have > > >to set devconfig options.. but maybe I can just have reasonable > > >defaults for people that want no-hassles... > > > > > >Thanks Dave, I will update the driver to support config options... > > > > > >-Calin > > > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi >
Received on 2002-08-14Z20:47:37