Openembedded Devel Discussions
 help / color / mirror / Atom feed
* libusb1 endian problems
@ 2010-06-24  4:59 Vitus Jensen
  2010-06-24  9:28 ` Koen Kooi
  2010-06-24 12:51 ` [PATCH] libusb1_1.0.8: new recipe Vitus Jensen
  0 siblings, 2 replies; 6+ messages in thread
From: Vitus Jensen @ 2010-06-24  4:59 UTC (permalink / raw)
  To: Openembedded-devel

Hej!

libusb1 is optimized for little-endian machines *g*, version 1.0.0 (stable 
branch) fails on ppc machines because of endian problems.  Symptom: lsusb 
shows no devices, lsusb -t does, debug messages from libusb1 show transfer 
problems.

I haven't tested 1.0.4 (dev branch) but the last commit message in libusb1 
regarding big endian is only included in 1.0.8 and that version works on 
our bluepro.  So I will add 1.0.8 to dev and stable.

Vitus

-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: libusb1 endian problems
  2010-06-24  4:59 libusb1 endian problems Vitus Jensen
@ 2010-06-24  9:28 ` Koen Kooi
  2010-06-24 12:51 ` [PATCH] libusb1_1.0.8: new recipe Vitus Jensen
  1 sibling, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2010-06-24  9:28 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24-06-10 06:59, Vitus Jensen wrote:
> Hej!
> 
> libusb1 is optimized for little-endian machines *g*, version 1.0.0
> (stable branch) fails on ppc machines because of endian problems. 
> Symptom: lsusb shows no devices

Aha! I've been working about that for *years* on my efika.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMIyU1MkyGM64RGpERAqBZAJ9uw0eK/nSm2Y9Y/uRuGE5t+9M7eACgr2ZQ
o+2QazAE6kgQaWBG4j/GzlE=
=+7gB
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] libusb1_1.0.8: new recipe
  2010-06-24  4:59 libusb1 endian problems Vitus Jensen
  2010-06-24  9:28 ` Koen Kooi
@ 2010-06-24 12:51 ` Vitus Jensen
  2010-06-24 15:16   ` Khem Raj
  1 sibling, 1 reply; 6+ messages in thread
From: Vitus Jensen @ 2010-06-24 12:51 UTC (permalink / raw)
  To: Openembedded-devel; +Cc: Vitus Jensen


Signed-off-by: Vitus Jensen <vjensen@gmx.de>
---
 recipes/libusb/libusb1_1.0.8.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libusb/libusb1_1.0.8.bb

diff --git a/recipes/libusb/libusb1_1.0.8.bb b/recipes/libusb/libusb1_1.0.8.bb
new file mode 100644
index 0000000..360dce5
--- /dev/null
+++ b/recipes/libusb/libusb1_1.0.8.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "library to provide userspace access to USB devices"
+HOMEPAGE = "http://libusb.sf.net"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+
+PR = "r0"
+
+SRC_URI = " \
+	${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2;name=tar \
+	"
+S = "${WORKDIR}/libusb-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-build-docs"
+
+SRC_URI[tar.md5sum] = "37d34e6eaa69a4b645a19ff4ca63ceef"
+SRC_URI[tar.sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9"
-- 
1.5.6.5




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] libusb1_1.0.8: new recipe
  2010-06-24 12:51 ` [PATCH] libusb1_1.0.8: new recipe Vitus Jensen
@ 2010-06-24 15:16   ` Khem Raj
  2010-06-24 19:29     ` [PATCH][STABLE] " Vitus Jensen
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2010-06-24 15:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Vitus Jensen

On (24/06/10 14:51), Vitus Jensen wrote:
> 
> Signed-off-by: Vitus Jensen <vjensen@gmx.de>

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  recipes/libusb/libusb1_1.0.8.bb |   18 ++++++++++++++++++
>  1 files changed, 18 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/libusb/libusb1_1.0.8.bb
> 
> diff --git a/recipes/libusb/libusb1_1.0.8.bb b/recipes/libusb/libusb1_1.0.8.bb
> new file mode 100644
> index 0000000..360dce5
> --- /dev/null
> +++ b/recipes/libusb/libusb1_1.0.8.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "library to provide userspace access to USB devices"
> +HOMEPAGE = "http://libusb.sf.net"
> +SECTION = "libs"
> +LICENSE = "LGPLv2.1"
> +
> +PR = "r0"
> +
> +SRC_URI = " \
> +	${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2;name=tar \
> +	"
> +S = "${WORKDIR}/libusb-${PV}"
> +
> +inherit autotools
> +
> +EXTRA_OECONF = "--disable-build-docs"
> +
> +SRC_URI[tar.md5sum] = "37d34e6eaa69a4b645a19ff4ca63ceef"
> +SRC_URI[tar.sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9"
> -- 
> 1.5.6.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH][STABLE] libusb1_1.0.8: new recipe
  2010-06-24 15:16   ` Khem Raj
@ 2010-06-24 19:29     ` Vitus Jensen
  2010-09-07 20:41       ` Vitus Jensen
  0 siblings, 1 reply; 6+ messages in thread
From: Vitus Jensen @ 2010-06-24 19:29 UTC (permalink / raw)
  To: Openembedded-devel; +Cc: Vitus Jensen


Signed-off-by: Vitus Jensen <vjensen@gmx.de>
---
 recipes/libusb/libusb1_1.0.8.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libusb/libusb1_1.0.8.bb

diff --git a/recipes/libusb/libusb1_1.0.8.bb b/recipes/libusb/libusb1_1.0.8.bb
new file mode 100644
index 0000000..f264321
--- /dev/null
+++ b/recipes/libusb/libusb1_1.0.8.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "library to provide userspace access to USB devices"
+HOMEPAGE = "http://libusb.sf.net"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+
+PR = "r0"
+
+SRC_URI = " \
+	${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2;name=tar \
+	"
+S = "${WORKDIR}/libusb-${PV}"
+
+inherit autotools_stage pkgconfig binconfig lib_package
+
+EXTRA_OECONF = "--disable-build-docs"
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+
+PACKAGES =+ "libusbpp"
+FILES_libusbpp = "${libdir}/libusbpp*.so.*"
+
+SRC_URI[tar.md5sum] = "37d34e6eaa69a4b645a19ff4ca63ceef"
+SRC_URI[tar.sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9"
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH][STABLE] libusb1_1.0.8: new recipe
  2010-06-24 19:29     ` [PATCH][STABLE] " Vitus Jensen
@ 2010-09-07 20:41       ` Vitus Jensen
  0 siblings, 0 replies; 6+ messages in thread
From: Vitus Jensen @ 2010-09-07 20:41 UTC (permalink / raw)
  To: openembedded-devel

I probably should have created a new thread for this patch...

If someone wants libusb1 on big-endian machines in stable/2009 he needs 
this patch.  .dev is already on 1.0.8, should we support libusb1 on 
stable?

Vitus


On Thu, 24 Jun 2010, Vitus Jensen wrote:

>
> Signed-off-by: Vitus Jensen <vjensen@gmx.de>
> ---
> recipes/libusb/libusb1_1.0.8.bb |   24 ++++++++++++++++++++++++
> 1 files changed, 24 insertions(+), 0 deletions(-)
> create mode 100644 recipes/libusb/libusb1_1.0.8.bb
>
> diff --git a/recipes/libusb/libusb1_1.0.8.bb b/recipes/libusb/libusb1_1.0.8.bb
> new file mode 100644
> index 0000000..f264321
> --- /dev/null
> +++ b/recipes/libusb/libusb1_1.0.8.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "library to provide userspace access to USB devices"
> +HOMEPAGE = "http://libusb.sf.net"
> +SECTION = "libs"
> +LICENSE = "LGPLv2.1"
> +
> +PR = "r0"
> +
> +SRC_URI = " \
> +	${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2;name=tar \
> +	"
> +S = "${WORKDIR}/libusb-${PV}"
> +
> +inherit autotools_stage pkgconfig binconfig lib_package
> +
> +EXTRA_OECONF = "--disable-build-docs"
> +
> +LIBTOOL = "${HOST_SYS}-libtool"
> +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
> +
> +PACKAGES =+ "libusbpp"
> +FILES_libusbpp = "${libdir}/libusbpp*.so.*"
> +
> +SRC_URI[tar.md5sum] = "37d34e6eaa69a4b645a19ff4ca63ceef"
> +SRC_URI[tar.sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9"
>

-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-07 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24  4:59 libusb1 endian problems Vitus Jensen
2010-06-24  9:28 ` Koen Kooi
2010-06-24 12:51 ` [PATCH] libusb1_1.0.8: new recipe Vitus Jensen
2010-06-24 15:16   ` Khem Raj
2010-06-24 19:29     ` [PATCH][STABLE] " Vitus Jensen
2010-09-07 20:41       ` Vitus Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox