Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk

2014-03-04 Thread Hans Petter Selasky
The following reply was made to PR usb/187188; it has been noted by GNATS.

From: Hans Petter Selasky 
To: hiroo.ono+free...@gmail.com
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Tue, 04 Mar 2014 13:30:01 +0100

 On 03/04/14 13:15, Hiroo Ono (小野寛生) wrote:
 > Hi,
 >
 > I have tried with stable r262711, and it is recognized as umodem0,
 > same as with 10.0R.
 >
 > ugen4.3:  at usbus4
 > umodem0:  on usbus4
 > umodem0: data interface 1, has no CM over data, has no break
 >
 > This device is a NAT router, which has a (wired) ethernet interface
 > for the WAN side.
 > For the LAN side, it has a wireless interface and a USB interface.
 > The USB interface has 2 configuration indexes.
 >
 > The config index 0 is recognized as umodem0, and config index 1 is
 > recognized as ue0.
 > For the usual case, I want it to be recognized as ue, which need a
 > quirk to set the
 > config index to 1.
 >
 > The user manual of this device says that, when I plug in the device to
 > windows PC,
 > the driver installation starts, and then it is recognized as an USB
 > ethernet device.
 > So, similar setting should be used for Windows.
 > I do not know what the umodem of config index 0 is for. hrs@ who suggested 
 > me to
 > use the quirk speculated that it might be used to update the firmware,
 > but not sure.
 >
 > 2014-03-03 17:16 GMT+09:00 Hans Petter Selasky :
 >
 >> If you upgrade to -stable there should be an RNDIS driver in FreeBSD now.
 >> Have you tried that:
 >>
 >> /boot/kernel/if_urndis.ko
 >>
 >> http://svnweb.freebsd.org/changeset/base/262362
 >>
 >> --HPS
 
 Hi,
 
 I understand, sounds good. I thought it was providing a USB RNDIS 
 ethernet interface and not a modem by looking at the USB descriptors you 
 sent.
 
 --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/187188: [USB][patch] ELECOM WRH-150 needs a quirk

2014-03-04 Thread 小野寛生
The following reply was made to PR usb/187188; it has been noted by GNATS.

From: =?ISO-2022-JP?B?SGlyb28gT25vICgbJEI+LkxuNDJAOBsoQik=?= 

To: Hans Petter Selasky 
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Tue, 4 Mar 2014 21:15:42 +0900

 Hi,
 
 I have tried with stable r262711, and it is recognized as umodem0,
 same as with 10.0R.
 
 ugen4.3:  at usbus4
 umodem0:  on usbus4
 umodem0: data interface 1, has no CM over data, has no break
 
 This device is a NAT router, which has a (wired) ethernet interface
 for the WAN side.
 For the LAN side, it has a wireless interface and a USB interface.
 The USB interface has 2 configuration indexes.
 
 The config index 0 is recognized as umodem0, and config index 1 is
 recognized as ue0.
 For the usual case, I want it to be recognized as ue, which need a
 quirk to set the
 config index to 1.
 
 The user manual of this device says that, when I plug in the device to
 windows PC,
 the driver installation starts, and then it is recognized as an USB
 ethernet device.
 So, similar setting should be used for Windows.
 I do not know what the umodem of config index 0 is for. hrs@ who suggested me 
to
 use the quirk speculated that it might be used to update the firmware,
 but not sure.
 
 2014-03-03 17:16 GMT+09:00 Hans Petter Selasky :
 
 > If you upgrade to -stable there should be an RNDIS driver in FreeBSD now.
 > Have you tried that:
 >
 > /boot/kernel/if_urndis.ko
 >
 > http://svnweb.freebsd.org/changeset/base/262362
 >
 > --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/187188: [USB][patch] ELECOM WRH-150 needs a quirk

2014-03-03 Thread Hans Petter Selasky
The following reply was made to PR usb/187188; it has been noted by GNATS.

From: Hans Petter Selasky 
To: Hiroo Ono , 
 freebsd-gnats-sub...@freebsd.org
Cc:  
Subject: Re: usb/187188: [USB][patch] ELECOM WRH-150 needs a quirk
Date: Mon, 03 Mar 2014 09:16:12 +0100

 On 03/02/14 05:55, Hiroo Ono wrote:
 >
 >> Number: 187188
 >> Category:   usb
 >> Synopsis:   [USB][patch] ELECOM WRH-150 needs a quirk
 >> Confidential:   no
 >> Severity:   non-critical
 >> Priority:   low
 >> Responsible:freebsd-usb
 >> State:  open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:  change-request
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Sun Mar 02 05:00:00 UTC 2014
 >> Closed-Date:
 >> Last-Modified:
 >> Originator: Hiroo Ono
 >> Release:10.0R
 >> Organization:
 >> Environment:
 >> Description:
 > Hello,
 >
 >> How-To-Repeat:
 >
 >> Fix:
 > I have checked it on 10.0-RELEASE. The attached patch is against -current.
 >
 > Patch attached with submission follows:
 >
 > diff -ur usb/quirk/usb_quirk.c usb.mod/quirk/usb_quirk.c
 > --- usb/quirk/usb_quirk.c2014-03-01 05:37:22.0 +0900
 > +++ usb.mod/quirk/usb_quirk.c2014-03-01 06:12:59.0 +0900
 > @@ -95,6 +95,7 @@
 >  USB_QUIRK(LOGITECH, UN53B, 0x, 0x, UQ_NO_STRINGS),
 >  USB_QUIRK(ELSA, MODEM1, 0x, 0x, UQ_CFG_INDEX_1),
 >  USB_QUIRK(PLANEX2, MZKUE150N, 0x, 0x, UQ_CFG_INDEX_1),
 > +USB_QUIRK(REALTEK, RTL8196EU, 0x, 0x, UQ_CFG_INDEX_1),
 >  /* Quirks for printer devices */
 >  USB_QUIRK(HP, 895C, 0x, 0x, UQ_BROKEN_BIDIR),
 >  USB_QUIRK(HP, 880C, 0x, 0x, UQ_BROKEN_BIDIR),
 > diff -ur usb/usbdevs usb.mod/usbdevs
 > --- usb/usbdevs  2014-03-01 05:43:08.0 +0900
 > +++ usb.mod/usbdevs  2014-03-01 06:11:30.0 +0900
 > @@ -3688,6 +3688,7 @@
 >   product REALTEK RTL8188CU_20x817b  RTL8188CU
 >   product REALTEK RTL81870x8187  RTL8187 Wireless Adapter
 >   product REALTEK RTL8187B_0 0x8189  RTL8187B Wireless Adapter
 > +product REALTEK RTL8196EU   0x8196  RTL8196EU
 >   product REALTEK RTL8187B_1 0x8197  RTL8187B Wireless Adapter
 >   product REALTEK RTL8187B_2 0x8198  RTL8187B Wireless Adapter
 >   product REALTEK RTL8188CUS 0x818a  RTL8188CUS
 >
 
 Hi,
 
 If you upgrade to -stable there should be an RNDIS driver in FreeBSD 
 now. Have you tried that:
 
 /boot/kernel/if_urndis.ko
 
 http://svnweb.freebsd.org/changeset/base/262362
 
 --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"