Witam.
Mam pewien problem z konfiguracja komputera, a dokladniej jak w temacie z portami i zwiazanymi z nimi plikami ttyS. Otoz obecie uzywam 5 portow ttyS0-ttyS4 lecz plikow ttyS ogolnie jest 31 co jest dla mnie znaczynym utrudnieniem w pracy gdyz sa one pomieszane i musze wyszukiwac je z listy. Dalo by rade usunac pliki ttyS5-ttyS31 tak, by przy kazdym restarcie komputera nie trzeba wykasowywac ich ponownie? 4 porty korzystaja z http://www.cooldrives.com/4pciexsecars.html a 1 standardowy z plyty glownej. Nie wiem czy dobrze napisalem watek i mam taka mala nadzieje ze ktos go zrozumie:P
Konfiguracja komputera:
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
Subsystem: Dell Device 027f
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 027f
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at fe800000 (64-bit, non-prefetchable)
Memory at d0000000 (64-bit, prefetchable)
I/O ports at ec98
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 027f
Flags: bus master, fast devsel, latency 0
Memory at fe700000 (64-bit, non-prefetchable)
Capabilities: <access denied>
00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)
Subsystem: Dell Device 027f
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at fe6e0000 (32-bit, non-prefetchable)
Memory at fe6d9000 (32-bit, non-prefetchable)
I/O ports at ecc0
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff20
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1a.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ff00
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1a.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #6 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 22
I/O ports at fc00
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1a.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 22
Memory at fe6da000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)
Subsystem: Dell Device 027f
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at fe6dc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: fe500000-fe5fffff
Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 82801JD/DO (ICH10 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: fe400000-fe4fffff
Prefetchable memory behind bridge: 00000000f0200000-00000000f03fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at ff80 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ff60 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at ff40 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ff980000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fe300000-fe3fffff
Capabilities: <access denied>
00:1f.0 ISA bridge: Intel Corporation 82801JD (ICH10D) LPC Interface Controller (rev 02)
Subsystem: Dell Device 027f
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt
00:1f.2 SATA controller: Intel Corporation 82801JD/DO (ICH10 Family) SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Dell Device 027f
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 48
I/O ports at fe00 [size=8]
I/O ports at fe10 [size=4]
I/O ports at fe20 [size=8]
I/O ports at fe30 [size=4]
I/O ports at fec0 [size=32]
Memory at f0400000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 82801JD/DO (ICH10 Family) SMBus Controller (rev 02)
Subsystem: Dell Device 027f
Flags: medium devsel, IRQ 10
Memory at fe6db000 (64-bit, non-prefetchable) [size=256]
I/O ports at ece0 [size=32]
Kernel modules: i2c-i801
03:02.0 Serial controller: Titan Electronics Inc VScom 400H 4 port serial adaptor (prog-if 06 [16950])
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 18
I/O ports at dca0 [size=32]
Memory at fe3fc000 (32-bit, non-prefetchable) [size=4K]
I/O ports at dcc0 [size=32]
Memory at fe3fd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
03:02.1 Communication controller: Titan Electronics Inc Device ffff
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel
I/O ports at dc9c [size=4]
Memory at fe3fe000 (32-bit, non-prefetchable) [size=4K]
I/O ports at dce0 [size=32]
Memory at fe3ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Porty Szeregowe ttyS
- soulreaver1
- Wytworny Kaczor
- Posty: 409
- Rejestracja: 13 mar 2009, 10:03
- Płeć: Mężczyzna
- Wersja Ubuntu: inny OS
- Środowisko graficzne: Inne
- Architektura: x86_64
- Lokalizacja: 127.0.0.1
Re: Porty Szeregowe ttyS
Nie ma potrzeby usuwać tych plików. Wystarczy że będziesz wiedział, które są aktywne. Polecenie wyświetli ci porty obsługiwane przez twoją płytę główną.
Kod: Zaznacz cały
dmesg | grep tty
-
- Piegowaty Guziec
- Posty: 2
- Rejestracja: 09 mar 2012, 16:04
- Wersja Ubuntu: 11.04
- Środowisko graficzne: Brak
- Architektura: x86
Re: Porty Szeregowe ttyS
Soul dziekuje za odpowiedz, znam to polecenie,
[ 0.000000] console [tty0] enabled
[ 2.319773] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.725669] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.725827] ttyS4: detected caps 00000700 should be 00000500
[ 2.725833] 0000:03:02.0: ttyS4 at I/O 0xdca0 (irq = 18) is a 16C950/954
[ 2.725944] ttyS5: detected caps 00000700 should be 00000500
[ 2.725951] 0000:03:02.0: ttyS5 at I/O 0xdca8 (irq = 18) is a 16C950/954
[ 2.726059] ttyS6: detected caps 00000700 should be 00000500
[ 2.726066] 0000:03:02.0: ttyS6 at I/O 0xdcb0 (irq = 18) is a 16C950/954
[ 2.726174] ttyS7: detected caps 00000700 should be 00000500
[ 2.726180] 0000:03:02.0: ttyS7 at I/O 0xdcb8 (irq = 18) is a 16C950/954
[ 2.777676] tty ttyS18: hash matches
a o to wyniki, chociaz zmienilem nazwy portow, teraz sa ttyS0-ttyS4, no ale jednak zalezy mi by pozbyc sie pozostalych plikow. W pracy sa 4 takie same komputery z tym samym oprogramowaniem i programami uzytkowymi no i jedynie na mojej maszynie jest taki problem ktory jest dosc uciazliwy po ttyS nie wyswietlaja sie po kolei. Tak czy siak prosilbym kogos o pomoc w usununieciu danych plikow by nie powracaly po restarcie, myslalem tez o skrypcie startowym ktory usuwal by owe pliki.
Dziekuje i pozdrawiam
[ 0.000000] console [tty0] enabled
[ 2.319773] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.725669] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.725827] ttyS4: detected caps 00000700 should be 00000500
[ 2.725833] 0000:03:02.0: ttyS4 at I/O 0xdca0 (irq = 18) is a 16C950/954
[ 2.725944] ttyS5: detected caps 00000700 should be 00000500
[ 2.725951] 0000:03:02.0: ttyS5 at I/O 0xdca8 (irq = 18) is a 16C950/954
[ 2.726059] ttyS6: detected caps 00000700 should be 00000500
[ 2.726066] 0000:03:02.0: ttyS6 at I/O 0xdcb0 (irq = 18) is a 16C950/954
[ 2.726174] ttyS7: detected caps 00000700 should be 00000500
[ 2.726180] 0000:03:02.0: ttyS7 at I/O 0xdcb8 (irq = 18) is a 16C950/954
[ 2.777676] tty ttyS18: hash matches
a o to wyniki, chociaz zmienilem nazwy portow, teraz sa ttyS0-ttyS4, no ale jednak zalezy mi by pozbyc sie pozostalych plikow. W pracy sa 4 takie same komputery z tym samym oprogramowaniem i programami uzytkowymi no i jedynie na mojej maszynie jest taki problem ktory jest dosc uciazliwy po ttyS nie wyswietlaja sie po kolei. Tak czy siak prosilbym kogos o pomoc w usununieciu danych plikow by nie powracaly po restarcie, myslalem tez o skrypcie startowym ktory usuwal by owe pliki.
Dziekuje i pozdrawiam
-
- Zakręcona Traszka
- Posty: 574
- Rejestracja: 25 maja 2011, 10:17
- Płeć: Mężczyzna
- Wersja Ubuntu: 11.04
- Środowisko graficzne: GNOME
- Architektura: x86_64
Re: Porty Szeregowe ttyS
Jesli wiesz co robisz - pobaw sie ustawieniami udev.
Ja jednak uwazam ze system wie co robi, a ty kiedys bedziesz sie bardzo dziwil czemu cos ci nie dziala.
Systemu nie pisali łowcy androidow tylko ludzie ktorzy wiedza co robia.
Powiazania w linuxie sa czasami bardzo dalekie i niewidoczne na pierwszy rzut oka.
Ja jednak uwazam ze system wie co robi, a ty kiedys bedziesz sie bardzo dziwil czemu cos ci nie dziala.
Systemu nie pisali łowcy androidow tylko ludzie ktorzy wiedza co robia.
Powiazania w linuxie sa czasami bardzo dalekie i niewidoczne na pierwszy rzut oka.
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 4 gości