LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ircp won't connect to mobile phone (https://www.linuxquestions.org/questions/linux-hardware-18/ircp-wont-connect-to-mobile-phone-271100/)

mcgoon 12-28-2004 07:18 AM

ircp won't connect to mobile phone
 
I'm kind of a newbie to linux so any help would be greatly appreciated. (I know enough to get myself into trouble) ;)

I'm trying to send files to and from my mobile (a sony-ericsson k700i) from FC2 but I get the following error when I try to connect my phone using the command ircp -r:

ircp: error while loading shared libraries: libopenobex-1.0.so.1: can not open shared object file: No such file or directory

Now I've installed irda-utils and open-obex and the file libopenobex-1.0.so.1 can be found in the following directory:

/usr/src/openobex-1.0.1/src/.libs

Do I just need to tell ircp where to find the file? If so, how would I go about doing it?

Thankyou all in advance!

jul3z 01-02-2005 03:56 AM

Hi,

It seems that the libopenobex-1.0.so.1 is not in the system libraries path. You can resolve this by :

-> Editing the file /etc/ld.so.conf (add the new path : "/usr/src/openobex-1.0.1/src/.libs" for example, but I believe that libopenobex-1.0.so.1 is located in the "/usr/local/lib" after installation of OpenObex)

-> Apply modification by executing : ldconfig -v

mcgoon 01-03-2005 06:40 AM

Thanks, that helped a treat! I don't get any error messages -yay!

Now my next problem is that when I run ircp -r , I simply get the message "Waiting for incoming connection". If I run irdadump, it shows there is notraffic. My IR is turned on, on my phone so I can't understand why I'm getting no communication...

Sorry if the answer is easy, but I can find very little documentation on the program so I'm sort of stumbling through the dark here.

jul3z 01-04-2005 12:47 PM

I am not sure if I am right :
have you done the irattach command ?
if you done it on /dev/ttyS0, try it on /dev/ttyS1 and then try again the ircp -r (and send a file from your mobile phone to the computer).
keep me informed.

mcgoon 01-05-2005 06:52 AM

Still no luck I'm afraid. Do I need a specific protocol enabled in my bios? I am running version 2.6.8-1.521

When I run irattach /dev/ttyS0 -sv I simply get the version number (or irattach) as the report.
Shouldn't I get a report back saying link successful or something?
I tried ttyS1 too, but with no luck either.

ircp -r just keeps "waiting for connection" and when I try to send a pic from the mobile I just get "no device found".

The only Irda protocol I haven't enabled on my bios is Ultra (connectionless) protocol. I'd do it now, but I don't have the time (and I've never recompiled/edited the kernel before so I want to give myself the time of day to do it right). Could that possibly do the trick? phon

urashid 07-30-2006 06:57 AM

ircp-tray
 
i had a same problem ircp -r didn't work ... what i did was i installed ircp-tray . now everything is working its just like using M$ Windz Ir connection it loads in the tray.. with single click u can recive and send files


All times are GMT -5. The time now is 07:22 AM.