From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 06:59:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C2AF987; Tue, 16 Sep 2014 06:59:19 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3562D58; Tue, 16 Sep 2014 06:59:18 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id i7so2465120oag.33 for ; Mon, 15 Sep 2014 23:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=lp6LCa3ZaznZU93eKYJJovoCzfjfcRjt8eEOaUyrf9U=; b=FQnPSe1AO1a9L2CEvfUVs6LgQ9AFWBsB5smJQINid+DS+XUlAcA5u7n4RGRA8Trcxs AN4GX/AzF6LAaik4mpN9nXzlFxK7MvvIQMJbRAYC52yZUSgzRBwhjhbZWwfqEiY2qT5S pzzlfr/75kdt89ZWCQZzIQlZf85645m0QWx2wccNuX0SMZYq9HSgm1xGYO3IJaeOscW/ sIAD0DMGDTR/CFH3VL9CpEVcsXP/RCMykQZKPUUKuGI9XRsJLoYkE8w69g9x1/1jaZC5 Pl2SsF8EgzCEmDohaFKAsN52GS5AJcRbPdXKIlWIV+fMOT5QxWnOCGR5Nmf7eV0Mb3M6 4v1A== MIME-Version: 1.0 X-Received: by 10.60.175.166 with SMTP id cb6mr9099996oec.64.1410850758091; Mon, 15 Sep 2014 23:59:18 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.202.58.196 with HTTP; Mon, 15 Sep 2014 23:59:18 -0700 (PDT) In-Reply-To: <5417CCF6.10204@selasky.org> References: <5417CCF6.10204@selasky.org> Date: Tue, 16 Sep 2014 08:59:18 +0200 X-Google-Sender-Auth: 5fJ56He3INDiygHWWFUADDPeRN8 Message-ID: Subject: Re: U3G QDL firmware loader for GOBI2000/HP_UN2420 MiniPCI/USB 3G/GPS From: CeDeROM To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Tue, 16 Sep 2014 11:14:27 +0000 Cc: "freebsd-hackers@freebsd.org" , Ruslan Bukin , FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" , freebsd-net@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 06:59:19 -0000 On Tue, Sep 16, 2014 at 7:39 AM, Hans Petter Selasky wrote: > On 09/15/14 17:16, CeDeROM wrote: >> Hello world! :-) >> I have changed my machine, there is a built-in GOBI2000 / HP UN2420 >> 3G/GPS module installable as MiniPCI card and visible as USB device. I >> have added its VID/PID to the usbdevs and u3g.c module, so after >> recompilation it gets recognised by u3g module and apropriate >> /dev/cuaU* device shows up.. >> The problem is that device does not store firmware inside non-volatile >> memory, so user needs to upload it after power-on. I have the firmware >> files. I can test modem with success after reboot from Win7 which >> uploads firmware into device. Still, I need to upload the firmware >> somehow on my FreeBSD. >> The upload protocol is QDL and /dev/cuaU0 shows up waiting for >> command. Which utility can I use to upload firmware with QDL? I have >> seen one post [1] regarding this problem in the past but the QDL >> utility was not named explicitly. >> Any hints welcome! :-) >> Tomek >> [1] >> http://lists.freebsd.org/pipermail/freebsd-usb/2010-October/009384.html>> > Hi, > Maybe you can use some tools to sniff the USB protocol under the other > operating system. The protocol is probably not too complicated, and just > replay the traffic. > --HPS I just got the gobi_loader application sources from Ruslan Bukin! I will try it out and when it works fine I will send patches to the FreeBSD base along with my u3g patches, it may come handy for others as well :-) Thank you!! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info