Can't get Major and Minor number for device correctly.

2012-02-29 Thread Pranay Kumar Srivastava
Hi, I've a kernel module which needs to get hold of the gen_disk structure. To make it a bit interactive I've a user space program which uses stat sys call to get the respective device's dev_t number (I use s_rdev of the struct stat) and pass it on to my module via an ioctl call. This part work

Metadata Copy

2012-02-29 Thread Swapnil Gaikwad
Hello, I am new in kernel programming. Help me in following. I am trying to write module in ext4 filesystem that takes a inode of one file and copy it's metadata into one new inode. Problem is to how to request new inode and what are the fields of metadata we can copy. Also problem with the t

Re: Linux cdc-acm-driver

2012-02-29 Thread Manavendra Nath Manav
Hi Johan On Wed, Feb 29, 2012 at 8:28 PM, Johan Hovold wrote: > On Sun, Feb 26, 2012 at 04:37:33PM +0100, Stefan Dreyer wrote: >> Hello Johan, >> >> i hope, you can help me. I try to get a barcode-Scanner (Metrologic >> Focus MS 1690) to work. If i take a look at the Windows driver, this >> scann