Alexander Berezovsky | 3 Jul 2005 18:38
Picon

low inet speed using IR-connection over Nokia 6585 (CDMA) & Sigmatel USB dongle

Hi everybody!

Have spent some time on subj & did it, but having big trouble with 
establishing normal speed of internet (that will be my default office 
connection :(

To be more precise I cant get even SIR speed - the only I have its about 10 
kps (in M$ it works fine & give my prepaid 72 kps)

My system - Debian Sarge Official 2005 release. I used different configuration 
made by dpkg-reconfigure irda-utils (serial & native modes), and preloading 
irda-usb module.
As find in google also add  in /etc/modprobe.d/irda-utils
install stir4200 /sbin/modprobe --ignore-install stir4200; \
/sbin/modprobe ircomm-tty; echo 1 > /proc/sys/net/irda/max_tx_window

Also check an advice: setserial -a /dev/ircomm0. When makes connection it 
tells: Baud_base: 115200.

I make connection over kppp & /dev/ircomm0.
My /etc/ppp/options:
asyncmap 0
modem
lcp-echo-failure 0 
lcp-echo-interval 0 
nodetach 
/dev/ircomm0 115200
nocrtscts
noipdefault 
defaultroute 
(Continue reading)

Adrian Bunk | 9 Jul 2005 05:07
Picon

[2.6 patch] net/irda/: possible cleanups

This patch contains the following possible cleanups:
- make the following needlessly global function static:
  - irnet/irnet_ppp.c: irnet_init
- remove the following unneeded EXPORT_SYMBOL's:
  - irlmp.c: sysctl_discovery_timeout
  - irlmp.c: irlmp_reasons
  - irlmp.c: irlmp_dup
  - irqueue.c: hashbin_find_next

Please review which of these changes do make sense and which conflict 
with pending patches.

Signed-off-by: Adrian Bunk <bunk <at> stusta.de>

---

This patch was already sent on:
- 30 May 2005
- 7 May 2005

 net/irda/irlmp.c           |    3 ---
 net/irda/irnet/irnet.h     |    3 ---
 net/irda/irnet/irnet_ppp.c |    2 +-
 net/irda/irqueue.c         |    1 -
 4 files changed, 1 insertion(+), 8 deletions(-)

--- linux-2.6.12-rc3-mm3-full/net/irda/irnet/irnet.h.old	2005-05-05 22:38:59.000000000 +0200
+++ linux-2.6.12-rc3-mm3-full/net/irda/irnet/irnet.h	2005-05-05 22:39:12.000000000 +0200
 <at>  <at>  -517,9 +517,6  <at>  <at> 
 	irda_irnet_init(void);		/* Initialise IrDA part of IrNET */
(Continue reading)

Olaf Hering | 10 Jul 2005 21:35
Picon

[PATCH 26/82] remove linux/version.h from drivers/net/


changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.

remove code for obsolete kernels in acenic, irda, tokenring, typhoon
and wireless.
drivers/net/wan/farsync.c  has fstioc_info->kernelVersion,
according to the comment the content doesnt matter

Signed-off-by: Olaf Hering <olh <at> suse.de>

drivers/net/acenic.c                            |   11 ----
drivers/net/acenic.h                            |    4 -
drivers/net/b44.c                               |    1
drivers/net/dm9000.c                            |    1
drivers/net/gianfar.c                           |    1
drivers/net/gianfar.h                           |    1
drivers/net/gianfar_ethtool.c                   |    1
drivers/net/gianfar_phy.c                       |    1
drivers/net/hp100.c                             |    1
drivers/net/ibmveth.c                           |    1
drivers/net/irda/sir_kthread.c                  |    4 -
drivers/net/irda/vlsi_ir.h                      |   22 --------
drivers/net/iseries_veth.c                      |    1
drivers/net/mac8390.c                           |    1
drivers/net/mv643xx_eth.h                       |    1
drivers/net/ppp_mppe.c                          |    1
drivers/net/s2io.c                              |    1
drivers/net/sk98lin/h/skdrv1st.h                |    3 -
drivers/net/sk_mca.c                            |    1
drivers/net/sk_mca.h                            |    2
(Continue reading)

Olaf Hering | 10 Jul 2005 21:35
Picon

[PATCH 26/82] remove linux/version.h from drivers/net/


changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.

remove code for obsolete kernels in acenic, irda, tokenring, typhoon
and wireless.
drivers/net/wan/farsync.c  has fstioc_info->kernelVersion,
according to the comment the content doesnt matter

Signed-off-by: Olaf Hering <olh <at> suse.de>

drivers/net/acenic.c                            |   11 ----
drivers/net/acenic.h                            |    4 -
drivers/net/b44.c                               |    1
drivers/net/dm9000.c                            |    1
drivers/net/gianfar.c                           |    1
drivers/net/gianfar.h                           |    1
drivers/net/gianfar_ethtool.c                   |    1
drivers/net/gianfar_phy.c                       |    1
drivers/net/hp100.c                             |    1
drivers/net/ibmveth.c                           |    1
drivers/net/irda/sir_kthread.c                  |    4 -
drivers/net/irda/vlsi_ir.h                      |   22 --------
drivers/net/iseries_veth.c                      |    1
drivers/net/mac8390.c                           |    1
drivers/net/mv643xx_eth.h                       |    1
drivers/net/ppp_mppe.c                          |    1
drivers/net/s2io.c                              |    1
drivers/net/sk98lin/h/skdrv1st.h                |    3 -
drivers/net/sk_mca.c                            |    1
drivers/net/sk_mca.h                            |    2
(Continue reading)

Olaf Hering | 10 Jul 2005 21:35
Picon

[PATCH 26/82] remove linux/version.h from drivers/net/


changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.

remove code for obsolete kernels in acenic, irda, tokenring, typhoon
and wireless.
drivers/net/wan/farsync.c  has fstioc_info->kernelVersion,
according to the comment the content doesnt matter

Signed-off-by: Olaf Hering <olh@...>

drivers/net/acenic.c                            |   11 ----
drivers/net/acenic.h                            |    4 -
drivers/net/b44.c                               |    1
drivers/net/dm9000.c                            |    1
drivers/net/gianfar.c                           |    1
drivers/net/gianfar.h                           |    1
drivers/net/gianfar_ethtool.c                   |    1
drivers/net/gianfar_phy.c                       |    1
drivers/net/hp100.c                             |    1
drivers/net/ibmveth.c                           |    1
drivers/net/irda/sir_kthread.c                  |    4 -
drivers/net/irda/vlsi_ir.h                      |   22 --------
drivers/net/iseries_veth.c                      |    1
drivers/net/mac8390.c                           |    1
drivers/net/mv643xx_eth.h                       |    1
drivers/net/ppp_mppe.c                          |    1
drivers/net/s2io.c                              |    1
drivers/net/sk98lin/h/skdrv1st.h                |    3 -
drivers/net/sk_mca.c                            |    1
drivers/net/sk_mca.h                            |    2
(Continue reading)

domen | 7 Jul 2005 23:30

[patch 1/1] sti/cli removal ep7211.c

From: "david.chosrova@..." <david.chosrova@...>

convert sti/cli... usage to accepted locking primitives.

signed-off-by : David chosrova <david.chosrova@...>

---
 ep7211_ir.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

Index: quilt/drivers/net/irda/ep7211_ir.c
===================================================================
--- quilt.orig/drivers/net/irda/ep7211_ir.c
+++ quilt/drivers/net/irda/ep7211_ir.c
 <at>  <at>  -8,12 +8,14  <at>  <at> 
 #include <linux/delay.h>
 #include <linux/tty.h>
 #include <linux/init.h>
+#include <linux/spinlock.h>

 #include <net/irda/irda.h>
 #include <net/irda/irda_device.h>

 #include <asm/io.h>
 #include <asm/hardware.h>
+ 

 #define MIN_DELAY 25      /* 15 us, but wait a little more to be sure */
 #define MAX_DELAY 10000   /* 1 ms */
 <at>  <at>  -22,7 +24,7  <at>  <at>  static void ep7211_ir_open(dongle_t *sel
(Continue reading)

Stephen Hemminger | 11 Jul 2005 19:13
X-Face

Re: [patch 1/2] net/stir4200: replace direct assignment with set_current_state()

On Mon, 20 Jun 2005 23:53:22 +0200
domen@... wrote:

> From: Nishanth Aravamudan <nacc@...>
> 
> 
> 
> Use set_current_state() instead of direct assignment of
> current->state.
> 
> Signed-off-by: Nishanth Aravamudan <nacc@...>
> Signed-off-by: Maximilian Attems <janitor@...>
> Signed-off-by: Domen Puncer <domen@...>
> ---
>  stir4200.c |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> Index: quilt/drivers/net/irda/stir4200.c
> ===================================================================
> --- quilt.orig/drivers/net/irda/stir4200.c
> +++ quilt/drivers/net/irda/stir4200.c
>  <at>  <at>  -679,7 +679,7  <at>  <at>  static void turnaround_delay(const struc
>  
>  	ticks = us / (1000000 / HZ);
>  	if (ticks > 0) {
> -		current->state = TASK_INTERRUPTIBLE;
> +		set_current_state(TASK_INTERRUPTIBLE);
>  		schedule_timeout(1 + ticks);
>  	} else
>  		udelay(us);
(Continue reading)

Jack Oneill | 13 Jul 2005 20:50
Picon

!!! IrWave 520UK/US not working !!!!

Hi!

I buy this infrared adapter because of my new cell phone ( simens CV65
) and it's work fine with windows but I can't use it with linux ( deb
2.6.12.2 ).

I read some howtos faqs etc but no matter what i trying to do it's
damn thing don't work :[

I see the device but I can't do something with that:

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=9710 ProdID=7780 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

If I plug in I see:

kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
kernel: uhci_hcd 0000:02:07.0: port 2 portsc 0093,00
kernel: hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
kernel: hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
kernel: usb 1-2: new full speed USB device using uhci_hcd and address 4
kernel: usb 1-2: ep0 maxpacket = 8
kernel: usb 1-2: new device strings: Mfr=0, Product=0, SerialNumber=0
kernel: usb 1-2: adding 1-2:1.0 (config #1, interface 0)
kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
(Continue reading)

Stephen Hemminger | 14 Jul 2005 16:52

Re: [patch 1/2] net/stir4200: replace direct assignment with set_current_state()

Domen Puncer wrote:

>On 11/07/05 10:13 -0700, Stephen Hemminger wrote:
>  
>
>>On Mon, 20 Jun 2005 23:53:22 +0200
>>domen@... wrote:
>>
>>    
>>
>>>From: Nishanth Aravamudan <nacc@...>
>>>
>>>
>>>
>>>Use set_current_state() instead of direct assignment of
>>>current->state.
>>>
>>>Signed-off-by: Nishanth Aravamudan <nacc@...>
>>>Signed-off-by: Maximilian Attems <janitor@...>
>>>Signed-off-by: Domen Puncer <domen@...>
>>>      
>>>
>
>  
>
>>>--- quilt.orig/drivers/net/irda/stir4200.c
>>>+++ quilt/drivers/net/irda/stir4200.c
>>> <at>  <at>  -679,7 +679,7  <at>  <at>  static void turnaround_delay(const struc
>>> 
>>> 	ticks = us / (1000000 / HZ);
(Continue reading)

Domen Puncer | 13 Jul 2005 11:59

Re: [patch 1/2] net/stir4200: replace direct assignment with set_current_state()

On 11/07/05 10:13 -0700, Stephen Hemminger wrote:
> On Mon, 20 Jun 2005 23:53:22 +0200
> domen@... wrote:
> 
> > From: Nishanth Aravamudan <nacc@...>
> > 
> > 
> > 
> > Use set_current_state() instead of direct assignment of
> > current->state.
> > 
> > Signed-off-by: Nishanth Aravamudan <nacc@...>
> > Signed-off-by: Maximilian Attems <janitor@...>
> > Signed-off-by: Domen Puncer <domen@...>

> > --- quilt.orig/drivers/net/irda/stir4200.c
> > +++ quilt/drivers/net/irda/stir4200.c
> >  <at>  <at>  -679,7 +679,7  <at>  <at>  static void turnaround_delay(const struc
> >  
> >  	ticks = us / (1000000 / HZ);
> >  	if (ticks > 0) {
> > -		current->state = TASK_INTERRUPTIBLE;
> > +		set_current_state(TASK_INTERRUPTIBLE);
> >  		schedule_timeout(1 + ticks);
> >  	} else
> >  		udelay(us);
> > 
> 
> I bet this could be changed to msleep_interruptible

(Continue reading)


Gmane