Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* User mode IO acces - PCI A/D card - Alpha station XP900
@ 2005-10-11 12:07 patrice.lespagnol
  2005-10-11 12:53 ` Mathieu Chouquet-Stringer
  0 siblings, 1 reply; 20+ messages in thread
From: patrice.lespagnol @ 2005-10-11 12:07 UTC (permalink / 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 !



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-10-13 10:40 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 12:07 User mode IO acces - PCI A/D card - Alpha station XP900 patrice.lespagnol
2005-10-11 12:53 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox