ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] irda
@ 2006-11-28  5:22 metrol
  2006-11-28 16:58 ` Victor
  2006-11-28 17:45 ` Sergey Vlasov
  0 siblings, 2 replies; 6+ messages in thread
From: metrol @ 2006-11-28  5:22 UTC (permalink / raw)
  To: hardware


Система 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.

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

Евгений.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-29 13:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-28  5:22 [Hardware] irda metrol
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

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