Unix Technical Forum

direct access to parallel (ioctl)

This is a discussion on direct access to parallel (ioctl) within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi there, I'm trying to communicate with a dongle connected on my RS6K's parallel port using a C program. ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:45 AM
circlecreek
 
Posts: n/a
Default direct access to parallel (ioctl)

Hi there,

I'm trying to communicate with a dongle connected on my RS6K's parallel
port using a C program. The i2c chip on this dongle provides
information through registers which I know the address. When trying to:
fd=open("/dev/lp0" ...) after having created a printer on it (generic
Parallel printer), I get whether a:

"Device not ready" for a "converged" PARALLEL INTERFACE type.
- or -
"The server link has been severed" for a "standard" PARALLEL INTERFACE
type.

Any idea to get rid of this?

The fact is this dongle doesn't react as a printer, so is there a way
to bypass this creation of "Other Parallel printer" ?

Thanks in advance...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com