Connecting to 3G USB Modem on DragonFlyBSD?

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Thu Oct 24 01:02:15 PDT 2013


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

> > On Thu, 24 Oct 2013 06:49:37 +0200, Rama <octo.nebula at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20131024/43d4ac3f/attachment-0001.htm>


More information about the Users mailing list