On Thu, Mar 30, 2000 at 08:36:05AM +0200, Dag Brattli wrote:
> Shane Owenby <[EMAIL PROTECTED]> writes:
> 
> > First thanks for all of the work on the IrDA code.
> > 
> > Second here is a quick explanation of my setup and the problem:
> 
> > Mar 29 18:18:50 sopic kernel: IrDA: Registered device irda0
> > Mar 29 18:18:50 sopic kernel: nsc-ircc, Using dongle: Consumer-IR only
> 
> You need to set the dongle_id of the driver, since the driver since laptops
> doesn't support transceiver probing. Read irda-utils-0.9.10/irattach/README

I have read that doc, and according to the steps therein these steps
should work: (but irdadump doesn't respond to my Palm's sync requests)

Thanks for helping me get this working.  (I know the Infrared port works as I 
can use it under windows)

Shane

Here are the steps I followed:
lsmod (serial isn't loaded)
irmanager  (with all the correct things from the README in /etc/conf.modules)
echo 1 > /proc/sys/net/irda/discovery
then
[root@sopic shane]# irdadump
07:22:59.212786 xid:cmd a3039599 > ffffffff S=6 s=4 (14) 
07:23:04.732785 xid:cmd a3039599 > ffffffff S=6 s=5 (14) 
07:23:09.212783 xid:cmd a3039599 > ffffffff S=6 s=5 (14) 
07:23:14.733229 xid:cmd a3039599 > ffffffff S=6 s=* sopic hint=0500 [ PnP
Computer ] (21) 
07:23:19.212784 xid:cmd a3039599 > ffffffff S=6 s=* sopic hint=0500 [ PnP
Computer ] (21) 
07:23:24.733227 xid:cmd a3039599 > ffffffff S=6 s=0 (14) 
07:23:29.212784 xid:cmd a3039599 > ffffffff S=6 s=0 (14) 


/var/log/messages snippet:

Mar 29 23:22:08 sopic irmanager: executing: '/sbin/modprobe irda'
Mar 29 23:22:09 sopic kernel: IrDA (tm) Protocols for Linux-2.2 (Dag Brattli) 
Mar 29 23:22:09 sopic irmanager: executing: 'echo sopic >
/proc/sys/net/irda/devname'
Mar 29 23:22:09 sopic irmanager: + 1.1 Tue Nov  9 15:30:55 1999 Dag Brattli
Mar 29 23:22:09 sopic irmanager: + 1.1 Tue Nov  9 15:30:55 1999 Dag Brattli
Mar 29 23:22:09 sopic kernel: IrDA: Registered device irda0 
Mar 29 23:22:10 sopic kernel: IrDA: Initializing Tekram dongle! 
Mar 29 23:22:10 sopic irattach: Are you using an old kernel?
Mar 29 23:22:10 sopic irattach: executing: 'echo sopic >
/proc/sys/net/irda/devname'

Again here are the specs on the machine/setup:
Redhat 6.2
irda-utils-0.9.10-1
This laptop:
http://www.ita.sel.sony.com/products/pc/notebook/pcgc1xs.html#specs

[root@sopic shane]# findchip -v
reg=0x000
Found NSC PC87338 Controller at 0x398, DevID=0x0b, Rev. 2
    SIR Base 0x3f8, FIR Base 0x3f8
    IRQ = 3, DMA = 0
    Enabled: yes, Suspended: no
    UART compatible: yes
    Half duplex delay = 0 us

These commands:
rmmod serial
modprobe nsc-ircc dongle_id=0x0X  [where X=0->f] Yes, I tried them all
echo 1 > /proc/sys/net/irda/discovery
irdadump

>From /var/log/messages:  (see the dongle_id=  comment above)
Mar 29 18:18:50 sopic kernel: IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Mar 29 18:18:50 sopic kernel: nsc-ircc, Found chip at base=0x398
Mar 29 18:18:50 sopic kernel: nsc-ircc, driver loaded (Dag Brattli)
Mar 29 18:18:50 sopic kernel: IrDA: Registered device irda0
Mar 29 18:18:50 sopic kernel: nsc-ircc, Using dongle: Consumer-IR only


So it seems that the IrDA code is finding the chip.  I tried every
dongle possible (even the ones which the code said were reserved).

The problem was that irdadump _never_ showed any output.  I was testing
with my Palm.  I know my Palm works as I tried it with another linux laptop
[IBM 600X with almost the same setup above], and it worked.

If anyone has any tips at all I would be very glad to hear them.

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to