Re: [libvirt] [kl...@ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

2010-04-27 Thread Guido Günther
On Mon, Apr 26, 2010 at 11:26:51AM -0600, Eric Blake wrote: > On 04/26/2010 11:11 AM, Guido Günther wrote: > > Hi, > > this patch from Klau Ethgen looks right to me. O.k. to apply? I'll > > remove the comment with this patch then. > > Is there documentation somewhere that mentions what base the ud

Re: [libvirt] [kl...@ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

2010-04-27 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Mo den 26. Apr 2010 um 18:26 schrieb Eric Blake: > Is there documentation somewhere that mentions what base the udev > strings are encoded in? A short look to the code: drivers/usb/core/sysfs.c: usb_descriptor_attr(bDeviceClass, "%02x\n") us

Re: [libvirt] [kl...@ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

2010-04-26 Thread Dave Allan
On Mon, Apr 26, 2010 at 11:26:51AM -0600, Eric Blake wrote: > On 04/26/2010 11:11 AM, Guido Günther wrote: > > Hi, > > this patch from Klau Ethgen looks right to me. O.k. to apply? I'll > > remove the comment with this patch then. > > Is there documentation somewhere that mentions what base the ud

Re: [libvirt] [kl...@ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

2010-04-26 Thread Eric Blake
On 04/26/2010 11:11 AM, Guido Günther wrote: > Hi, > this patch from Klau Ethgen looks right to me. O.k. to apply? I'll > remove the comment with this patch then. Is there documentation somewhere that mentions what base the udev strings are encoded in? At any rate, I agree with you that given the

[libvirt] [kl...@ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

2010-04-26 Thread Guido Günther
Hi, this patch from Klau Ethgen looks right to me. O.k. to apply? I'll remove the comment with this patch then. Cheers, -- Guido - Forwarded message from Klaus Ethgen - in node_device_udev.c is the base 10 used for conversion of USB values. But they are hex values so that the conversion