Re: How to talk to hardware devices in C



In article <1186673139.480356.279810@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, x01001x <xemail@xxxxxxxxxxxx> writes

Interfacing with hardware is almost always architecture and operating system
specific and is thus off-topic to this group. You might try a group for
your system like <news:comp.os.linux.development.apps> or
<news:comp.os.ms-windows.programmer.win32> or <news:comp.arch>.

You've really GOT to be nuts.
I came all the way to the holy comp.lang.c and asked a SPECIFIC
question about sending DIRECT communication to hardware and you give
me that?
GEEZ just throw me a useful C command or something! Even a BASH
command like cat post >> /dev/null would be more useful than that.

LOOK, in the more professional world of IT, we have reserved issues
concerning the DIRECT COMMUNICATION of code to hardware.
I understand this is what concerns the HARDWARE ABSTRACTION LAYER. It
is a matter of SECURITY.

Cmon guy, I even told you the 2 main pieces of hardware, modems and
video cards.
I'm not going to give you guys a specific spec of either device,
except to say I am talking about a modem that would work like a 28.8
modem.

We've found this regards libraries. Please give information regarding
how to obtain these libaries from either hardware manufacturers or
Microsoft corp. Obviously, this is so easy for linux we should focus
more on Microsoft if we want to learn something new. Also, is the
information regarding the functions contained in the libaries more
often printed in hard-copy, or in an ASCII file?

Can I get a call script for calling USRobotics/3Com or Microsoft? Are
you all able to follow my train of thought?

Most modems are addressed via a serial port using the V25 or Hayes command set.

Video cards I have no idea about.

You have to excuse the OT net Nannies on here. However they do have a point that it does depend on your OS or compiler as to the calls used. On the Keil C51 I would use direc register manipulation and putC/getc which is not the way you do it in windows. UNIX will be different again.



--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



.



Relevant Pages

  • Re: Linux?
    ... ya sea la tarjeta o el hardware de MODEMS. ... que NO SON compatibles con Linux. ... manufacturers de MODEMS, para WIndows, solo ...
    (soc.culture.argentina)
  • Re: Easy or not easy
    ... dial-up modems being a much neglected item in the Linux camp. ... reverse engineer the hardware? ... getting custody of my new Epson scanner. ...
    (comp.os.linux.misc)
  • Re: How to talk to hardware devices in C
    ... concerning the DIRECT COMMUNICATION of code to hardware. ... except to say I am talking about a modem that would work like a 28.8 ... more on Microsoft if we want to learn something new. ... information regarding the functions contained in the libaries more ...
    (comp.lang.c)
  • Re: Phone application
    ... Much common hardware cannot do what you want to do. ... uncommon, voice modems can detect tones and send wave files -- however, most ...
    (microsoft.public.vb.general.discussion)
  • Re: Ubuntu Dial up settings
    ... Well I can't even FIND legacy hardware modems on sale anymore, ... lock-out by hardware vendors is very frustrating. ... alan at linuxholdings dot co dot za ...
    (Ubuntu)