USB serial console

I need to run a serial console on my laptop in order to get information on a kernel panic. Since the laptop does not have a serial connector, I would like to use a serial console over USB. I have enabled the required options in the kernel (CONFIG_USB_SERIAL=y and CONFIG_USB_SERIAL_CONSOLE=y), but I have a problem due to Arch's device naming. I believe that the kernel expects a device name of the form ttyUSB0, which should be located under /dev. However, with Arch (because of udev?) this device is called USB0 and is located under /dev/tts.
How can I pass this information to the kernel? I tried console=tts/USB0, but then it just hangs during boot.
Elad

After your system has booted, the device name you see under /dev is indeed due to udev - here's the relevant rule:
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n"
However, at boot time, udev hasn't run yet, so the kernel name ttyUSBx should work.

Similar Messages

  • Sun E450 serial console problem

    Hello! I have an old Sun E450 server and can't make console work. I tried both ttya and ttyb (I connect appropriate pins of Serial-to-USB cable and choosing output in Stop + A OpenBoot shell), tried different port speeds, tried resetting NVRAM by Stop+N etc. Nothing helps. Unfortunately, I can't connect VGA monitor because don't have an adapter and can't find it there in Russia, Moscow (an original Sun monitor don't know where to get too). Terminal emulation programs (minicom, screen) outputs garbage instead of text. I.e., boot process — garbage, I press Enter — garbage, I do command to net boot — rarpd and tftpd works OK, I see logs on Linux server, but I see garbage in serial console. How to fix, please advise.

    Hi.
    1. Disconnect Keyboard.
        By default, this server use keyboard and screen for console.
        In case keyboard not connected,  ttya used as console.
    2.  Use Null-Modem Cable.  ( Cross RX-TX singnal)
    3.  Use  next settings for connect to console:  9600,1 - stop bit, no parity, no flow control.
    Regards.
    PS.
       It's not problem find   VGA adapter  or another SPARC server at Moscow.  Just  try call to some Oracle's partners.

  • USB Serial Devices - Descriptio​n and Informatio​n

    Hello folks, I am trying to detect which kind of USB/Serial device is connected through Labview: through the VISA Find Resources i can list all the GPIB/ASRL devices connected and then through the Interfice Type i can detect the Serial/USB devices (interface number 4) and through the Interface Description I can get the name (COM7 for example).
    Now my point is that if i look on the "Device Manager" in Windows i can see the "Manufacturer Name" and the "Device Description from BUS" of the Serial Device connected. Is there a way to get those information inside Labview?
    Thanks in advance and best regards
    Dario Cassaniti

    Hello Dario,
    the best option might be to use DevCon, a commandline based device manager from Microsoft.
    Windows Device Console (Devcon.exe) (Windows Drivers)
    https://msdn.microsoft.com/en-us/library/windows/h​ardware/ff544707(v=vs.85).aspx
    There are various threads and posts about this tool and how to use it.
    Please refer to the search function in the forum.
    Best regards,
    Peter

  • USB Serial CDMA Mobile WWAN CCL PPP PL2303

    Hello all,
    I have an internet connection issue or issues. It seems this is a complicated issue because there are so many layers involved.
    Hardware:
    iMac9,1
    2, IOGear USB Extension cables (powered)
    Mobile phone manufacturer supplied USB-Serial Cable.
    Huawei branded CDMA 2000 1x RTT mobile phone with Qualcomm modem and Prolific PL2303 USB-Serial Bridge.
    R-UIM card for local ISP in Nepal (United Telecom Limited)
    Software:
    Mac OS 10.6.8
    I have tried a few different ways to make the connection and getting a connection isn't necessarily the issue.
    First I tried to use the Prolific PL2303 kext. It's widely known you have to add the devices Vendor ID and Product ID to the info.plist file for the driver to load the device at boot time. But, apparently we don't need that third-party kext because Apple has built in support for Huawei as evidenced in three existing kext files: WWANSupport, WWANSupport1, and AppleUSBMergeNub (that lives as a plugin inside IOUSBFamily.kext). Problem was that the phone was not being recognized by the system even though the Vendor ID was a match. Any guesses why?
    I figured a way for the device to be recognized via the CellPhoneHelper.kext. Huawei is not listed but duplicating the 'Qualcomm CDMA Technologies MSM (KPC680)' IOKitPersonality and then reconfiguring it to match my Huawei device by changing the Vendor and Product IDs worked perfectly. Once I cleared the system cache files and rebooted the phone was recognized immediately as a WWAN device and I could set it up in Network Preferences. Using the Generic and CDMA settings for the modem script I am able to connect. That's where the fun bit ends.
    The connection gets wonky. It randomly leaves me in limbo, seemingly connected but not able to receive any data. If I 'disconnect' using the WWAN menu, it shows me as being disconnected but actually I am not, the phone is still be connected to the tower. If I open up a serial program I can see that the phone is still sending data. The only way for me to end the connection is to unplug the USB cable. Then I can 'Connect' again and everything pretty much repeats. I will have a decent connection and then at some random point I will loose it and be unable to disconnect from the tower. This is a stationary setup; not roaming.
    One thing I have noticed is that the tower will give me a different WAN address randomly. Maybe this is the issue! While connected I will see in 'ppp log' that I am being logged out and logged in again and then I am given a different LAN address and WAN address. Sometimes I will get an error, 'Could Not Authenticate" and I will be disconnected. Sometimes it appears to work seamlessly. This all happens automatically. I am not sure from which side this is being initiated, my modem or software or the ISP's?
    I have poked around but don't really know what I am looking for. Is this an issue with the CDMA.ccl, or an issue with PPP, or is it a USB IOKit issue, or a kext issue? Who knows.
    When typing 'sudo dmesg' in Terminal I get something that seems odd to me, but might be completely normal.
    AppleWWANSupport1: Version number - 2.0, Input buffers 16, Output buffers 4
    AppleWWANSupport1: Version number - 2.0, Input buffers 4, Output buffers 2
    I took note of the Input and Output buffers in the CellPhoneHelper.kext info.plist and they are 16 and 4 for my device. I don't know why 4 and 2 immediately override those. I don't see anything in AppleWWANSupport1 that has 4 and 2 set for buffers. Could this be the issue, i.e. the connection freezing because the buffers get full? Or could it be because the mobile phone is using two channels for the modem, /dev/cu.wwan and /dev/cu.wwanCNTL and that is normal??
    I took a look at the CDMA.ccl modem script. I am not a modem script designer but I noticed that 'C' is set twice in the same init, &C1&C2. I am not exactly sure why that would be, any ideas?? Track remote DCD (&C1); Unix compatible DCD control (&C2). What about 'hsreset'? Not sure but I guess the Prolific PL2303 chip handles the serial port flow control options? The literature is a bit out of date on this.
    So, lots of questions and no answer so far. A bit too complicated as there are so many layers working together and this is not a supported configuration. I do see a lot of people asking similar questions but mostly it's on different systems, like Linux, etc.. and with different hardware.
    Would love to hear from someone with experience, a programmer or someone familiar with Apple's IOKit and modem inits.
    Regards,
    John

    Hello all,
    I have an internet connection issue or issues. It seems this is a complicated issue because there are so many layers involved.
    Hardware:
    iMac9,1
    2, IOGear USB Extension cables (powered)
    Mobile phone manufacturer supplied USB-Serial Cable.
    Huawei branded CDMA 2000 1x RTT mobile phone with Qualcomm modem and Prolific PL2303 USB-Serial Bridge.
    R-UIM card for local ISP in Nepal (United Telecom Limited)
    Software:
    Mac OS 10.6.8
    I have tried a few different ways to make the connection and getting a connection isn't necessarily the issue.
    First I tried to use the Prolific PL2303 kext. It's widely known you have to add the devices Vendor ID and Product ID to the info.plist file for the driver to load the device at boot time. But, apparently we don't need that third-party kext because Apple has built in support for Huawei as evidenced in three existing kext files: WWANSupport, WWANSupport1, and AppleUSBMergeNub (that lives as a plugin inside IOUSBFamily.kext). Problem was that the phone was not being recognized by the system even though the Vendor ID was a match. Any guesses why?
    I figured a way for the device to be recognized via the CellPhoneHelper.kext. Huawei is not listed but duplicating the 'Qualcomm CDMA Technologies MSM (KPC680)' IOKitPersonality and then reconfiguring it to match my Huawei device by changing the Vendor and Product IDs worked perfectly. Once I cleared the system cache files and rebooted the phone was recognized immediately as a WWAN device and I could set it up in Network Preferences. Using the Generic and CDMA settings for the modem script I am able to connect. That's where the fun bit ends.
    The connection gets wonky. It randomly leaves me in limbo, seemingly connected but not able to receive any data. If I 'disconnect' using the WWAN menu, it shows me as being disconnected but actually I am not, the phone is still be connected to the tower. If I open up a serial program I can see that the phone is still sending data. The only way for me to end the connection is to unplug the USB cable. Then I can 'Connect' again and everything pretty much repeats. I will have a decent connection and then at some random point I will loose it and be unable to disconnect from the tower. This is a stationary setup; not roaming.
    One thing I have noticed is that the tower will give me a different WAN address randomly. Maybe this is the issue! While connected I will see in 'ppp log' that I am being logged out and logged in again and then I am given a different LAN address and WAN address. Sometimes I will get an error, 'Could Not Authenticate" and I will be disconnected. Sometimes it appears to work seamlessly. This all happens automatically. I am not sure from which side this is being initiated, my modem or software or the ISP's?
    I have poked around but don't really know what I am looking for. Is this an issue with the CDMA.ccl, or an issue with PPP, or is it a USB IOKit issue, or a kext issue? Who knows.
    When typing 'sudo dmesg' in Terminal I get something that seems odd to me, but might be completely normal.
    AppleWWANSupport1: Version number - 2.0, Input buffers 16, Output buffers 4
    AppleWWANSupport1: Version number - 2.0, Input buffers 4, Output buffers 2
    I took note of the Input and Output buffers in the CellPhoneHelper.kext info.plist and they are 16 and 4 for my device. I don't know why 4 and 2 immediately override those. I don't see anything in AppleWWANSupport1 that has 4 and 2 set for buffers. Could this be the issue, i.e. the connection freezing because the buffers get full? Or could it be because the mobile phone is using two channels for the modem, /dev/cu.wwan and /dev/cu.wwanCNTL and that is normal??
    I took a look at the CDMA.ccl modem script. I am not a modem script designer but I noticed that 'C' is set twice in the same init, &C1&C2. I am not exactly sure why that would be, any ideas?? Track remote DCD (&C1); Unix compatible DCD control (&C2). What about 'hsreset'? Not sure but I guess the Prolific PL2303 chip handles the serial port flow control options? The literature is a bit out of date on this.
    So, lots of questions and no answer so far. A bit too complicated as there are so many layers working together and this is not a supported configuration. I do see a lot of people asking similar questions but mostly it's on different systems, like Linux, etc.. and with different hardware.
    Would love to hear from someone with experience, a programmer or someone familiar with Apple's IOKit and modem inits.
    Regards,
    John

  • No access to serial console in ACS appliance 111

    We have 2 Cisco ACS appliances running version ...
    Cisco Secure ACS 3.2.2.5
    Appliance Management Software 3.2.2.5
    Appliance Base Image 3.2.2.1
    The fact is that after initial setup, we have never used the console mainly because in a production environment we manage them through the Web Admin application. Now we have decided to upgrade both appliances to the latest version (3.3.3) and when we tried to connect to the serial console (115200,N,8,1, no flow control) we don't get any response from none of both ACS. It's quiet strange but we have found no way to make them work. We have tried several things I expose to you in case you can give us any hint:
    1. We have rebooted the appliance and we can see through the console all the start-up process but when it finally finishes the start-up, we see no login prompt.
    2. We have also shutdown the appliance properly and power it off and on again. Same results. The appliances boot normal but still we don't have console access.
    3. We have tried boot the appliance with the recovery CD-ROM and the console works fine. I can reset the Admin password, but when it restart from its own system ( I mean without the recovery CD_ROM), I can see all the starting messages but when it finish the start-up process ... no console access.
    4. Finally I have connected a monitor and a keyboard to the appliance ( I know Cisco dosn not recommned it but when in trouble....) and I see the full start-up process and it includes the base Windows 2000 server operating system startup. When Windows finishes loading, we get a lock screen in which the appliance informs you that it have started correctly and that we could access it for management through the serial console port or through the web console. 10 seconds later I see a pop up window stating that on or more services have not started correctly and that we shoulkd check the Event viewer, something we wished we could do but as you you, this is a secured system and I don't know if there is a back door method to verify windows services in this appliance.
    Any help would be appreciated, as the problem is identical in both the appliances and upgrading them without access to the admin console is difficult and risky.
    Kind regards.

    Hi
    I had similair problem being locked out of console after initial configuration wizard.
    I think there is a bug within the console session in that if you input a hostname of more than 15 characters, it locks up the ACS service when the server reboots. If you keep your hostname to less than 15 characters, the server reboots and you get console access. If you then access the GUI, you will see that 15 characters is the maximum, and you cannot enetr any more than this. This is not the case with the console, where you can enter more than 15 without getting an error message.
    I rescued the server by doing F8 and rebooting server with last known good configuration. from there, you can reset the hostname to something valid. You can check to see which CS services are running through console session, and start any services that may not be running..
    deliverance1> start CSAgent
    Starting service: CSAgent..
    CSAgent is starting
    CSAgent is running
    Regards
    Ian

  • Driver for USB Serial Parallel Adapter

    Hello,
    I have a ThinkPad X100e with Windows 7 pro and I would like to connect an USB Serial Parallel Adapter (IBM).
    My system don't recognize this device and I don't find a driver for it..
    Can you help me ?
    Thanks
    Have a nice day

    http://forums.lenovo.com/t5/Options-Accessories/Us​b-to-Serial-Parallel-adapter-drivers-FRU-41A4955/m​...
    Read the last post on how to install it. See if that works for you.  I used it on an x32 with 7 ultimate and I'm running an old printer off of it.
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • USB Serial Parallel Adapter

    Hi!
    I have USB Serial Parallel Adapter, where I can find drivers for Windows 2003 for it? Supported OS are 98,2000, but I have Windows 2003!

    Try your win 2000 drivers.  Is this an IBM/Lenovo adapter or 3rd Party?  you will need to go to the manufacturer's website.
    T61p, T400
    formerly x23, x40

  • How to get a USB-Serial connector working

    I have a laptop with only USB ports, I'm trying to get a USB Serial connector working. I can't find a good guide on how to do it, I can figure out that i need to enable some sort of kernel options, but I'm not sure about how to go about doing it. Can someone hold my hand and tell me what I need to do to get it working?
    Thanks

    It depends on what kind of USB->Serial you have. Some common ones are:
    cp2101
    ftdi_sio
    pl2303
    And those kernel modules are all included with Arch (along with lots more).
    I'd start by just plugging it in and running dmesg to see if your kernel/udev detected it. If you see something about ttyUSB0 then you got it. Just open that device as you would open a normal serial port.
    If it doesn't report anything, run lsusb and see what kind of chip it has.
    If it does report it, I would use minicom to interact with it.
    (Run "minicom -s" as root and set the device to /dev/ttyUSB0, baud to 9600 (or whatever) 8N1. Turn off Hardware and Software flow control. Finally go into Modem and Dialing and delete the init line (unless you are actually dialing)).

  • Serial Console for VM Manager not working

    I can't seem to connect to an SPARC VM created via the Oracle VM Manager. The serial console opens and appears to connect to a port on my local desktop machine from which I'm running my browser but fails to connect. I'm assuming VM Manager serial console uses a tunneling technology? Is there anything anyone can think of that would help me debug this session? I've turned off the firewall on my desktop and turned off iptables
    My VM's don't have IP's yet, so I can't directly ssh to them. There's a chance my VM's are bad, but I really don't know how to troubleshoot since I can't get a console. (I created these VM's from the Oracle provided templates.)
    Does anyone have any troubleshooting tips?

    It sounds like you've installed the JTA package on the system running the manager - that's a necessary first step. The other things that can affect this include enabling popups (sounds like you have that correct too) and the combination of browser, JVM on client, and OS. I've had the best results with JVM 6 or with the very latest JVM 7 (build 21). Hope this helps, Jeff

  • Booting x86 with serial console by default

    Let's say I have a x86 box with no monitor and no keyboard. I'd like to boot the x86 Solaris 10 installation dvd and have it booted with the 'serial console' option. However, it's not selected by default and I can't select it without using the keyboard.
    Is it possible to have the x86 installation DVD boot with serial console support by default?

    Well, https://wiki.archlinux.org/index.php/Re … nstall_ISO doesn't help, genisoimage created iso is still not bootable.
    The iso created with Archiso boots but - it creates an x86_64 kernel only...
    Last edited by piwwo (2013-06-14 13:55:31)

  • Installing USB Serial Driver on Windows XP

    Have a new XP based pc.
    No serial port for my old PalmPilot (circa 1997) to dock to though.
    No worries I thought. Bought a USB-Serial connector and downloaded the USB-Serial Adaptor software from the Pilot website.
    Only problem is, the hardware doesn't recognise the software "PalmConnect USB Adapter" ... can't find it even when told specifically where it is..
    Has anybody else had this problem and if so, what's the resolution?
    For info, the link to the USB-XP driver page is:
    http://www.palm.com/us/support/accessories/usb/winxp_USB.html
    Regards,
    Post relates to: Palm Pilot

    b_mac wrote:
    The mistake here was trying to use the usb-serial adaptor software from the Pilot website. Couldn't get it to pick up the connection at all and I suppect that it was rubbish anyway (looking at some of the files looked very w2k rather than xp!!). Solution: Plug the adaptor in by itself. Allow the hardware to install itself. Connect the serial cable and making sure I had the right COM port chosen (4 in this case), off it went and hot-synch'd.
    I found the same situation as "b_mac" above.  I tried his solution but the USB adapter driver failed to found the software and install, even when I pointed it directly to the folder where the driver was sitting.  Still no luck.  Anybody find a different solution that worked?
    thx-mark
    Post relates to: Treo 650 (Sprint)

  • USB/Serial Drivers and App Builder Installer Questions...are drivers included in the Installer with the LV runtime engine?

    Hello all,
    I'm wondering if someone can help me out with how drivers and all are treated with applications distributed with App Builder, used to create a stand alone, full install of app and labview engine with Installer.
    What has happened  is, my application was created using the NI branded USB to RS232...and USB to RS485, and they work great.
    On the application when running..you fire it up, it finds the USB to serial device, and I have a dropdown that finds the available COM ports to use (along with setting parity, etc).
    I've installed on different computers (without previous labview installs) with the installer. They all worked.
    The customer has received the installer....and despite us telling them to use the NI branded USB/Serial interfaces..they are trying to work with a different USB/serial cable.
    They say the COM ports aren't even showing up when they run the installed application.
    So, I'm not sure where to start. Is this a driver issue?  Does the App Builder Installer...install the drivers for the interfaces I was using with it? Is there a way for the person to find and install a driver on their own...or would I have to somehow find out a driver for what they use....then, basically redo the App Builder Installer build...to include that driver with the executable I send back out?
    I guess I basically need a better understanding of how drivers for external access/communications are handled when you use App Builder to create a stand alone application complete with the labview runtime engine...and nothing else.
    Thank you in advance,
    cayenne

    The main thing is that LV uses VISA to talk to serial port whether native on the machine or from USB dongles that you plug into the computer. It sounds to me like their dongles aren't working.
    Can the customer see the ports in the Windows Device Manager? Can they access them through something like hyperterminal? How does your program find the USB/Serial devices?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Conecting to TK-Suite via USB / serial conection

    Hi we are trying to connect to a AGFEO phone system using TK-Suite software the connection on the AGFO is a PC style serial port I have tried a serial to USB adaptor (from CEFC) but my mac book cannot see any port activity.
    Thanks Gary

    What Agfeo Model is this? You can connect some older Models directly via USB (AS3X). Others work fine via Prolific chipset based USB connectors. Make sure Yo have the right settings in Network for your new USB-Serial Controller (in advanced - Manufacturer: NullModem 9600bps - no compression, ignore dialtone).
    In TK-Suite's (current 3.3.2.0) TK-Set make sure to choose proper PASSIVE serial connection at 9600 no Parity 8bit 1stopbit.
    TK-Server and Client works fine for me. Unfortunately no Universal Binary yet, plus remember to quit the App manually or your Mac will not shutdown.

  • Support for USB/Serial GSM Modem on Cisco UCS Bladeserver

    We have an existing Nagios virtual machine running on ESXi 4.1 rackmount server with an attached GSM modem for sending out SMS alerts.
    Looking to migrate the virtual machine to a ESXi 5.1 cluster running on Cisco UCS bladeservers.
    Will the Cisco B230 M2 or B440 M2 bladeservers be able to support passthrough of USB/serial GSM modem to the virtual machine by using the below physical connection:
    Bladeserver -> KVM Dongle cable -> USB/Serial GSM Modem

    Can anyone from Cisco confirm this?

  • Virtual PC v 6.10 and the Belkin USB Serial Adapter F5U103

    Trying to run Virtual PC v6.10 on a G4 with OS 10.4.10.using Windows XP.
    When booted up in OS 9 my Belkin USB Serial Adapter F5U103 is recognized along with the hardware connected to it. Not so when booted up in OS X. Will purchasing a new Mac that can boot up in Windows XP possibly have the same issue (i.e. not recognizing the Belkin USB Serial Adapter F5U103)?

    I'm running Virtual PC v 6.10 because I only need it for one application that I run at most once every two weeks. Do you think v. 7 will allow me to use the Belkin USB Serial Adapter F5U103 on OS X?

Maybe you are looking for