Printer Module.

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

 



hi all,
              i'am new to module programming, i have
been reading Allesandro's book - Linux Device drivers
- i wrote a module looking at the parallel port
specification given out there (Linux Device Drivers) .

request_irq() works fine and i could generate
interrupts as well by connectind pin 8 and pin 9 as
mentioned in the book i.e after installing a 
handler. I connected my printer to the parallel port. 


i had read  at w w w. howstuffworks . c o m - that :
 The computer sends an auto feed signal to the printer
through Pin 14 using a 5-volt charge
 
i sent this signal after doing a request_irq but the
printer isn't responding if i set bit 14 to high ?? -
request_irq succeeded. i was expecting that the
printer would be responding to the auto feed  signal -

but it didnt.

Please let me know if i have missed  something... 
thanks for your time.
cheers,
Amith




__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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