[ltp] thinkpad 600x irda / palm 3 / mandrake 10

David Smith linux-thinkpad@linux-thinkpad.org
Fri, 10 Sep 2004 10:41:47 -0500 (CDT)


Ok I've seemed to fix the 0xffff problem by undoing a change I made in the
source file, mentioned in the below text file as using an if ( 1 )
statement.

This is hte output now;
Starting IrDA: Sep 10 10:31:47 hormiga kernel: NET: Registered protocol
family 23
Sep 10 10:31:47 hormiga kernel: nsc-ircc, Found chip at base=0x02e
Sep 10 10:31:47 hormiga kernel: nsc-ircc, driver loaded (Dag Brattli)
Sep 10 10:31:47 hormiga kernel: IrDA: Registered device irda0
Sep 10 10:31:47 hormiga kernel: nsc-ircc, Found dongle: No dongle connected
Sep 10 10:31:47 hormiga kernel: IrCOMM protocol (Dag Brattli)
                                                                [  OK  ]
[root@hormiga dsmith]# Sep 10 10:31:49 hormiga irattach: tcgetattr:
Input/output error
Sep 10 10:31:49 hormiga irattach: Stopping device /dev/ttyS1
Sep 10 10:31:49 hormiga irattach: ioctl(SIOCGIFFLAGS): No such device
Sep 10 10:31:49 hormiga irattach: exiting ...

modules.conf:
alias char-major-161 ircomm-tty
alias tty-ldisc-11 irtty-sir
alias irda0 nsc-ircc
options nsc-ircc dongle_id=0x09 io=0x2f8 irq=4 dma=3
pre-install nsc-ircc /bin/setserial /dev/ttyS1 uart none

sysconfig/irda:
IRDA=yes
DEVICE=/dev/ttyS1
#DONGLE=0x09
DISCOVERY=yes
IRDA_PORT="irda0"




--dave
David Smith said:
> Ok I've gotten a little farther;
>
> First I was getting an error that said nsc-ircc wrong chip version, and I
> did this: http://lpn.rnbhq.org/R31/irda-2.4.19.txt
>
> Now the driver seems to load and I get this:
>
> Sep 10 10:11:39 hormiga kernel: IrDA: Registered device irda0
> Sep 10 10:11:39 hormiga kernel: nsc-ircc, Found dongle: No dongle
> connected
> Sep 10 10:11:39 hormiga kernel: nsc-ircc, Found chip at base=0x02e Sep 10
> 10:11:39 hormiga kernel: nsc-ircc, driver loaded (Dag Brattli) Sep 10
> 10:11:39 hormiga kernel: nsc_ircc_open(), can't get iobase of 0xffff
> Sep 10 10:16:48 hormiga kernel: IrCOMM protocol (Dag Brattli)
> Sep 10 10:16:49 hormiga irattach: tcgetattr: Input/output error
> Sep 10 10:16:49 hormiga irattach: Stopping device /dev/ttyS1
> Sep 10 10:16:49 hormiga irattach: ioctl(SIOCGIFFLAGS): No such device
> Sep 10 10:16:49 hormiga irattach: exiting ...
>
> I've googled the iobase issue and cant seem to find anyone else getting
> 0xffff results..
>
>
> -- dave
>
>
> David Smith said:
>> Hi, took a look at the visor howto and there was nothing about irda.
>>
>> I tried using some of the irda commands to view irda packets and saw
> none.
>> I don't think I've gotten the irda interface properly configured yet.
>>
>>
>> -- dave
>> Bret Comstock Waldow said:
>>> I have synced via the IrDA port before.  I don't know if it's enabled
> right now.  Let me know if the HowTo covers this or not (it's time to
> go
>>> to work right now).
>>> Cheers,
>>> Bret
>> --
>> The linux-thinkpad mailing list home page is at:
>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>
>
>
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>