[ltp] [PATCH] Add support for FIR IrDA for T43/R52
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Sat, 3 Jun 2006 12:44:34 +0300
On 6/2/06, Henrique de Moraes Holschuh <hmh@hmh.eng.br> wrote:
> Just thought of something that was posted to thinkwiki. Please try
> "echo 4000000 > /proc/sys/net/irda/max_baud_rate" to set the port speed to
> 4M... does it talk to the Nokia, after that?
Nope. With 2.6.18 + suspend2 + nsc-ircc-pnp.2.6.16.diff +
nsc-ircc-pnp.2.6.16-t43extra.diff:
---------------------
# setserial /dev/ttyS1 uart none port 0 irq 0
# modprobe nsc-ircc dongle_id=0x09
# modprobe ircomm_tty
# echo 4000000 > /proc/sys/net/irda/max_baud_rate
# gnokii --identify
GNOKII Version 0.6.12
LOG: debug mask is 0x1
phone instance config:
model: 6100
port_device: /dev/ircomm0
connection_type: 3
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ircomm0
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00 41 | A
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
---------------------
dmesg:
---------------------
[17179839.740000] irda_init()
[17179839.744000] NET: Registered protocol family 23
[17179839.796000] nsc_ircc_pnp_probe() : Found cfg_base 0x000 ;
firbase 0x2F8 ; irq 3 ; dma 3.
[17179839.796000] nsc-ircc, Found chip at base=0x000
[17179839.796000] nsc-ircc, driver loaded (Dag Brattli)
[17179839.796000] IrDA: Registered device irda0
[17179839.796000] nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500
[17179840.468000] ircomm_tty_attach_cable()
[17179840.468000] ircomm_tty_ias_register()
---------------------
Am I doing something wrong?
Shem