Re: FreeBSD 8.2 and DisplayLink devices?
On 11/07/2011, at 7:59, Torfinn Ingolfsen wrote: > On Sun, 10 Jul 2011 20:13:17 +0200 > Matthias Apitz wrote: > >> >> CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' >> LDFLAGS='-L/usr/local/lib ' ./configure >> > > Same error as before. Also tried > env CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' > LDFLAGS='-L/usr/local/lib ' ./configure > > it didn't make a difference - same error as before. It's probably using pkg-config and FreeBSD doesn't ship with a .pc file for libusb. Create files like so [midget 12:51] ~ >cat /usr/local/libdata/pkgconfig/libusb.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libusb Description: USB access library Version: 0.1 Libs: -L${libdir} -lusb Cflags: -I${includedir} [midget 12:51] ~ >cat /usr/local/libdata/pkgconfig/libusb-1.0.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libusb Description: USB access library Version: 1.0.1 Libs: -L${libdir} -lusb Cflags: -I${includedir} and try it again. It would be nice if FreeBSD shipped with those files in (say) /usr/libdata/pkgconfig and the pkg-config port was tweaked to search there as well but it hasn't happened yet.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
El día Monday, July 11, 2011 a las 01:59:05AM +0200, Torfinn Ingolfsen escribió: > On Sun, 10 Jul 2011 20:13:17 +0200 > Matthias Apitz wrote: > > > > > CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' > > LDFLAGS='-L/usr/local/lib ' ./configure > > > > Same error as before. Also tried > env CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' > LDFLAGS='-L/usr/local/lib ' ./configure > > it didn't make a difference - same error as before. So, look into the log file config.log to understand what it is missing; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0
The following reply was made to PR usb/156596; it has been noted by GNATS. From: Colin Percival To: Hans Petter Selasky Cc: "bug-follo...@freebsd.org" Subject: Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0 Date: Sun, 10 Jul 2011 18:30:22 -0700 On 07/09/11 02:07, Hans Petter Selasky wrote: > Have you tried to set any of these quirks: > > hw.usb.ehci.lostintrbug: 0 > hw.usb.ehci.iaadbug: 0 Yes. Neither has any effect. (At least, not when I set them via sysctl; I could try setting them as loader tunables if you think that would make a difference.) I wrote: > The attached patch seems to fix the problem while not breaking anything on > my laptop. Key words, "seems to". On further use I've found that my change didn't make any difference; it was just a coincidence that the problem temporarily went away at that time. However, I've managed (I think!) to figure out what's triggering this: The IRQ flood starts when the laptop battery is recharging. Letting the battery run down for a couple hours and then plugging in AC power has 100% consistently triggered this; but if the battery is already fully charged when FreeBSD boots I don't get the IRQ flood. Hans Petter Selasky wrote: > Try the attached patch and report back. The EHCI should never generate more > than 8000 IRQ/s second, so this clearly indicates a Hardware Problem. No change, I'm afraid. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
On Sun, 10 Jul 2011 20:13:17 +0200 Matthias Apitz wrote: > > CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' > LDFLAGS='-L/usr/local/lib ' ./configure > Same error as before. Also tried env CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib ' ./configure it didn't make a difference - same error as before. -- Torfinn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
On Sun, 10 Jul 2011 20:05:43 +0200 Hans Petter Selasky wrote: > > Maybe also add -L/usr/local/lib Tried env CFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure same error as before. -- Torfinn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
El día Sunday, July 10, 2011 a las 08:06:29PM +0200, Torfinn Ingolfsen escribió: > On Sun, 10 Jul 2011 19:56:03 +0200 > Hans Petter Selasky wrote: > > > > > Try to: > > > > setenv CFLAGS "-I/usr/local/include" > > export CFLAGS > > > > Before configure. > > I tried (I'm using /bin/sh) > CFLAGS="-I/usr/local/include" ./configure > env CFLAGS="-I/usr/local/include" ./configure CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib ' ./configure HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
On Sunday 10 July 2011 20:06:29 Torfinn Ingolfsen wrote: > On Sun, 10 Jul 2011 19:56:03 +0200 > > Hans Petter Selasky wrote: > > Try to: > > > > setenv CFLAGS "-I/usr/local/include" > > export CFLAGS > > > > Before configure. > > I tried (I'm using /bin/sh) > CFLAGS="-I/usr/local/include" ./configure > env CFLAGS="-I/usr/local/include" ./configure > > but got the same error message: > configure: error: Can't find libusb. On ubuntu, try sudo apt-get install > libusb-dev Maybe also add -L/usr/local/lib --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
On Sun, 10 Jul 2011 19:56:03 +0200 Hans Petter Selasky wrote: > > Try to: > > setenv CFLAGS "-I/usr/local/include" > export CFLAGS > > Before configure. I tried (I'm using /bin/sh) CFLAGS="-I/usr/local/include" ./configure env CFLAGS="-I/usr/local/include" ./configure but got the same error message: configure: error: Can't find libusb. On ubuntu, try sudo apt-get install libusb-dev -- Torfinn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and DisplayLink devices?
On Sunday 10 July 2011 19:44:10 Torfinn Ingolfsen wrote: > Hi, > > Has anybody done any work on DisplayLink devices for FreeBSD? > I have a small monior, Lilliput UM-70[1], which uses DisplayLink. > The last time I tested it was when FreeBSD 7.2 was hot. :) > > Today I blew the dust off the monitor and connected it to a test machine: > root@kg-v7# uname -a > FreeBSD kg-v7.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #7: Sat Jul 9 23:00:31 > CEST 2011 r...@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > It shows up fine: > root@kg-v7# usbconfig -d 0.3 > ugen0.3: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON from /var/log/messages: > Jul 10 18:57:44 kg-v7 root: Unknown USB device: vendor 0x17e9 product > 0x02a9 bus uhub2 Jul 10 18:57:44 kg-v7 kernel: ugen0.3: at > usbus0 > > But I don't have anything to actually use it. I downloaded > libdlo-0.1.2.tar.gz (found at thw libdlo wiki[2]) and tried to get it > working: > ./configure > ./configure --includedir=/usr/local/include > ./configure --includedir=/usr/local/include --libdir=/usr/local/lib > ./configure --includedir=/usr/include --libdir=/usr/lib > > all results in "configure: error: Can't find libusb. On ubuntu, try sudo > apt-get install libusb-dev". > > Any hints on getting this working? > > References: > 1) http://sites.google.com/site/tingox/lilliput_um70 > 2) http://libdlo.freedesktop.org/wiki/ Try to: setenv CFLAGS "-I/usr/local/include" export CFLAGS Before configure. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
FreeBSD 8.2 and DisplayLink devices?
Hi, Has anybody done any work on DisplayLink devices for FreeBSD? I have a small monior, Lilliput UM-70[1], which uses DisplayLink. The last time I tested it was when FreeBSD 7.2 was hot. :) Today I blew the dust off the monitor and connected it to a test machine: root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #7: Sat Jul 9 23:00:31 CEST 2011 r...@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 It shows up fine: root@kg-v7# usbconfig -d 0.3 ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON from /var/log/messages: Jul 10 18:57:44 kg-v7 root: Unknown USB device: vendor 0x17e9 product 0x02a9 bus uhub2 Jul 10 18:57:44 kg-v7 kernel: ugen0.3: at usbus0 But I don't have anything to actually use it. I downloaded libdlo-0.1.2.tar.gz (found at thw libdlo wiki[2]) and tried to get it working: ./configure ./configure --includedir=/usr/local/include ./configure --includedir=/usr/local/include --libdir=/usr/local/lib ./configure --includedir=/usr/include --libdir=/usr/lib all results in "configure: error: Can't find libusb. On ubuntu, try sudo apt-get install libusb-dev". Any hints on getting this working? References: 1) http://sites.google.com/site/tingox/lilliput_um70 2) http://libdlo.freedesktop.org/wiki/ -- Torfinn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?
Update: On Sat, 09 Jul 2011 23:20:56 +0200 Torfinn Ingolfsen wrote: > But as I am not going to use ulpt, I'm not worrieed about that. > Now off to try VirtualBox. > Thanks for helping! Unfortunately, it seems that this isn't enought to get the device working in VirtualBox. When I try to attach the device in VirtualBox, I just get this error message: Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR) The complete error message from the log in VirtualBox is: 00:09:19.619 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console} aText={Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)}, preserve=false To be sure that it isn't a problem with my configuration, I tested a few other usb devices with the same vm - they all work. Bummer. -- Torfinn ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"