Re: [Emc-users] Driver for Winbond W83627hf GPIO?

2007-08-07 Thread Sven Mueller
Thomas Powderly wrote on 01/07/2007 22:13:
> Sven, you may want to boot the live cd and try the latency tests before
> going further. If the on board video can be defeated, try a pci video
> cardf and re-run the tests. Best of luck! let us know how it works,

Last weekend, we finally got around to try and get everything working
(and failed as far as EMC is concerned, but I will come back to that
later - it just seems to be a configuration issue).

The latency tests however looked quite fine. No overruns, no delays over
2ns (which is fine since we don't aim for BASE_PERIOD below 5).

So at least it seems we don't need to replace the on-board video, which
is good news.

regards,
Sven

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Driver for Winbond W83627hf GPIO?

2007-07-01 Thread Jeff Epler
On Sun, Jul 01, 2007 at 09:40:54PM +0200, Sven Mueller wrote:
> This board uses an AMD Geode LX and provides both a
> standard parallel port and GPIO pins (exported from the Winbond W83627hf
> Super I/O Controller). The driver for this chip in
> drivers/hwmon/w83627hf.c provides access to these GPIO pins.
>
> Any chance one could turn this into a driver which EMC² can support?

It looks like someone with the datasheet, one of these boards, and a
basic knowledge of how to write HAL hardware drivers should be able to
knock out a driver in a day.

One example of a simple hardware driver for a made-up piece of hardware
is shown in the docs:
http://linuxcnc.org/docs/2.1/html/hal/comp/#SECTION00193000
another simple driver is one that allows use of certain "serial port"
pins as GPIO:

http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/serport.comp?rev=1.4.4.1;content-type=text%2Fplain

Jeff

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Driver for Winbond W83627hf GPIO?

2007-07-01 Thread Thomas Powderly
Sven, you may want to boot the live cd and try the latency tests before going 
further. If the on board video can be defeated, try a pci video cardf and 
re-run the tests. Best of luck! let us know how it works.

tomp

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Driver for Winbond W83627hf GPIO?

2007-07-01 Thread Sven Mueller
Hi.

I'm implementing my machine control on a ALIX.1b board from
pcengines.ch[0]. This board uses an AMD Geode LX and provides both a
standard parallel port and GPIO pins (exported from the Winbond W83627hf
Super I/O Controller). The driver for this chip in
drivers/hwmon/w83627hf.c provides access to these GPIO pins.

Any chance one could turn this into a driver which EMC² can support?

The 256MB version of that board is currently available at around 100EUR,
so this is a relatively cheap all-in-one PC (only needing a really
small, passively cooled case and an external 12V supply, using only
about 5 Watts), and with GPIO supported, parallel port+GPIO could drive
even the more complex machines. The board exports a total of 21 GPIO
pins (GPIO1 bit 0-7, GPIO2 bit 0-6, GPIO3 bit 0-5) from the Winbond
chip. So this basically means a second (though more flexible) parallel
port on board.

Any idea how difficult it would be to make this happen? I have
absolutely no (oh well, ok, about 2 hours hacking on some easy watchdog
driver which had some reversed logic in it) experience hacking the
kernel, let alone hacking on RTAI suitable drivers.

Or is it already possible? if so: How?

[0] http://pcengines.ch/alix1b.htm

Regards,
Sven

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users