From owner-freebsd-usb@FreeBSD.ORG Mon Apr 28 12:40:53 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D8481065672 for ; Mon, 28 Apr 2008 12:40:53 +0000 (UTC) (envelope-from sclark@netwolves.com) Received: from elasmtp-junco.atl.sa.earthlink.net (elasmtp-junco.atl.sa.earthlink.net [209.86.89.63]) by mx1.freebsd.org (Postfix) with ESMTP id CB55F8FC0A for ; Mon, 28 Apr 2008 12:40:52 +0000 (UTC) (envelope-from sclark@netwolves.com) Received: from [205.201.149.100] (helo=[10.0.129.1]) by elasmtp-junco.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JqSf5-0003vB-Pc; Mon, 28 Apr 2008 08:40:51 -0400 Message-ID: <4815C5D2.9000804@netwolves.com> Date: Mon, 28 Apr 2008 08:40:50 -0400 From: Steve Clark User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20080421 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Cieslak , freebsd-usb@freebsd.org References: <48123B80.8000806@netwolves.com> <48146722.3080107@system.pl> In-Reply-To: <48146722.3080107@system.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec7970109d601eed60c50c7fb91c0299ea87350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 205.201.149.100 Cc: Subject: Re: sierra wireless compass 597 aircard X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 12:40:53 -0000 Marcin Cieslak wrote: > Steve Clark wrote: > >>Hello List, >> >>I am trying to get the above usb device to work on 6.x. It is a bit >>unusual in the >>fact that when it is first inserted it comes up in installer mode >>looking like a fake cd >>drive with the software on it for windoze. It has to have a control >>message sent to it >>to put it in modem mode. > > > Can you install sysutils/udesc_dump from ports and post the output here? > I have solved the "fake CD" problem for the Option Globetrotter GTMax+ > card by patching the umass driver. > > --Marcin > Hi Martin, I installed udesc_dump but am unable to get any output from it. It looks for a /dev/ugen? device and none get created when I insert the 597 usb device. When I insert the device I get: usbd_new_device bus=0xc48e2000 port=6 depth=1 speed=2 usbd_new_device: adding unit addr=2, rev=110, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=2 usbd_new_device: new dev (addr 2), dev=0xc870b000, parent=0xc48f9280 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: status=0x0000, error=NORMAL_COMPLETION usbd_set_config_index: (addr 1) cno=2 attr=0xc0, selfpowered=0, power=100 usbd_set_config_index: set config 1 umass0: Sierra Wireless USB MMC Storage, rev 1.10/0.00, addr 2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 1.000MB/s transfers cd0: cd present [44672 x 2048 byte records] da0 at umass-sim0 bus 0 target 0 lun 1 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): NOT READY asc:3a,0 (cd0:umass-sim0:0:0:0): Medium not present (cd0:umass-sim0:0:0:0): Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): NOT READY asc:3a,0 (cd0:umass-sim0:0:0:0): Medium not present (cd0:umass-sim0:0:0:0): Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): NOT READY asc:3a,0 (cd0:umass-sim0:0:0:0): Medium not present (cd0:umass-sim0:0:0:0): Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): NOT READY asc:3a,0 (cd0:umass-sim0:0:0:0): Medium not present (cd0:umass-sim0:0:0:0): Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (cd0:umass-sim0:0:0:0): NOT READY asc:3a,0 (cd0:umass-sim0:0:0:0): Medium not present (cd0:umass-sim0:0:0:0): Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (da0:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:1): SCSI Status: Check Condition (da0:umass-sim0:0:0:1): NOT READY asc:3a,0 (da0:umass-sim0:0:0:1): Medium not present (da0:umass-sim0:0:0:1): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:1): SCSI Status: Check Condition (da0:umass-sim0:0:0:1): NOT READY asc:3a,0 (da0:umass-sim0:0:0:1): Medium not present (da0:umass-sim0:0:0:1): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:1): SCSI Status: Check Condition (da0:umass-sim0:0:0:1): NOT READY asc:3a,0 (da0:umass-sim0:0:0:1): Medium not present (da0:umass-sim0:0:0:1): Unretryable error The device is an evdo wireless card with 3 ttyUSB devices that show up with Linux + it has a microsd card slot, that is currently empty, plus the fake cd device that is the TRU-Install device where the drivers for windows are. When the device it first plugged in it says the usb device id is 1199:0fff - when it is put in modem mode it then reports, under Linux, usb device id ad 1199:0023. Any other ideas? OBTW is there any documentation that explains the USB driver api for FreeBSD. The sierra linux driver checks if the usb device id is 1199:0fff and send a usb control message to place the device in modem mode. And thanks for the response. Steve