[patch] physical device detection for scsi devices

Sjoerd Simons sjoerd at luon.net
Thu Jul 15 14:36:59 PDT 2004


On Thu, Jul 15, 2004 at 10:56:14PM +0200, David Zeuthen wrote:
> On Thu, 2004-07-15 at 22:44 +0200, Sjoerd Simons wrote:
> > On Thu, Jul 15, 2004 at 10:13:09PM +0200, Sjoerd Simons wrote:
> > > Hi,
> > >   
> > >   It seems there was some code missing for the detection of the physical
> > >   device for scsi devices. Attached patch fixes this. Causing the new
> > >   gnome-vfs patch to work properly on my workstation :) 
> > 
> >   And ofcourse it broke usb and ieee1394 :(. This is because it the traversal 
> >   first encounters a virtual scsi device. New patch attached which keeps
> >   traversing the the tree after detecting a scsi device, so it can find the
> >   real device if there is one.
> > 
> 
> Nice, I haven't got any real SCSI stuff myself, so good to see it's
> working!
> 
> Care to send a screenshot of hal-device-manager (with virtual devices
> shown) and a lshal dump. That would make me feel a bit more confident in
> committing the stuff. And Kay likes screenshots, that's important to
> remember :-)

lshal dump is attached. I forgot about the screenshot ``tradition'', there is
one at http://luon.net/~sjoerd/hal/hal-scsi-20040715.png now :)

  Sjoerd
-- 
The first rule of all intelligent tinkering is to keep all the parts.
		-- Aldo Leopold, quoted in Donald Wurster's "Nature's Economy"
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list