LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2005, 08:57 PM   #1
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
errrr how do I know which USB post my device use?


I need to know which usb port my palm device uses. I have four usb ports but I don't really know their order. I checked out my /dev and I have tons of /dev/ttyUSB*


so is there a way for me how I can access my palm device?

thanks
 
Old 01-02-2005, 08:59 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Open up a console, run this and then plug your device in, should tell you somewhere in there
Code:
tail -f /var/log/messages
 
Old 01-02-2005, 09:09 PM   #3
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
hello.. thanks for the help.

I got this message, "USB disconnect on on device 00:14.0-2 address 2"... hmmm so how do I know which it is?

is is ttyUSB1?
 
Old 01-02-2005, 09:12 PM   #4
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
sorry, I reconnected it again and I got this...

Jan 3 11:10:58 habolinux kernel: hub.c: new USB device 00:14.0-2, assigned address 5
Jan 3 11:10:58 habolinux kernel: usb.c: USB device 5 (vend/prod 0x830/0x60) is not claimed by any active driver.


hmmm is the is not claimed by any active driver significant?
 
Old 01-02-2005, 09:58 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
I'd take a stab and say port 2, plug it into a couple of different ones and see which part of the output differs
 
Old 01-02-2005, 10:13 PM   #6
HadroLepton
LQ Newbie
 
Registered: Mar 2004
Location: germany
Posts: 14

Rep: Reputation: 0
usbview (gui)
http://www.kroah.com/linux-usb/

usbtree (command line)
http://www.linux-usb.org/
navigate to tools then usbtree. it's a perl script. just download then chmod and execute

or if you are really hardcore
cat /proc/bus/usb/devices
(this is basically that what the tools above do, they just have prettier output)

Last edited by HadroLepton; 01-02-2005 at 10:26 PM.
 
Old 01-03-2005, 07:37 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
You might want to investigate using udev to customize the device name. Here is a decent rule writing guide to help you get started, but the basic idea is that hotplug can recognize the USB ID number of your palm device and then create a device in /dev that you named in udev. For example, if you always want your palm to be /dev/palm rather than /dev/ttyUSB?, you write a udev rule so that when hotplug sees that devices ID number, it creates /dev/palm. Basically, udev allows you to customize the /dev naming conventions so you don't have to go hunting for your devices. I've used it quite successfully with a digital camera and a USB memory stick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 03:52 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration