Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD

2012-12-23 Thread Hans Petter Selasky
On Saturday 22 December 2012 11:17:15 Xiaofan Chen wrote:
 On Fri, Dec 21, 2012 at 3:38 PM, Hans Petter Selasky hsela...@c2i.net 
wrote:
  If you look in the old libusb-0.1 code you'll see something different I
  think. Could you check that?
 
 Not much differences in reality. I believe it is a document bug for the
 libusb-0.1.
 
 Both old libusb-0.1 code and libusb-1.0 use the same IOCTL under Linux
 and the behavior should be similar.
 
 Please refer to the following code listing and take note even though
 the name of the IOCTL is different but they are the same if you
 look at the defines.

Can you create a thread for this at the libusb lists?

--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: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD

2012-12-23 Thread Xiaofan Chen
On Sun, Dec 23, 2012 at 5:40 PM, Hans Petter Selasky hsela...@c2i.net wrote:
 On Saturday 22 December 2012 11:17:15 Xiaofan Chen wrote:
 On Fri, Dec 21, 2012 at 3:38 PM, Hans Petter Selasky hsela...@c2i.net
 wrote:
  If you look in the old libusb-0.1 code you'll see something different I
  think. Could you check that?

 Not much differences in reality. I believe it is a document bug for the
 libusb-0.1.

 Both old libusb-0.1 code and libusb-1.0 use the same IOCTL under Linux
 and the behavior should be similar.

 Please refer to the following code listing and take note even though
 the name of the IOCTL is different but they are the same if you
 look at the defines.

 Can you create a thread for this at the libusb lists?

Okay.

-- 
Xiaofan
___
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 d-link dwa-125

2012-12-23 Thread PseudoCylon
 Message: 1
 Date: Sat, 22 Dec 2012 22:19:00 +0300
 From:  ?? agapov.sl...@gmail.com
 To: freebsd-usb@freebsd.org
 Subject: usb d-link dwa-125
 Message-ID:
 caavbhraafdy1s_iph2-uyjyeqmaj2bohh-fo2p6oqysjugf...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Hello all.

 I use usb wi-fi d-link dwa-125
 What I do:
 1. insert usb
 2. ugen2.2: Ralink at usbus2
 3. usbconfig -d 2.2 dump_device_desc
 ugen2.2: 11n Adapter Ralink at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps)
 pwr=ON

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x2001
  [b] idProduct = 0x3c1e [/b]

Your product (0x3c1e) uses RT5370 chip which is currently not
supported by any of drivers.

As far as I know, only rev. A1 and A2 are supported by run(4). Yours
must be rev. A3 or B1.


AK
___
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