From: Sunny P. <su...@ya...> - 2002-08-10 14:11:28
|
Dear Mr. Tourrilhes, Hi, my name is Sunny Pan, I'm an honours year student in Monash University, Melbourne. I'm currently doing a research project which is about IrDA tunneling over a TCP/IP network. To support the research, my school has provided an IR dongle which is Actisys 200L. Since the project involves modification of the lower IrDA layer, Linux has been chosen due to its open source nature. However, I'm a novice in linux so that I don't really familiar with the procedure of installing the drivers. What I've done was I installed RedHat Linux 7.2. Since it doesn't come with the act200l driver, so I downloaded the newest kernel 2.5.22 which has the act200l driver included. I updated the kernel and everything seems fine, except the adaptor doesn't transmit anything. Here is the step I went through: First method(Embedded into the kernel)- 1. I configured the IrDA stack(with irtty, irport...etc) and the act200l driver(only) as the part of kernel. 2. Kernel has been compiled and no errors found. 3. Linux booted without any problem 4. I started the irda service by entering "service irda start". And the status is ok. 5. The dongle had the lights(the transmitter) on. 6. Problem here, I ran "irdadump", trace lines have been shown but nothing has been detect when I point it to mobile phone, laptop, PDA.... Second method(Make it as a loadable module)- 1. I configured them as module 2. No problem on compilation 3. I edited the modules.conf by adding the following lines: alias tty-ldisc-11 irtty alias char-major-161 ircomm-tty alias irda-dongle-10 act200l options irport io=0x3f8 4. Booted without any problem 5. I loaded the module by entering "modprobe act200l" and when do the "lsmod", it shown: Module Size Used by act200l 1584 0 (unused) irda 93456 0 [act200l] 6. then I do "irattach /dev/ttyS0 -d act200l -s 1"(I confirmed it is connected to COM1(ttyS0) and the io is 0x3f8, with irq=4) and lsmod shows: Module Size Used by irtty 5904 0 (autoclean) act200l 1584 0 (unused) irda 93456 0 [irtty act200l] 7. Now the light is on. 8. Problem here, running irdadump this time however, is even worse. It didn't show up any trace line. I also attempted so many methods but nothing was work. The procedure I mentioned here is what I believe the correct steps(theoretically) that should make it works. It really makes me headache because I did make the irda running smoothly on my toshiba laptop with toshoboe driver. However, this time when I try to do it on my desktop with the Actisys 200L, I cannot make it even I spent lots of time on it. I'm so sorry for disturbing you but please help me because I couldn't find anyway that is better than asking the driver developer directly(I also sent this email to the act200l author, Mr Shimizu as well. And a carbon copy to the mailing list of irda). I tried to look for help documents on the internet but there is nothing about the act200l driver, and I'm now really feel exhausted about it. However, problem is this is an important part of my research project that I cannot give it up. I would really appreciate if you can help me to get rip of this problem. Thank you very much! Regards, Sunny Pan __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com |