LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-09-2005, 05:32 PM   #1
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
USB IRDA will not work


I've got an IRDA dongle that plugs into a USB port. I've found no particularly helpful guides on getting these things set up, so I'm pretty much winging it. It's getting frustrating tho, because at least SOMETHING should be working by now.

When I plug it in, dmesg shows:
Code:
usb 1-1.4: new low speed USB device using ehci_hcd and address 5
usb 1-1.4: skipped 1 descriptor after interface
usb 1-1.4: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.4: default language 0x0409
usb 1-1.4: Product: USB  to  IRDA
usb 1-1.4: Manufacturer: Kingsun Semiconductor
usb 1-1.4: hotplug
usb 1-1.4: adding 1-1.4:1.0 (config #1, interface 0)
usb 1-1.4:1.0: hotplug
So it's being detected as a USB device, at least.

lsmod shows
Code:
Module                  Size  Used by
w83l785ts               5716  0 
asb100                 21908  0 
i2c_sensor              2944  2 w83l785ts,asb100
irda                  186556  0 
crc_ccitt               1728  1 irda
snd_intel8x0           28800  0 
snd_ac97_codec         74040  1 snd_intel8x0
i2c_nforce2             5504  0 
i2c_core               18512  4 w83l785ts,asb100,i2c_sensor,i2c_nforce2
nvidia               3464956  12
So it's got kernel modules for running IRDA loaded up.

And udevinfo detects this:
Code:
udevinfo -a -p /sys/bus/usb/devices/1-1.4/

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at class device '/sys/bus/usb/devices/1-1.4':
    SUBSYSTEM=="unknown"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bMaxPower}=="100mA"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bNumInterfaces}==" 1"
    SYSFS{bcdDevice}=="0000"
    SYSFS{bmAttributes}=="80"
    SYSFS{configuration}=="USB  to  IRDA"
    SYSFS{detach_state}=="0"
    SYSFS{devnum}=="5"
    SYSFS{idProduct}=="4108"
    SYSFS{idVendor}=="07d0"
    SYSFS{manufacturer}=="Kingsun Semiconductor"
    SYSFS{maxchild}=="0"
    SYSFS{product}=="USB  to  IRDA"
    SYSFS{speed}=="1.5"
    SYSFS{version}==" 1.10"
so it's detectable hardware as far as udev is concerned.

All sounds pretty hopeful so far, eh?

Well, there's nothing at all created by udev in /dev that I can try to work with. Even when I put in a specific rule for this bit of hardware
Code:
SYSFS{idProduct}="4108", NAME="irda"
it won't create anything. Which baffles me: If udevinfo can find it, surely udev should create the node for it?

I've got no idea where to go from here. I can't think of anything else to try. The kernel support seems to be in place, the device is detected, udev's rules should make a node for it, and yet I have nothing to work with.

Please, make some suggestions!
 
Old 09-16-2005, 11:05 AM   #2
zieloo
LQ Newbie
 
Registered: Sep 2005
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Bump!
I have a similar problem... NOt only the device name/manufacturer is the same but also udev does not create nodes for irda so I cannot use it...
Nobody with some experience?
 
Old 03-07-2006, 08:41 AM   #3
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Sorry,maybe I am a bit late.But I have a similar experience as you guys.

I bought a USB IRDA dongle (which is very cheap,and not a famous brand name[Connectland]).The linux box detected this USB device saying like IrDA USB registered...Also,this device was not being assigned a device name like irda0.

Really frustrated.
 
Old 03-07-2006, 09:23 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
You need additional modules built into the kernel as well as a module for the devices chipset. I have a dongle with a SigmaTel chipset, so I rebuilt my kernel enabling irlan, irnet, ircomm, irtty, usb_irda and sigmatel_fir.
 
Old 03-07-2006, 09:30 AM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
dracolich,I've built every single one which you mentioned to include in my kernel.However,my IRDA USB Dongle is not sigmatel.I don't even know what that da*n thing is.I just know its brand name is "ConnectLand".

So,how can I know what chipset my usb irda dongle is?
 
Old 03-07-2006, 10:15 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Ok, that's good. With the dongle plugged in, use the lsusb command and it should give you some information about it. That's how I found out what mine is. If you're lucky it'll be a compatible one.
At this point you should be able to modprobe ircomm-tty and get a set of /dev/ircomm device nodes. Keep in mind they won't do anything if the device isn't up.
If it's going to work, and you need irdautils for this, you should be able to:

/usr/sbin/irattach irda0 -s

then

/sbin/ifconfig irda0 up

I hope this helps.
 
Old 03-07-2006, 10:41 AM   #7
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
When I type lsusb:
Bus 002 Device 002: ID 04b4:ec01 Cypress Semiconductor Corp.
Bus 001 Device 002: ID 0e55:110a Speed Dragon Multimedia,Ltd
Bus 001 Device 001: ID 0000:0000

The "Speed Dragon Multimedia,Ltd" is my USB IrDA dongle after test.

Am I "un"-lucky?
 
Old 03-07-2006, 01:31 PM   #8
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
a little Googling for "speed dragon infrared" provides some hope. From what I see they make two types of dongles, FIR and SIR. The FIR (slower) uses either the Sigmatel or Moschip chip, depending on the model number. The SIR (faster) uses only the Moschip. I found no evidence of Linux support for Moschip but you might be lucky enough to have the SigTel version. Check these links and compare yours to the information:

FIR:
http://www.speeddragon.com/en/produc.../06/index.html

SIR:
http://www.speeddragon.com/en/produc.../05/index.html

If you got the SigTel, you'll just need to build the stir4200 kernel module.
 
Old 03-07-2006, 09:10 PM   #9
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
dracolich,thanks for your great help.

Unfortunately,my USB IRDA dongle is SIR.So....

It's quite stupid to buy a new one.
 
Old 06-15-2006, 06:06 PM   #10
netsurf
Member
 
Registered: Nov 2004
Location: UK
Distribution: ubuntu 10.04+ distro hopping
Posts: 181

Rep: Reputation: 31
hey guys i have been doing alot of research for my moschip irda usb device which uses the 7780 chipset
there are only closed source drivers here but they should atleast be useful to someone
http://www.moschip.com/html/download_drivers.html
and there is another http://web.cecs.pdx.edu/~bpugh/mcs7780.html

i am having huge problems with compiling them for suse 10.1 but maybe you will have more luck
 
  


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
IRDA USB Siemens Soqool Debian 1 01-15-2006 01:09 PM
USB 2 IrDA convertor? bitnet Linux - Laptop and Netbook 0 11-26-2005 12:36 PM
can i lirc with usb irDA ...? mab_123 Linux - Software 2 06-02-2005 03:10 PM
Mandriva and usb IRDA xamenos Mandriva 0 05-06-2005 05:36 PM
usb irda adaptor netsurf Linux - Hardware 0 01-14-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:24 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