You are not logged in.

#1 2007-07-26 10:18:06

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

IRDA configuration help.

I have an IRDA usb adapter. lsusb returns the fowling.

Bus 004 Device 002: ID 066f:4200 SigmaTel, Inc. STIr4200 IrDA Bridge

I am loading the module stir4200 with the command modprobe stir4200. After that I am starting the irda server with /etc/rc.d/irda start but nothing seems to happening. I am using the irdadump to see if there is any communication but... I am also using the openobex commands to transfer or receive files but without any success.

This is the /etc/conf.d/irda file

#
# Parameters to be passed to irattach
#
DEVICE=irda0
#DONGLE=actisys+
DISCOVERY=yes

I am looking to /dev for any device named irda0 but there isn't one. This the output of dmesg for some extra info.

Device driver usbdev4.2_ep01 lacks bus and class support for being resumed.
Device driver usbdev4.2_ep82 lacks bus and class support for being resumed.
SigmaTel STIr4200 IRDA/USB found at address 2, Vendor: 66f, Product: 4200
Device driver irda0 lacks bus and class support for being resumed.
drivers/net/irda/stir4200.c: IrDA: Registered SigmaTel device irda0

What am I doing wrong?

Kernel ver: 2.6.21-viper


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2007-07-26 17:38:08

PenguinFlavored
Member
From: Chicago, IL, USA
Registered: 2006-06-06
Posts: 66
Website

Re: IRDA configuration help.

Here's some ideas to get you started they may or may not be helpful.

try loading the ircomm and ircomm-tty module.
check to see if the irda0 interface is up using ifconfig.
enable discovery by echoing 1 > /proc/sys/net/irda/discovery. (this will generate traffic for irdadump)
keep the serial driver from interfering with the irda driver: setserial /dev/ttyUSB* uart none

umm, that's all I can think of for now.
Also try upgrading to the next version. the current Arch package is unmaintained, and the man pages were broken. see http://bugs.archlinux.org/task/5169 for a patch.

Offline

#3 2007-07-27 08:10:02

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: IRDA configuration help.

No, nothing. I installed the new package but... I also used the modules ircomm and ircomm_tty. In my /dev/ there isn't any ttyUSB* device. If I give the command irattach irda0 -s manually with ifconfig I can see this

irda0     Link encap:IrLAP  HWaddr 52:de:e9:5c
          UP RUNNING NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0 b)  TX bytes:28 (28.0 b)

but I can't exchange any data.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#4 2007-07-31 02:40:50

PenguinFlavored
Member
From: Chicago, IL, USA
Registered: 2006-06-06
Posts: 66
Website

Re: IRDA configuration help.

When you run irdadump as root does it give you anything? It should show your irda discovery packets. Or do you not get the phone's discovery response? If the phone isn't responding make sure the phone has turned on irda, and your provider hasn't locked these features.

Also check for ircomm* entries in /dev. If you can, try running minicom on /dev/ircomm0 and sending it some AT commands to query the capabilities of your phone.

Have you looked at
http://gentoo-wiki.com/HOWTO_mobile_pho … _with_IrDA

Offline

#5 2007-07-31 15:15:05

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: IRDA configuration help.

irdadump doesn't returns anything. I can open ircomm0 but it doesn't respond to any AT command.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB