From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 10:42:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0201E1065673; Tue, 3 Apr 2012 10:42:58 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB3C8FC14; Tue, 3 Apr 2012 10:42:57 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 4190AB2; Tue, 3 Apr 2012 12:34:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cFPAjE5AGs0t; Tue, 3 Apr 2012 12:34:06 +0200 (CEST) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id F02E326; Tue, 3 Apr 2012 12:34:05 +0200 (CEST) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Tue, 03 Apr 2012 12:34:19 +0200 Message-ID: <6506050.laFrBWmVCt@snifi> User-Agent: KMail/4.8.0 (Linux/3.2.13-1-ARCH; KDE/4.8.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ahmed Ossama , questions@freebsd.org Subject: Re: Vodafone/Huawei K3770 with usb_modeswitch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 10:42:58 -0000 Dnia wtorek, 3 kwietnia 2012 12:12:56 Ahmed Ossama pisze: > # dmesg | tail > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:0:0:-1: Attached to scbus0 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not > present) > cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 40.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present try loading u3g module first. If that doesn't work then simple ejecting the cdrom should help: cdcontrol -f /dev/cd0 eject For long term solution there should be a patch for the u3g module. Please look in u3g.c file for similar solutions, there should be a few of them. > I found out that under linux the "usbserial" module is unloaded then > loaded using: > > # modprobe usbserial vendor=0x12d1 product=0x14c9 > > But I don't know how to do that under FreeBSD. > > I have no clue what to do, and any help is very much appreciated. > > --- > Best Regards, > Ahmed Ossama -- Pozdrawiam, Maciej Milewski