Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Monday 05 January 2009, Stanislav Sedov wrote: On Mon, 5 Jan 2009 22:11:49 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try this patch and let me know the result! I see exactly why things are not working! http://perforce.freebsd.org/chv.cgi?CH=154181 It's not a USB

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 09:36:49 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Hi, I'm trying to push these patches into -current. Can you tell us what CPU architecture you are using? And how much RAM? That will be nice to have these

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 12:43:03 +0300 Stanislav Sedov s...@freebsd.org mentioned: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 09:36:49 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Hi, I'm trying to push these

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 12:43:03 +0300 Stanislav Sedov s...@freebsd.org mentioned: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 09:36:49 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Hi, I'm trying to

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 12:15:37 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: As long as your device shows up like ugen0.2 it is detected properly and will function. Check with usbconfig. Suggestions: usbconfig -u 0 -a 2 reset

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 16:13:32 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try: usbconfig -u 0 -a 2 set_config 1 This helps. Now ubsa attaches to the device. But I can't communicate with it (no echo even). I see the following messages in

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 16:13:32 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try: usbconfig -u 0 -a 2 set_config 1 This helps. Now ubsa attaches to the device. But I can't communicate with it (no echo even). I see the following

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 17:51:26 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 16:13:32 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try: usbconfig -u 0

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 17:51:26 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 16:13:32 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try:

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 21:00:19 +0300 Stanislav Sedov s...@freebsd.org mentioned: You can reach the endpoints through ugen when config index 0 is set. cat /dev/ugen0.2.0.1 echo at /dev/ugen0.2.0.2 I don't receive anything back...

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: http://www.SpringDaemons.com/stas/dmesg Dmesg looks fine. Do you have the same for USB2? Are any other USB devices working at the same USB speed like the ones that fail ? --HPS ___

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 18:23:33 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: So at this point the device is effectively detached? Do you have ideas why that might happen. I don't also understand how it may work with config index 1 on old

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 18:23:33 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: So at this point the device is effectively detached? Do you have ideas why that might happen. I don't also understand how it may work with config index 1

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 19:28:02 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: http://www.SpringDaemons.com/stas/dmesg Dmesg looks fine. Do you have the same for USB2? Sure. Take it there:

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 21:00:19 +0300 Stanislav Sedov s...@freebsd.org mentioned: You can reach the endpoints through ugen when config index 0 is set. cat /dev/ugen0.2.0.1 echo at /dev/ugen0.2.0.2 I don't receive anything

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 20:04:51 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: http://www.SpringDaemons.com/stas/dmesg From the debug messages it might look like your device has a problem

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 20:04:51 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: http://www.SpringDaemons.com/stas/dmesg From the debug messages it might look like your device has a

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 20:43:19 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 20:04:51 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jan 2009 21:04:14 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 20:43:19 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-06 Thread Hans Petter Selasky
On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 21:04:14 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06 January 2009, Stanislav Sedov wrote: On Tue, 6 Jan 2009 20:43:19 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: On Tuesday 06

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread M. Warner Losh
In message: 20090105050415.gy60...@elvis.mu.org Alfred Perlstein alf...@freebsd.org writes: : * M. Warner Losh i...@bsdimp.com [090104 09:11] wrote: : In message: 200901040012.n040c2gh040...@svn.freebsd.org : Alfred Perlstein alf...@freebsd.org writes: : : Sync with

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread Alfred Perlstein
* M. Warner Losh i...@bsdimp.com [090105 08:05] wrote: In message: 20090105050415.gy60...@elvis.mu.org Alfred Perlstein alf...@freebsd.org writes: : * M. Warner Losh i...@bsdimp.com [090104 09:11] wrote: : In message: 200901040012.n040c2gh040...@svn.freebsd.org :

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread Stanislav Sedov
On Sun, 4 Jan 2009 00:12:02 + (UTC) Alfred Perlstein alf...@freebsd.org mentioned: Author: alfred Date: Sun Jan 4 00:12:01 2009 New Revision: 186730 URL: http://svn.freebsd.org/changeset/base/186730 Log: Sync with usb4bsd: src/lib/libusb20/libusb20_desc.c Make

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread M. Warner Losh
In message: 20090105205721.gh60...@elvis.mu.org Alfred Perlstein alf...@freebsd.org writes: : * M. Warner Losh i...@bsdimp.com [090105 08:05] wrote: : In message: 20090105050415.gy60...@elvis.mu.org : Alfred Perlstein alf...@freebsd.org writes: : : * M. Warner Losh

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread Hans Petter Selasky
On Monday 05 January 2009, Stanislav Sedov wrote: On Sun, 4 Jan 2009 00:12:02 + (UTC) Alfred Perlstein alf...@freebsd.org mentioned: Author: alfred Date: Sun Jan 4 00:12:01 2009 New Revision: 186730 URL: http://svn.freebsd.org/changeset/base/186730 Log: Sync with usb4bsd:

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-05 Thread Stanislav Sedov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 5 Jan 2009 22:11:49 +0100 Hans Petter Selasky hsela...@c2i.net mentioned: Try this patch and let me know the result! I see exactly why things are not working! http://perforce.freebsd.org/chv.cgi?CH=154181 It's not a USB problem!

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-04 Thread Christoph Mallon
Alfred Perlstein schrieb: Author: alfred Date: Sun Jan 4 00:12:01 2009 New Revision: 186730 URL: http://svn.freebsd.org/changeset/base/186730 Log: [...] Make libusb20_desc_foreach() more readable. In my part of the world we give credit or, at the very least, say thank you to the sender,

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-04 Thread M. Warner Losh
In message: 200901040012.n040c2gh040...@svn.freebsd.org Alfred Perlstein alf...@freebsd.org writes: : Sync with usb4bsd: Alfred, thanks for trudging these fixes into the tree. It is a thankless job that people will complain about... Speaking of complaining, is there a review

Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/u

2009-01-04 Thread Alfred Perlstein
* M. Warner Losh i...@bsdimp.com [090104 09:11] wrote: In message: 200901040012.n040c2gh040...@svn.freebsd.org Alfred Perlstein alf...@freebsd.org writes: : Sync with usb4bsd: Alfred, thanks for trudging these fixes into the tree. It is a thankless job that people will