From owner-freebsd-usb@FreeBSD.ORG Sat May 13 23:22:51 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AB0B16A407 for ; Sat, 13 May 2006 23:22:51 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail21.syd.optusnet.com.au (mail21.syd.optusnet.com.au [211.29.133.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D2A043D49 for ; Sat, 13 May 2006 23:22:50 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail21.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4DNMm6f022802 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 14 May 2006 09:22:49 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4DNMm8T008346 for ; Sun, 14 May 2006 09:22:48 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4DNMmDK008345 for freebsd-usb@freebsd.org; Sun, 14 May 2006 09:22:48 +1000 (EST) (envelope-from peter) Date: Sun, 14 May 2006 09:22:48 +1000 From: Peter Jeremy To: freebsd-usb@freebsd.org Message-ID: <20060513232248.GA7904@turion.vk2pj.dyndns.org> Mail-Followup-To: Peter Jeremy , freebsd-usb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Subject: umass not working with MP3 Player 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: Sat, 13 May 2006 23:22:51 -0000 My wife got a MP3 player for mother's day. Whilst I managed to confirm that it was a standard USB mass storage device before buying it, it seems that FreeBSD (6.1-RELEASE) doesn't like it. It identifies as: umass0: EM706S EM706S MP3 Player, rev 1.10/10.01, addr 2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: 1.000MB/s transfers da0: 491MB (251456 2048 byte sectors: 64H 32S/T 122C) usbdevs reports: port 3 addr 2: full speed, power 100 mA, config 1, EM706S MP3 Player(0x0706), EM706S(0x067f), rev 10.01 But an attempt to read from it (with hw.usb.umass.debug=0xffff0000) returns: turion% dd if=/dev/da0 bs=512 count=1 >/dev/null umass0:2:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b data/32b sense umass0: CBW 50: cmd = 10b (0x250000000000...), data = 8b, dir = in umass0: Handling BBB state 2 (BBB CBW), xfer=0xffffff002a822a00, NORMAL_COMPLETION umass0: Handling BBB state 3 (BBB Data), xfer=0xffffff002992f800, NORMAL_COMPLETION umass0: 0x 0003d63f00000800 buffer=0xffffff001aac8240, buflen=8 umass0: Handling BBB state 5 (BBB CSW, 1st attempt), xfer=0xffffff0028b48800, NORMAL_COMPLETION umass0: CSW 50: sig = 0x53425355 (valid), tag = 50, res = 0, status = 0x00 (good) umass0:2:0:0:XPT_SCSI_IO: cmd: 0x1e, flags: 0xc0, 6b cmd/0b data/32b sense umass0: CBW 51: cmd = 6b (0x1e0000000100), data = 0b, dir = out umass0: Handling BBB state 2 (BBB CBW), xfer=0xffffff002a822a00, NORMAL_COMPLETION umass0: no data phase umass0: Handling BBB state 5 (BBB CSW, 1st attempt), xfer=0xffffff0028b48800, NORMAL_COMPLETION umass0: CSW 51: sig = 0x53425355 (valid), tag = 51, res = 0, status = 0x00 (good) dd: /dev/da0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000197 secs (0 bytes/sec) I've tried comparing it with a BBB umass device that works and there is no immediately obvious difference except that the good device continues to perform further SCSI commands instead of returning EINVAL. Any suggestions on how to proceed further? -- Peter Jeremy