Re: [newbie] USB Flashdrive

2004-06-09 Thread Guy Rouillier
On Wed, 09 Jun 2004 22:54:48 +0300
OOzy [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have a ScanDisk Cruzer mini 256MB USB flash drive. How can I
 install/mount it.

On 10.0, when I put a memory card in a card reader, Mandrake
automatically mounts if for me - I don't have to do anything.  Check
/mnt/removable - that seems to be the default location.

 
 Thx
 
 
 


-- 
Guy Rouillier


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] USB Flashdrive

2004-06-09 Thread OOzy
I have LM9.2.

On Wed, 2004-06-09 at 23:19, Guy Rouillier wrote:
 On Wed, 09 Jun 2004 22:54:48 +0300
 OOzy [EMAIL PROTECTED] wrote:
 
  Hi all,
  
  I have a ScanDisk Cruzer mini 256MB USB flash drive. How can I
  install/mount it.
 
 On 10.0, when I put a memory card in a card reader, Mandrake
 automatically mounts if for me - I don't have to do anything.  Check
 /mnt/removable - that seems to be the default location.
 
  
  Thx
  
  
  
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] USB Flashdrive

2004-06-09 Thread yankl
On Wednesday 09 June 2004 04:32 pm, OOzy wrote:
 I have LM9.2.

 On Wed, 2004-06-09 at 23:19, Guy Rouillier wrote:
  On Wed, 09 Jun 2004 22:54:48 +0300
 
  OOzy [EMAIL PROTECTED] wrote:
   Hi all,
  
   I have a ScanDisk Cruzer mini 256MB USB flash drive. How can I
   install/mount it.
 
  On 10.0, when I put a memory card in a card reader, Mandrake
  automatically mounts if for me - I don't have to do anything.  Check
  /mnt/removable - that seems to be the default location.
 
   Thx

In console:
$su
$password
$modprobe usb-storage
$mount -t vfat /dev/sg1 /some_directory


-- 
Yankl
Tiny IT guy.
100 % Micro$oft free.
Registered linux users 181086
URL: http://yankele.com
---
To mess up a Linux box, you need to work at it; to mess up your Windows
box, you just need to work on it.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] USB Flashdrive

2004-06-09 Thread Mikkel L. Ellertson
OOzy wrote:
Hi all,
I have a ScanDisk Cruzer mini 256MB USB flash drive. How can I
install/mount it.
Thx
It should show up as /mnt/removable - at least the 3 different brands I 
have all do.  Or show up as /mnt/removable1, /mnt/removable2, etc if I 
use more then one during a secession.  This is on 9.2

Mikkel
--
Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] USB Flashdrive

2003-06-17 Thread Todd Slater
On Mon, 16 Jun 2003 18:40:39 -0700
Aron Smith [EMAIL PROTECTED] wrote:

 On Mon, 2003-06-16 at 05:09, Todd Slater wrote:
  On Mon, Jun 16, 2003 at 02:08:59AM -0700, Aron Smith wrote:
   I Finaly got the USB Flashdrive working in a R/W mode but where my
   WinDoze box sees it as 2 32mb drives my Linbox only sees it as one
   of the drives any Ideas on how to reformatt the drive as one
   drive?
  
  So I take it the drive *is* 2 32MB drives? If so, a recent post on a
  USB smart media and compact flash combo reader might help; I got my
  SanDisk reader to mount both without a hitch. I can dig that out if
  it's what you might need.
  
  Todd
 At this point anything would help
 I want to get this worked out before I buy a bigger flashdrive  for my
 MiniITX project(Hellachus music player)

Thought I had something I was supposed to answer . . .

I'm quoting this from Guy Rouillier's post of June 3 2003. It helped me
set up my SanDisk CF+SM reader. It may help if you have two devices on
the same USB line.

He wrote:


Sorry for the delayed response. I don't have time to write a complete
howto. However, the site I mentioned has the following QA:

===
Q: Why do I only see one device from my multipurpose storage device?

A:Some distributions (notably Red Hat) turn off the kernel option
CONFIG_SCSI_MULTI_LUN. This prevents usb-storage from automatically
detecting all the devices in your removable storage device. You can
either recompile your kernel with this option enabled or try;


echo /proc/scsi/scsi scsi add-single-device 0 0 0 1

Where IIRC, the first zero is the host (so it is zero if this is your
first SCSI adapter), the second the channel (which for usb-storage
should always be zero I believe), the third is the target (which again
is always 0 for usb-storage) and the last is the LUN. LUN 0 is the only
one probed if this kernel option is off, so you'd need to repeat this
command as root for every media type your device accepts.


Following this advice, for my CF/SM reader I added the following two
lines to /etc/rc.d/rc.local:

echo /proc/scsi/scsi scsi add-single-device 1 0 0 1
echo /proc/scsi/scsi scsi add-single-device 1 0 0 2

I believe that you adjust the number of lines based on the number of
formats/slots your reader has.  The 6-in-1 devices probably need 6
lines; if your device only supports a single card type, you probably
only need one line.

Somewhere else in either the User Guide of FAQs on the Linux-USB site
discussed changing the SCSI max luns in modules.conf. I can't find the
reference at the moment, but I haven't needed to do that for Mandrake
9.1.

Note that to try this out, you don't need to update rc.local and
reboot.  You can just type the command at a terminal prompt and see what
happens.  You might have to look in /var/log/messages to see the
messages.  Here is what I see in that file. When the system first boots
up (before running rc.local) I see this:

scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: SanDisk   Model: ImageMate CF-SM   Rev: 0100
  Type:   Direct-Access  ANSI SCSI r
Attached scsi removable disk sdd at scsi1, channel 0, id
sdd : READ CAPACITY failed.
sdd : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sdd : block size assumed to be 512 bytes, disk size 1GB.

Then when the above statements in rc.local ran, I see this:

kernel: scsi singledevice 1 0 0 1
kernel:   Vendor: SanDisk   Model: ImageMate CF-SM   Rev: 0
kernel:   Type:   Direct-Access  ANSI S
kernel: Attached scsi removable disk sde at scsi1, channel 
/etc/hotplug/scsi.agent: sd_mod allready loaded
kernel: SCSI device sde: 16000 512-byte hdwr sectors (8 MB)

(Sorry, some got cut off, can't find a decent editor that can do column
blocks AND copy to the clipboard)  Anyway, this is right because I have
an 8 MB SmartMedia card in the reader.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] USB Flashdrive

2003-06-17 Thread James Henry Maiewski
Hello,

Try...I can't seem to find it in the archives, but it may be that you need to 
add multi-lun capability.

enter: echo scsi add-single-device R C T L/proc/scsi/scsi
where:  R=scsi control number (see /proc/scsi/scsi)
C=channel number (always 0)
T=target number (always 0)
L=lun number (starting from zero, this means you want number 1 to be 
added)

check /proc/scsi/scsi

I hope this helps.
-Jim

On Monday 16 June 2003 09:40 pm, Aron Smith wrote:
 On Mon, 2003-06-16 at 05:09, Todd Slater wrote:
  On Mon, Jun 16, 2003 at 02:08:59AM -0700, Aron Smith wrote:
   I Finaly got the USB Flashdrive working in a R/W mode but where my
   WinDoze box sees it as 2 32mb drives my Linbox only sees it as one of
   the drives any Ideas on how to reformatt the drive as one drive?
 
  So I take it the drive *is* 2 32MB drives? If so, a recent post on a USB
  smart media and compact flash combo reader might help; I got my SanDisk
  reader to mount both without a hitch. I can dig that out if it's what
  you might need.
 
  Todd

 At this point anything would help
 I want to get this worked out before I buy a bigger flashdrive  for my
 MiniITX project(Hellachus music player)

  __
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] USB Flashdrive

2003-06-17 Thread Aron Smith

On Tue, 2003-06-17 at 08:43, James Henry Maiewski wrote:
 Hello,
 
   Try...I can't seem to find it in the archives, but it may be that you need to 
 add multi-lun capability.
 
 enter: echo scsi add-single-device R C T L/proc/scsi/scsi
 where:R=scsi control number (see /proc/scsi/scsi)
   C=channel number (always 0)
   T=target number (always 0)
   L=lun number (starting from zero, this means you want number 1 to be 
 added)
 
 check /proc/scsi/scsi

 
   I hope this helps.
 -Jim
 
 On Monday 16 June 2003 09:40 pm, Aron Smith wrote:
  On Mon, 2003-06-16 at 05:09, Todd Slater wrote:
   On Mon, Jun 16, 2003 at 02:08:59AM -0700, Aron Smith wrote:
I Finaly got the USB Flashdrive working in a R/W mode but where my
WinDoze box sees it as 2 32mb drives my Linbox only sees it as one of
the drives any Ideas on how to reformatt the drive as one drive?
  
   So I take it the drive *is* 2 32MB drives? If so, a recent post on a USB
   smart media and compact flash combo reader might help; I got my SanDisk
   reader to mount both without a hitch. I can dig that out if it's what
   you might need.
  
   Todd
 
  At this point anything would help
  I want to get this worked out before I buy a bigger flashdrive  for my
  MiniITX project(Hellachus music player)
Thanks guys  I'll try it 
 
   __
   Want to buy your Pack or Services from MandrakeSoft?
   Go to http://www.mandrakestore.com
 
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] USB Flashdrive

2003-06-16 Thread Todd Slater
On Mon, Jun 16, 2003 at 02:08:59AM -0700, Aron Smith wrote:
 I Finaly got the USB Flashdrive working in a R/W mode but where my
 WinDoze box sees it as 2 32mb drives my Linbox only sees it as one of
 the drives any Ideas on how to reformatt the drive as one drive?

So I take it the drive *is* 2 32MB drives? If so, a recent post on a USB
smart media and compact flash combo reader might help; I got my SanDisk
reader to mount both without a hitch. I can dig that out if it's what
you might need.

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] USB Flashdrive

2003-06-16 Thread Aron Smith
On Mon, 2003-06-16 at 05:09, Todd Slater wrote:
 On Mon, Jun 16, 2003 at 02:08:59AM -0700, Aron Smith wrote:
  I Finaly got the USB Flashdrive working in a R/W mode but where my
  WinDoze box sees it as 2 32mb drives my Linbox only sees it as one of
  the drives any Ideas on how to reformatt the drive as one drive?
 
 So I take it the drive *is* 2 32MB drives? If so, a recent post on a USB
 smart media and compact flash combo reader might help; I got my SanDisk
 reader to mount both without a hitch. I can dig that out if it's what
 you might need.
 
 Todd
At this point anything would help
I want to get this worked out before I buy a bigger flashdrive  for my 
MiniITX project(Hellachus music player)
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com