LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-17-2011, 05:58 AM   #1
narcissus7166
LQ Newbie
 
Registered: Aug 2011
Location: India
Distribution: Ubuntu
Posts: 5

Rep: Reputation: Disabled
ttyUSB0 not found


I am trying to connect a device through USB using minicom, however, minicom gives error that ttyUSB0 does not exist.

I tried to find the file in /dev/ directory and it was not there. I also tried to manually create it using mknod /dev/ttyUSB0 c 180 0.

It worked and after changing permissions/owner for execution, I again tried minicom, however it gave the same error again "minicom: cannot open /dev/ttyUSB0: No such device or address", I am using Ubuntu 11.04 I hope that the problem is not a bug related to distribution.

minicom used to work fine a day or two ago.
 
Old 08-17-2011, 10:52 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What is the device you are trying to communicate with? Are you sure the kernel is properly detecting whatever hardware is supposed to be providing you with the USB-serial interface?
 
Old 08-17-2011, 11:33 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Run this command and give us the output:
lsusb
If your device is there tell us what it is. And if it is there run this:
lsmod
posting the results so we can see if the driver is loaded. Could be you will have to download the driver and compile it so you can install the driver for your device and then use it. There might not be a driver available for Linux. Exactly what version of Ubuntu are you using? Maybe a newer version would include the driver for your device.
 
Old 08-18-2011, 02:01 AM   #4
narcissus7166
LQ Newbie
 
Registered: Aug 2011
Location: India
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
The output of lsusb command:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bb4:0c01 High Tech Computer Corp. Dream / ADP1 / G1 Phone
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


The output of lsmod command:

Module Size Used by
binfmt_misc 13213 1
snd_hda_codec_realtek 255882 1
snd_hda_intel 24140 2
i915 450934 3
snd_hda_codec 90901 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13274 1 snd_hda_codec
snd_pcm 80042 2 snd_hda_intel,snd_hda_codec
drm_kms_helper 40745 1 i915
drm 180037 4 i915,drm_kms_helper
ppdev 12849 0
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
cdc_acm 22150 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 55295 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
psmouse 73312 0
i2c_algo_bit 13184 1 i915
serio_raw 12990 0
parport_pc 32111 1
soundcore 12600 1 snd
video 18951 1 i915
snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
lp 13349 0
parport 36746 3 ppdev,parport_pc,lp
usb_storage 43946 0
uas 17676 0
atl2 27931 0


I am using Ubuntu 11.04 and the device is sheevaplug.

The following error pops up:

I had a similar problem before and thus tried USB1, and USB2 and so on with (10.10), or a cpu restart to solve it.

However this time around the file isnt getting created, i dont know why.....

minicom: cannot open /dev/ttyUSB0: No such file or directory

thx.....

Last edited by narcissus7166; 08-18-2011 at 02:05 AM. Reason: the lsusb command output and lsmod output is for android running device not for sheevaplug mixed it up!! below post is correc
 
Old 08-18-2011, 02:02 AM   #5
narcissus7166
LQ Newbie
 
Registered: Aug 2011
Location: India
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
The output of lsusb command:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 015: ID 9e88:9e8f
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



The output of lsmod command:

Module Size Used by
ftdi_sio 35699 0
usbserial 37116 1 ftdi_sio
binfmt_misc 13213 1
snd_hda_codec_realtek 255882 1
snd_hda_intel 24140 2
i915 450934 3
snd_hda_codec 90901 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13274 1 snd_hda_codec
snd_pcm 80042 2 snd_hda_intel,snd_hda_codec
drm_kms_helper 40745 1 i915
drm 180037 4 i915,drm_kms_helper
ppdev 12849 0
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
cdc_acm 22150 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 55295 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
psmouse 73312 0
i2c_algo_bit 13184 1 i915
serio_raw 12990 0
parport_pc 32111 1
soundcore 12600 1 snd
video 18951 1 i915
snd_page_alloc 14073 2 snd_hda_intel,snd_pcm
lp 13349 0
parport 36746 3 ppdev,parport_pc,lp
usb_storage 43946 0
uas 17676 0
atl2 27931 0



I am using Ubuntu 11.04 and the device is sheevaplug.

The following error pops up:

I had a similar problem before and thus tried USB1, and USB2 and so on with (10.10), or a cpu restart to solve it.

However this time around the file isnt getting created, i dont know why.....

minicom: cannot open /dev/ttyUSB0: No such file or directory

thx.....
 
Old 08-18-2011, 02:21 AM   #6
narcissus7166
LQ Newbie
 
Registered: Aug 2011
Location: India
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
I tried two devices to verify whether it is not a h/w related problem.

Now with sheevaplug i found that the restart pc thing worked, and i can communicate like before.

But with android running tab(output in earlier post), i see that it isnt working still.

I hope this post clears the confusion i caused by putting two outputs with same name.

I would be glad if i could learn what is ttyUSB0, and how does it interface with some device file, and how does it actually works, i tried to google it w/o much success.....

thx
 
Old 08-18-2011, 06:01 AM   #7
narcissus7166
LQ Newbie
 
Registered: Aug 2011
Location: India
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Problem Solved, the problem was with connector at the device.....
thx anyways gys.....
 
1 members found this post helpful.
Old 08-18-2011, 03:18 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Then maybe please mark this thread as "Solved"?
It's under "Thread tools".

Thanks.
 
  


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
[SOLVED] How to define /dev/ttyUSB0? MrCode Linux - General 3 04-04-2010 05:39 PM
minicom /dev/ttyUSB0 not found hkg Linux - Newbie 1 11-23-2006 09:12 AM
How do I define ttyUSB0 ? OralDeckard Linux - Newbie 9 05-03-2006 11:51 PM
ttyUSB0 an pl2303 H2O-linux Slackware 3 12-08-2004 06:30 PM
/dev/ttyUSB0 js72 Linux - Networking 1 01-05-2003 07:02 AM


All times are GMT -5. The time now is 05:53 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