[ale] LPT1 to Bluetooth

Michael Trausch mike at trausch.us
Mon Jun 8 12:10:06 EDT 2015


Indeed. I was not corrected by OP on the OS, though. If coming from DOS, of course, it gets both simpler and more difficult (depending on just about everything.)

Sent from my iPhone

> On Jun 8, 2015, at 11:28 AM, Chris Fowler <cfowler at outpostsentinel.com> wrote:
> 
> Is this a DOS app or Linux?  OP said 'LPT1'.  
> 
> 
> 
> From: "Michael Trausch" <mike at trausch.us>
> To: "Atlanta Linux Enthusiasts" <ale at ale.org>
> Sent: Saturday, May 30, 2015 2:56:58 PM
> Subject: Re: [ale] LPT1 to Bluetooth
> 
> Either look at the source or use strace. Find the fd used as /dev/lp0 (available at runtime in /proc/$PID/fd) and see what system calls are performed on it using grep on the strace output.
> 
> If ioctl appears, you'll need the shim. Otherwise a symlink will do, if only open/close/read/write and related system calls are used. 
> 
> If you need more detailed support or need to outsource the task, it'd be possible to contract myself or another experienced individual or business to help you. The time required to assess will be determined by the design of the application. However most of the time you'll only see the ioctls at initial open and configuration of the device unless the app reconfigures it dynamically at runtime. 
> 
> Sent from my iPhone
> 
> > On May 30, 2015, at 9:05 AM, Sergio Chaves <sergio.chaves at gmail.com> wrote:
> > 
> > Yes and No is a 50/50 chance!
> > I am a little, no - a lot , ignorant on this topic. How can I verify if the app requires "ioctl" or a data stream?
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150608/17a3a500/attachment.html>


More information about the Ale mailing list