I've already emailed this attached patch to Dag and hopefully will appear in
the next release, but if anyone else is struggling with the GIrBIL dongle,
this patch got it working for me.
Built against kernel 2.2.16pre2, but should work with 2.2.15.
-- Michael "Soruk" McConnell [Eridani Linux 6.2 available]
Eridani Linux -- The Most Up-to-Date Red Hat-based Linux CDROMs Available
Email: [EMAIL PROTECTED] http://www.eridani.co.uk Fax: +44-8701-600807
"No. 'Eureka' is Greek for 'This bath is too hot.'" - Dr Who.
#
# For some reason MSECS_TO_JIFFIES(10) on my system makes it fail to
# initialise, the old value of 20 in the 2.2.14 driver works fine.
# Interestingly, using 10 on my i486 laptop works....
#
# Michael McConnell ([EMAIL PROTECTED]) 9 May 2000
#############################################################################
--- linux/drivers/net/irda/girbil.c.orig Tue May 9 22:36:49 2000
+++ linux/drivers/net/irda/girbil.c Tue May 9 22:38:58 2000
@@ -201,13 +201,13 @@
self->set_dtr_rts(self->dev, TRUE, FALSE);
irda_task_next_state(task, IRDA_TASK_WAIT1);
/* Sleep at least 5 ms */
- ret = MSECS_TO_JIFFIES(10);
+ ret = MSECS_TO_JIFFIES(20);
break;
case IRDA_TASK_WAIT1:
/* Set DTR and clear RTS to enter command mode */
self->set_dtr_rts(self->dev, FALSE, TRUE);
irda_task_next_state(task, IRDA_TASK_WAIT2);
- ret = MSECS_TO_JIFFIES(10);
+ ret = MSECS_TO_JIFFIES(20);
break;
case IRDA_TASK_WAIT2:
/* Write control byte */