In article <>, Willi Bertram
<> wrote:
> Are there any OS 10.3-terminal-commands for the usb? In O'Reilly's
> Essential System-Admin. you find on page 807 under "usb devices" only
> FreeBSD, Linux and Solaris USB Support, no hints for the Apple Unix
> under 10.3.
>
> Where can I find these commands to usb?
>
> Problem: Under OS 9 any usb HD starts working without any circumstances,
> even if formated and used under windows. Trying this under OS X nothing
> happens, from time to time you can see this usb HD using DiskUtility or
> SystemProfiler, sometimes this won't work and you can't get any traces
> of this nice usb device. So I want to mount it using the terminal. But
> how to manage if there are no commands like "lsusb" or "usbmodules" or
> "usbdevs" and so on.
If its not mounting automatically, a mount command is not going to
help. Where I'd start is with USB Prober, and see what it's log says
about this. USB Prober comes with the dev tools or the USB SDK.
USB Prober is not a comamnd line tool, if you're really instant on
using the terminal, you can use usblogger to the same effect.
Also its quite handy to use the ioreg command from the terminal. That
will show you what layer the mount is held up in. There's an example
below, it hass to get all the way from the controller to BSD media.
Another thing, the OS X file system is a bit flaky, if a device fails
to mount once, it'll stop future mounts. Try rebooting and trying
agian.
| | +-o usb@1B,2 <class IOPCIDevice, registered, matched, active
| | +-o IOService <class IOService, !registered, !matched, act
| | +-o AppleUSBEHCI <class AppleUSBEHCI, registered, matched,
| | +-o EHCI Root Hub Simulation@1B,2 <class IOUSBRootHubDev
| | | +-o AppleUSBHub <class AppleUSBHub, !registered, !matc
| | | +-o IOUSBInterface@0 <class IOUSBInterface, !registere
| | | +-o IOUSBUserClientInit <class IOUSBUserClientInit, !r
| | +-o iPod@5b200000 <class IOUSBDevice, registered, m
| | +-o AppleUSBComposite <class AppleUSBComposite, !regis
| | +-o IOUSBInterface@0 <class IOUSBInterface, registered
| | | +-o IOUSBMassStorageClass <class IOUSBMassStorageCla
| | | | +-o IOSCSIPeripheralDeviceNub <class IOSCSIPeriphe
| | | | +-o com_apple_driver_iPodSBC <class com_apple_dr
| | | | +-o com_apple_driver_iPodSBCNub <class com_app
| | | | +-o IOBlockStorageDriver <class IOBlockStora
| | | | | +-o Apple iPod Media <class IOMedia, regis
| | | | | +-o IOMediaBSDClient <class IOMediaBSDCl
| | | | | +-o IOApplePartitionScheme <class IOAppl
| | | | | +-o partition map@1 <class IOMedia, re
| | | | | | +-o IOMediaBSDClient <class IOMediaB
| | | | | +-o firmware@2 <class IOMedia, registe
| | | | | | +-o IOMediaBSDClient <class IOMediaB
| | | | | +-o disk@3 <class IOMedia, registered,
| | | | | +-o IOMediaBSDClient <class IOMediaB
| | | | +-o SCSITaskUserClientIniter <class SCSITask
| | | +-o IOUSBUserClientInit <class IOUSBUserClientInit,
| | +-o IOUSBUserClientInit <class IOUSBUserClientInit, !r
--
Barry
<http://www.netbox.com/barry>
------
(I should put something down here).