gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii on a usb-irda device?


From: Piccoli, Lucio
Subject: gnokii on a usb-irda device?
Date: Fri, 20 Feb 2004 16:29:02 +1000

Hi all,

I am very new gnokii to find my newly installed usb-irda dongle on
kernel 6.2.3. So please bear with me. I can't seem to determine what is
the device identification is of my sigmatel dongle. I simply want to the
port config the .gnokiirc. Currently I have 

port=/dev/ircomm0

But nothing works. 

$ gnokii --identify
GNOKII Version 0.5.8
Couldn't open PHONET device: Resource temporarily unavailable
Telephone interface init failed: Command failed.
Quitting.

What is the device name that I should be using? Any help is appreciated.

I think it might be a problem with my new irda setup. I followed all the
instructions from the 'advanced linux-irda' page. I have pasted all the
steps and the output of them so my process can be diagnosed. 


1) Built a 2.6.3
2) Using the stir4200 v0.2

3) # modprobe uhci-hcd
4) # modprobe irda-usb
5) # irattach irad0 -s
Invalid module name [irad0] !
Usage: irattach <dev> [-d dongle] [-s] [-v] [-h]
       <dev> is tty name, device name or module name


Problem with step 5?

6)Plugin dongle

7) # dmesg
usb 1-1: device not accepting address 2, error -110 usb 1-1: new full
speed USB device using address 3 usb 1-1: new device strings: Mfr=1,
Product=2, SerialNumber=0
drivers/usb/core/message.c: USB device number 3 default language ID
0x409 usb 1-1: Product:  IrDA/USB Bridge usb 1-1: Manufacturer:
Sigmatel Inc
drivers/usb/core/usb.c: usb_hotplug
usb 1-1: registering 1-1:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
irda_init()
NET: Registered protocol family 23
drivers/usb/core/usb.c: registered new driver irda-usb USB IrDA support
registered


8)# modprobe stir4200   // Loaded the sigmatel module
9)# lsmod
Module                  Size  Used by
stir4200               20288  -
irda_usb               17248  -
irda                  179636  -
uhci_hcd               29928  -
autofs                 15168  -
ne2k_pci                9056  -
8390                    9920  -
crc32                   4384  -
parport_pc             24296  -
parport                40672  -


10)# dmesg
stir4200 1-1:1.0: usb_probe_interface
stir4200 1-1:1.0: usb_probe_interface - got id
SigmaTel STIr4200 IRDA/USB found at address 3, Vendor: 66f, Product:
4200
stir_parse_endpoints(), And our endpoints are : in=02, out=01 (64)
IrDA: Registered SigmaTel device irda0
drivers/usb/core/usb.c: registered new driver stir4200
SigmaTel support registered

11)# cat /proc/net/irda/irlap
irlap0 state: LAP_QUERY
  device name: irda0, hardware name: usb#3
  caddr: 0xc2, saddr: 0x2980d739, daddr: 0x000000
  win size: 0, win: 0, line capacity: 0, bytes left: 0
  tx queue len: 0 win queue len: 0 rbusy: FALSE mbusy: TRUE
  retrans: 0 vs: 0 vr: 0 va: 0
  qos   bps     maxtt   dsize   winsize addbofs mintt   ldisc   comp
  tx    9600    0       64      1       12      0       0
  rx    9600    0       64      1       12      0       0

12)# cat /proc/net/irda/discovery
IrLMP: Discovery log:

nickname: Nokia 6610, hint: 0xb125, saddr: 0x2980d739, daddr: 0x0000558a


13# cat /proc/net/irda/discovery
IrLMP: Discovery log:

nickname: Nokia 6610, hint: 0xb125, saddr: 0x2980d739, daddr: 0x0000558a


14)# irdadump
05:18:31.239306 xid:cmd 2980d739 > ffffffff S=6 s=0 (14)
05:18:31.329260 xid:cmd 2980d739 > ffffffff S=6 s=1 (14)
05:18:31.419242 xid:cmd 2980d739 > ffffffff S=6 s=2 (14)
05:18:31.509234 xid:cmd 2980d739 > ffffffff S=6 s=3 (14)
05:18:31.592094 xid:rsp 2980d739 < 0000558a S=6 s=3 Nokia 6610 hint=b125
[ PnP M
odem Fax Telephony IrCOMM IrOBEX ] (27)
05:18:31.599216 xid:cmd 2980d739 > ffffffff S=6 s=4 (14)
05:18:31.689200 xid:cmd 2980d739 > ffffffff S=6 s=5 (14)
05:18:31.779189 xid:cmd 2980d739 > ffffffff S=6 s=* squidproxy hint=0400
[ Compu
ter ] (26)
05:18:34.238834 xid:cmd 2980d739 > ffffffff S=6 s=0 (14)
05:18:34.328802 xid:cmd 2980d739 > ffffffff S=6 s=1 (14)
05:18:34.418786 xid:cmd 2980d739 > ffffffff S=6 s=2 (14)
05:18:34.508778 xid:cmd 2980d739 > ffffffff S=6 s=3 (14)

15)# ifconfig
irda0     Link encap:IrLAP  HWaddr ff:ff:00:00
          UP RUNNING NOARP  MTU:2048  Metric:1
          RX packets:12 errors:51133 dropped:51108 overruns:0 frame:25
          TX packets:1743 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:348 (348.0 b)  TX bytes:27390 (26.7 Kb)


16]# minicom lpic
Device /dev/ircomm0 lock failed: No child processes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]