From: "Maks Re" <admaks@gmail.com> To: "ALT Linux Community general discussions" <community@lists.altlinux.org> Subject: Re: [Comm] прерывания и его назначения устройствам (ACPI .... Couldn't register serial port ...) Date: Sat, 19 Jan 2008 22:20:13 +0300 Message-ID: <f041fbd00801191120x1aa8aec6s51e3bb03c60682a7@mail.gmail.com> (raw) In-Reply-To: <20080119130629.GA4541@atlas.home> > > > > Вапрос - > > 1) как поймать два потеряных устройства > > Добавьте в параметры ядра 8250.nr_uarts=8 (максимум - 192, по > умолчанию используется 4). угу, спасибо, полетело оно..., т.е. все 4 модема видны системой, с 5 по 7 номер на ttySx > > 2) как разлулить именования устройств? > > сейчас имена ttyS0&ttyS3 принадлежат pci-модемам, а ttyS1&ttyS2 - > > com1&com2. > > После увеличения 8250.nr_uarts имена устройств для PCI-карт будут > назначаться, начиная с /dev/ttyS4 (обычно драйвер сначала пытается > использовать полностью незадействованные устройства, и только при > отсутствии таковых пытается занять неиспользованные ttyS0..3). ага, так и получилось... > > > насколько я понимаю - > > ttyS0 - com1 > > ttyS1 - com2 > > а у меня как-то не так... > > Для 4 портов ttyS0..3 по умолчанию используются стандартные для PC > настройки: > > ttyS0 - port 0x3F8 irq 4 > ttyS1 - port 0x2F8 irq 3 > ttyS2 - port 0x3E8 irq 4 > ttyS3 - port 0x2E8 irq 3 > > Видимо, сейчас в настройках BIOS заданы не совсем стандартные адреса > для портов COM1 и COM2 на плате, поэтому и имена устройств выбираются > в соответствии с выбранными адресами. фиг знает что там в BIOS, но факт, как-то не то... ибо # setserial -g /dev/ttyS[0-3] /dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3 /dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 вроде все ОК, только вот съехало com1 - ttys1, com2 - ttyS2 не мешает, но не понятно откуда ноги вырасли. > (возможно, даже одновременно acpi_sci=low acpi_sci=edge). После > загрузки надо проверять отсутствие ошибок "nobody cared" в dmesg и > работоспособность кнопки Power (при загруженном модуле button и > запущенном acpid по умолчанию должен вызываться poweroff; можно также, > не запуская acpid, запустить cat /proc/acpi/event и проверить, что при > нажатии кнопки Power появляются сообщения об этом). указал как acpi_sci=low acpi_sci=edge, ошибка nobody cared не обнаружена кнопку Power смогу проверить на сл неделе, как очучусь возле этого псевдо-сервера -- С уважением, Макс.
next prev parent reply other threads:[~2008-01-19 19:20 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-18 22:01 AdMaks 2008-01-19 13:06 ` Sergey Vlasov 2008-01-19 19:20 ` Maks Re [this message] 2008-01-19 20:44 ` Sergey Vlasov 2008-01-19 20:56 ` AdMaks
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=f041fbd00801191120x1aa8aec6s51e3bb03c60682a7@mail.gmail.com \ --to=admaks@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git