All of lore.kernel.org
 help / color / mirror / Atom feed
From: TJ <linux@tjworld.net>
To: Jason Wessel <jason.wessel@windriver.com>
Cc: qemu-devel@nongnu.org, kvm <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PATCH] Add USB sys file-system support (v2)
Date: Fri, 05 Sep 2008 21:28:51 +0100	[thread overview]
Message-ID: <1220646531.9611.8.camel@hephaestion> (raw)
In-Reply-To: <48C1862C.3050307@windriver.com>

On Fri, 2008-09-05 at 14:19 -0500, Jason Wessel wrote:
> > What version of kvm, or what was the commit HEAD hash?
> >   
> 
> Since you posed this to the qemu-devel mailing list, I tried it on the
> QEMU development head.

I've posted to qemu-devel and kvm-devel, working primary with the kvm
release packaging it for Ubuntu Gutsy/Hardy/Intrepid.

> 
> > What does the patch report as the method of access to the USB
> > file-system? 
> husb: using /dev/bus/usb
> 
> > Does the same device work without the patch? 
> 
> Of course not, because the host does not have /proc/bus/usb.

If you're using Ubuntu you can easily test with /proc/bus/usb by editing
the comments out to enable the 'magic lines' in 
/etc/init.d/mountdevsubfs.sh or issue them manually:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb


> What might be a defect is that it did not work with the
> |host:vendor_id:product_id and immediately failed.

Yes, I've been looking at that. Although the code-path goes through the
patch - usb_host_scan() - it simply passed the structures and function
pointer on without touching them. I'm currently analysing it with some
dprintf() entries to see why usb_host_find_device() doesn't get the
device.

> I am guessing it is unique to this class of device or perhaps even this
> particular device.

I agree, maybe it is the serial character-based devices. As I can
reproduce it with a different VID:PID of the same class it seems more
likely.


  reply	other threads:[~2008-09-05 20:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 23:35 [PATCH] Add USB sys file-system support TJ
2008-09-05  2:06 ` [PATCH] Add USB sys file-system support (v2) TJ
2008-09-05 13:30   ` [Qemu-devel] " Jason Wessel
2008-09-05 18:51     ` TJ
2008-09-05 19:19       ` Jason Wessel
2008-09-05 20:28         ` TJ [this message]
2008-09-05 20:54           ` Jason Wessel
2008-09-05 21:13         ` [PATCH] Add USB sys file-system support (v3) TJ
2008-09-08 14:47           ` Jason Wessel
2008-09-17 19:31             ` [PATCH] Add USB sys file-system support (v4) TJ
2008-09-17 20:31               ` Anthony Liguori
2008-09-17 22:47                 ` [PATCH] Add USB sys file-system support (v5) TJ
2008-09-22 22:37                   ` Anthony Liguori
2008-09-23  1:23                     ` [Qemu-devel] " TJ
2008-09-23  1:33                     ` [PATCH] Add USB sys file-system support (v6) TJ
2008-09-25 17:45                       ` Anthony Liguori
2008-10-01 21:21                       ` [PATCH] Add USB sys file-system support (v7) TJ
2008-10-01 23:19                         ` [PATCH] Add USB sys file-system support (v8) TJ
2008-10-07 20:09                           ` Anthony Liguori
2008-09-05 19:20     ` [Qemu-devel] [PATCH] Add USB sys file-system support (v2) TJ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1220646531.9611.8.camel@hephaestion \
    --to=linux@tjworld.net \
    --cc=jason.wessel@windriver.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.