Hi, I wanted to create a small simple usbfs using VFS framework of Linux USB. so I was in need for this function. Source I have is totally sufficient for me. I am not writing USB kernel driver, As explained I was just trying to create the usbfs which will give me notifications of devices and buses connected to system using notifier and VFS framework of USB. It was just for learning purpose to know the flow better and better. Now I will try and implement small usbfs by using references from the linux 2.6.32. All suggestions are more than welcome. Thank you very much. (Apologies, Resending the message because getting the error 550 5.7.1 Content-Policy reject msg: The message contains HTML subpart, therefore we consider it SPAM or Outlook Virus. TEXT/PLAIN is accepted.! BF:<U 0.493967>; S1751005AbbAKKae for linux-usb mail list) Regards, Rohan On 1/11/15, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > On Sun, Jan 11, 2015 at 03:01:55AM +0600, Rohan Vichare wrote: >> Hi Sir, >> >> Actually, I wanted use the usbfs_get_node function to get the inode. > > Really? For what? Care to point me at your kernel code that uses this > function? > >> Can you let me how can i approach this now. Where can read something >> about it. > > The source code should be sufficient, right? What more do you need? :) > > What exactly are you trying to do here? > >> Note: I am not using libusb. Want to learn more about kernel space >> coding. > > What kernel driver needs access to that function? It shouldn't, as that > is not how you write a USB kernel driver. > > confused, > > greg k-h > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html