LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   IrDA USB Dongle (https://www.linuxquestions.org/questions/slackware-14/irda-usb-dongle-422085/)

Swift&Smart 03-06-2006 03:54 AM

IrDA USB Dongle
 
Hello,everyone.:)

I bought a new IrDA USB Dongle(Brand name:ConnectLand).I did enable appropriate IrDA modules in my kernel,which is 2.6.15.5.According to the dmesg,it was detected with some message like IrDA registered.However,it didn't assign a name like irda0 in my /dev directory.Is it fine?Or do you guys have any experience on this?Please drop me a line if you have.

Thanks.:)

synapse 03-06-2006 06:45 AM

Hi

check if you have the irda devices in the dev dir

ls -la /dev/ir*

if not do a makedev ir*

thish should create the irda devices for you.

do lsmod and see if the driver has registered

try irattach irda0

then ifconfig irda0 up

ifconfig irda0

and see if your device is up and running.

Im also trying here so the advice may not be to good, at the moment i can get my irda
to pick up what is coming in from my phone.

Thing is when i do a ifconfig irda0 it has a hardware address of 00:00:00:00 which is messing with my communication as i cannot name the device so that i can send stuff out of it.

Swift&Smart 03-06-2006 10:11 AM

synapse,thanks for your reply,indeed.:)

After issuing ls -la /dev/ir*:
crw-rw---- 1 root tty 161, 0 2006-03-05 14:19 /dev/ircomm0
...................................................ircomm1
...................................................ircomm2
..................................................ircomm10-20

After issuing if not do a makedev ir*:
bash: makedev: command not found

do lsmod and see if the driver has registered:

Indeed,I have compiled irda-usb,irda-tty and related things in the kernel.

Quote:

try irattach irda0
then ifconfig irda0 up
ifconfig irda0
Because irda0 is not found,so these commands couldn't be issued.

Quote:

at the moment i can get my irda
to pick up what is coming in from my phone.
It's fun!That's why I want to get IrDA up and running.

Swift&Smart 03-06-2006 10:18 PM

synapse,I discovered that it was detected by the "USB".

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.

However,it's not assigned with the device name like irda0 or something.Please drop me a line if you/you guys have any suggestions.

Thanks a million.:)

migs 03-06-2006 10:49 PM

what shows up with dmesg after you plug in your ir dongle? it *should* have gotten assigned a device node.

Swift&Smart 03-06-2006 11:11 PM

migs,no,really.Nothing appeared regarding the assigned name of irda usb dongle.

What I've got when I grep irda/IrDA from dmesg:

irda_init()
usbcore: registered new driver irda-usb
irtty_open-ircomm0: irda line discipline opened
USB IrDA support registered

That's all.Thanks.

synapse 03-08-2006 12:05 AM

Hi Swift

can you post your lsmod output.

I had an error last in last post you have to cd into /dev
then type
./MAKEDEV (<<< just in case for future refs)
also try modprobe irda-usb
or modprobe irda_usb

did you at least try the irattatch irda0, because this calls on the
module and it should automatically modprobe for the correct modules and modprobe them
(the above is what i can gather)

Thanx

Swift&Smart 03-08-2006 01:30 AM

synapse,thanks for your reply.

I am not at home right now so I cannot issue those commands.However,I think the problem lies on the driver.Indeed,my linux box detected a USB device.The driver of this device is not found,though.Furthermore,there are no any evidents in dmesg which said my device has been detected as a device name.

Quote:

./MAKEDEV (<<< just in case for future refs)
I will issue this command tonight.

Quote:

also try modprobe irda-usb
or modprobe irda_usb
These modules have been built in my kernel as I need them anyway.

Quote:

did you at least try the irattatch irda0, because this calls on the
module and it should automatically modprobe for the correct modules and modprobe them
(the above is what i can gather)
I've tried.After that,I naturally try ifconfig irda0 and it's up.However,irdadump returns nothing,which I think it doesn't detect any device in range although I turned on the IRDA of my mobile phone.

synapse 03-08-2006 06:46 AM

ok Swift

Also another thing dont just turn the phone on try sending a pic via infared, as irdadump does nothing but detec my computer until i send something from the phone, then i get more mesages appearing that the phone is trying to communicate.

cheers

Swift&Smart 03-08-2006 08:12 AM

synapse,my mobile phone is from ancient time-Nokia 8210.So,I have no picture to send.:)

Anyway,I will try my best effort to get it up and running.I don't want to spend another 14 dollars to buy a new one.It just doesn't make any sense.

Swift&Smart 03-08-2006 10:03 PM

synapse,It didn't work.:mad:

The root of the problem is,the device doesn't even get a device name after detected by the linux box.Yeah,it was detected by the linux box's usb as a device,but no device name.So,if you "irattach",it just doesn't attach the device which doesn't exist.

Linux doesn't support IrDA USB dongle very much.There are only few drivers for dongles.:confused:

Swift&Smart 03-10-2006 07:45 AM

Anyone,would you mind dropping me a line if you know how to fix it?Thanks.:)


All times are GMT -5. The time now is 10:07 PM.