usb cf reader

From: Riccardo Torrini <riccardo_at_torrini.org>
Date: Thu, 17 Apr 2003 21:16:37 +0200
(wrapping long lines)

-----8<-----[ /var/log/messages ]-----8<-----
Apr 17 20:21:52 trudy kernel: \
	umass0: DataFab Systems Inc. USB CF, rev 1.10/3.06, addr 2
	da0 at umass-sim0 bus 0 target 0 lun 0
	da0: <OEI-Link Media Reader 3.06> \
		Removable Direct Access SCSI-0 device
	da0: 1.000MB/s transfers
	da0: 15MB (31488 512 byte sectors: 64H 32S/T 15C)
-----8<-----

# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), \
	Intel(0x0000), rev 1.00
  uhub0
 port 1 addr 2: full speed, power 100 mA, config 1, USB CF(0xb000), \
	DataFab Systems Inc.(0x07c4), rev 3.06
   umass0
 port 2 powered

# ls -ln /dev/da0*
crw-r-----  1 0  5    4,  20 Apr 17 20:09 /dev/da0

# mount -tmsdos /dev/da0 /dist
msdosfs: /dev/da0: Invalid argument

# mount -tmsdosfs /dev/da0 /dist
msdosfs: /dev/da0: Invalid argument

# ls -ln /sbin/mount_msdos*
-r-xr-xr-x  1 0  0  429072 Apr  1 18:57 /sbin/mount_msdosfs

# ident /sbin/mount_msdosfs 
/sbin/mount_msdosfs:
	[...]
	$FreeBSD: src/sbin/mount_msdosfs/mount_msdosfs.c,v 1.24 \
		2002/08/03 16:03:19 mux Exp $
	[...]

# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=15 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=15 heads=64 sectors/track=32 (2048 blks/cyl)

fdisk: invalid fdisk partition table found
fdisk: /boot/mbr: length must be a multiple of sector size

# dd if=/dev/da0 | hd
0+0 records in
0+0 records out
0 bytes transferred in 0.010928 secs (0 bytes/sec)

How it is supposed to work?  I'm unable to access my CF (tryed also on
4.8-STABLE w/out success) and after recompiling world (29 march) also
gphoto stopped to work.  Something related to usb device?  I'm missing
something obvious?  Maybe non all CF are msdos formatted/partitioned?

If it can make any difference is a SMP system, with SCHED_4BSD on a
ASUS P2B-DS (dual pIII/500).  I loaded umass0 before connecting device.
CF is from a Canon S30 and I'm unable to access my photos after last
world  :-(


-- 
Riccardo.
Received on Thu Apr 17 2003 - 10:16:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC