accessing USB memory stick

accessing USB memory stick

am 04.02.2004 20:46:38 von Karthik Vishwanath

Hello,

How do I mount a usb memory stick? I do see something connected to usb on
the output mount (I am running Redhat 9):
$ mount | grep usb
usbdevfs on /proc/bus/usb type usbdevfs (rw)

On plugging the device into the machine and looking at dmesg, shows me
stuff (which I think is connected to plugging in the usb stick):

hub.c: new USB device 00:1d.7-6, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3

Is the device being recognized? How can I access it?

Thanks,

-K

---------------------
Genius may have its limitations, but stupidity is not thus handicapped.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: accessing USB memory stick

am 04.02.2004 23:48:06 von Jacob Langley

Hi,

I know that when I got my 2 flash memory devices, I had to recompile me
kernel with scsi support to be able to access them and then I could do a

$ mount -t vfat /dev/sda1 /mnt/usbhd

I added it to my fstab to make life easier.

When I plug my stick in I see this from my dmesg:

Feb 4 17:42:20 [kernel] sda: assuming Write Enabled
Feb 4 17:42:20 [kernel] sda: assuming drive cache: write through
Feb 4 17:42:20 [kernel] WARNING: USB Mass Storage data integrity not
assured
Feb 4 17:42:45 [kernel] usb 2-1: USB disconnect, address 3
Feb 4 17:42:48 [kernel] hub 2-0:1.0: new USB device on port 1, assigned
address 4
Feb 4 17:42:48 [kernel] scsi2 : SCSI emulation for USB Mass Storage
devices
Feb 4 17:42:49 [kernel] Vendor: LEXAR Model: JUMPDRIVE
Rev: 1.20
Feb 4 17:42:49 [kernel] SCSI device sda: 251904 512-byte hdwr sectors
(129 MB)
Feb 4 17:42:49 [kernel] WARNING: USB Mass Storage data integrity not
assured
Feb 4 17:42:49 [kernel] USB Mass Storage device found at 4

Hope that helps a little.
-j
On Wed, 2004-02-04 at 14:46, Karthik Vishwanath wrote:
> Hello,
>
> How do I mount a usb memory stick? I do see something connected to usb on
> the output mount (I am running Redhat 9):
> $ mount | grep usb
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
>
> On plugging the device into the machine and looking at dmesg, shows me
> stuff (which I think is connected to plugging in the usb stick):
>
> hub.c: new USB device 00:1d.7-6, assigned address 3
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
>
> Is the device being recognized? How can I access it?
>
> Thanks,
>
> -K
>
> ---------------------
> Genius may have its limitations, but stupidity is not thus handicapped.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
--
Jacob Langley

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: accessing USB memory stick

am 05.02.2004 16:17:21 von Hal MacArgle

On 02-04, Karthik Vishwanath wrote:
> Hello,
>
> How do I mount a usb memory stick? I do see something connected to usb on
> the output mount (I am running Redhat 9):
> $ mount | grep usb
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
>
> On plugging the device into the machine and looking at dmesg, shows me
> stuff (which I think is connected to plugging in the usb stick):
>
> hub.c: new USB device 00:1d.7-6, assigned address 3
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
>
> Is the device being recognized? How can I access it?
>
> Thanks,
>
> -K
>
> ---------------------

Greetings: FWIW - here's a snip of my dmesg pertaining to my flash
drive:
------------------------------------------------------------ ------------------
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Link-Max Model: UL-641 Rev: 7.77
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
------------------------------------------------------------ ------------------
Merely mounting /dev/sda1, you can write and read per a normal
drive.. If your 'dmesg' doesn't report an assign scsi channel to
the drive, something else is amiss..

Be advised I've had to return at least one vendors' flash drive not
responding and not usable with Linux... I've found the few I've tried
to be a mixed bag of tricks.. I don't think they've, the producers,
gotten it all together completly yet... The one I am now using
is crazy in that it works automagically with Linux but Win98FE and
Win98SE flaky, and Win95USB negative, the design targets.... Go
figure, eh?

HTH a bit. Cheers.

Hal - in Terra Alta, WV - Slackware GNU/Linux 9.0 (2.4.20)
Utrum Per Hebdomadem Perveniam
..

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs