LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2004, 03:56 AM   #1
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
A quick question on hardware port


Hi all,

I have two 'quick buttons' on the front pannel of my laptop. In windows it is possible to see the windows driver assigned address to it as from 0x300 to 0x303. Does anybody know whether it is the real physical address? I have done the following:

Code:
while (1)
{
  inb(0x300);
  inb(0x301);
  inb(0x302);
  inb(0x303);
}
However no matter how I pushed the bottons, I got 255 on all four addresses. The internal of the laptop, of course, is a manufacturer property, but I don't understand here why I got no response even by inb.

Anybody has any ideas? Thank you very much
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
quick command to display all hardware? carl0ski Linux - General 5 07-14-2005 08:30 AM
Need quick port closing lesson Bill Johns Linux - Security 8 07-11-2005 12:47 AM
serial port hardware flowcontrol blackzone Programming 1 08-17-2004 01:21 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Quick Question about new hardware CrsH Slackware 2 08-29-2003 07:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration