Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: FIR dongle on VIA EPIA, Howto get it running ?< Next Oldest | Next Newest >
sixdiamants Offline





Group: Members
Posts: 10
Joined: Mar. 2007
Posted: Jan. 10 2008,22:05 QUOTE

Gents,
I had this kernel module loaded from boot:
Code Sample
dsl@ttyp0[dsls]$ lsmod|grep irda
irda                   90352   0 [via-ircc]

Obviously, DSL took a liking to some hardware on the Epia MB and decided to load the via-ircc module. Haven't got a clue what it does though so I removed it and replaced it by the irda module
included in irda-utils.unc into the kernel,

Code Sample
# rmmod via-ircc
# modprobe irda
# lsmod |grep irda
irda                   90352   0

# setserial /dev/ttyS1
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# modprobe irport
# modprobe irtty

I've got a serial port here:

# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
#irattach /dev/ttyS0 -s
#cat /var/log/messages
...
Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo weksarahdio > /proc/sys/net/irda/devname'
Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Jan 11 04:21:09 weksarahdio user.info irattach: Starting device irda0


But again to no avail !
The dongle is plugged into this 5-pin connector on the motherboard. I suppose that the ttyS0 is the serial port so irattach /dev/ttyS0 is unlikely to receive any packets !
When I deactivate the FIR thingy in Bios, the via-ircc is not loaded which suggests there's a linux-ready device lurking there.
So it would seem that I've got to attach my irda stack to this through this mysterious via-ircc module.
Cheers.


--------------
ce qui se conçoit bien s'énonce clairement
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Jan. 11 2008,06:41 QUOTE

You might want to load more of the irda modules or change the interrupts to match your ir device, maybe this post might help?

You could also try unloading the serial module, loading the FIR module for your device and then connect in FIR mode?
Back to top
Profile PM 
6 replies since Jan. 07 2008,21:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: FIR dongle on VIA EPIA

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code