Re: usbview 2.0 release

2012-10-24 Thread Greg KH
On Wed, Oct 24, 2012 at 10:05:48PM +0530, Anil Nair wrote: > Hello Greg, > > > Look at how the lsusb tool walks the list of all USB devices in the > > system, using libusb, and port that code over to usbview, replacing the > > big "walk and parse the devices file" functionality. > > > > You meant

Re: usbview 2.0 release

2012-10-24 Thread Anil Nair
Hello Greg, > Look at how the lsusb tool walks the list of all USB devices in the > system, using libusb, and port that code over to usbview, replacing the > big "walk and parse the devices file" functionality. > You meant to say replace the functions calling or using debugfs by API's of libusb?

Re: usbview 2.0 release

2012-10-23 Thread Greg KH
On Tue, Oct 23, 2012 at 10:17:22AM +0530, Anil Nair wrote: > Hello Greg, > > > No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted > > that way for you? Perhaps it is mounted with root-only access (default > > for 3.7-rc1 and newer kernels)? > > Yes you are right i verified

Re: usbview 2.0 release

2012-10-22 Thread Anil Nair
Hello Greg, > No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted > that way for you? Perhaps it is mounted with root-only access (default > for 3.7-rc1 and newer kernels)? Yes you are right i verified "/sys/kernel/debug" has root-only access. The kernel version i am using i

Re: usbview 2.0 release

2012-10-22 Thread Greg KH
On Tue, Oct 23, 2012 at 12:09:00AM +0530, Anil Nair wrote: > Hello Greg, > > I had only one doubt though the tool seems to work for rooted users only? > when i try to launch it as a normal user it gives me error saying, > > " > Can not open the file /sys/kernel/debug/usb/devices > > Verify that

Re: usbview 2.0 release

2012-10-22 Thread Anil Nair
Hello Greg and Steven, >> I can't speak for Ubuntu, but on Fedora installing gtk3-devel eliminated >> the message you describe. > > Yes, that is required. Anil, let me know if you have that type of > package installed, and if after doing so, you still get the same error. I should have googled th

Re: usbview 2.0 release

2012-10-22 Thread Greg KH
On Mon, Oct 22, 2012 at 12:37:03PM -0500, Steven J. Magnani wrote: > Anil - > > On Mon, 2012-10-22 at 22:49 +0530, Anil Nair wrote: > > Hello Greg, > > > > But while compiling it i am getting an error, > > > > "checking for GTK... no > > configure: error: Package requirements (gtk+-3.0 >= 3.0)

Re: usbview 2.0 release

2012-10-22 Thread Steven J. Magnani
Anil - On Mon, 2012-10-22 at 22:49 +0530, Anil Nair wrote: > Hello Greg, > > But while compiling it i am getting an error, > > "checking for GTK... no > configure: error: Package requirements (gtk+-3.0 >= 3.0) were not met: > > No package 'gtk+-3.0' found ... > The OS i am using is ubuntu-11.