LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-06-2006, 04:54 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
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.
 
Old 03-06-2006, 07:45 AM   #2
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
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.
 
Old 03-06-2006, 11:11 AM   #3
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.

Last edited by Swift&Smart; 03-06-2006 at 11:15 AM.
 
Old 03-06-2006, 11:18 PM   #4
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 03-06-2006, 11:49 PM   #5
migs
LQ Newbie
 
Registered: Nov 2005
Location: Manila, Philippines
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
what shows up with dmesg after you plug in your ir dongle? it *should* have gotten assigned a device node.
 
Old 03-07-2006, 12:11 AM   #6
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 03-08-2006, 01:05 AM   #7
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
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
 
Old 03-08-2006, 02:30 AM   #8
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 03-08-2006, 07:46 AM   #9
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
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
 
Old 03-08-2006, 09:12 AM   #10
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 03-08-2006, 11:03 PM   #11
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
synapse,It didn't work.

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.
 
Old 03-10-2006, 08:45 AM   #12
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Anyone,would you mind dropping me a line if you know how to fix it?Thanks.
 
  


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
usb to ethernet dongle jocool5 Linux - Hardware 1 08-23-2005 02:46 PM
usb bluetooth dongle zbrox Linux - Hardware 1 04-28-2005 04:09 AM
trying to set up bluetooth USB dongle...please help! xanderd Linux - Newbie 2 12-03-2004 06:35 PM
usb irda dongle stir4200 driver installation ksuranga Linux - Newbie 6 04-06-2004 07:25 AM
Bluetooth USB Dongle vivekiyer Linux - Software 0 08-22-2003 06:36 AM


All times are GMT -5. The time now is 03: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration