public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] pand + socket filtering on zaurus
@ 2004-05-25 15:31 Kutschenreuter Matthias
  2004-05-25 15:48 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Kutschenreuter Matthias @ 2004-05-25 15:31 UTC (permalink / raw)
  To: 'Bluez-devel@lists.sourceforge.net'

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

Hi,
 
I am running bluez / bnep / pan on a zaurus; it works fine.
 
But thenI needed to change my kernel (zImage) to get some other software
running: 
I had to build in the Socket Filtering    (make menuconfig: Networking
Options -> Socket Filtering).
This was the only change I did to the kernel.
 
With the new kernel, pand has some problems: I can "pand -s" ( remote
station does "pand -c <MAC>").
They can ping. but when the connection is terminated ("pand -K"), no matter
from which station,
the zaurus gets frozen. I have to reboot the zaurus.
Also, I cannot "pand -c <MAC>" from the zaurus side, which works fine
without the "Socket Filtering" .
 
This problem occurs only on zaurus. On my desktop the Socket Filtering
doesnt interfere with pand.
But there, I have a completely different kernel (2.4.19) than on zaurus
(2.4.6), with a different set of 
kernel build-ins
Does anybody know, whether "Socket Filtering" requires or forbids some other
kernel build-ins, 
in order to work with pand ?
 
Any comments on this are welcome. Thanks, Matthias
 
 
 
 
 
 

[-- Attachment #2: Type: text/html, Size: 3876 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
  2004-05-25 15:31 Kutschenreuter Matthias
@ 2004-05-25 15:48 ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-05-25 15:48 UTC (permalink / raw)
  To: Kutschenreuter Matthias; +Cc: 'Bluez-devel@lists.sourceforge.net'

Hi Matthias,

> I am running bluez / bnep / pan on a zaurus; it works fine.
>  
> But thenI needed to change my kernel (zImage) to get some other
> software running: 
> I had to build in the Socket Filtering    (make menuconfig: Networking
> Options -> Socket Filtering).
> This was the only change I did to the kernel.
>  
> With the new kernel, pand has some problems: I can "pand -s" ( remote
> station does "pand -c <MAC>").
> They can ping. but when the connection is terminated ("pand -K"), no
> matter from which station,
> the zaurus gets frozen. I have to reboot the zaurus.
> Also, I cannot "pand -c <MAC>" from the zaurus side, which works fine
> without the "Socket Filtering" .
>  
> This problem occurs only on zaurus. On my desktop the Socket Filtering
> doesnt interfere with pand.
> But there, I have a completely different kernel (2.4.19) than on
> zaurus (2.4.6), with a different set of 
> kernel build-ins
> Does anybody know, whether "Socket Filtering" requires or forbids some
> other kernel build-ins, 
> in order to work with pand ?

you now that we are already at Linux kernel 2.6.6 ;) The 2.4.6 is so old
that I can't even tell you, if there are problems with your combination.
I stopped testing BNEP with 2.4.18 and you should take an iPAQ with
2.4.19 to check if your combination is there working, too. Maybe it is
an ARM related problem.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] <AFE91B59A185A5439840B43AB7919047093974@mchp997a.mch.sbs.de>
@ 2004-05-26 10:00 ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-05-26 10:00 UTC (permalink / raw)
  To: Kutschenreuter Matthias; +Cc: 'Bluez-devel@lists.sourceforge.net'

Hi Matthias,

> > you now that we are already at Linux kernel 2.6.6 ;) The 
> > 2.4.6 is so old that I can't even tell you, if there are 
> > problems with your combination. I stopped testing BNEP with 
> > 2.4.18 and you should take an iPAQ with 2.4.19 to check if 
> > your combination is there working, too. Maybe it is an ARM 
> > related problem.
> 
> yeah. I hate my zaurus 2.4.6 kernel, too. do you know what the
> latest linux kernel for zaurus is (and where to get the sources) ?
> on the other hand, the latest linux kernels have also their disadvantages,
> I read about the problems with the linux bridge few weeks ago.

you can take a look at www.openzaurus.org and I think they go with
2.4.21, but I don't know what version of -mh patch they include.

The bridge problem you read about has been fixed.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] <AFE91B59A185A5439840B43AB7919047093983@mchp997a.mch.sbs.de>
@ 2004-06-01 14:53 ` Marcel Holtmann
       [not found] ` <1086101397.2777.597.camel@baroque.rococosoft.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-06-01 14:53 UTC (permalink / raw)
  To: Kutschenreuter Matthias; +Cc: 'Bluez-devel@lists.sourceforge.net'

Hi Matthias,

> I found out, that the latest supported zaurus kernel for collie is 2.4.18 .
> So I want to try this one. 
> When I want to load l2cap.o after installing "bluez-zaurus_2.3b_arm.ipk",
> it says: kernel-module version mismatch l2cap.o was compiled for kernel
> 2.4.6...
> while this kernel is 2.4.18...

but even 2.3b was bluez-kernel-2.3 and this is outdated and deprecated.

> So, is there any   "bluez-zaurus....ipk" compiled for 2.4.18 
> and where can I download it ?

I don't know and I also don't know why they not include 2.4.18-mh17 to
get an up-to-date Bluetooth subsystem.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] ` <1086101397.2777.597.camel@baroque.rococosoft.com>
@ 2004-06-01 14:56   ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-06-01 14:56 UTC (permalink / raw)
  To: Stephen Crane
  Cc: Kutschenreuter Matthias,
	'Bluez-devel@lists.sourceforge.net'

Hi Stephen,

> Unless Edd has built a package of modules for this kernel, the most
> recent .ipk I know of is at Xavier Garreau's site:
> 
> http://fichiers.xgarreau.org/zaurus/bluez_2.4.18-mh8_arm.ipk
> 
> Note that this is from last August and a lot of bugs have been fixed
> since then but this should get you started.

oops. The last is -mh17 ;)

> Marcel, can we remove the bluez-zaurus_2.3b from the Sourceforge site?
> It causes too much confusion.

Actually I don't own a Zaurus. How should we proceed we our Zaurus
support? Looks like the job for a package maintainer is open.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] ` <1086193144.7888.694.camel@baroque.rococosoft.com>
@ 2004-06-03 10:36   ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-06-03 10:36 UTC (permalink / raw)
  To: Stephen Crane
  Cc: Kutschenreuter Matthias,
	'Bluez-devel@lists.sourceforge.net'

Hi Stephen,

> Also, Marcel: I've attached a couple of scripts which generate these
> .ipks. You might want to put them under CVS too. They're pretty rough:
> they probably should be generated from configure for versioning
> purposes.

actually I really want someone who cares about Zaurus or iPAQ packages
of the BlueZ library and utilities. A nice howto to compile them by your
own would also be nice. Anyone?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] <AFE91B59A185A5439840B43AB7919047093989@mchp997a.mch.sbs.de>
@ 2004-06-03 15:32 ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-06-03 15:32 UTC (permalink / raw)
  To: Kutschenreuter Matthias
  Cc: Stephen Crane, 'Bluez-devel@lists.sourceforge.net'

Hi Matthias,

> OK, I got the ROM 3.10 and installed the latest bluez-2.4.18...ipk
> sucessfully. Then, I do NOT enter a BT CF Card, which I assume would wrok
> perfectly, but I connect a BT Chip using a serial cable instead. 
> # modprobe l2cap
> # modprobe hci_uart
> # hciattach /dev/ttyS0 any 115200 flow
> fails ---->  "Can't set device: Protocol not support"
> no matter whether I am using the hciattach kindly sended 
> by Steve or the one that I cross compiled myself, the answer is always the
> same. 

this problem occurs when hciattach will set the device mode (H4 or BCSP)
and I suspect your hci_uart is very old. In the beginning there was no
switch needed, but it also only supported H4. Maybe it is enough to
erase the ioctl(HCIUARTSETPROTO), but using a too old BlueZ stack is not
a good idea.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-devel] pand + socket filtering on zaurus
       [not found] <AFE91B59A185A5439840B43AB791904709398A@mchp997a.mch.sbs.de>
@ 2004-06-03 16:16 ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-06-03 16:16 UTC (permalink / raw)
  To: Kutschenreuter Matthias
  Cc: Stephen Crane, 'Bluez-devel@lists.sourceforge.net'

Hi Matthias,

> I tried this. The error message isnt shown anymore, of course, and using
> lsmod 
> I can see that hci_uart is used once now, but I am still not attached:
> hciconfig shows nothing.

what does dmesg when you load hci_uart? It should show its version
number. Or try "modinfo hci_uart"

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-03 16:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AFE91B59A185A5439840B43AB7919047093974@mchp997a.mch.sbs.de>
2004-05-26 10:00 ` [Bluez-devel] pand + socket filtering on zaurus Marcel Holtmann
     [not found] <AFE91B59A185A5439840B43AB791904709398A@mchp997a.mch.sbs.de>
2004-06-03 16:16 ` Marcel Holtmann
     [not found] <AFE91B59A185A5439840B43AB7919047093989@mchp997a.mch.sbs.de>
2004-06-03 15:32 ` Marcel Holtmann
2004-06-02 15:51 AW: AW: AW: AW: " Kutschenreuter Matthias
     [not found] ` <1086193144.7888.694.camel@baroque.rococosoft.com>
2004-06-03 10:36   ` Marcel Holtmann
     [not found] <AFE91B59A185A5439840B43AB7919047093983@mchp997a.mch.sbs.de>
2004-06-01 14:53 ` Marcel Holtmann
     [not found] ` <1086101397.2777.597.camel@baroque.rococosoft.com>
2004-06-01 14:56   ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-05-25 15:31 Kutschenreuter Matthias
2004-05-25 15:48 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox