Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "lpgl" <patrice.lespagnol@obs-nancay.fr>
Subject: Re: User mode IO acces - PCI A/D card - Alpha station XP900
Date: 11 Oct 2005 11:03:23 -0700	[thread overview]
Message-ID: <1129053803.033685.289950@g43g2000cwa.googlegroups.com> (raw)
In-Reply-To: m31x2skor1.fsf@mcs.bigip.mine.nu

>Well I wrote a device driver for a LCD display/keyboard on an Alpha box and
>it is definitely I/O port based.
>Moreover if you grep the source under arch/alpha you'll find plenty of
>inb/outb and friends...

OK.  So from a purely user space point of view you suggest :
- get the right to acess IO port 0x8800,
- then use in/out family fuctions to do my stuff with the card
registers ?
Do you know what is the way to get the IO ports permission ? I've at
first time (before trying mmap on /dev/mem/ in fact)  done an iopl()
but got a segfault with inb then cause i was accessing 0x0 ! Perhaps
something with /dev/port so ?
Thanks.



  reply	other threads:[~2005-10-11 18:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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