[patch] Firewire bus device

Joe Shaw joeshaw at novell.com
Tue May 25 11:23:29 PDT 2004


On Tue, 2004-05-25 at 19:24 +0200, David Zeuthen wrote:
> I'm running vanilla 2.6.6 on PowerPC and Firewire with my 3.5" external
> HD enclosure still appears to be broken (device tree is fine, but there
> is a problem logging into SBP2 device etc. etc.) and from looking at
> various mailing lists a lot of other people have this problem at well
> with devices that worked under 2.4. Does SBP2 devices work with the SUSE
> 2.6.4 kernel, e.g. can you mount the disk manually?

Yeah, I can mount the disk and use it fine.  This is a SUSE kernel,
though, 2.6.5 on an i686.

> Regarding your patch it seems it can be simplified a bit at least - the
> kernel seems to have separate device classes for ieee1394 hosts, nodes
> and devices, e.g. 
> 
>  david at powerbook:~$ echo /sys/class/ieee1394*
>  /sys/class/ieee1394 /sys/class/ieee1394_host /sys/class/ieee1394_node
> 
> So I would recommend subclassing ClassDeviceHandler for each of these
> much the same way scsi_host is handled (e.g. a 'class device' that sits
> in the device-tree). I'm not well versed in IEEE1394 (documentation
> seems pretty sparse) so with regards to what properties we should
> export, I'm not quite sure.

Ok.  I wasn't sure when to do bus devices and when to do class devices.
I'll whip up a new patch for this.

Joe


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list