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