USB Help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: USB Help

\_ SMTP quoth Voltage Spike on 7/23/2003 09:53 as having spake thusly:
\_
\_ On Tue, Jul 22, 2003 at 06:06:51PM -0700, Craig Brooksby wrote:
\_
\_ > RedHat 9 recognizes the usb ports when booting. Can't say for sure
\_ > whether they are mounted or not. I don't think so. I know the Palm
\_ > sync utility with Ximian isn't working. I know I don't know how to
\_ > access anyUSB device.
\_ >
\_ > Good news: /proc/bus/usb/devices seems to recognize my memory stick
\_ > (the only thing I'm trying right now). What I'm missing is: how to
\_ > mount / open a usb device? You know, read and write files etc.
\_
\_ MSImport utility works as of kernel version 2.4.20. You almost
\_ certainly have the support built in, so the following should do the
\_ trick for you:
\_
\_ mkdir /mnt/memstick
\_ mount /dev/sda1 /mnt/memstick

You may need to have the ide-scsi module available or compiled in.

If you're careful, you can also arrange to have it automountable:

* uncomment /misc entry in /etc/auto.master

--> /misc /etc/auto.misc --timeout=60

* add appropriate magic line to /etc/auto.misc

--> camera          -fstype=vfat,rw,nosuid,nodev    :/dev/sda1


* add an appropriate link in /mnt if you're interested

--> ln -s /misc/camera/dcim/100pentx /mnt/camera

Mine is quite the setup you have or might want, but it saves me from
having to remember to mount the camera after the hardware connection.


David