2004-07-17 08:58:59

by Marcel Holtmann

[permalink] [raw]
Subject: [Bluez-devel] HIDP backport for 2.4

Hi Folks,

attached is a backport patch of the HIDP support from 2.6.8-rc1 for the
2.4 kernel series. I didn't tested this patch with any of my systems. I
only know that it compiles clean. So test this with the hidd daemon from
the bluez-utils-2.8 package.

Regards

Marcel


Attachments:
patch (29.62 kB)

2004-07-27 15:24:07

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> root@(none):/usr/bin# hcitool inq
> Inquiring ...
> 00:02:72:40:8A:97 clock offset: 0x4a58 class: 0x002540

the subclass value is 0x40 which means that this is only a keyboard. The
problem can be that they really only support the keyboard in boot mode
or that they simply set the subclass value wrong. If the kernel things
that this is only a keyboard it don't creates a mouse device. Try this
patch for the hidd to tell the kernel it is also a mouse:

RCS file: /cvsroot/bluez/utils/hidd/sdp.c,v
retrieving revision 1.4
diff -u -r1.4 sdp.c
--- hidd/sdp.c 4 Jul 2004 15:41:53 -0000 1.4
+++ hidd/sdp.c 27 Jul 2004 15:17:34 -0000
@@ -126,6 +126,7 @@

pdlist = sdp_data_get(rec, 0x0202);
req->subclass = pdlist ? pdlist->val.uint8 : 0;
+ req->subclass = 0x40 | 0x80;

pdlist = sdp_data_get(rec, 0x0203);
req->country = pdlist ? pdlist->val.uint8 : 0;

To check what is really going on run "hcidump -x" as root and use the
mouse.

Do you ever checked if 2.6.7-mh2 is working for you?

> The website is http://www.bluelogic.co.kr/main_eng.php

Will anyone buy one of these for me so I get one for testing?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-27 15:14:32

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4



On Jul 27, 2004, at 11:01 AM, Marcel Holtmann wrote:

> Hi Michael,
>
>>> at the end of hidp_input_report() and see if this helps out for your
>>> keyboard and mouse problems. What do "hidd -l" say after you have
>>> connected the devices? What devices do you use?
>>
>> root@(none):~# hidd -l
>> 00:02:72:40:8A:97 HID Boot Device [0000:0000] connected
>>
>> I am using a Keyboard with integrated mouse. So I guess it is
>> technically one device. The mouse is a track ball embedded in the
>> keyboard. The keyboard is made by BlueLogic.
>
> you should have said this earlier. Do you have a website for me? I need
> more information about this device. Please use sdptest from libs2 CVS
> repository to get the SDP record.
>
> ./sdptest records 00:xx:xx:xx:xx:xx > sdp_record.txt
>
> Send me that file. I also need the information from "hcitool inq" and
> from "hcitool info" for that device.
>
> Regards
>
> Marcel
>


Attachments:
sdp_records.txt (1.96 kB)

2004-07-27 15:01:56

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> > at the end of hidp_input_report() and see if this helps out for your
> > keyboard and mouse problems. What do "hidd -l" say after you have
> > connected the devices? What devices do you use?
>
> root@(none):~# hidd -l
> 00:02:72:40:8A:97 HID Boot Device [0000:0000] connected
>
> I am using a Keyboard with integrated mouse. So I guess it is
> technically one device. The mouse is a track ball embedded in the
> keyboard. The keyboard is made by BlueLogic.

you should have said this earlier. Do you have a website for me? I need
more information about this device. Please use sdptest from libs2 CVS
repository to get the SDP record.

./sdptest records 00:xx:xx:xx:xx:xx > sdp_record.txt

Send me that file. I also need the information from "hcitool inq" and
from "hcitool info" for that device.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-27 14:53:07

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4


On Jul 27, 2004, at 4:18 AM, Marcel Holtmann wrote:

> Hi Michael,
>
>> ok, got it working. However -- when typing fast on my keyboard I get
>> incorrect characters. This does not happen when using bthid. Also,
>> my mouse does not work, where using bthid it does.
>
> try to add
>
> input_event(dev, EV_RST, 0, 0);
This seems to help with the incorrect characters. But still no mouse.

>
> at the end of hidp_input_report() and see if this helps out for your
> keyboard and mouse problems. What do "hidd -l" say after you have
> connected the devices? What devices do you use?

root@(none):~# hidd -l
00:02:72:40:8A:97 HID Boot Device [0000:0000] connected

I am using a Keyboard with integrated mouse. So I guess it is
technically one device. The mouse is a track ball embedded in the
keyboard. The keyboard is made by BlueLogic.

Michael
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-27 08:18:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> ok, got it working. However -- when typing fast on my keyboard I get
> incorrect characters. This does not happen when using bthid. Also,
> my mouse does not work, where using bthid it does.

try to add

input_event(dev, EV_RST, 0, 0);

at the end of hidp_input_report() and see if this helps out for your
keyboard and mouse problems. What do "hidd -l" say after you have
connected the devices? What devices do you use?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-27 00:31:26

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

ok, got it working. However -- when typing fast on my keyboard I get
incorrect characters. This does not happen when using bthid. Also,
my mouse does not work, where using bthid it does.

How should I go about debugging this?

Michael

On Jul 26, 2004, at 5:01 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> Thanks for the help. However I do not have sockfd_lookup() in
>> net/bluetooth/bnep/core.c
>
> it should be present in any 2.4.20 kernel.
>
>> Am I that out of date? Is there a more recent patch I should apply?
>
> Your kernel is out of date, because I made the patch against the latest
> 2.4.27-rc3. Take another kernel source and simply copy that function.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-26 21:01:19

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> Thanks for the help. However I do not have sockfd_lookup() in
> net/bluetooth/bnep/core.c

it should be present in any 2.4.20 kernel.

> Am I that out of date? Is there a more recent patch I should apply?

Your kernel is out of date, because I made the patch against the latest
2.4.27-rc3. Take another kernel source and simply copy that function.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-26 18:49:03

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

Thanks for the help. However I do not have sockfd_lookup() in
net/bluetooth/bnep/core.c
Am I that out of date? Is there a more recent patch I should apply?

Michael


On Jul 26, 2004, at 2:16 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> ok -- got past those -- now here are some more.
>
> your kernel is a little bit outdated ;)
>
>> sock.c: In function `hidp_sock_ioctl':
>> sock.c:84: warning: implicit declaration of function `sockfd_lookup'
>> sock.c:84: warning: assignment makes pointer from integer without a
>> cast
>> sock.c:88: warning: assignment makes pointer from integer without a
>> cast
>
> Copy sockfd_lookup() from net/bluetooth/bnep/core.c
>
>> sock.c: In function `hidp_init_sockets':
>> sock.c:200: error: `BTPROTO_HIDP' undeclared (first use in this
>> function)
>> sock.c:200: error: (Each undeclared identifier is reported only once
>> sock.c:200: error: for each function it appears in.)
>> sock.c: In function `hidp_cleanup_sockets':
>> sock.c:210: error: `BTPROTO_HIDP' undeclared (first use in this
>> function)
>> make[3]: *** [sock.o] Error 1
>
> Here is a patch for that problem. It is already in the mainline tree.
>
> diff -Nru a/include/net/bluetooth/bluetooth.h
> b/include/net/bluetooth/bluetooth.h
> --- a/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
> +++ b/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
> @@ -52,6 +52,7 @@
> #define BTPROTO_RFCOMM 3
> #define BTPROTO_BNEP 4
> #define BTPROTO_CMTP 5
> +#define BTPROTO_HIDP 6
>
> #define SOL_HCI 0
> #define SOL_L2CAP 6
> diff -Nru a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c
> --- a/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
> +++ b/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
> @@ -57,7 +57,7 @@
> #endif
>
> /* Bluetooth sockets */
> -#define BLUEZ_MAX_PROTO 6
> +#define BLUEZ_MAX_PROTO 7
> static struct net_proto_family *bluez_proto[BLUEZ_MAX_PROTO];
>
> int bluez_sock_register(int proto, struct net_proto_family *ops)
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-26 17:47:06

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> I get the following build errors. I am using MontaVista Linux 2.4.20
>
> In file included from core.c:46:
> hidp.h:72: warning: no semicolon at end of struct or union
> hidp.h:72: error: parse error before '*' token

this one is easy. Remove the __user from that line. It is only useful in
a 2.6 kernel.

> core.c: In function `hidp_session':
> core.c:344: error: structure has no member named `nice'

Remove that line and try again. Maybe the MontaVista kernel has a
special backport.

> core.c: In function `hidp_get_connlist':
> core.c:598: error: dereferencing pointer to incomplete type
> core.c:603: error: dereferencing pointer to incomplete type
> core.c:606: error: dereferencing pointer to incomplete type
> core.c:608: error: dereferencing pointer to incomplete type

These are related to error number one.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-26 18:16:30

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> ok -- got past those -- now here are some more.

your kernel is a little bit outdated ;)

> sock.c: In function `hidp_sock_ioctl':
> sock.c:84: warning: implicit declaration of function `sockfd_lookup'
> sock.c:84: warning: assignment makes pointer from integer without a cast
> sock.c:88: warning: assignment makes pointer from integer without a cast

Copy sockfd_lookup() from net/bluetooth/bnep/core.c

> sock.c: In function `hidp_init_sockets':
> sock.c:200: error: `BTPROTO_HIDP' undeclared (first use in this
> function)
> sock.c:200: error: (Each undeclared identifier is reported only once
> sock.c:200: error: for each function it appears in.)
> sock.c: In function `hidp_cleanup_sockets':
> sock.c:210: error: `BTPROTO_HIDP' undeclared (first use in this
> function)
> make[3]: *** [sock.o] Error 1

Here is a patch for that problem. It is already in the mainline tree.

diff -Nru a/include/net/bluetooth/bluetooth.h
b/include/net/bluetooth/bluetooth.h
--- a/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
+++ b/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
@@ -52,6 +52,7 @@
#define BTPROTO_RFCOMM 3
#define BTPROTO_BNEP 4
#define BTPROTO_CMTP 5
+#define BTPROTO_HIDP 6

#define SOL_HCI 0
#define SOL_L2CAP 6
diff -Nru a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c
--- a/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
+++ b/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
@@ -57,7 +57,7 @@
#endif

/* Bluetooth sockets */
-#define BLUEZ_MAX_PROTO 6
+#define BLUEZ_MAX_PROTO 7
static struct net_proto_family *bluez_proto[BLUEZ_MAX_PROTO];

int bluez_sock_register(int proto, struct net_proto_family *ops)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-26 18:05:26

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

ok -- got past those -- now here are some more.

sock.c: In function `hidp_sock_ioctl':
sock.c:84: warning: implicit declaration of function `sockfd_lookup'
sock.c:84: warning: assignment makes pointer from integer without a cast
sock.c:88: warning: assignment makes pointer from integer without a cast
sock.c: In function `hidp_init_sockets':
sock.c:200: error: `BTPROTO_HIDP' undeclared (first use in this
function)
sock.c:200: error: (Each undeclared identifier is reported only once
sock.c:200: error: for each function it appears in.)
sock.c: In function `hidp_cleanup_sockets':
sock.c:210: error: `BTPROTO_HIDP' undeclared (first use in this
function)
make[3]: *** [sock.o] Error 1


Michael

On Jul 26, 2004, at 1:47 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> I get the following build errors. I am using MontaVista Linux 2.4.20
>>
>> In file included from core.c:46:
>> hidp.h:72: warning: no semicolon at end of struct or union
>> hidp.h:72: error: parse error before '*' token
>
> this one is easy. Remove the __user from that line. It is only useful
> in
> a 2.6 kernel.
>
>> core.c: In function `hidp_session':
>> core.c:344: error: structure has no member named `nice'
>
> Remove that line and try again. Maybe the MontaVista kernel has a
> special backport.
>
>> core.c: In function `hidp_get_connlist':
>> core.c:598: error: dereferencing pointer to incomplete type
>> core.c:603: error: dereferencing pointer to incomplete type
>> core.c:606: error: dereferencing pointer to incomplete type
>> core.c:608: error: dereferencing pointer to incomplete type
>
> These are related to error number one.
>
> Regards
>
> Marcel
>

2004-07-26 17:24:08

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

I get the following build errors. I am using MontaVista Linux 2.4.20

In file included from core.c:46:
hidp.h:72: warning: no semicolon at end of struct or union
hidp.h:72: error: parse error before '*' token
core.c: In function `hidp_session':
core.c:344: error: structure has no member named `nice'
core.c: In function `hidp_get_connlist':
core.c:598: error: dereferencing pointer to incomplete type
core.c:603: error: dereferencing pointer to incomplete type
core.c:606: error: dereferencing pointer to incomplete type
core.c:608: error: dereferencing pointer to incomplete type

Any ideas?

Michael

On Jul 25, 2004, at 8:52 AM, Marcel Holtmann wrote:

> Hi again,
>
>> attached is a backport patch of the HIDP support from 2.6.8-rc1 for
>> the
>> 2.4 kernel series. I didn't tested this patch with any of my systems.
>> I
>> only know that it compiles clean. So test this with the hidd daemon
>> from
>> the bluez-utils-2.8 package.
>
> I got no feedback on the HIDP patch for the 2.4 kernel series. Should I
> assume that there is no interest in it?
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-25 16:57:42

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

I am interested. However I have not had time to apply and test the
patch.

Michael

On Jul 25, 2004, at 8:52 AM, Marcel Holtmann wrote:

> Hi again,
>
>> attached is a backport patch of the HIDP support from 2.6.8-rc1 for
>> the
>> 2.4 kernel series. I didn't tested this patch with any of my systems.
>> I
>> only know that it compiles clean. So test this with the hidd daemon
>> from
>> the bluez-utils-2.8 package.
>
> I got no feedback on the HIDP patch for the 2.4 kernel series. Should I
> assume that there is no interest in it?
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-07-25 12:52:33

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi again,

> attached is a backport patch of the HIDP support from 2.6.8-rc1 for the
> 2.4 kernel series. I didn't tested this patch with any of my systems. I
> only know that it compiles clean. So test this with the hidd daemon from
> the bluez-utils-2.8 package.

I got no feedback on the HIDP patch for the 2.4 kernel series. Should I
assume that there is no interest in it?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-13 18:21:04

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> Can you explain to me the difference between CSR mode and bcsp? I have
> a CSR bluetooth module but have never been able to run in CSR mode.
> What could be the reason for this?

the CSR chips can work in H4 or BCSP mode over UART depending on the
settings of some specific PS keys. Both are host transport protocols for
the HCI layer. Check the CSR documention from your vendor or the mailing
list archive for more information.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-13 18:16:12

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

Can you explain to me the difference between CSR mode and bcsp? I have
a CSR bluetooth module but have never been able to run in CSR mode.
What could be the reason for this?

Michael

On Aug 13, 2004, at 1:53 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> I now see what is going on. I checked the system log and found these
>> messages when the problem occurs.
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>>
>> What exactly does this mean?
>
> this is part of the BCSP host transport driver. Maybe your serial port
> is a little bit buggy or something else. I don't know. What kernel are
> you using? Is there a previous that is still working without any
> troubles?
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-13 17:53:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> I now see what is going on. I checked the system log and found these
> messages when the problem occurs.
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
> bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
>
> What exactly does this mean?

this is part of the BCSP host transport driver. Maybe your serial port
is a little bit buggy or something else. I don't know. What kernel are
you using? Is there a previous that is still working without any
troubles?

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-13 17:27:32

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

I now see what is going on. I checked the system log and found these
messages when the problem occurs.
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset

What exactly does this mean?

Michael

On Aug 11, 2004, at 6:11 PM, Marcel Holtmann wrote:

> Hi Michael,
>
>> OK -- I am using the new patches and all is well except for one thing.
>> My keyboard seems to not be able to re-connect after it goes to sleep
>> about 5 times. It is almost like connections are left open and the
>> hidd server does not allow the keyboard to re-connect.
>>
>> The only way I get it back is to restart hidd.
>
> this sounds very weird. Please run "hcidump -x" as root and show it to
> us. What is the content of /proc/bluetooth/l2cap at that time? Do
> "hcitool con" show any connections?
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-11 22:11:22

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> OK -- I am using the new patches and all is well except for one thing.
> My keyboard seems to not be able to re-connect after it goes to sleep
> about 5 times. It is almost like connections are left open and the
> hidd server does not allow the keyboard to re-connect.
>
> The only way I get it back is to restart hidd.

this sounds very weird. Please run "hcidump -x" as root and show it to
us. What is the content of /proc/bluetooth/l2cap at that time? Do
"hcitool con" show any connections?

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-11 21:19:30

by Michael Frey

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Marcel,

OK -- I am using the new patches and all is well except for one thing.
My keyboard seems to not be able to re-connect after it goes to sleep
about 5 times. It is almost like connections are left open and the
hidd server does not allow the keyboard to re-connect.

The only way I get it back is to restart hidd.

Any ideas?

Michael

On Aug 1, 2004, at 11:57 AM, Marcel Holtmann wrote:

> Hi Michael,
>
>> That worked.. I can now use both mouse and keyboard.
>>
>> You asked if I tried 2.6.7-mh2. I assume you mean the back-ported
>> patch? If so, that is what I am using.
>
> I've now put out another bunch of -mh patches for the 2.4 series. They
> include all updates and also the HIDP support. May you wanna try them
> out. Besides this the hidd from bluez-utils-2.9 got an extra option
> --subclass for overriding the subclass value.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
> Technology
> Group. Come see the changes on the new OSTG site. http://www.ostg.com
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-08-01 15:57:51

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] HIDP backport for 2.4

Hi Michael,

> That worked.. I can now use both mouse and keyboard.
>
> You asked if I tried 2.6.7-mh2. I assume you mean the back-ported
> patch? If so, that is what I am using.

I've now put out another bunch of -mh patches for the 2.4 series. They
include all updates and also the HIDP support. May you wanna try them
out. Besides this the hidd from bluez-utils-2.9 got an extra option
--subclass for overriding the subclass value.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. http://www.ostg.com
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel