[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-users
Subject:    Re: Connecting to 3G USB Modem on DragonFlyBSD?
From:       Mehmet Erol Sanliturk <m.e.sanliturk () gmail ! com>
Date:       2013-10-24 8:02:15
Message-ID: CAOgwaMsZR+xih6m4O4wTBYA8ywu+NeBLQXZeP6YoyT9Nj0+1pw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Oct 24, 2013 at 3:18 AM, Rama <octo.nebula@gmail.com> wrote:

> > On Thu, 24 Oct 2013 06:49:37 +0200, Rama <octo.nebula@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I booted DragonflyBSD (the latest IA32 usb bootable image), but I'm
> >> having trouble connecting to the world wide web.
> >>
> >> I have a ZTE Corporation K3800 3G USB Modem which I use on linux for
> >> internet. I'm not sure what to do to connect to this modem?
> >>
> >> I'm not sure which thing on /dev is the modem device? When I run
> >> "dmesg | grep ZTE" I get about 4-5 lines, which say something like:
> >> "pass9: ZTE MMC Storage Technology.... 40.00 Mb/s" e
> >> "cd8: ZTE MMC Storage Technology.... 40.00 Mb/s"
> >> "sg8: ZTE MMC Storage Technology.... 40.00 Mb/s"
> >> "da8: ZTE MMC Storage Technology 40.00 Mb/s".
> >>
> >> That's not the exact output, I just wrote what I can recall right now.
> >> So, I have no idea which is which to be honest.
> >
> > This is just mass storage which comes with the adapter and I guess it
> > holds Windows drivers/software for installation.
> >
> >> [...]
> >>
> >> I'm guessing something similar should work on DragonFlyBSD? I added
> >> ucom_load=yes to loader.conf but that didn't seem to help. I couldn't
> >> find u3g on DF? Any ideas if u3g exists on DragonFly?
> >
> > A u3g driver is part of the new (non-default) usb4bsd stack but like all
> > of the new serial drivers it needs the ucom module and that hasn't been
> > ported yet, unfortunately. So right now we don't have support. If you'd
> > like to take a look at it, the source is in
> > /usr/src/sys/bus/u4b/serial/usb_serial.c. The rest of the serial drivers
> > (including u3g) compiles and usb_serial.c is the only remaining file that
> > has not been ported.
> >
> > Sorry to have no better news for you.
> >
> > Sascha
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users@dragonflybsd.org
> > http://lists.dragonflybsd.org/mailman/listinfo/users
> >
> >
> > End of Users Digest, Vol 14, Issue 12
> > *************************************
> >
>
> Hi,
>
> Thanks for the replies. I tried kldload ugensa, then to see if it
> worked I disconnected the modem and connected again.
>
> Turns out that was a very bad idea, my entire screen was flooded with
> this message (again and again and again):
> xptioctl device pass not supported by kernel
> xptioctl put "device pass" in your kernel config file
>
> I could type into the terminal but couldn't see the output of anything
> else because this message flooded my entire screen.
>
> I reboot and type usbdevs to find out that the ZTE WCDMA device is
> actually connected to address 5. Well, I still don't know which thing
> on /dev it actually is. Is it /dev/sg8, /dev/da8, /dev/cd8? All of
> these are ZTE MMC or WCDMA as per the dmesg output.
>
> Are you talking about usb_serial.c in the FreeBSD source? I'll try to
> see if I can understand that (I know C programming but I know nothing
> about drivers, but I'm willing to fiddle around with it).
>
> Regards,
> Rama
>




http://www.nostarch.com/bsddrivers.htm

FreeBSD Device Drivers


A Guide for the Intrepid
by Joseph Kong

May 2012, 352 pp.
ISBN: 978-1-59327-204-3





Thank you very much .

Mehmet Erol Sanliturk

[Attachment #3 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, \
Oct 24, 2013 at 3:18 AM, Rama <span dir="ltr">&lt;<a \
href="mailto:octo.nebula@gmail.com" \
target="_blank">octo.nebula@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">&gt; On Thu, 24 Oct 2013 06:49:37 +0200, Rama \
&lt;<a href="mailto:octo.nebula@gmail.com">octo.nebula@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I booted DragonflyBSD (the latest IA32 usb bootable image), but I&#39;m<br>
&gt;&gt; having trouble connecting to the world wide web.<br>
&gt;&gt;<br>
&gt;&gt; I have a ZTE Corporation K3800 3G USB Modem which I use on linux for<br>
&gt;&gt; internet. I&#39;m not sure what to do to connect to this modem?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not sure which thing on /dev is the modem device? When I run<br>
&gt;&gt; &quot;dmesg | grep ZTE&quot; I get about 4-5 lines, which say something \
like:<br> &gt;&gt; &quot;pass9: ZTE MMC Storage Technology.... 40.00 Mb/s&quot; e<br>
&gt;&gt; &quot;cd8: ZTE MMC Storage Technology.... 40.00 Mb/s&quot;<br>
&gt;&gt; &quot;sg8: ZTE MMC Storage Technology.... 40.00 Mb/s&quot;<br>
&gt;&gt; &quot;da8: ZTE MMC Storage Technology 40.00 Mb/s&quot;.<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s not the exact output, I just wrote what I can recall right \
now.<br> &gt;&gt; So, I have no idea which is which to be honest.<br>
&gt;<br>
&gt; This is just mass storage which comes with the adapter and I guess it<br>
&gt; holds Windows drivers/software for installation.<br>
&gt;<br>
&gt;&gt; [...]<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m guessing something similar should work on DragonFlyBSD? I added<br>
&gt;&gt; ucom_load=yes to loader.conf but that didn&#39;t seem to help. I \
couldn&#39;t<br> &gt;&gt; find u3g on DF? Any ideas if u3g exists on DragonFly?<br>
&gt;<br>
&gt; A u3g driver is part of the new (non-default) usb4bsd stack but like all<br>
&gt; of the new serial drivers it needs the ucom module and that hasn&#39;t been<br>
&gt; ported yet, unfortunately. So right now we don&#39;t have support. If \
you&#39;d<br> &gt; like to take a look at it, the source is in<br>
&gt; /usr/src/sys/bus/u4b/serial/usb_serial.c. The rest of the serial drivers<br>
&gt; (including u3g) compiles and usb_serial.c is the only remaining file that<br>
&gt; has not been ported.<br>
&gt;<br>
&gt; Sorry to have no better news for you.<br>
&gt;<br>
&gt; Sascha<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@dragonflybsd.org">Users@dragonflybsd.org</a><br>
&gt; <a href="http://lists.dragonflybsd.org/mailman/listinfo/users" \
target="_blank">http://lists.dragonflybsd.org/mailman/listinfo/users</a><br> &gt;<br>
&gt;<br>
&gt; End of Users Digest, Vol 14, Issue 12<br>
&gt; *************************************<br>
&gt;<br>
<br>
Hi,<br>
<br>
Thanks for the replies. I tried kldload ugensa, then to see if it<br>
worked I disconnected the modem and connected again.<br>
<br>
Turns out that was a very bad idea, my entire screen was flooded with<br>
this message (again and again and again):<br>
xptioctl device pass not supported by kernel<br>
xptioctl put &quot;device pass&quot; in your kernel config file<br>
<br>
I could type into the terminal but couldn&#39;t see the output of anything<br>
else because this message flooded my entire screen.<br>
<br>
I reboot and type usbdevs to find out that the ZTE WCDMA device is<br>
actually connected to address 5. Well, I still don&#39;t know which thing<br>
on /dev it actually is. Is it /dev/sg8, /dev/da8, /dev/cd8? All of<br>
these are ZTE MMC or WCDMA as per the dmesg output.<br>
<br>
Are you talking about usb_serial.c in the FreeBSD source? I&#39;ll try to<br>
see if I can understand that (I know C programming but I know nothing<br>
about drivers, but I&#39;m willing to fiddle around with it).<br>
<br>
Regards,<br>
Rama<br>
</blockquote></div><br><br><br><br><a \
href="http://www.nostarch.com/bsddrivers.htm">http://www.nostarch.com/bsddrivers.htm</a><br><br>FreeBSD \
Device Drivers<br><br><br>A Guide for the Intrepid<br>by Joseph Kong<br><br>May 2012, \
                352 pp.<br>
ISBN: 978-1-59327-204-3<br><br><br><br><br><br></div><div class="gmail_extra">Thank \
you very much .<br><br></div><div class="gmail_extra">Mehmet Erol \
Sanliturk<br><br><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic