ALT Linux hardware support
 help / color / mirror / Atom feed
From: metrol@amur.ru
To: hardware@lists.altlinux.org
Subject: [Hardware] irda
Date: Tue, 28 Nov 2006 14:22:56 +0900
Message-ID: <20061128052256.GA17233@csm.amur.ru> (raw)


Система ALC 3.0 + updates

Имеется IRmate-210.

# uname -r
2.6.12-std26-up-alt11

Что было сделано:

# cat /etc/modutils.d/irda

# IrDA configuration

alias irda0 ircomm

# IrDA over a normal serial port, or a serial port compatible
# IrDA port
alias tty-ldisc-11 irtty-sir

# IrCOMM/IrLPT support (virtual serial/parallel over IrDA)
alias char-major-161 ircomm-tty

# IrLAN support (Ethernet over IrDA)
alias irlan0 irlan

# IrNET support (Synchronous PPP over IrDA)
alias char-major-10-187 irnet

# Serial Dongles
# These values are hard-coded in irattach (not instance order)
alias irda-dongle-0 tekram-sir
alias irda-dongle-1 esi-sir
alias irda-dongle-2 actisys-sir
alias irda-dongle-3 actisys-sir

post-install irda echo 115200 >/proc/sys/net/irda/max_baud_rate
  && echo 1000 >/proc/sys/net/irda/min_tx_turn_time


Собственно вопроса 2:

1. Как заставить модуль ircomm-tty подниматься при загрузке системы?

2. Кто виноват, что при загрузку этого модуля в /dev появляется аж 32
   ircomm устройства и ни одного irlpt (как положено):
   # ls /dev/ir*
   /dev/ircomm0   /dev/ircomm12  /dev/ircomm16  /dev/ircomm2
   /dev/ircomm23  /dev/ircomm27  /dev/ircomm30  /dev/ircomm6
   /dev/ircomm1   /dev/ircomm13  /dev/ircomm17  /dev/ircomm20
   /dev/ircomm24  /dev/ircomm28  /dev/ircomm31  /dev/ircomm7
   /dev/ircomm10  /dev/ircomm14  /dev/ircomm18  /dev/ircomm21
   /dev/ircomm25  /dev/ircomm29  /dev/ircomm4   /dev/ircomm8
   /dev/ircomm11  /dev/ircomm15  /dev/ircomm19  /dev/ircomm22
   /dev/ircomm26  /dev/ircomm3   /dev/ircomm5   /dev/ircomm9

   Хотя в документации к ядру
   (/usr/share/doc/kernel-doc-2.6.11/devices.txt) пишут такое:

161 char        IrCOMM devices (IrDA serial/parallel emulation)
                  0 = /dev/ircomm0      First IrCOMM device
                  1 = /dev/ircomm1      Second IrCOMM device
		  ...
		  16 = /dev/irlpt0      First IrLPT device
                  17 = /dev/irlpt1      Second IrLPT device
		  ...

     Собственно я хотел настроить cups для печати на принтер ч/з
     инфракрасник. Методом дедукции пришлось определять, что порт
     для него: /dev/ircomm16, а не /dev/irlpt0 - как пишут во
     всех HOWTO.

Спасибо за внимание.

Евгений.





             reply	other threads:[~2006-11-28  5:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28  5:22 metrol [this message]
2006-11-28 16:58 ` Victor
2006-11-29  1:32   ` metrol
2006-11-28 17:45 ` Sergey Vlasov
2006-11-29  2:14   ` metrol
2006-11-29 13:42     ` Michael Shigorin

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=20061128052256.GA17233@csm.amur.ru \
    --to=metrol@amur.ru \
    --cc=hardware@altlinux.ru \
    --cc=hardware@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 hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git