LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2006, 04:26 AM   #1
starunj
LQ Newbie
 
Registered: Jul 2003
Location: Purdue Univ, IN
Distribution: Red Hat 9
Posts: 15

Rep: Reputation: 0
Question gnokii, IrDA-USB (Sigmatel STIr4200), Nokia 7620


Hi,

I have a Nokia 7620 phone, a Sigmatel IrDA-USB dongle (STIr4200) and
am running Ubuntu 5.10.

I installed gnokii using the Synaptic package manager.

First, I plug in the USB dongle. When I do a dmesg, I get:

[#,#] usb 4-1: new full speed USB device using uhci_hcd and address 4
[#,#] SigmaTel STIr4200 IRDA/USB found at address 4, Vendor: 66f, Product: 4200
[#,#] drivers/net/irda/stir4200.c: IrDA: Registered SigmaTel device irda0

Now, I use the following script to start the IR:
http://lists.gnu.org/archive/html/gn.../msg00142.html

I get the error:
ERROR: Module irda is in use by ircomm_tty,ircomm

However, irda0 shows up when I run ifconfig:

irda0 Link encap:IrLAP HWaddr 00:00:00:00
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:0 (0.0 b) TX bytes:216 (216.0 b)

Now, when I run irdadump with the phone (IR activated) in front of the module:

14:41:07.260247 xid:cmd a1a1bc66 > ffffffff S=6 s=0 (14)
14:41:07.360223 xid:cmd a1a1bc66 > ffffffff S=6 s=1 (14)
14:41:07.460208 xid:cmd a1a1bc66 > ffffffff S=6 s=2 (14)
14:41:07.560193 xid:cmd a1a1bc66 > ffffffff S=6 s=3 (14)
14:41:07.660180 xid:cmd a1a1bc66 > ffffffff S=6 s=4 (14)
14:41:07.741260 xid:rsp a1a1bc66 < 00004ac7 S=6 s=4 Nokia 7260 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)
14:41:07.760163 xid:cmd a1a1bc66 > ffffffff S=6 s=5 (14)
14:41:07.860147 xid:cmd a1a1bc66 > ffffffff S=6 s=* dopefish hint=0400 [ Computer ] (24)

So, I guess the phone is being sensed by the dongle.

The gnokii rc file I'm using is:
http://pastebin.com/559170

Now, when I run gnokii --identify:

GNOKII Version 0.6.8
Gnokii serial_open: tcgetattr: Input/output error
Couldn't open FBUS device: Input/output error
Gnokii serial_open: tcgetattr: Input/output error
Couldn't open FBUS device: Input/output error
Gnokii serial_open: tcgetattr: Input/output error
Couldn't open FBUS device: Input/output error
Telephone interface init failed: Command failed.
Quitting.

pkot on IRC was of the opinion that there is something wrong with the
IR configuration. When I do an lsmod | grep ir:

irport 11936 0
stir4200 13572 0
ircomm_tty 32776 0
ircomm 19588 1 ircomm_tty
irda 159804 4 irport,stir4200,ircomm_tty,ircomm
crc_ccitt 2176 1 irda
usbcore 104188 6 stir4200,usblp,usbhid,ehci_hcd,uhci_hcd

And when I do a ps aux | grep ir:
root 10101 0.0 0.0 1548 500 ? S 15:10 0:00
irattach irda0 -s
root 11786 0.0 0.0 1548 500 ? S 16:45 0:00
irattach irda0 -s
root 14702 0.0 0.0 1548 500 ? S 20:08 0:00
irattach irda0 -s
root 14706 0.0 0.0 0 0 ? R 20:08 0:00 [irda0]
root 14931 0.0 0.0 3068 764 pts/0 R+ 20:22 0:00 grep ir


Now, I don't know what gnokii expects the IR configuration to be. How
do I go about checking whether IR is working fine? Has anyone gotten
gnokii to work with the Sigmatel IrDA dongle? If so, any tips?

Any help whatsoever will be greatly appreciated.

Thanks,
Tarun
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnokii and irda marekjs Linux - Software 0 09-09-2005 04:13 PM
SigmaTel USB-IRDA STIR4210 driver compilation problem on 2.6 qwix Linux - Hardware 0 03-15-2005 02:58 PM
USB-IRDA SigmaTel 6101E has any1 installed it? AVD_ZM Linux - Hardware 0 02-13-2005 05:22 PM
Gnokii and Nokia 6510 christo_lc Linux - Newbie 0 02-02-2005 04:34 PM
usb irda dongle stir4200 driver installation ksuranga Linux - Newbie 6 04-06-2004 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration