Date: Mon, 23 Feb 2004 11:24:13 GMT From: carvay@tikismikis.org To: freebsd-questions@freebsd.org Subject: How to access to Compact Flash on 4.9-RELEASE Message-ID: <20040223112413.19560.qmail@euskalherria.info>
next in thread | raw e-mail | index | archive | help
Hi there: I have a CF reader and I have problems on access on it. I've used from MacOS X but the machine are not currently on my hands (it's property of my last employer) and I suppose that FreeBSD is capable of doing thing on it. The reader is a Transcend, below is what dmesg says about it. I'm using 4.9-RELEASE (I haven't easy access to the net and I have not phone line at home 8-(( ). I have device atapicam on my custom kernel. The device appears on dmesg: zolocho# dmesg | grep umass umass0: ScanLogic SSFDC-CF 0.74! ScanLogic SSFDC-CF 0.74!, rev 1.10/0.74, addr 3 I've searched on man pages. So, camcontrol says: zolocho# camcontrol devlist -v scbus0 on ata0 bus 0: < > at scbus0 target -1 lun -1 () scbus1 on ata1 bus 0: <IDE DVD-ROM 16X 2.0> at scbus1 target 0 lun 0 (pass0,cd0) <PLEXTOR CD-R PX-W4824A 1.04> at scbus1 target 1 lun 0 (pass1,cd1) < > at scbus1 target -1 lun -1 () scbus2 on umass-sim0 bus 0: <ScanLogi c SSFDC-CF 0.74! > at scbus2 target 0 lun 0 (probe0) < > at scbus2 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) As I can read on man umass(4) I've scanned with umass my multislot card reader (is cf and sc capable) zolocho# camcontrol rescan 0:0:0 Re-scan of 0:0:0 was successful zolocho# camcontrol rescan 0:0:1 Re-scan of 0:0:1 was successful zolocho# camcontrol rescan 0:0:2 Re-scan of 0:0:2 was successful zolocho# camcontrol rescan 0:0:3 Re-scan of 0:0:3 was successful Well, It seems that I can access to the decive. So, I'll try to fsck it: fsck da0 Ops!. Reboot I've tryed with: disklabel -w -r da0 cf Ops! Reboot I've found another one anyonning thing: zolocho# sh ./MAKEDEV da0 zolocho# cd - zolocho# camcontrol start da0 camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed cam_lookup_pass: No such file or directory cam_lookup_pass: either the pass driver isn't in your kernel cam_lookup_pass: or da0 doesn't exist Definitively I have da0 created and I do have pass driver on my kernel. I don't know very good this kind of devices but I have seen that in Linux is veeery easy. *Without* atapicam on the kernel was possible doing camcontrol start da0 but anything related to fsck'ing the device, newfs the device or anything, give me another one system's freeze. I have checked on FreeSBIE (as you know a FreeBSD 5.X-based LiveCD) but the result was not better. I've seen the work done on Linux but I won't install a Linux just to create a cf'ed *FreeBSD* image. ;-) Can you point me, please?. Thanks in advance. Best regards P.S.: Please, cc me any answer, because I'm not subscriber of the list. My web-based mail is not capable of assume the volume of mail of a high-traffic list as this list is. -- -- -- ======================================= DISCLAIMER: This message is the author's personal opinion and does not constitute the support, opinion or policy of carvay at tikismikis.org, or of the little green men that have been following him all day. =======================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223112413.19560.qmail>