Re: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-19 Thread David Brownell
On Thursday 19 May 2005 9:22 pm, [EMAIL PROTECTED] wrote: > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 10:25 AM > To: Borse, Ganesh > > > how is it shown in sysfs? In any file? > > >>The current device configuration is bConfigurationValue, > >>matching the USB s

Re: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-19 Thread Greg KH
On Thu, May 19, 2005 at 11:22:20PM -0500, [EMAIL PROTECTED] wrote: > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 10:25 AM > To: Borse, Ganesh > > > how is it shown in sysfs? In any file? > > >>The current device configuration is bConfigurationValue, > >>matching

RE: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-19 Thread Ganesh_Borse
From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 10:25 AM To: Borse, Ganesh > how is it shown in sysfs? In any file? >>The current device configuration is bConfigurationValue, >>matching the USB spec. No, bConfigurationValue does not give any information about overcurr

Re: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-18 Thread David Brownell
On Wednesday 18 May 2005 9:21 pm, [EMAIL PROTECTED] wrote: > -Original Message- > From: David Brownell [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 9:40 AM > To: linux-usb-devel@lists.sourceforge.net > Cc: Borse, Ganesh; [EMAIL PROTECTED]; [EMAIL PROTECTED] > > >>in the USB spe

RE: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-18 Thread Ganesh_Borse
-Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 9:40 AM To: linux-usb-devel@lists.sourceforge.net Cc: Borse, Ganesh; [EMAIL PROTECTED]; [EMAIL PROTECTED] >>in the USB spec and the current device configuration as >>shown in sysfs ... except for

Re: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-18 Thread David Brownell
On Wednesday 18 May 2005 8:42 pm, [EMAIL PROTECTED] wrote: > What I would like to know is: which IOCTL, system call, /proc or /sysfs > file can provide me the information that certain USB device is causing > overcurrent condition on an external hub? Have a look at how "lsusb" fetches port status

RE: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-18 Thread Ganesh_Borse
-Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 7:36 PM To: Borse, Ganesh >>If you want to get the information that's in /var/log/messages all you >>need to do is open /var/log/messages and read the contents of the file. >>Various pieces of tha

Re: [linux-usb-devel] Request to know about USB overcurrent detection on Linux

2005-05-18 Thread Alan Stern
On Tue, 17 May 2005 [EMAIL PROTECTED] wrote: > Dear sir, > I am a developer working on Red Hat Linux with kernels 2.6 and 2.4. > I am connecting a bus-powered USB 4-port hub with USB floppy (connected on > this USB external hub) onto USB Root hub. > > I found that /var/log/messages file contains