From: Sergey Vlasov <vsu@altlinux.ru> To: community@lists.altlinux.org Subject: Re: [Comm] настройка irda Date: Fri, 1 Feb 2008 14:47:17 +0300 Message-ID: <20080201114717.GB10649@newmaster.mivlgu.local> (raw) In-Reply-To: <47A2FBEF.3070606@aston.ru> [-- Attachment #1: Type: text/plain, Size: 2186 bytes --] On Fri, Feb 01, 2008 at 02:01:03PM +0300, Roman V. Tutov wrote: > сам irda на com2. com1 свободен > ядро воде как видет и самы комы и irda > Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled > serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A > pnp: Device 00:0d activated. > 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > nsc-ircc, chip->init > nsc-ircc, Found chip at base=0x02e > nsc-ircc, driver loaded (Dag Brattli) > nsc_ircc_open(), can't get iobase of 0x2f8 > nsc-ircc, Found chip at base=0x02e > nsc-ircc, driver loaded (Dag Brattli) > nsc_ircc_open(), can't get iobase of 0x2f8 > pnp: Device 00:13 disabled. Попробуйте выполнить команды: rmmod nsc-ircc setserial /dev/ttyS1 uart none modprobe nsc-ircc Проблема в том, что эмулируемый чипом IrDA COM-порт занимается драйвером последовательного порта, в результате драйвер nsc-ircc не может получить к нему доступ. Если драйвер nsc-ircc после этого заработает - вот вариант настройки, позволяющий избежать лишних ошибок при загрузке: 1. Вписать в файл /etc/modprobe.d/blacklist-local (создав его при необходимости) строку: blacklist nsc-ircc После этого модуль nsc-ircc не будет автоматически загружаться при запуске udevd (который сейчас выполняется на ранней стадии загрузки). 2. Создать исполняемый скрипт /etc/rc.d/rc.serial (не забудьте chmod 755) со следующим содержимым: #!/bin/sh setserial /dev/ttyS1 uart none modprobe nsc-ircc Этот файл вызывается из /etc/rc.d/rc.sysinit при загрузке системы и предназначен для инициализации нестандартных последовательных портов (хотя в данном случае приходится применять его для отключения ошибочно опознанных портов по стандартным адресам). > но после irattach ttyS1 -s получаю > > ttyS1: LSR safety check engaged! > и вопли в логи что порт невозможно открыть Драйвер nsc-ircc отключает PnP-устройство при неудачной загрузке, в результате порт, ранее обнаруженный драйвером 8250 по стандартному адресу, перестаёт работать. При использовании драйвера nsc-ircc запускать irattach не нужно - этот драйвер сам регистрирует сетевое устройство irda. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-02-01 11:47 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-01 11:01 Roman V. Tutov 2008-02-01 11:47 ` Sergey Vlasov [this message] 2008-02-01 12:11 ` Alexey I. Froloff 2008-02-01 12:18 ` Sergey Vlasov 2008-02-01 12:36 ` tutov 2008-02-01 13:53 ` Sergey Vlasov 2008-02-01 14:15 ` tutov 2008-02-01 15:52 ` Victor 2008-02-01 16:28 ` Sergey Vlasov 2008-02-01 16:55 ` Victor 2008-02-01 17:06 ` Sergey Vlasov 2008-02-01 17:08 ` Sergey Vlasov 2008-02-01 17:15 ` Victor 2008-02-01 16:23 ` Sergey Vlasov 2008-02-04 10:53 ` tutov 2008-02-04 11:21 ` Sergey Vlasov 2008-02-09 16:54 ` Alexey I. Froloff 2008-02-09 17:10 ` Alexey I. Froloff
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=20080201114717.GB10649@newmaster.mivlgu.local \ --to=vsu@altlinux.ru \ --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