From owner-freebsd-hardware Thu Feb 7 12:46:46 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 52D1437B41A; Thu, 7 Feb 2002 12:46:36 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g17KkSM05459; Thu, 7 Feb 2002 21:46:28 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Thu, 7 Feb 2002 21:46:28 +0100 (CET) Message-Id: <200202072046.g17KkSM05459@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hardware@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: USB "Memorybird" quirks User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.5-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I've got a small problem with a nice little thing called "USB Memorybird" (Fujitsu-Siemens) ... It is bascially a 64 MB Flash chip in a small plastic pen that you can carry with your keys. It doesn't need any battery and you can plug it directly into a USB socket. Very neat. Works without any drivers on WinME and Win2k, so I assume it should be some standard USB mass storage device. FreeBSD 4.5 recognizes it out of the box and attaches it as a SCSI disk, but I cannot access it. This is what happens: From the boot log: uhci0: port 0xd400-0xd41f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered This appears when I connect the Memorybird: umass0: Fujitsu Memorybird, rev 1.00/1.00, addr 2 da2 at umass-sim0 bus 0 target 0 lun 0 da2: Removable Direct Access SCSI-0 device da2: 650KB/s transfers da2: 62MB (128000 512 byte sectors: 64H 32S/T 62C) This is the output from "usbdevs -v" (note that there is a ~10 seconds delay!): Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 0x0100 port 1 powered < ~10 seconds delay > port 2 addr 2: power 100 mA, config 1, product 0x0100(0x0100), vendor 0x0d7d(0x0d7d), rev 0x0100 When I type "fdisk da2", it hangs for a while, then prints: fdisk: can't open device /dev/da2 fdisk: cannot open disk /dev/da2: Input/output error At the same time, the kernel logs this: Feb 7 20:00:31 lurza /kernel: umass0: BBB reset failed, TIMEOUT Feb 7 20:00:36 lurza /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Feb 7 20:00:41 lurza /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Feb 7 20:00:51 lurza /kernel: umass0: BBB reset failed, TIMEOUT Feb 7 20:00:56 lurza /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Feb 7 20:01:01 lurza /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT The same happens when I try to dd some block from the device to /dev/null. During my experiments I also got these messages (I don't know if they're important): Feb 7 19:54:46 lurza /kernel: da2: reading primary partition table: error reading fsbn 0 Feb 7 19:54:56 lurza /kernel: umass0: BBB reset failed, TIMEOUT Feb 7 19:55:01 lurza /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Feb 7 19:55:06 lurza /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Feb 7 19:55:06 lurza /kernel: (da2:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Is there a chance to get this to run? Clearly the umass driver recognizes it and attaches it as a SCSI disk, so I assume that it can't be _that_ hard to convince it to work with FreeBSD. :) Are there any quirks that I should try? I'm not extremely familiar with that kind of stuff, but I'm willing to experiment. Thanks in advance for any help! I would _really_ love to get this thing working. Regards Oliver BTW: More information on the Memorybird: http://www.fujitsu-siemens.com/rl/peripherals/homeperipherals/memorybird.html -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message