On Sat, Dec 18, 1999 at 02:39:24PM +0100, Dag Brattli wrote:
Hello,

> > I just got an Ericsson SH888 because I knew this one was fully supported
> > by linux (for IR and modem). I tried to make this works but there are some
> > really weird problems. Here's a list of working / not working things:
> 
> Always tell which kernel version and patch level (if any) you are
> using. How do you start irattach? Do you use irmanager? What does irdadump
> say? If you are using an old kernel, then you might want to increase the 
> /proc/sys/net/irda/slot_timeout to 90. If so then you should probably
> consider upgrading as well.

Ok, here's more details:

I first used kernel 2.2.13 but then I tried upgrading to 2.2.14-pre14, with
both I can't see my SH888 while I see some friends' SH888. I don't use any
other patches

1. Using RS232 Cable with IrDA:

   irmanager -d 1
   irattach /dev/ttyS0
   insmod ircomm
   insmod ircomm_tty

   then I can see the modem with irdadump:

   14:12:42.917941 xid:rsp 17ccc80e < 59d9f876 S=6 s=2 SH 888         hint=9104 [ PnP 
Modem IrCOMM ] (31)    

   I can use it without any problem using minicom on device /dev/ircomm0
   (char major 60, minor 64).

2. Using IrDA on IR port (BIOS setup using IrDA protocol)

   irmanager -d 1
   irattach /dev/ttyS1
   insmod ircomm
   insmod ircomm_tty

   Then I can see SH888 of a friend, but not mine.

   I can also ping my SH888 by first sending a "irdaping 0x0" and then I
   get a reply from my SH888.

   halley:~/bin # irdaping 0x0
   IrDA ping (0x00000000): 32 bytes
   32 bytes from 0x3d51bf55: irda_seq=0 time=117.29 ms. 

   Then:

   halley:~/bin # irdaping 0x3d51bf55
   IrDA ping (0x3d51bf55): 32 bytes
   32 bytes from 0x3d51bf55: irda_seq=0 time=114.31 ms.  

   When pinging I can see this message in the syslogs:

   Dec 18 15:19:07 halley kernel: irlap_driver_rcv(), TEST_FRAME
   Dec 18 15:19:07 halley kernel: irlap_recv_test_frame()
   Dec 18 15:19:07 halley kernel: irlap_state_ndm() not implemented!

   So IR seems to work, but I can't see IrLMP discovery message from it.
   
   If I try to use minicom, then I get no reply from the SH888, and the
   last message in the log is:

   Dec 18 15:19:58 halley kernel: ircomm_open_instance():
   Dec 18 15:19:58 halley kernel: ircomm_next_state: NEXT STATE=0(IDLE), 
servicetype=(4)
   Dec 18 15:19:58 halley kernel: irias_add_octseq_attrib_R6fc33859()
   Dec 18 15:19:58 halley kernel: irias_add_octseq_attrib_R6fc33859: name=Parameters
   Dec 18 15:19:58 halley kernel: irias_add_octseq_attrib_R6fc33859: len=6
   Dec 18 15:19:58 halley kernel: ircomm_next_state: NEXT STATE=1(DISCOVERY_WAIT), 
servicetype=(4)
   Dec 18 15:19:58 halley kernel: irvtd_set_termios:            

   But there are no communications between computer and the modem.

You know, this is really weird... Because the SH888 works under winblows. So
it should not be defect... 

I also thought there was maybe several model of this phone. But I asked a
friend who has exactly the same model number and it works for him under
linux.

I hate this kind of problem when you can't identify the source of the 
problem... :-)

Do you know a program that can just say if there is IR activity ? Kind
of "raw" measure of IR on the diode ? That could help to see if the modem
sends IrLMP packets or not.

Thanks for your help,
Regards
-- 
Alexis Domjan <[EMAIL PROTECTED]>

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

Reply via email to