Networking Forums

Networking Forums > Computer Networking > Linux Networking > minicom: cannot open /dev/usb/tts/0: No such file or directory

Reply
Thread Tools Display Modes

minicom: cannot open /dev/usb/tts/0: No such file or directory

 
 
TCMa
Guest
Posts: n/a

 
      09-29-2004, 03:58 AM
Start minicom as root has this error:

minicom: cannot open /dev/usb/tts/0: No such file or directory

I use a USB to DB 9 serial port cable to connect a USB port to a
serial port.
That is all I do: running grub and
mount -t ext3 /dev/sda1 /mnt/flash

However, the computer do not dual boot properly (only boot linux),
eventually I get the computer dual boot properly, but minicom still
has problem.

Previously minicom works, so hardware is ok.
The USB software on the computer works because my USB keyboard and
mouse still work.

The only problem is minicom.

minicom version 2.00.0.
Linux version 2.6.8-r3 x86.
 
Reply With Quote
 
 
 
 
Paul Lutus
Guest
Posts: n/a

 
      09-29-2004, 05:31 AM
TCMa wrote:

> Start minicom as root has this error:
>
> minicom: cannot open /dev/usb/tts/0: No such file or directory


Tell us why you think this is the correct device. The correct device is much
more likely to be /dev/ttyUSB0.

> I use a USB to DB 9 serial port cable to connect a USB port to a
> serial port.


Which device is that? Keyspan? It is very important to reveal this sort of
thing.

> That is all I do: running grub and
> mount -t ext3 /dev/sda1 /mnt/flash


What? What does this have to do with the serial adapter?

> However, the computer do not dual boot properly (only boot linux),
> eventually I get the computer dual boot properly, but minicom still
> has problem.


What? Please choose one topic, and stick to it.

> Previously minicom works, so hardware is ok.


How did you come to that conclusion based on that evidence?

> The USB software on the computer works because my USB keyboard and
> mouse still work.


How did you come to that conclusion based on that evidence?

> The only problem is minicom.


Why did you bother posting? You have all the answers already.

> minicom version 2.00.0.
> Linux version 2.6.8-r3 x86.


That is not a Linux distribution version, that is a kernel version.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      09-29-2004, 01:49 PM
TCMa <(E-Mail Removed)> wrote:
> Start minicom as root has this error:


> minicom: cannot open /dev/usb/tts/0: No such file or directory


That's a /dev filesystem device and devfs is considered obsolete (yes,
already) and will eventually go away. It may not support USB, although
I don't *know* that since I've never ever used it. More info regarding
it's obsolescence can be found at

http://www.kernel.org/pub/linux/utils/kernel/hotplug/

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Bluffing in a poker game can win big; bluffing in a newsgroup
only attracts sharks. */
 
Reply With Quote
 
TCMA
Guest
Posts: n/a

 
      09-29-2004, 02:42 PM
Originally my computer dual boot properly and minicom work properly.
Therefore hardware is ok and the USB software on the computer works
because my USB keyboard and mouse work.
After I run the grub program, the computer do not dual boot properly
(only boot linux), eventually I get the computer dual boot properly
and everything else works as before, except minicom has this problem
now:
Start minicom as root
# minicom
minicom: cannot open /dev/usb/tts/0: No such file or directory

minicom version 2.00.0.
Linux version 2.6.8-r3 x86, distribution is Gentoo 2004.2.
How to fix this minicom symptom (which may be just the surface of a
problem)?

Paul Lutus <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> TCMa wrote:
>
> > Start minicom as root has this error:
> >
> > minicom: cannot open /dev/usb/tts/0: No such file or directory

>
> Tell us why you think this is the correct device. The correct device is much
> more likely to be /dev/ttyUSB0.
>
> > I use a USB to DB 9 serial port cable to connect a USB port to a
> > serial port.

>
> Which device is that? Keyspan? It is very important to reveal this sort of
> thing.
>
> > That is all I do: running grub and
> > mount -t ext3 /dev/sda1 /mnt/flash

>
> What? What does this have to do with the serial adapter?
>
> > However, the computer do not dual boot properly (only boot linux),
> > eventually I get the computer dual boot properly, but minicom still
> > has problem.

>
> What? Please choose one topic, and stick to it.
>
> > Previously minicom works, so hardware is ok.

>
> How did you come to that conclusion based on that evidence?
>
> > The USB software on the computer works because my USB keyboard and
> > mouse still work.

>
> How did you come to that conclusion based on that evidence?
>
> > The only problem is minicom.

>
> Why did you bother posting? You have all the answers already.
>
> > minicom version 2.00.0.
> > Linux version 2.6.8-r3 x86.

>
> That is not a Linux distribution version, that is a kernel version.

 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      09-29-2004, 04:39 PM
TCMA <(E-Mail Removed)> wrote:
> Originally my computer dual boot properly and minicom work properly.
> Therefore hardware is ok and the USB software on the computer works
> because my USB keyboard and mouse work.
> After I run the grub program, the computer do not dual boot properly
> (only boot linux), eventually I get the computer dual boot properly
> and everything else works as before, except minicom has this problem
> now:
> Start minicom as root
> # minicom
> minicom: cannot open /dev/usb/tts/0: No such file or directory


Okay. Maybe there is a kernel command line parameter that you need
but didn't add when you changed to Grub. Assuming you were using LILO
before, check it's kernel parameter configuration. However I have no
idea what parameter it would be, if any.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Floyd L. Davidson
Guest
Posts: n/a

 
      09-29-2004, 06:38 PM
(E-Mail Removed) (TCMA) wrote:
>Originally my computer dual boot properly and minicom work properly.
>Therefore hardware is ok and the USB software on the computer works
>because my USB keyboard and mouse work.
>After I run the grub program, the computer do not dual boot properly
>(only boot linux), eventually I get the computer dual boot properly
>and everything else works as before, except minicom has this problem
>now:
>Start minicom as root
># minicom
>minicom: cannot open /dev/usb/tts/0: No such file or directory
>
>minicom version 2.00.0.
>Linux version 2.6.8-r3 x86, distribution is Gentoo 2004.2.
>How to fix this minicom symptom (which may be just the surface of a
>problem)?


Start by ignoring Lutus...

In your kernel source directory, look through the documentation
on usb-serial drivers, .../Documentation/usb/use-serial.txt

Then you need to find answers some specific questions, which
will either lead you to a solution, or you can post the
information here and others will assist.

1) Is the USB-RS232 adaptor being seen?
2) If not, are you loading a kernel module that supports
the USB-RS232 adaptor you have?
3) What is the proper device file for it?

What do you see if you do "more /proc/bus/usb/devices"? That
will be a list of USB devices being seen by the kernel. Here is
an example of a device that is using a USB-RS232 adaptor, though
it might not be the same adaptor that you have,

T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=fc0b Rev= 2.00
S: Manufacturer=Crystalfontz
S: Product=Crystalfontz CFA-633 USB LCD
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=250mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

In the third to the last line is the key to that particular
device. It says "Driver=ftdi_sio", which is the kernel module
that is loaded to access this device. You can do "lsmod" to
get a list of kernel modules that you have loaded.

These are the various usb related modules that I have loaded on
this particular machine,

ftdi_sio 25860 0
usbserial 22828 1 ftdi_sio
usbmouse 4416 0
usblp 10880 0
ohci_hcd 14912 0
ehci_hcd 25728 0
usbcore 94868 8 ftdi_sio,usbserial,usbmouse, ...

In this case the interesting modules are ftdi_sio and usbserial.
If you don't have something similar, you need to determine which
driver supports your USB-RS232 device and see that the right
modules are compiled and loaded. (See the usb-serial.txt file
mention above.)

Once the device is seen by the kernel, you need to know which
device special file is the one it is attached to.

The use of /dev/usb/tts depends on devfs, which is obsolete. You
probably are not using it. If it doesn't work, look to see if you
have the /dev/ttyUSB* device special files. If not, use mknod to
create at least the first one or two of them (see the usb-serial.txt
file for the major and minor device numbers).

In all probability your device is located on /dev/ttyUSB0. If
that file does not exist, create it with,

mknod /dev/ttyUSB0 c 188 0

And then try minicom again, after you have re-configured it to use
the different device special file.

--
FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      09-30-2004, 01:01 AM
Floyd L. Davidson wrote:

/ ...

>>Linux version 2.6.8-r3 x86, distribution is Gentoo 2004.2.
>>How to fix this minicom symptom (which may be just the surface of a
>>problem)?

>
> Start by ignoring Lutus...


Idiot. I gave him exactly the advice you are now repeating.

I said this:

>> Tell us why you think this is the correct device.
>> The correct device is much more likely to be /dev/ttyUSB0.


You said this:

> In all probability your device is located on /dev/ttyUSB0.


Very original! Want to play the ad hominem game with me? Don't even think
about it.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
Floyd L. Davidson
Guest
Posts: n/a

 
      09-30-2004, 02:37 AM
Paul Lutus <(E-Mail Removed)> wrote:
>Floyd L. Davidson wrote:
>
>/ ...
>
>>>Linux version 2.6.8-r3 x86, distribution is Gentoo 2004.2.
>>>How to fix this minicom symptom (which may be just the surface of a
>>>problem)?

>>
>> Start by ignoring Lutus...

>
>Idiot. I gave him exactly the advice you are now repeating.
>
>I said this:


What you did was post a huge volume of ego, with one single line
in the middle that had any value at all. How the OP was
supposed to even notice that one line is beyond me. Plus there
was absolutely nothing to help him understand the significance
of that one line in context with whatever else he may have (or
not have) found.

We can end this part of the thread too, the same way: by ignoring
Lutus.

--
FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      09-30-2004, 03:55 AM
Floyd L. Davidson wrote:

> Paul Lutus <(E-Mail Removed)> wrote:
>>Floyd L. Davidson wrote:
>>
>>/ ...
>>
>>>>Linux version 2.6.8-r3 x86, distribution is Gentoo 2004.2.
>>>>How to fix this minicom symptom (which may be just the surface of a
>>>>problem)?
>>>
>>> Start by ignoring Lutus...

>>
>>Idiot. I gave him exactly the advice you are now repeating.
>>
>>I said this:

>
> What you did was post a huge volume of ego,


Pot, kettle, black. Pretend to be an adult, leave the tantrums by the door.

> We can end this part of the thread too, the same way: by ignoring
> Lutus


On the topic of infantile displays of ego and useless posts, you are without
peer.

--
Paul Lutus
http://www.arachnoid.com

 
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
File Copy - Directory of 150+ Gb. Nick Windows Networking 1 04-18-2007 03:44 AM
./bashpodder.shell [..] No such file or directory hawat.thufir@gmail.com Linux Networking 1 03-15-2006 11:07 AM
open files and/or incomplete directory searches pending on connection to *:. Erik Metselaar Windows Networking 0 07-26-2005 09:20 AM
Open File Locks on File Server Jeff Ehrmann Windows Networking 0 07-27-2004 08:16 PM
Postfix: fatal: open database .db: No such file or directory Doug Laidlaw Linux Networking 0 07-05-2004 05:31 AM



1 2 3 4 5 6 7 8 9 10 11