Re: [ilugd] Device Driver Please help...................

2004-04-01 Thread Raj Mathur
How about taking this to ILUGD-Dev now that it's finally here? :) > "Sandip" == Sandip Bhattacharya <[EMAIL PROTECTED]> writes: Sandip> [EMAIL PROTECTED] wrote: >> printk("<0>HI DEAR MODULE HAS BEEN INSERTED ONCE\n"); resinit = >> register_chrdev(252, "SATENDRA PRATAP", &lp_fops);

Re: [ilugd] Device Driver Please help...................

2004-04-01 Thread Sandip Bhattacharya
[EMAIL PROTECTED] wrote: printk("<0>HI DEAR MODULE HAS BEEN INSERTED ONCE\n"); resinit = register_chrdev(252, "SATENDRA PRATAP", &lp_fops); return 0; } void cleanup_module(void) { int resclean; printk("<0>BYE DEAR unloading...\n"); resclean = unregister_chrdev(25

Re: [ilugd] Device Driver Please help...................

2004-04-01 Thread Bhaskar Dutta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> On Thursday 01 Apr 2004 7:02 pm, sa <[EMAIL PROTECTED]> said: sa> sa> I m making device driver in linux by using FEDORA CORE 1, but when i was sa> compiling the following module : [snip] sa> sa> I was getting the error.PLEASE he

[ilugd] Device Driver Please help...................

2004-04-01 Thread satendra_cs
I m making device driver in linux by using FEDORA CORE 1, but when i was compiling the following module : //*** Start **// #define MODULE #include #include static int lp_open(struct inode * inode, struct file * file); static struct file_operations lp_fops =