Blocking the submission on urbs to usb core

2007-12-19 Thread ashish mahamuni
Hello Everybody, I've implemented my own usb filter. (same like usbmon) I am able to capture all urbs that are generated in host controller. But problem is those urbs get submitted to usb core automatically. I don't want this. In fact I want this submission under my control. How should I do it? I'

Re: Kingston Datatraveler

2007-12-19 Thread Brian Murphy
Hi, Tried that and had the same result. I also tried different cables with the same result. I don't believe it is a cabling issue as I have several of these broads (Evalue Tehcnoligies ECM-3610) and it is reproducible regardless of what the cabling setup is. This boards has a VIA VT82C686B South

Re: Kingston Datatraveler

2007-12-19 Thread Alan Stern
Please don't top-post. On Wed, 19 Dec 2007, Brian Murphy wrote: > Hi, > > Tried that and had the same result. I also tried different cables with > the same result. I don't believe it is a cabling issue as I have > several of these broads (Evalue Tehcnoligies ECM-3610) and it is > reproducible re

Re: Blocking the submission on urbs to usb core

2007-12-19 Thread Alan Stern
On Wed, 19 Dec 2007, ashish mahamuni wrote: > Hello Everybody, > > I've implemented my own usb filter. (same like usbmon) usbmon is not a filter. It is a communications channel from the kernel to userspace. > I am able to capture all urbs that are generated in > host controller. That makes n

Re: Kingston Datatraveler

2007-12-19 Thread Felipe Balbi
On Wed, 19 Dec 2007 10:03:57 +, "Brian Murphy" <[EMAIL PROTECTED]> wrote: > Hi, > > Tried that and had the same result. I also tried different cables with > the same result. I don't believe it is a cabling issue as I have > several of these broads (Evalue Tehcnoligies ECM-3610) and it is > r

Re: Blocking the submission on urbs to usb core

2007-12-19 Thread Greg KH
On Wed, Dec 19, 2007 at 08:59:47AM +, ashish mahamuni wrote: > Hello Everybody, > > I've implemented my own usb filter. (same like usbmon) What's wrong with usbmon? > I am able to capture all urbs that are generated in > host controller. host controllers don't generate urbs, drivers do. >

Re: 2.6.24-rc5-mm1

2007-12-19 Thread Alan Stern
On Wed, 19 Dec 2007, Dave Young wrote: > I tested on another machine with kernel 2.6.24-rc2. And the result is > diffrent again. > Here is the result: > > 1. on 2.6.24-rc2, when I plugin the player the kernel reports below messages: > > usb-storage: waiting for device to settle before scanning >

Re: Strange Problem with Audio Device

2007-12-19 Thread Alan Stern
On Fri, 14 Dec 2007, Jay Monkman wrote: > On Fri, Dec 14, 2007 at 11:03:59AM -0500, Alan Stern wrote: > > On Thu, 13 Dec 2007, Jay Monkman wrote: > > Does it also have a built-in OHCI controller? > > Thanks for your help. No, it only has the EHCI controller. I was > mistaken about the root hub -

Re: Kingston Datatraveler

2007-12-19 Thread Brian Murphy
Hi, Yes, and I get the same result. On Dec 19, 2007 3:42 PM, Alan Stern <[EMAIL PROTECTED]> wrote: > Please don't top-post. > > > On Wed, 19 Dec 2007, Brian Murphy wrote: > > > Hi, > > > > Tried that and had the same result. I also tried different cables with > > the same result. I don't believe

Re: Kingston Datatraveler

2007-12-19 Thread Alan Stern
Can you provide a usbmon trace? Start the trace before plugging in the hub; that way it will show what happens when the hub is attached, when the mouse is plugged into the hub, and when the flash drive is plugged into the hub. Alan Stern - To unsubscribe from this list: send the line "unsubsc

cannot submit datapipe for urb 0, error -28: not enough bandwidth

2007-12-19 Thread Russell Senior
I have an application on an embedded device. It was all happily working with a usb-storage device, a pl2303-based gps device and a usb-audio device plugged into a usb2 hub. Now I've added a usb mouse and when I open the associated /dev/event0, I start seeing the messages below when I try to play

Re: Strange Problem with Audio Device

2007-12-19 Thread David Brownell
On Wednesday 19 December 2007, Alan Stern wrote: > I don't know how the Freescale controller is supposed to work.   > Apparently it doesn't use a companion controller for full-speed > connections.  Maybe it has a Transaction Translator in its root hub > instead. Yes. ARC originally sold that IP

[patch 2.6.24-rc5-git] usb gadget: ethernet error path potential oops fix

2007-12-19 Thread David Brownell
Fix potential (never-observed) oops on rare error path, bugzilla #9594. Fix uses the same test as used earlier. Also make the adjacent "else" block look like an "else" block instead of hiding like a bug. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- drivers/usb/gadget/ether.c |6 +++

[patch 2.6.24-rc5-git] usb host: ehci potential oops fix on ARC/TDI cores

2007-12-19 Thread David Brownell
Kernel bugzilla entry #9569 reports a potential OOPS in some code supporting the integrated root hub TT support used on ARC/TDI derived cores. (This seems to have been a longstanding issue.) This patch cleans up usage of urb->dev->tt to avoid that potential oops and also fixes some overly long li

Re: cannot submit datapipe for urb 0, error -28: not enough bandwidth

2007-12-19 Thread Alan Stern
On 19 Dec 2007, Russell Senior wrote: > I have an application on an embedded device. It was all happily > working with a usb-storage device, a pl2303-based gps device and a > usb-audio device plugged into a usb2 hub. Now I've added a usb mouse > and when I open the associated /dev/event0, I star

Re: [linux-usb-devel] Blocking the submission on urbs to usb core

2007-12-19 Thread Sarah Sharp
On Wed, Dec 19, 2007 at 05:21:29PM +, ashish mahamuni wrote: > I am trying to send those urbs to remote machine,where > I will try to detect my device > This is client-server apporoach > I'll attach device to server,I don't want that device > to be detected on server. > I want this device to be

Re: 2.6.24-rc5-mm1

2007-12-19 Thread Dave Young
On Dec 20, 2007 12:07 AM, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Wed, 19 Dec 2007, Dave Young wrote: > > > I tested on another machine with kernel 2.6.24-rc2. And the result is > > diffrent again. > > Here is the result: > > > > 1. on 2.6.24-rc2, when I plugin the player the kernel reports be

Re: cannot submit datapipe for urb 0, error -28: not enough bandwidth

2007-12-19 Thread Russell Senior
> "Alan" == Alan Stern <[EMAIL PROTECTED]> writes: Alan> On 19 Dec 2007, Russell Senior wrote: >> I have an application on an embedded device. It was all happily >> working with a usb-storage device, a pl2303-based gps device and a >> usb-audio device plugged into a usb2 hub. Now I've added

Re: 2.6.24-rc5-mm1

2007-12-19 Thread Alan Stern
Note carefully. This: > > > 2. on 2.6.24-rc5 kernel reports only the part 1, after try mount the > > > disk it reports the part 2 and mount the partition as rw contradicts this: > > > 3. on 2.6.24-rc5 kernel reports only the part 1, after try mount the > > > disk it just mount the partition as

Re: 2.6.24-rc5-mm1

2007-12-19 Thread Dave Young
On Dec 20, 2007 11:34 AM, Alan Stern <[EMAIL PROTECTED]> wrote: > Note carefully. This: > > > > > 2. on 2.6.24-rc5 kernel reports only the part 1, after try mount the > > > > disk it reports the part 2 and mount the partition as rw > > contradicts this: > > > > > 3. on 2.6.24-rc5 kernel reports on