Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 21:46:28 +0100 (CET)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-hardware@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   USB "Memorybird" quirks
Message-ID:  <200202072046.g17KkSM05459@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help
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: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> 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: <Fujitsu Memorybird 1.04> 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-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202072046.g17KkSM05459>