EmbLogic's Blog

Author Archives: bhushan.bachhav

Status of environment variables

I successfully extract and change the environment variable using getenv() and putenv().also complete the syslog for log entries and and setlogmask….

Posted in Uncategorized | Leave a comment

problem regarding to scull

I create the scull of item size 12 Bytes(qset=3,quantum=4), in that when i perform write operation only first 12 bytes are write and remaining are discarded means only one item wrote and item size is not increased. I am confusing … Continue reading

Posted in Data Structures with C | 2 Comments

character driver status

I have done register, unregister the character driver successfully and also open & release the character driver successfully. In this i am facing the problem regarding to container_of().

Posted in Character Driver | 1 Comment

problem regarding to container_of()

local_dev=container_of(inode->i_cdev, struct scull_dev,cdev1); in above function, i don’t know how container_of() give the minor number and also how assign global device to local device.

Posted in Uncategorized | 2 Comments