From: patrice.lespagnol@obs-nancay.fr
Subject: User mode IO acces - PCI A/D card - Alpha station XP900
Date: 11 Oct 2005 05:07:52 -0700 [thread overview]
Message-ID: <1129032472.525938.270220@f14g2000cwb.googlegroups.com> (raw)
Hi,
I'am trying to access an A/D PCI card : Advantech PCI1713
http://www.advantech.com/products/Model_Detail.asp?model_id=1-D6GDX&PD=
I want to read and write IO registers from a user process.
My system : Gentoo Alpha, kernel 2.6.11.4 on Hardware : Alpha Station
XP900
http://h18002.www1.hp.com/products/quickspecs/soc_archives/80013.html
What I've already done is mmap 1 page of physical memory from /dev/mem
(lspci -vv giving me the IO address of my card = offset for mmap
/dev/mem) to my process memory.
My problem is when I write a byte on a read-only register of my card,
and then read it, it seems to really have been writen. So I doubt it
actually works.
Am I missing something on mmap and /dev/mem for linux alpha ?
Is there a clever way to acces my card ?
thanks for help !
next reply other threads:[~2005-10-11 12:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 12:07 patrice.lespagnol [this message]
2005-10-11 12:53 ` User mode IO acces - PCI A/D card - Alpha station XP900 Mathieu Chouquet-Stringer
2005-10-11 12:55 ` Mathieu Chouquet-Stringer
2005-10-11 14:10 ` lpgl
2005-10-11 14:57 ` Mathieu Chouquet-Stringer
2005-10-11 16:04 ` lpgl
2005-10-11 16:22 ` Mathieu Chouquet-Stringer
2005-10-11 18:03 ` lpgl
2005-10-11 18:16 ` Mathieu Chouquet-Stringer
2005-10-11 19:43 ` Måns Rullgård
2005-10-12 8:11 ` lpgl
2005-10-12 12:29 ` Mathieu Chouquet-Stringer
2005-10-13 7:24 ` lpgl
2005-10-12 7:56 ` lpgl
2005-10-11 18:13 ` Måns Rullgård
2005-10-12 8:34 ` lpgl
2005-10-12 20:49 ` Måns Rullgård
2005-10-13 7:53 ` lpgl
2005-10-13 8:23 ` Måns Rullgård
2005-10-13 10:40 ` lpgl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox