Debian Hardware :: Reconnecting USB-Serial Converter Creates New TtyUSBn
Jan 2, 2015
I have some USB-Serial converters and when I connect any of them for the first time a /dev/ttyUSB0 node is created.
If I disconnect the device and then reconnect it then a /dev/ttyUSB1 node is created y I do the same again (reconnect) a /dev/ttyUSB2 node is created...
This is annoying because if mostly use only one converter at a time and because of the device node changing I have to reconfigure my software.
To reset the numbering of the device node I can force the reload of the usbserial module but before (I don't know when before) this was not necessary.
I have also checked if the device is being in use before disconnecting it (with lsof) and the device is not being used.
I'm running Debian Testing amd64 with KDE.
View 1 Replies
ADVERTISEMENT
Jun 23, 2011
I'm trying to do something very old, but for me very necessary. I am trying to get dial in acces via a modem that is connected via a usb <-> serial converter. I am running F14. The serial port is OK. I can run minicom and access the modem and even interogate it. What I am unable to do is to get the computer to answer. Much has changed and I have not dealt with upstart and things like that (if indeed that is needed).
I believe I"m OK with 115200 communicating with the modem. I know the device is /dev/ttyUSB0.
Is ther someone who can fill in the blanks? Or, point me towards really good documentation that explains how to do this.
View 4 Replies
View Related
Dec 16, 2009
I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.
View 10 Replies
View Related
Oct 25, 2010
I am using openSUSE 11.3 , 32bit.I do the appropriate setting in 'minicom' application.I have two devices 'a' giving message at debug port at 9600 baud while 'b' at 115200 baud..Both 'a' & 'b' work fine when connected to serial port of computer.'a' works well if I connect it to serial to USB adapter which is plugged into USB port of computer.In case of 'b' , the above method yields failure.Do I have to set anything for device /dev/ttyUSB0 ?
View 1 Replies
View Related
Oct 9, 2015
I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.
Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....
This info is a work around to get the xserver to see the touchscreen. [URL] ....
I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......
There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.
Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.
View 1 Replies
View Related
May 1, 2011
I want to know any command which is equal to disconnecting and reconnecting lan cable. actually sometimes my router takes some time to connect to internet and when this happens my desktop shows network disconnected. but when router is connected system does no detect it and i have to manually disconnect and reconnect the cable which is not convenient.
I have debian 6.0.1 (squeeze) with gnome 2.30.2
And i have already tried following commands:
View 10 Replies
View Related
Nov 29, 2013
I'm looking for an app for Linux that creates bootable images. Back when I used windows, I used Imgburn. Now, I need an app like that for Linux. Wherever I looked online, I saw either one (or both) of these ideas.
1. Run Imgburn under wine
2. Get k3b
I don't like using wine because the programs run very slow. I'm not sure exactly how to get k3b to produce a bootable image. So that's where I'm stuck.
View 14 Replies
View Related
Mar 14, 2012
I print something with cups-pdf. The pdf appears, it LOOKS as it should, BUT if i actually select text from the pdf viewer and try to paste it somewhere, i get messed up characters (sometimes no characters). So this means that searching too is out of the question i guess.
Why is this happening? I dont know if its a ghostscript issue because on Windows there are several gs based pdf printers and those create perfectly searchable pdfs. Is this a cups/cups-pdf specific issue?
PS Printing through the "Print to file" dialog creates good pdfs but i dont know how to replicate that via command line.
View 3 Replies
View Related
Jul 23, 2011
Any of u who can tell me the Software for PDF to DOC Converter for Debian 6.0 i386 Operating System ...
View 2 Replies
View Related
Feb 20, 2015
I am using Jessie. 64 bits. I have been using Sound Converter in other distros (LMDE, Ubuntu, etc) in the past.Jessie has Sound Converter 2.1.3. I think I have installed the needed codecs. When I try to convert from mp4 to mp3, the program gets stuck, and nothing happens. Other formats can be converted.
When I use SoundKonverter (also in Jessie, version 2.1.1) it works with no problem, converting from mp4 to mp3. Nevertheless I would prefer to use Sound Converter.
View 2 Replies
View Related
May 25, 2010
Which is the best light weight .txt to .pdf maker/converter available for Debian LXDE?
View 10 Replies
View Related
Jan 13, 2010
I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0
in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but
cat < /dev/ttyS0. just prints out weird characters from what I type.
View 3 Replies
View Related
Feb 21, 2009
On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)
[Code]....
View 17 Replies
View Related
Jun 21, 2011
I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.
View 2 Replies
View Related
Mar 23, 2010
We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?
View 3 Replies
View Related
Jul 19, 2010
In my tcp client application i am trying to reconnect to server immediately after that connection closes..
But how can i wait for FIN_WAIT time out n after that time only i should try to reconnect to server...
View 1 Replies
View Related
Aug 21, 2015
I have a dell poweredge server. In the bios, it has the option to redirect the screen to the serial port. There is also the check box "redirection after boot" which from what I understand will let me to continue to use the serial port attached to a terminal as if it was the main VGA monitor with a keyboard attached.
When I start the machine up, everything goes as expected, I see the output from the bios on my serial terminal, until debian actually starts booting. It all goes blank. If i attach a monitor i can see it is indeed booted and waiting at the debian login prompt. What should I do from here? I was under the impression that if i enabled "console redirection after boot" that the os would be none the wiser and i could continue using the serial console as the main screen as needed, but that does not seem to be the case.
View 2 Replies
View Related
Feb 7, 2010
I have been tol that for debugging purposes it is often useful to have a serial connection to a computer. I have some diskless workstations thats freezes during boot. I guess X has someting to do with this, but I'm not sure. Since the workstations are diskless, syslog is not stored locally so I cant se what is happening after the NiC stops working. When the worstation freezes, screen is going black, all lights on the keyboard turns on, lights on NiC is going black. It is not possible to ping the workstation.
View 1 Replies
View Related
Jun 10, 2013
I need a way to use serial input such as through an Arduino in Debian scripts, in any usable language.
View 2 Replies
View Related
Feb 10, 2011
I am access my linux box remotely using putty. I ran some build process on the remote machine. I lost my connection and now I had to re login using putty. I dont know if my process has finished or not. How will I check that.
View 2 Replies
View Related
Mar 3, 2010
I have a very old Pentium 3 that don`t have USB or PS2 suport.
I need to configure a serial mouse.
I did it on debian etch editing xorg.conf. I chage the mouse protocol to "Microsoft" and it works normaly.
But on squeeze it does not exist!
How can I configure it?
View 13 Replies
View Related
Aug 21, 2015
I recently got a pile of DEC equipment, and along with it came with a large DEC LP11 drum printer. I have yet to get the old system they were attached to up and running, I want to try to get the printer up and running under a modern linux install. The printer is a LP11 and attaches via serial. The most simple way to me seems to be via LPD, but Im not sure on how to proceed.
View 1 Replies
View Related
Jan 13, 2010
I recently purchased a new PCI to Serial card to get 2 serial ports so I can connect my external serial modem and operate hylafax. The machine that I placed this card is a Debian 2.6.26-19lenny2 which is operating just fine. Further more the motherboard is ASUS P5QL-CM. I have managed to place the pci card on an available slot and powered on. I then tried to follow the instructions that the supplier of the card had regarding installation of drivers and this is what I get:
First they asked to untar the contents and make clean. the result is :
debiansrv:/temp/golden# make clean
cd driver;
make clean
make[1]: Entering directory `/temp/golden/driver'
rm -f *~
rm -f *.o
[Code]....
View 4 Replies
View Related
Jan 14, 2015
Basically I'm intending to write serial RX signal handler.Application receives defined packages of data over serial which contains header and payload. Handler should analyse incoming stream and upon detection of header (header is 6B in length) switches to receive payload of length defined in header, then after receiving full message packs it and sends to application for handling.Problem I'm facing is that at random moments in signal I receive errors that "Resource temporarily unavailable" while reading from ttyOx device and I see that sometimes I miss incoming data.Also is it possible that if while I'm handling signal one more signal arrives and it is started to be handled parallel? If it is, what are the ways to prevent it? So I would be sure that no more signals will fire on same peripheral until I will finish handling what I have on my hands now.
Serial open and init:
Code: Select allint open_port(int port_nr) {
int fd; /* File descriptor for the port */
switch (port_nr) {
case 1:
fd = open("/dev/ttyO1", O_RDWR | O_NOCTTY | O_NDELAY);
break;
[code]....
View 5 Replies
View Related
Apr 15, 2010
In Ubuntu Karmic conencting a USB device causes OS to automatically mount its partitions to /media/LABEL, automatically creating proper directories which are later automatically destroyed immediately after unmounting. But what if If I manually unmount a specific partition and I would like the OS to try doing automount another time, without reconnecting the whole device (it can have other partitions in active use)? I know I can mount manually, but then I have to create a directory for the mount point and I have to remember later to remove it manually.I'd like to be done as before, with the mount point directory being automatically destroyed after unmounting - can this be done in a terminal?
View 2 Replies
View Related
Oct 26, 2010
I installed 10.10 for some days ago, networking was working smooth back then. I use a ethernet cable to connect to the internet.But yesterday when I installed 10.10 on my brothers laptop(he connects through wireless), I began to get these disconnects and reconnects.They just seem to happen random.
View 2 Replies
View Related
Jun 23, 2014
I am a ham radio operator and I want to use my computer to run "RTTY", "PSK31", and other digital modes. Therefore I have to be able to configure the serial port.
I only have the onboard port (ttyS0).
I can get info about the port by using "$ dmesg | grep tty"
Code: Select alldebian@melsdeb:~$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.533804] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.534337] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
But when I try to use "setserial" by itself or with any parameters I get this...
Code: Select alldebian@melsdeb:~$ setserial -g /dev/ttyS0
bash: setserial: command not found
Even "man setserial" gives the same result.
I am using Debian 6
View 2 Replies
View Related
Mar 23, 2015
I have a problem getting Serial Port working on INTEL NUC DE3815TYBE. I have Debian Wheezy installed with kernel 3.16.0-0.bpo.4-amd64.
When I do :
Code: Select allsetserial -g /dev/ttyS*
I get:
Code: Select all/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x0000, IRQ: 19
/dev/ttyS2, UART: 16550A, Port: 0x0000, IRQ: 19
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
I can connect to ttyS0 - ttyS2 without any problem but ttyS3 is not working and I am getting this error:
I call command:
Code: Select allstty -F /dev/ttyS3 9600 cs8 cread clocal
I get:
Code: Select allstty: /dev/ttyS3: Input/output error
I am running the commands as ROOT. I also tried: setserial /dev/ttyS3 irq 3 uart 16550A skip_test but I am getting the same stty: /dev/ttyS3: Input/output error
Output of:
Code: Select alldmesg | grep tty
Code: Select all[ 0.000000] console [tty0] enabled
[ 0.952559] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.953593] 0000:00:1e.3: ttyS1 at MMIO 0xd0810000 (irq = 19, base_baud = 2764800) is a 16550A
[ 0.954072] 0000:00:1e.4: ttyS2 at MMIO 0xd080e000 (irq = 19, base_baud = 2764800) is a 16550A
[ 27.740208] ttyS2 - failed to request DMA
[Code] .....
lsof /dev/ttyS3 doesn't return anything so it means there is nothing connected to ttyS3 I guess but I am not very skilled with linux so I might be mistaken
Why I can see 4 ttyS* in my Linux but physically I have only 2 physical Serial Ports on the board?
View 2 Replies
View Related
Sep 26, 2010
I am running F13 on my Desktop (with a Ralink RT2870 wireless card) and also on my Laptop (Acer Aspire 5738Z) and am connecting to the internet via a NetGear router. On my Laptop I can connect to the internet fine with no problems. However on my Desktop when I turn my computer on it connects to the internet fine, and works, however after some time (maybe 5-10 minutes) it disconnects and the box asking for the password reappears, then I click connect but no joy.
The connection box just keeps reappearing and it won't connect again until I restart the computer (although sometimes it takes more than 1 restart!). This is not a signal issue, as my Desktop also has a Windows partition and that connects to the internet fine and does not drop off. I have installed the RT2870 driver through rpmfusion, which didn't fix the problem, although uninstalling the driver didn't stop the card from working.
View 1 Replies
View Related
Jul 9, 2011
I am running OpenSUSE 11.4 on an HP 625 laptop and uses a Huawei EC1260 USB modem to connect to the internet. The configuration on NetworkManager worked prefect and the there is no problem connecting. The problem is when I disconnect the modem manually, I am unable to reconnect it via NetworkManager. I have to physically unplug the modem and insert it again, then only I can connect to the internet again
View 3 Replies
View Related