I entered the ls /dev/tty* command in to the terminal and got this list of devices.
/dev/tty /dev/tty19 /dev/tty3 /dev/tty40 /dev/tty51 /dev/tty62
/dev/tty0 /dev/tty2 /dev/tty30 /dev/tty41 /dev/tty52 /dev/tty63
/dev/tty1 /dev/tty20 /dev/tty31 /dev/tty42 /dev/tty53 /dev/tty7
/dev/tty10 /dev/tty21 /dev/tty32 /dev/tty43 /dev/tty54 /dev/tty8
/dev/tty11 /dev/tty22 /dev/tty33 /dev/tty44 /dev/tty55 /dev/tty9
/dev/tty12 /dev/tty23 /dev/tty34 /dev/tty45 /dev/tty56 /dev/ttyAMA0
/dev/tty13 /dev/tty24 /dev/tty35 /dev/tty46 /dev/tty57 /dev/ttyprintk
/dev/tty14 /dev/tty25 /dev/tty36 /dev/tty47 /dev/tty58
/dev/tty15 /dev/tty26 /dev/tty37 /dev/tty48 /dev/tty59
/dev/tty16 /dev/tty27 /dev/tty38 /dev/tty49 /dev/tty6
/dev/tty17 /dev/tty28 /dev/tty39 /dev/tty5 /dev/tty60
/dev/tty18 /dev/tty29 /dev/tty4 /dev/tty50 /dev/tty61
It is my understanding that the uart port and usb ports are defined as ?dev/tty devices. but I don't know which they are.
-
- Posts: 80
- Joined: Sun Dec 02, 2012 5:51 pm
Re: list /dev/tty
Try doing lsdev to show active devices
GPIO serial port is /dev/ttyAMA0
USB when added usually has a USB in its name
GPIO serial port is /dev/ttyAMA0
USB when added usually has a USB in its name
Just another techie on the net - For GPIO boards see http:///www.facebook.com/pcservicesreading
or http://www.pcserviceselectronics.co.uk/pi/
or http://www.pcserviceselectronics.co.uk/pi/
Re: list /dev/tty
tty is the terminal associated with the current process
tty1-tty63 are the virtual consoles (most systems only use the first 6 for text consoles though)
tty0 is the currently selected virtual console
ttyAMA0 is the built in UART on the Pi
ttyprintk is a driver that allows output of messages through the system used by printk messages from the kernel.
USB ports themselves don't have tty devices associated. However USB to serial adaptors and devices that contain or emulate USB to serial adaptors will have a tty device, Usually the name is ttyUSB<number> but some devices use other names. You don't seem to have any such devices in your system at the moment.
tty1-tty63 are the virtual consoles (most systems only use the first 6 for text consoles though)
tty0 is the currently selected virtual console
ttyAMA0 is the built in UART on the Pi
ttyprintk is a driver that allows output of messages through the system used by printk messages from the kernel.
USB ports themselves don't have tty devices associated. However USB to serial adaptors and devices that contain or emulate USB to serial adaptors will have a tty device, Usually the name is ttyUSB<number> but some devices use other names. You don't seem to have any such devices in your system at the moment.
Re: list /dev/tty
Sorry to resurect an old thread but sometimes it is useful to have information all in one place.
I have two usb deveices attached to my Pi running Raspbx, As seen here:
However, when I look for them by searching
No USB devices are displayed. How do I find them or make them visible?
Thanks.
I have two usb deveices attached to my Pi running Raspbx, As seen here:
Code: Select all
root@raspbx:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 001 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
Code: Select all
ls -l /dev/tty*
Thanks.
Re: list /dev/tty
IIRC for mobile broadband sticks you often need the package "USB-modeswitch" installed for them to work correctly.
Re: list /dev/tty
Sorry for the bump of this topic
I have a problem in my old linux i used /dev/ptyq0 and /dev/ttyq0
these are no longer in my new debian jessie wat else can i use
I have a problem in my old linux i used /dev/ptyq0 and /dev/ttyq0
these are no longer in my new debian jessie wat else can i use