Re: Move 3G modem from u3g to uhso?

2014-01-11 Thread Rui Paulo
On 10 Jan 2014, at 02:54, Lundberg, Johannes johan...@brilliantservice.co.jp 
wrote:

 Ah I see. Of course usb.conf is generated automatically :) I guess it is
 generated at make buildkernel and the new one can be found in obj folder?

It's generated using src/tools/tools/bus_autoconf.

--
Rui Paulo



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Move 3G modem from u3g to uhso?

2014-01-11 Thread Lundberg, Johannes
Thanks a lot you both.

On Sunday, January 12, 2014, Rui Paulo wrote:

 On 10 Jan 2014, at 02:54, Lundberg, Johannes 
 johan...@brilliantservice.co.jp javascript:; wrote:

  Ah I see. Of course usb.conf is generated automatically :) I guess it is
  generated at make buildkernel and the new one can be found in obj folder?

 It's generated using src/tools/tools/bus_autoconf.

 --
 Rui Paulo





-- 
--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Move 3G modem from u3g to uhso?

2014-01-10 Thread Lundberg, Johannes
Ah I see. Of course usb.conf is generated automatically :) I guess it is
generated at make buildkernel and the new one can be found in obj folder?

Here is the patch:

Index: sys/dev/usb/net/uhso.c
===
--- sys/dev/usb/net/uhso.c(revision 260369)
+++ sys/dev/usb/net/uhso.c(working copy)
@@ -281,6 +281,8 @@
 UHSO_DEV(OPTION, ICON505, UHSO_AUTO_IFACE),
 /* Option iCON 452 */
 UHSO_DEV(OPTION, ICON505, UHSO_AUTO_IFACE),
+/* Option GTM661W */
+UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE),
 #undef UHSO_DEV
 };

Index: sys/dev/usb/serial/u3g.c
===
--- sys/dev/usb/serial/u3g.c(revision 260369)
+++ sys/dev/usb/serial/u3g.c(working copy)
@@ -388,7 +388,6 @@
 U3G_DEV(OPTION, GTMAXHSUPA, 0),
 U3G_DEV(OPTION, GTMAXHSUPAE, 0),
 U3G_DEV(OPTION, VODAFONEMC3G, 0),
-U3G_DEV(OPTION, GTM661W, 0),
 U3G_DEV(QISDA, H20_1, 0),
 U3G_DEV(QISDA, H20_2, 0),
 U3G_DEV(QISDA, H21_1, 0),


Thank you!
--
Johannes Lundberg

On Fri, Jan 10, 2014 at 4:07 PM, Hans Petter Selasky h...@bitfrost.nowrote:

 On 01/10/14 06:06, Lundberg, Johannes wrote:
  Hi
 
  I have been using Globetrotter HSUPA Modem Option N.V. usb modem for a
  while with the uhso driver and now I installed 11-CURRENT and see that it
  has been added to devd and u3g is loaded automatically. Since this device
  has support for it wouldn't it be better to use uhso driver so we get the
  uhso0 network interface?
 
  The device in question is
 
  nomatch 32 {
   match bus uhub[0-9]+;
   match mode host;
   match vendor 0x0af0;
   match product 0x9000;
   action kldload -n u3g;
  };
 
  which I changed to
 
  nomatch 32 {
   match bus uhub[0-9]+;
   match mode host;
   match vendor 0x0af0;
   match product 0x9000;
   action kldload -n uhso;
  };
 
  But this also requires adding the device in sys/dev/usb/net/uhso.c
 
   /* Option GTM661W */
   UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE),

 Hi,

 When you remove the device entry from the u3g.c driver, the usb.conf
 file will be updated later. Can you submit a complete patch for this?

 --HPS
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Move 3G modem from u3g to uhso?

2014-01-09 Thread Lundberg, Johannes
Hi

I have been using Globetrotter HSUPA Modem Option N.V. usb modem for a
while with the uhso driver and now I installed 11-CURRENT and see that it
has been added to devd and u3g is loaded automatically. Since this device
has support for it wouldn't it be better to use uhso driver so we get the
uhso0 network interface?

The device in question is

nomatch 32 {
match bus uhub[0-9]+;
match mode host;
match vendor 0x0af0;
match product 0x9000;
action kldload -n u3g;
};

which I changed to

nomatch 32 {
match bus uhub[0-9]+;
match mode host;
match vendor 0x0af0;
match product 0x9000;
action kldload -n uhso;
};

But this also requires adding the device in sys/dev/usb/net/uhso.c

/* Option GTM661W */
UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE),

Best regards
--
Johannes Lundberg

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Move 3G modem from u3g to uhso?

2014-01-09 Thread Hans Petter Selasky
On 01/10/14 06:06, Lundberg, Johannes wrote:
 Hi
 
 I have been using Globetrotter HSUPA Modem Option N.V. usb modem for a
 while with the uhso driver and now I installed 11-CURRENT and see that it
 has been added to devd and u3g is loaded automatically. Since this device
 has support for it wouldn't it be better to use uhso driver so we get the
 uhso0 network interface?
 
 The device in question is
 
 nomatch 32 {
  match bus uhub[0-9]+;
  match mode host;
  match vendor 0x0af0;
  match product 0x9000;
  action kldload -n u3g;
 };
 
 which I changed to
 
 nomatch 32 {
  match bus uhub[0-9]+;
  match mode host;
  match vendor 0x0af0;
  match product 0x9000;
  action kldload -n uhso;
 };
 
 But this also requires adding the device in sys/dev/usb/net/uhso.c
 
  /* Option GTM661W */
  UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE),

Hi,

When you remove the device entry from the u3g.c driver, the usb.conf
file will be updated later. Can you submit a complete patch for this?

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org