LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-15-2008, 04:12 PM   #1
vijaya_svk
Member
 
Registered: Nov 2007
Posts: 61

Rep: Reputation: 15
how to detect usb devices connected to the system


Hi
I have connected a device( assume what ever it may be ). i want it to be detected by my system, i am using LINUX fedora 8 on my desktop. If i connect any device to my serial port, i access it through minicom and how can i access my devices connected to USB port. I think i need to write a driver to detect it and access it, can u suggest me how to do it , when i connect any type of device to USB port.
 
Old 03-15-2008, 04:20 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
When you connect the device what output do you get in /var/log/messages? It should give you a idea on how to connect to the device.
 
Old 03-15-2008, 04:26 PM   #3
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Rep: Reputation: 15
does the device show up if you plug it in at boot time, then do 'blkid' as root?
 
Old 03-15-2008, 04:43 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
If you run (as root)
Code:
udevmonitor -kue
and then connect your device, you will detect a lot of information about it, and which subsystems it belongs to.
 
Old 03-16-2008, 01:47 PM   #5
vijaya_svk
Member
 
Registered: Nov 2007
Posts: 61

Original Poster
Rep: Reputation: 15
how can i access devices through USB

Hi
I am using Fedora8 on my desktop and i have connected my nokia mobile to the system through USB port, and i detected from /var/log/messages that

Mar 17 00:10:57 localhost kernel: usb 5-1: new full speed USB device using uhci_hcd and address 4
Mar 17 00:10:57 localhost kernel: usb 5-1: configuration #1 chosen from 1 choice
Mar 17 00:10:57 localhost kernel: cdc_acm 5-1:1.8: ttyACM0: USB ACM device


now how can i access the device and access files through it.I have tried to mount the device through mount command and the output is


[root@localhost log]# mount /dev/ttyACM0 /mnt/usb
mount: /dev/ttyACM0 is not a block device


So can anyone please help me how to access any device through usb.
 
Old 03-16-2008, 02:21 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by vijaya_svk View Post
[root@localhost log]# mount /dev/ttyACM0 /mnt/usb
mount: /dev/ttyACM0 is not a block device
Why are you trying to mount a modem device? If you want to use this modem the same way you might might use /dev/ttyS0 (i.e., everywhere you used to have /dev/ttyS0 replace it with /dev/ttyACM0 in your minicom config).
 
1 members found this post helpful.
  


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
Cannot Detect Usb Devices garbo365 Linux - Newbie 17 09-21-2007 11:55 AM
Can't detect usb devices?? CM019 Debian 5 06-09-2005 01:43 PM
Can Hotplug detect USB devices in a certain order? SAM_site Linux - General 0 07-10-2004 07:27 AM
USB devices dont seem to be connected No1Daemon Linux - Hardware 5 03-22-2004 07:41 PM
PC hangs on startup with USB devices connected davee Linux - Hardware 5 09-12-2003 11:52 AM


All times are GMT -5. The time now is 07:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration