From: kavin A. <kma...@gm...> - 2005-03-21 14:38:42
|
Hai guys, I am having Toshiba Laptop A60-S430 . It has got a SMSC Fast infrared Controller ( As reported in windows) MY problem is that SMSC chip in my Laptop is troubling me.. I saw that smcinit is needed to make the chip work, and compiled and installed the smcinit 0.4.1 and configured according to the instructions. For me FIR DOESNT WORK But SIR works...(details at the last) ########################################################################################################### MY PROBLEM STARTS HERE.........>>>>>>>>> ########################################################################################################### Then i try to make use of FIR, FIR only works with SMCINIT,isnt it??? Details of my chip as reported in WINDOWS DEVICE MANAGER is, SIR I/O Range 03E8-03EF FIR I/O Range 0220-227 IRQ 03 DMA 01 First Let me try module probing before INITIALIZATION debian:~# modprobe smsc-ircc2 FATAL: Error inserting smsc_ircc2 (/lib/modules/2.6.11.4/kernel/drivers/net/irda/smsc-ircc2.ko): No such device debian:~# when i try smcinit with defaulted to 5100 model, I get debian:~# smcinit pcilib: Cannot open /sys/bus/pci/devices/0000:00:1f.0/config smcinit IO hub vendor ffff not intel (0x8086) debian:~# But when i try tosh1800-smcinit, i get debian:~# tosh1800-smcinit debian:~# NO output both in console and Dmesg, So i thought it worked Now again modules probing debian:~# modprobe smsc-ircc2 -vv insmod /lib/modules/2.6.11.4/kernel/drivers/net/irda/smsc-ircc2.ko FATAL: Error inserting smsc_ircc2 (/lib/modules/2.6.11.4/kernel/drivers/net/irda/smsc-ircc2.ko): No such device debian:~# and in dmesg , agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode agpgart: Putting AGP V2 device at 0000:01:05.0 into 4x mode>about my video card kobject_register failed for smsc-ircc2 (-17) [<c030f6bb>] kobject_register+0x5b/0x60 [<c03b8fe8>] bus_add_driver+0x58/0xd0 [<c03b964f>] driver_register+0x2f/0x40 [<c036ba8d>] pnp_register_driver+0x2d/0x70 [<dd9a94b4>] smsc_ircc_look_for_chips+0x14/0x120 [smsc_ircc2] [<dd9a90da>] smsc_ircc_init+0xda/0xf0 [smsc_ircc2] [<c012c9d2>] sys_init_module+0x122/0x1b0 [<c0102ac3>] syscall_call+0x7/0xb debian:~# I have given correct IO range IRQ DMA in /etc/modprobe.d/irda-utils and /etc/modules.conf and /etc/modules/irda-utils I have tried many and nothing works. Please HELP lspci -v of my notebook is below debian:~# lspci -v 0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device cab3 (rev 05) Flags: bus master, 66MHz, medium devsel, latency 64 Memory at b0000000 (32-bit, prefetchable) [size=64M] Memory at b4000000 (32-bit, prefetchable) [size=4K] Capabilities: [a0] AGP version 2.0 0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M] (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, medium devsel, latency 64 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000c000-0000dfff Memory behind bridge: e0000000-efffffff Prefetchable memory behind bridge: a0000000-afffffff 0000:00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01) (prog-if 10 [OHCI]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5 Memory at f0001000 (32-bit, non-prefetchable) [size=4K] 0000:00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01) (prog-if 10 [OHCI]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5 Memory at f0002000 (32-bit, non-prefetchable) [size=4K] 0000:00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01) (prog-if 20 [EHCI]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5 Memory at 1c000000 (32-bit, non-prefetchable) [size=4K] Capabilities: [dc] Power Management version 2 0000:00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 18) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: 66MHz, medium devsel I/O ports at e000 [size=16] Memory at f0000000 (32-bit, non-prefetchable) [size=1K] 0000:00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349 (prog-if 8a [Master SecP PriP]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at 8070 [size=16] 0000:00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, 66MHz, medium devsel, latency 0 0000:00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342 (prog-if 01 [Subtractive decode]) Flags: bus master, 66MHz, medium devsel, latency 64 Bus: primary=00, secondary=02, subordinate=02, sec-latency=32 I/O behind bridge: 0000a000-0000bfff Memory behind bridge: d0000000-dfffffff Prefetchable memory behind bridge: 90000000-9fffffff 0000:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 10 Memory at f0000400 (32-bit, non-prefetchable) [size=256] 0000:00:14.6 Modem: ATI Technologies Inc: Unknown device 434d (rev 01) (prog-if 00 [Generic]) Subsystem: Toshiba America Info Systems: Unknown device 0001 Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 10 Memory at f0000500 (32-bit, non-prefetchable) [size=256] 0000:01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4437 (prog-if 00 [VGA]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, stepping, 66MHz, medium devsel, latency 64, IRQ 11 Memory at a0000000 (32-bit, prefetchable) [size=128M] I/O ports at c000 [size=256] Memory at e0000000 (32-bit, non-prefetchable) [size=64K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 0000:02:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, medium devsel, latency 168, IRQ 5 Memory at 1c001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 1c400000-1c7ff000 (prefetchable) Memory window 1: 1c800000-1cbff000 I/O window 0: 00004400-000044ff I/O window 1: 00004800-000048ff 16-bit legacy interface ports at 0001 0000:02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at a000 [size=256] Memory at d0008000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 0000:02:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI]) Subsystem: Toshiba America Info Systems: Unknown device ff10 Flags: bus master, medium devsel, latency 64, IRQ 5 Memory at d0000000 (32-bit, non-prefetchable) [size=2K] Memory at d0004000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 2 debian:~# #############################END OF PROBLEM###################################################################### SUCCESS WITH SIR:::::::::::::::::: But i later came to know that SIR doesnot need the smcinit. I was able to work SUCCESSFULLY WITH SIR SIR WORKS >>>>>>>>>>>>>>>>> so when i look for tty ports on DMESG(there is no serial ports in this laptop ), i get debian:~# dmesg | grep tty ttyS2 at I/O 0x3e8 (irq = 3) is a 16550A debian:~# So i do , debian:~# irattach /dev/ttyS2 debian:~# Then when i do debian:~# irdadump 13:49:09.605408 xid:cmd a2a405e0 > ffffffff S=6 s=0 (14) 13:49:09.695324 xid:cmd a2a405e0 > ffffffff S=6 s=1 (14) 13:49:09.785311 xid:cmd a2a405e0 > ffffffff S=6 s=2 (14) 13:49:09.875296 xid:cmd a2a405e0 > ffffffff S=6 s=3 (14) 13:49:09.965282 xid:cmd a2a405e0 > ffffffff S=6 s=4 (14) 13:49:10.055268 xid:cmd a2a405e0 > ffffffff S=6 s=5 (14) 13:49:10.145255 xid:cmd a2a405e0 > ffffffff S=6 s=* debian hint=4400 [ Computer LAN Access ] (22) and when i point my SE K700i to the port, 13:49:22.143432 xid:rsp a2a405e0 < 00001bbe S=6 s=5 K700 series hint=9124 [ PnP Modem IrCOMM IrOBEX ] (28) 13:49:22.153426 xid:cmd a2a405e0 > ffffffff S=6 s=* debian hint=4400 [ Computer LAN Access ] (22) and so on.... and i try sending debian:~# ircp scpt Connecting...done Sending scpt...done Disconnecting...done and then recieving debian:~# ircp -r Waiting for incoming connection Incoming connection Disconnecting debian:-# everything works perfectly with my K700i in Debian GNU/Linux. |