EmbLogic's Blog

Category Archives: Device Drivers

serial port (implementing interrupts)?????

process for implementing interrupts in serial port,we have done normal communication by fifo mode and also defined and init the handler function with irq 4,5. but it dose not work properly, please overcome me form this nuisance.

Posted in Serial Port Driver | Leave a comment

memory mapping??????///

what is the difference between memory mapped io and port mapped io. and please tell me , parallel port and serial port which memory mapping followed??

Posted in Parallel Port Driver, Serial Port Driver | 1 Comment

parallel port and its modes????

our realistic work: compatibility: sends one byte data on data port line and take the output by leds, nibble mode: sends data on upper 4bits of the data port and receive by the upper bits of the status register . … Continue reading →

Posted in Parallel Port Driver | Leave a comment

Status: Serial port and MDC

I have completed bidirectional DTE to DTE communication using serial port cross cable MDC: multiple data compression and decompression is also done for case 4

Posted in Serial Port Driver | Leave a comment

Serial_Port_Status

I have completed Serial Port Loop back mode

Posted in Serial Port Driver | Leave a comment

Parallel port driver status

I am currently working on Nibble mode of parallel port and we successfully transferred bytes of information from one PC to another using delay method but, facing problems in handshaking(unable to change control bits  )….i want some information about handshaking … Continue reading →

Posted in Parallel Port Driver | 1 Comment

parallel_port driver status..

sir, i have completed the parallel port driver in NIBBLE mode……But not by handshaking….(by using delay). in handshaking our status is ->control have reached from peripheral to host but we are not able to receive the control from host to … Continue reading →

Posted in Parallel Port Driver | 1 Comment

handshaking problem..

in Nibble mode… -> can we use a single bit in hand_shaking in the parallel port driver..? -> which bit of the control register should i use to handshake->1.strobe bit, 2.autofeed bit. Please tell me the procedure of handshaking in … Continue reading →

Posted in Parallel Port Driver | Leave a comment

nibble mode

hows inb and outb work internally? getting problem in handshaking through strobe pin in nibble mode. how can i do it?  

Posted in Parallel Port Driver | Leave a comment

Error : ‘conflicting types for ‘ Why ?

Hi, I was working on my Driver and got this Error for a function. I checked out other blogs on Internet and it was written that it occurs when you are calling a function before declaring it. But I did … Continue reading →

Posted in Character Driver | 2 Comments

KERNEL_TIMER…….

In my lkm,when i printed the value of “HZ”. It comes out 1000. But the actual value defined in the header  #include<asm/param.h>  is 100. why..?

Posted in Character Driver, Device Drivers | 2 Comments

proc file system………

How we can access our sucll_dev structure of specific device by a proc file system or in its function  like read proc ()……….??????/

Posted in Character Driver | 2 Comments

ioctl..

In the ioctl function at driver level…….., the switch(cmd) statement have ‘cmd’ as the argument but we can see cmd is of ‘unsigned int’ type… i want to ask how the switch function perform case matching…. switch(cmd) { case IOSQSET: … Continue reading →

Posted in Character Driver, Uncategorized | Tagged | 1 Comment

character driver status….

sir  i have completed llseek,semaphor & read write with multiple quantums……..

Posted in Character Driver | Leave a comment

kernel level

Is there any function to reallocate memory at the kernel level in spite of  kmalloc……????

Posted in Character Driver | 2 Comments