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

Parallel port problem







Hey all,
I was writing a parallel port device driver, where all I needed to do was 
outb a character string to the port, problem is when i do use
echo -n "11001100" > /dev/mydevice for instance
the values on the parallel port do change, but differently to what they have 
been issued to be by the above command, does anyone know why that machine is 
doing something so simple wrong???
The code I have used in the according device drivers write method uses an 
outb() function to simply put the incoming string on 0x378 address.
Any idea?
Regards
Hexic

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/