add usb_endpoint to HAL device tree

Kay Sievers kay.sievers at vrfy.org
Tue Jul 4 15:03:08 PDT 2006


On Tue, 2006-07-04 at 14:38 -0700, Greg KH wrote:
> On Tue, Jul 04, 2006 at 06:06:15PM +0200, Kay Sievers wrote:
> > As a working example for a class device showing up in /sys/devices,
> > here are the new usb_endpoint devices, which will replace the current
> > libusb userspace driver access some day.
> 
> Looks nice.  But what are you going to do with these in HAL?

The device has device nodes, we use HAL to grant permissions to specific
users by setting ACL's, so we will need it some day.

> > Screenshot of the insane number of usb interfaces of my mobile phone
> > attached.
> 
> Heh, that's a crazy device.

Yeah, it is.

> Oh, I'm getting some odd bug reports that older versions of HAL is
> crashing with these usb endpoints now being real devices in the sysfs
> tree.  Seems that something is overflowing in a buffer somewhere.  0.5.4
> seems to be the version that people are having problems with (the
> version shipped in SuSE 10.0.)
> 
> See the linux-kernel mailing list and look for:
>   Subject: Battery-related regression between 2.6.17-git3 and 2.6.17-git6

That looks strange and sounds like a HAL bug. 0.5.6 works without
crashing here. I will ask for a gdb trace.

Thanks,
Kay



More information about the hal mailing list