trying to get Dane-Elec Zmate CF to work

Darin Smith darin_ext at darinsmith.net
Fri May 31 04:40:01 CEST 2002


I initially sent this from the wrong account.  Here goes try #2:


I have a Dane-Elec Zmate CF-only reader, which uses the same chipset. 
It is 0x4e6 / 1010 / 5

I checked out the latest usbat-02 from cvs and built it.  It appears to
be finding my card, but I am having trouble mounting since I use devfs
(Mandrake 8.1).

Here is the relevant data from /var/log/messages:

May 29 08:25:49 mynock kernel: Initializing USB Mass Storage driver...
May 29 08:25:49 mynock kernel: usb.c: registered new driver usb-storage
May 29 08:25:49 mynock kernel: USB Mass Storage support registered.
May 29 08:25:58 mynock kernel: hub.c: USB new device connect on bus2/2,
assigned device number 2
May 29 08:26:00 mynock kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
May 29 08:26:00 mynock kernel:   Vendor: SCM       Model: SCM
USBAT-02/ZIO  Rev: 0005
May 29 08:26:00 mynock kernel:   Type:  
Direct-Access                      ANSI SCSI revision: 02
May 29 08:26:00 mynock /etc/hotplug/usb.agent: ... no drivers for USB
product 4e6/1010/5

checking proc filesystem...

[root at mynock root]# 
[root at mynock root]# cd /proc/scsi
[root at mynock scsi]# ls
ide-scsi/  scsi  sg/  usb-storage-0/
[root at mynock scsi]# cd usb-storage-0/
[root at mynock usb-storage-0]# ls
1
[root at mynock usb-storage-0]# cat 1
   Host scsi1: usb-storage
       Vendor: SHUTTLE
      Product: SCM Micro USBAT-02 
Serial Number: None
     Protocol: Transparent SCSI
    Transport: SCM ZIO CF USBAT-02 C/B
         GUID: 04e610100000000000000000
     Attached: Yes
[root at mynock usb-storage-0]# cd ..
[root at mynock scsi]# cat scsi 
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W1210A Rev: 1.08
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: TOSHIBA  Model: DVD-ROM SD-M1502 Rev: 1008
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: SCM      Model: SCM USBAT-02/ZIO Rev: 0005
  Type:   Direct-Access                    ANSI SCSI revision: 02
[root at mynock scsi]# 

So it is on host1/channel0/id0/lun0.

My devfs has no /dev/sdx, x=anything as it is all under /dev/scsi now.

[root at mynock scsi]# cd /dev/scsi/host1/bus0/target0/lun0/        
[root at mynock lun0]# ls
generic
[root at mynock lun0]# ll
total 0
crw-r-----    1 root     root      21,   2 Dec 31  1969 generic
[root at mynock lun0]# 

Obviously, a generic device isn't going to work.

Does anyone know how I can tell devfs about this?
I'm rather new to devfs, but I don't think I can just do a mknod or
something like that.

I did notice that it is seen as a removable disk:

[root at mynock root]# cdrecord --scanbus
Cdrecord 1.10 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg
Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'PLEXTOR ' 'CD-R   PX-W1210A' '1.08' Removable
CD-ROM
        0,1,0     1) 'TOSHIBA ' 'DVD-ROM SD-M1502' '1008' Removable
CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'SCM' 'SCM USBAT-02/ZIO' '0005' Removable Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
[root at mynock root]# 

Thanks in advance for any help you can give on how to mount this thing.

--Darin Smith




More information about the Usbat2 mailing list