Francesco | 14 Aug 20:05
Picon

Request for new MCS7784 infrared dongle linux driver - Technical info and datasheet available

I'm a linux user since many years.
I bought a new infrared usb dongle on the internet
and I have been trying to install it on linux (kernel 2.6 and 3.0).

After a full internet search, I found that the 2.4 linux kernel driver,
available from the manufacturer
(moschip.com) under GNU/GPL license, is not updated for new kernels.
I mailed them to ask for a new driver, but unfortunately I didn't receive a
reply.

Since I found that there are many requests about installation of this dongle on
linux (which is still unsupported) and that this peripheral is widely sold on
the internet, I think that it should be of great interest for linux users, and
for me, to have a new driver for kernels 3.0.

Unfortunately I'm not a kernel module developer and, although I do some very
simple programs in C++, I'm not aware of how infrared peripherals work:
I found your very interest site about infrared on linux and, if you are
interested in making a new kernel driver for this peripheral, I'm available to
test it and to provide you with all technical information that may be
"snooped" from my hardware.

If you are interested, feel free to contact me for any information.
Here are a few data about the hardware:

CHIPSET: MCS7784 ("MOSCHIP MCS7784CS-GR" can be read directly on the chipset,
because the case is transparent).

MANUFACTURER: MOSCHIP (formerly known as NETMOS?)
This chipset is not the MCS7780, which is already compatible with linux.
(Continue reading)

Wolfgang Schwotzer | 25 Aug 22:43
Picon

Sending zero bytes on Linux IrDA stack returns error 107

Hi All,

My question is related to a bug in Wine: 
http://bugs.winehq.org/show_bug.cgi?id=19397

The attached source code compiles on Linux (e.g 2.6.32-24/Ubuntu 10.04) 
or Windows (e.g.XP)
It scans for all available LSAP-SELs and sends a zero byte buffer. So it 
should work with
any IrDA device.

On Linux I get the following output:

Detected IrDA device id: 0x8252409f name: 'Polar RS800CX'
Error connecting socket. LSAP-SEL1. Error: 104
....
Error connecting socket. LSAP-SEL65. Error: 104
Sending 0 bytes on IrDA device. LSAP-SEL66. Expected: 0, got: 107
Sending 0 bytes on IrDA device. LSAP-SEL67. Expected: 0, got: 107
Sending 0 bytes on IrDA device. LSAP-SEL68. Expected: 0, got: 107
Error connecting socket. LSAP-SEL69. Error: 104
Error connecting socket. LSAP-SEL70. Error: 104
Error connecting socket. LSAP-SEL71. Error: 113
Error connecting socket. LSAP-SEL72. Error: 113
Error connecting socket. LSAP-SEL73. Error: 104
....
Error connecting socket. LSAP-SEL111. Error: 104
Error connecting socket. LSAP-SEL112. Error: 99
....
Error connecting socket. LSAP-SEL127. Error: 99
(Continue reading)

Jef Driesen | 12 May 15:04
Picon

Simulating IrDa devices

Hi,

I used to have a setup, where I used irattach on two linked pseudo 
terminals (like a virtual nullmodem cable) to simulate an IrDA device. 
To make it work I had a "server" simulator application that listens on 
an IrDA socket and serves some data like my real device would do. Then a 
"client" application would connect to an IrDA socket and communicate 
with the server application.

The pair of pseudo terminals were created with socat:

$socat PTY,raw,echo=0,link=/tmp/ttyS0 PTY,raw,echo=0,link=/tmp/ttyS1

And then I would run irattach on each of the pseudo terminals

$irattach `readlink /tmp/ttyS0`
$irattach `readlink /tmp/ttyS1`

Note that irattach doesn't seem to like the symbolic links, hence the 
readlink.

This used to work fine some time ago, but after a couple of (ubuntu) 
upgrades it doesn't work anymore. As soon as I start up the client 
application, my entire system locks up.

Does anyone knows how to make this work again?

Thanks,

Jef
(Continue reading)

Laurent ROCHE | 21 Jan 19:56
Picon
Favicon

Uwatec Aladin TEC2G

Hello All,

I am trying to connect my dive computer to my laptop ... to no avail so far.

I am using a HP Omnibook 6100 laptop with Ubuntu 9.04.
With the same computer but running Windows I have been able to link to this dive computer and my Palm (CliƩ N770).
I am not interested in using IRDA for the CliƩ (I have enough cables for that) but the only way I can download
info from my dive computer is with IRDA.

I am not sure whether I have every thing right or not to activate IRDA on Linux ? Or whether it's the program to
download the info that's not working ?

Any help will be apreciated,
Cheers,
L <at> u
The Computing Froggy

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Wallner Andreas | 20 Jan 14:55
Picon
Favicon

Access to IrDA PHY Level

Hi,
 
I have to following problem: we buit an IrDA FIR core for a FPGA / ASIC, and we want to verify this core against an interface we know is standard compliant. Since we don't have a full IrDA Stack available ATM, and want to test it layer-by-layer anyway we thought of using one of our notebooks IrDA interfaces.
 
I have no clue about the IrDA implementation on Linux, that why I wanted to ask wheter it is possible to gain access to the IrDA PHY level (the level where you would normally begin to write your IrDA stack and implement IrLAP?
 
Regards,
Andreas Wallner

FH JOANNEUM Gesellschaft mbH
Rechtsform/Legal form: GmbH
Firmenbuchgericht/Court of registry: Landesgericht für ZRS Graz
Firmenbuchnummer/Company registration: FN 125888 f
DVR: 0813559
UID-Nr.: ATU 42361001
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
irda-users mailing list
irda-users@...
http://lists.sourceforge.net/lists/listinfo/irda-users
Roel Kluin | 17 Jan 15:58
Picon
Gravatar

irda: two branches in via_ircc_change_dongle_speed() are the same

in drivers/net/irda/via-ircc.c via_ircc_change_dongle_speed()

dongle_id case 0x0d:
two branches are the same whether `if (IsSIROn(iobase))' is true
or not. how should this be fixed?

Roel

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Roel Kluin | 14 Dec 16:29
Picon
Gravatar

[PATCH] [IRDA]: ensure that index is within bounds in stir421x_patch_device()

Test whether the index is within bounds before testing the element.

Signed-off-by: Roel Kluin <roel.kluin@...>
---
 drivers/net/irda/irda-usb.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index e8e33bb..1b0bd32 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -1124,8 +1124,9 @@ static int stir421x_patch_device(struct irda_usb_cb *self)
                  * The actual image starts after the "STMP" keyword
                  * so forward to the firmware header tag
                  */
-                for (i = 0; (fw->data[i] != STIR421X_PATCH_END_OF_HDR_TAG) &&
-			     (i < fw->size); i++) ;
+		for (i = 0; i < fw->size; i++)
+			if (fw->data[i] == STIR421X_PATCH_END_OF_HDR_TAG)
+				break;
                 /* here we check for the out of buffer case */
                 if ((STIR421X_PATCH_END_OF_HDR_TAG == fw->data[i]) &&
                     (i < STIR421X_PATCH_CODE_OFFSET)) {

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
Dj YB | 11 Dec 00:45
Picon

usb dongle sigmatel stir4200

hello,
I am trying to connect to my phone
right now I can't manage to operate my irda usb dongle

running Fedora 11
Kernel version 2.6.30.9-96.fc11.i686.PAE
package irda-utils.i586  version 0.9.18-7.fc11 installed

if anyone can please point to a simple explanation as to how to make things 
work, I would be greatfull.
thanks.
YB.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
Jed | 1 Oct 09:25
Picon

Re: Linux PC as a wifi to IR bridge?

Thanks, some of the projects I'm looking at no doubt make use of IRNet.

Cheers,
Jed

 > I didn't look at the diagram too carefully, but it is theoretically
 > possible to use IrNET and set up an network interface, and you can
 > route and firewall/filter them around the kernel all you want. It
 > would also be quite simple to run PPP or SLIP over the IR...
 > This is what ActiveSync for Windows Mobile/CE does (or at least always
 > used to). They set up a PPP connection and a hidden network interface.
 > In Linux, it will not be hidden in any way; you can just have the PPP
 > connection between the IR devices and send or tunnel packets (IPIP)..
 > All this routing, tunneling, and iptables (filtering) stuff is covered
 > elsewhere, but the basic idea starts with using IrNET (which uses
 > PPP).
 > Try the irnet(4) manpage to begin with, see if that helps. That
 > discusses the pros of IrNET over tunneling PPP over a IR serial
 > emulation.
 >
 > Good luck,
 > --jkl
>> Hi,
>>
>> Any thoughts/suggestions? T'would be greatly appreciated!
>> This is "roughly" what I have in mind... (see attached .txt)
>>
>> Jed wrote:
>>> Is it possible to turn a Linux based PC into a Wifi <--> IR 
>>> bridge/blaster?
>>> I was hoping I could plug in a 802.11g adapter and a IR transceiver 
>>> and create something like this?
>>>
>>> I want to be able to issue commands from a hand-held via wifi to this 
>>> machine and have it redirect them as IR commands.
>>> It would also be good if this machine could receive IR feedback & 
>>> transmit this data via wifi back to the hand-held.
>>>
>>> Cheers,
>>> Jed

>>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------ 
>>
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and 
>> stay ahead of the curve. Join us from November 9&#45;12, 2009. 
>> Register now&#33;
>> http://p.sf.net/sfu/devconf
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> irda-users mailing list
>> irda-users@...
>> http://lists.sourceforge.net/lists/listinfo/irda-users
>>   
> 
> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
Jed | 29 Sep 05:54
Picon

Linux PC as a wifi to IR bridge?

Is it possible to turn a Linux based PC into a Wifi <--> IR bridge/blaster?
I was hoping I could plug in a 802.11g adapter and a IR transceiver and 
create something like this?

I want to be able to issue commands from a hand-held via wifi to this 
machine and have it redirect them as IR commands.
It would also be good if this machine could receive IR feedback & 
transmit this data via wifi back to the hand-held.

Cheers,
Jed

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
Josu Lazkano | 13 Sep 17:52
Picon

SMC IrCC on Debian

Hello everybody!

I am new on this mail list. I have spend a lot of time searching how to get working my IR device on Debian Lenny.

I have a HP Compaq nx8220 with SMC IrCC chipset. I want to use the IR to connect my mobile phone and to control my computer with a remote (LIRC).

How can I configure it? I must compile the software? Is a Debian way (apt-get install xxx) to do this???

I am new on this, thanks for all and best regards.

--
Josu Lazkano

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
irda-users mailing list
irda-users@...
http://lists.sourceforge.net/lists/listinfo/irda-users

Gmane