On Sat, Apr 30, 2011 at 04:08:35PM -0600, Erik Mugele wrote:
> The following patch against -current enables the Samsung Galaxy S
> Android device (Samsung Captivate with AT&T) to be be used for USB
> tethering.
[snip]
> Index: if_urndis.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/usb/if_urndis.c,v
> retrieving revision 1.29
> diff -u -r1.29 if_urndis.c
> --- if_urndis.c 25 Jan 2011 20:03:35 -0000 1.29
> +++ if_urndis.c 30 Apr 2011 19:02:43 -0000
> @@ -135,7 +135,8 @@
> * Supported devices that we can't match by class IDs.
> */
> static const struct usb_devno urndis_devs[] = {
> - { USB_VENDOR_HTC, USB_PRODUCT_HTC_ANDROID }
> + { USB_VENDOR_HTC, USB_PRODUCT_HTC_ANDROID },
> + { USB_VENDOR_SAMSUNG2, USB_PRODUCT_SAMSUNG2_ANDROID }
> };
>
> usbd_status
> Index: usbdevs
> ===================================================================
> RCS file: /cvs/src/sys/dev/usb/usbdevs,v
> retrieving revision 1.544
> diff -u -r1.544 usbdevs
> --- usbdevs 24 Apr 2011 02:55:50 -0000 1.544
> +++ usbdevs 30 Apr 2011 19:02:50 -0000
> @@ -3269,6 +3269,7 @@
> /* Samsung products */
> product SAMSUNG2 RT2870_1 0x2018 RT2870
> product SAMSUNG2 I330 0x8001 I330
> +product SAMSUNG2 ANDROID 0x6881 Android Phone USB Tethering
> product SAMSUNG SWL2100W 0xa000 SWL-2100U
>
> /* ScanLogic products */
Original message and patch at
http://marc.info/?l=openbsd-misc&m=130420171126624&w=2
The following patch updates the urndis(4) man page to add the Samsung
Galaxy S and cooresponds to the aforementioned original patch if/when
it is committed.
I'm not sure if the Samsung *Nexus* S on this man page refers to another
device or is a typo for the Samsung Galaxy S, but the Galaxy S was not
supported by urndis(4) before.
Index: urndis.4
===================================================================
RCS file: /cvs/src/share/man/man4/urndis.4,v
retrieving revision 1.8
diff -u -r1.8 urndis.4
--- urndis.4 29 Apr 2011 17:04:33 -0000 1.8
+++ urndis.4 3 May 2011 01:20:45 -0000
@@ -61,6 +61,8 @@
HTC Wildfire
.It
Samsung Nexus S
+.It
+Samsung Galaxy S
.El
.Pp
The
Erik