USB Help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Voltage Spike
Date:  
Subject: USB Help
--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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.


The syncing part is usually straightforward:

ln -s /dev/usb/ttyUSB0 /dev/pilot

Other than this, the only caveat is that you must (1) start the sync
on your application of choice _before_ you press the HotSync button.
This is due to the fact (which Kevin Brown pointed out) that USB
devices are not created until you use them. Thus, your sync program
cannot "open" the device until after the Palm handheld has initiated
the device.

If you are still having problems, then initiate the HotSync (at the
handheld) and paste the output of `tail /var/log/messages` to the list.

(1) While it is possible (using devfs) to automatically perform the
    sync as in Microsoft Windows, I do not know of any distributions
    that set this up "out of the box".  I do not have any experience
    with RedHat 9, though.


Mounting the memory stick may be a little more difficult. While the
Sony Cli=E9 (as I presume you have) supposedly supports the generic mass
storage driver (i.e., supported by everything), I had very little luck
mounting it. To give you an idea that it is not Linux-specific, I had
to install a new driver in both Windows 2000/XP and Mac OS X to enable
support.

However, Linux is quite the moving target. ;-) Rumor has it that the
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

> If anyone has been through this and can help me, please contact me
> off-list.


I would prefer to keep this on the list so others can benefit from the
information.

--=20
                                                           Voltage Spike
      ,,,
     (. .)
--ooO-(_)-Ooo--


--IrhDeMKUP4DT/M7F
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Hr2ApNoctRtUIRQRAnvEAJwNb24ytCWqHN/O+6tnB3WNjM/brgCffwIz
Cx2iVjXv14lh/LwGrYjW5TA=
=/j5C
-----END PGP SIGNATURE-----

--IrhDeMKUP4DT/M7F--