Motherboard Forums


Reply
Thread Tools Display Modes

terminal-usb-commands

 
 





















Willi Bertram
Guest
Posts: n/a

 
      02-05-2004, 07:26 AM


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.

Any hints?

Thank you for reading!

 
Reply With Quote
 
Barry Twycross
Guest
Posts: n/a

 
      02-05-2004, 07:46 AM
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).
 
Reply With Quote
 
mr goat
Guest
Posts: n/a

 
      02-05-2004, 03:43 PM
Willi Bertram <> wrote in message news:<>...
> 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.
>
> Any hints?
>
> Thank you for reading!


ARE YOU MAD?

USE A GUI!!!

Terminal.app is for beardy wierdy types that smell of wee and are fat.

Everyone knows that!!!!!111111
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal manipulation Beelsebob Apple 1 11-14-2003 11:36 AM
Panther's Terminal Always clears window, Why? Jonathan Brady Apple 2 11-06-2003 10:04 PM
terminal in osx Timothy Domst Apple 4 09-20-2003 08:02 AM
MacOS X Terminal Utility keypad character settings ? Larry Kilgallen Apple 2 07-24-2003 04:18 AM
Re: Best Newsgroup for Terminal Script Questions? BreadWithSpam@fractious.net Apple 1 07-15-2003 03:37 AM


All times are GMT. The time now is 03:40 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43