[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Re: Suggestion and question for USB bluetooth driver



Title: Re: Suggestion and question for USB bluetooth driver

>> Yes. The problem is that
> >the FTP file transfer from USB Ericcson module to Digianswer PC card
> >(many calls for "bluetooth_write()" are used in this case)
> >frequently fails because of the bluetooth USB driver's fail.
>>But if I change the non-blocking code to blocking code,
>> the FTP transfer is almost always stable.
>Could you send me the kernel debug log output for when you are using the
>non-blocking code?  The userspace application and the Bluetooth stack
>above the driver should be able to handle a short write by the driver
>(if not then it needs to be fixed.)
Sure. Let me also attch the "dmesg" log.
The system log is sent in the mail just before this one.
Thanks,
-----------
Myunggyu Kim
mgkim@xxxxxxx.kr
-----------------------------------------------------------------------------------------------------------------------------

The system log for the problem "bluetooth_write()" :
(This problem is solved when changing the non-blocking code to the blocking one.4a 35 a1 13 48 91 20 94 01 82 94 3b 45 28 47 ed de 87 42 e6 21 7b 30 38 19 ed 26 49 ef 80 e3 72 40 89 82 99 4e 80 94 62 04 00 8c 65 11 24 a5 0e 9c 60 1e 12 e0 0d 63 99 e8 14 89 a4 50 f0 e5 4d 0e 09 21 d5 6c 86 b4 01 64 50 d0 d2 97 fe f9 1d 21 8a c0 36 c0 06 e2 25 04 5b 9a 41 14 78 6b 8b 57 75 62 e8 73 42 0a 54 83 11 cc 01 4c 6c 6d b3 ff 96 51 d2 2a cd 37 1b 3a 6a 47 41 7f 64 0a 67 fc a1 ff 9c 0f fa

bluetooth.c: bluetooth_write - unsupported (at this time) write type
bluetooth.c: bluetooth_write_bulk_callback
bluetooth.c: bluetooth_softint
bluetooth.c: bluetooth_write - 211 byte(s)
bluetooth.c: bluetooth_write - length = 211, data = 54 4a d1 4a 15 53 02 c9 09 fc 99 33 04 c1 00 50 0d 01 54 03 43 fd 05 99 11 f1 0d b0 09 d9 4a 4a f0 47 f7 73 81 3c 40 33 0b cf f9 eb 3d a9 28 f0 92 89 4f a1 4d a0 50 17 da 95 06 46 08 22 c0 58 8c 3a 4e 60 0f 49 b0 4d 00 61 2a 39 09 4a 35 a1 13 48 91 20 94 01 82 94 3b 45 28 47 ed de 87 42 e6 21 7b 30 38 19 ed 26 49 ef 80 e3 72 40 89 82 99 4e 80 94 62 04 00 8c 65 11 24 a5 0e 9c 60 1e 12 e0 0d 63 99 e8 14 89 a4 50 f0 e5 4d 0e 09 21 d5 6c 86 b4 01 64 50 d0 d2 97 fe f9 1d 21 8a c0 36 c0 06 e2 25 04 5b 9a 41 14 78 6b 8b 57 75 62 e8 73 42 0a 54 83 11 cc 01 4c 6c 6d b3 ff 96 51 d2 2a cd 37 1b 3a 6a 47 41 7f 64 0a 67 fc a1 ff 9c 0f fa

bluetooth.c: bluetooth_write - unsupported (at this time) write type
bluetooth.c: bluetooth_write_bulk_callback
bluetooth.c: bluetooth_softint
bluetooth.c: bluetooth_write - 211 byte(s)
bluetooth.c: bluetooth_write - length = 211, data = 54 4a d1 4a 15 53 02 c9 09 fc 99 33 04 c1 00 50 0d 01 54 03 43 fd 05 99 11 f1 0d b0 09 d9 4a 4a f0 47 f7 73 81 3c 40 33 0b cf f9 eb 3d a9 28 f0 92 89 4f a1 4d a0 50 17 da 95 06 46 08 22 c0 58 8c 3a 4e 60 0f 49 b0 4d 00 61 2a 39 09 4a 35 a1 13 48 91 20 94 01 82 94 3b 45 28 47 ed de 87 42 e6 21 7b 30 38 19 ed 26 49 ef 80 e3 72 40 89 82 99 4e 80 94 62 04 00 8c 65 11 24 a5 0e 9c 60 1e 12 e0 0d 63 99 e8 14 89 a4 50 f0 e5 4d 0e 09 21 d5 6c 86 b4 01 64 50 d0 d2 97 fe f9 1d 21 8a c0 36 c0 06 e2 25 04 5b 9a 41 14 78 6b 8b 57 75 62 e8 73 42 0a 54 83 11 cc 01 4c 6c 6d b3 ff 96 51 d2 2a cd 37 1b 3a 6a 47 41 7f 64 0a 67 fc a1 ff 9c 0f fa

bluetooth.c: bluetooth_write - unsupported (at this time) write type
bluetooth.c: bluetooth_write_bulk_callback
bluetooth.c: bluetooth_softint
bluetooth.c: bluetooth_write - 211 byte(s)
bluetooth.c: bluetooth_write - length = 211, data = 54 4a d1 4a 15 53 02 c9 09 fc 99 33 04 c1 00 50 0d 01 54 03 43 fd 05 99 11 f1 0d b0 09 d9 4a 4a f0 47 f7 73 81 3c 40 33 0b cf f9 eb 3d a9 28 f0 92 89 4f a1 4d a0 50 17 da 95 06 46 08 22 c0 58 8c 3a 4e 60 0f 49 b0 4d 00 61 2a 39 09 4a 35 a1 13 48 91 20 94 01 82 94 3b 45 28 47 ed de 87 42 e6 21 7b 30 38 19 ed 26 49 ef 80 e3 72 40 89 82 99 4e 80 94 62 04 00 8c 65 11 24 a5 0e 9c 60 1e 12 e0 0d 63 99 e8 14 89 a4 50 f0 e5 4d 0e 09 21 d5 6c 86 b4 01 64 50 d0 d2 97 fe f9 1d 21 8a c0 36 c0 06 e2 25 04 5b 9a 41 14 78 6b 8b 57 75 62 e8 73 42 0a 54 83 11 cc 01 4c 6c 6d b3 ff 96 51 d2 2a cd 37 1b 3a 6a 47 41 7f 64 0a 67 fc a1 ff 9c 0f fa

bluetooth.c: bluetooth_write - unsupported (at this time) write type
bluetooth.c: bluetooth_write_bulk_callback
bluetooth.c: bluetooth_softint
bluetooth.c: bluetooth_write - 211 byte(s)
bluetooth.c: bluetooth_write - length = 211, data = 54 4a d1 4a 15 53 02 c9 09 fc 99 33 04 c1 00 50 0d 01 54 03 43 fd 05 99 11 f1 0d b0 09 d9 4a 4a f0 47 f7 73 81 3c 40 33 0b cf f9 eb 3d a9 28 f0 92 89 4f a1 4d a0 50 17 da 95 06 46 08 22 c0 58 8c 3a 4e 60 0f 49 b0 4d 00 61 2a 39 09 4a 35 a1 13 48 91 20 94 01 82 94 3b 45 28 47 ed de 87 42 e6 21 7b 30 38 19 ed 26 49 ef 80 e3 72 40 89 82 99 4e 80 94 62 04 00 8c 65 11 24 a5 0e 9c 60 1e 12 e0 0d 63 99 e8 14 89 a4 50 f0 e5 4d 0e 09 21 d5 6c 86 b4 01 64 50 d0 d2 97 fe f9 1d 21 8a c0 36 c0 06 e2 25 04 5b 9a 41 14 78 6b 8b 57 75 62 e8 73 42 0a 54 83 11 cc 01 4c 6c 6d b3 ff 96 51 d2 2a cd 37 1b 3a 6a 47 41 7f 64 0a 67 fc a1 ff 9c 0f fa

bluetooth.c: bluetooth_write - unsupported (at this time) write type
bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 2e 00 40 00 80 06 46 d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 10 21 1c 45 17 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 2f 00 40 00 80 06 45 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 10 22 38 1b b4 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 30 00 40 00 80 06 44 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 31 00 40 00 80 06 43 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 32 00 40 00 80 06 42 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 33 00 40 00 80 06 41 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 34 00 40 00 80 06 40 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 35 00 40 00 80 06 3f d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 36 00 40 00 80 06 3e d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 37 00 40 00 80 06 3d d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 38 00 40 00 80 06 3c d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 39 00 40 00 80 06 3b d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 3a 00 40 00 80 06 3a d0 c0 a8 02 02 c0 a8 02 ad 04 02 00 15 00 05 23 a3 62 8f 39 53 50 11 21 1c 45 16 00 00

bluetooth.c: bluetooth_read_bulk_callback
bluetooth.c: bluetooth_read_bulk_callback- length = 62, data = 01 20 3a 00 36 00 40 00 00 d0 b7 03 1e ad 00 50 cd 00 07 83 08 00 45 00 00 28 3b 00 40 00 80 06 39 d0 c0 a8 02 02 c0 a8 02 ad 04 04 00 14 00 06 02 a4 66 62 7e c4 50 11 22 38 1b b3 00 00