Last week I bought a 256MB CF card in a PC shop in Brussels, having filled the one in my camera. It seemed to be OK but now the camera is reporting card errors. Can't take the card back so I'd like to try reformatting it. The camera refuses and my Sharp Zaurus sees it but can't read or write. I have a USB card reader that will take it, but how do I use that under Linux?
-- GT
On Tue, Aug 03, 2004 at 01:20:29PM +0100, Graham wrote:
Last week I bought a 256MB CF card in a PC shop in Brussels, having filled the one in my camera. It seemed to be OK but now the camera is reporting card errors. Can't take the card back so I'd like to try reformatting it. The camera refuses and my Sharp Zaurus sees it but can't read or write. I have a USB card reader that will take it, but how do I use that under Linux?
The USB card reader should appear as a normal SCSI block device, throw the card in and just use it like it was a normal hard drive. If it's the only SCSI/USB Mass Storage device it should appear as /dev/sda, with /dev/sda1 being the one and only partition (usually). If you've got the right utilities installed you should be able to do a mkfs.vfat /dev/sda1 and all should be well.
Hope that helps.
On Tuesday 03 August 2004 13:24, Brett Parker wrote:
The USB card reader should appear as a normal SCSI block device, throw the card in and just use it like it was a normal hard drive. If it's the only SCSI/USB Mass Storage device it should appear as /dev/sda, with /dev/sda1 being the one and only partition (usually). If you've got the right utilities installed you should be able to do a mkfs.vfat /dev/sda1 and all should be well.
Hope that helps.
When you say "appear as", what evidence should there be? All I have is a green LED on the dongle. Doing mkfs.vfat /dev/sda1 gives "No such device or address" with any CF card. Any other useful commands?
The dongle is labelled jumpSHOT - "Works only with USB Enabled CompactFlash". None of my CF cards say anything about being USB enabled. Could that be the problem? Do I need a smarter dongle?
-- GT
On Tue, Aug 03, 2004 at 03:12:25PM +0100, Graham wrote:
When you say "appear as", what evidence should there be? All I have is a green LED on the dongle. Doing mkfs.vfat /dev/sda1 gives "No such device or address" with any CF card. Any other useful commands?
When you boot the machine do so without the usb dongle attached. When the machine has booted type "dmesg" then plug in the dongle with the compact flash card alread inserted in it, then run the command "dmesg" again and you should see extra lines appended on to the output saying which device the compact flash card has been allocated. If you get some kind of output you don't understand you could post it back here for analysis :)
Adam
On Tuesday 03 August 2004 15:40, adam@thebowery.co.uk wrote:
On Tue, Aug 03, 2004 at 03:12:25PM +0100, Graham wrote:
When you say "appear as", what evidence should there be? All I have is a green LED on the dongle. Doing mkfs.vfat /dev/sda1 gives "No such device or address" with any CF card. Any other useful commands?
When you boot the machine do so without the usb dongle attached. When the machine has booted type "dmesg" then plug in the dongle with the compact flash card alread inserted in it, then run the command "dmesg" again and you should see extra lines appended on to the output saying which device the compact flash card has been allocated. If you get some kind of output you don't understand you could post it back here for analysis :)
Adam
To get a usb CF card reader working under Suse 9.1 I had to use the instructions here http://www.linuxquestions.org/questions/showthread.php?s=&threadid=20730... Regards Nick Daniels
On Tue, 2004-08-03 at 15:12, Graham wrote:
On Tuesday 03 August 2004 13:24, Brett Parker wrote:
The USB card reader should appear as a normal SCSI block device, throw the card in and just use it like it was a normal hard drive. If it's the only SCSI/USB Mass Storage device it should appear as /dev/sda, with /dev/sda1 being the one and only partition (usually). If you've got the right utilities installed you should be able to do a mkfs.vfat /dev/sda1 and all should be well.
Hope that helps.
When you say "appear as", what evidence should there be? All I have is a green LED on the dongle. Doing mkfs.vfat /dev/sda1 gives "No such device or address" with any CF card. Any other useful commands?
The dongle is labelled jumpSHOT - "Works only with USB Enabled CompactFlash". None of my CF cards say anything about being USB enabled. Could that be the problem? Do I need a smarter dongle?
-- GT
I have a 6 in 1 card reader thing and it may be under another device node(?) say /dev/sdb or /dev/dsc. Check dmesg to find out more. Also kernel versions might come into it i think i remember one of the 2.4.x kernels(and below) having problems with my card reader. Also some kernel opption like "probe all luns" might be needed with multi cardreaders.
Dennis
On Tue, 2004-08-03 at 15:12, Graham wrote:
When you say "appear as", what evidence should there be? All I have is a green LED on the dongle. Doing mkfs.vfat /dev/sda1 gives "No such device or address" with any CF card. Any other useful commands?
The dongle is labelled jumpSHOT - "Works only with USB Enabled CompactFlash". None of my CF cards say anything about being USB enabled. Could that be the problem? Do I need a smarter dongle?
[allena29@elsol linux]$ grep -i -r "Jumpshot" * arch/parisc/configs/c3000_defconfig:CONFIG_USB_STORAGE_JUMPSHOT=y arch/ppc64/defconfig:# CONFIG_USB_STORAGE_JUMPSHOT is not set arch/ppc64/configs/g5_defconfig:CONFIG_USB_STORAGE_JUMPSHOT=y
Not got any time to dig deeper on this, but I had remembered seeing JUMPSHOT in the kernel source. It may be that you don't have the required module loaded or built-in with your kernel.
I have a vauge recollection that my Dads CF reader is a re-badged JUMPSHOT which doesn't work at all.