serial port communication interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I have written a small user space  program that calls iopl(3) successfully, before doing a series of inw and outb operations to the serial port connected to a swipe card reader.Even thought the equivalent code is working fine in windows, this  code (that I have written for linux) is not getting any response from the reader.
I am not sure if the outb operations are successfully sending data and control signals to the reader connected to the serial port.
Is there something else, I can do, to be sure of the proper working of the serial port communication? (btw I am not using interrupts here.)
 
 I would like to know if kernel space code is a must if I want to use interrupts in my code.
 
Regards,
Raghudev Ramaiah.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux