delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/08/04:38:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47FB2E58.E8AE4F1@dessent.net>
Date: Tue, 08 Apr 2008 01:35:36 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /dev/mem: permission denied
References: <47FB28E6 DOT 4010707 AT wpkg DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Tomasz Chmielewski wrote:

> On the other hand, a patched version of dmidecode (not needing Cygwin
> DLL)[4] works just fine on Windows 2003.
> 
> Is there a workaround for /dev/mem: permission denied problem in Cygwin?

If you look at the source code at [4], you will see that it contains an
alternative method using GetSystemFirmwareTable() on 2k3 and Vista,
which doesn't require direct access to physical memory.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019