public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] l2cap question
@ 2004-08-25 20:55 Christoph Torens
  2004-08-25 21:29 ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Torens @ 2004-08-25 20:55 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi,

I have two questions:
First:
Is it possible to do a program communication just over l2cap?
Without rfcomm/pand/dund.
(Because after a very long time of tests, l2ping is the only
thing that works with my USB host-controller chip / driver)
If yes: Is there some small Tool I could use to test this?
Perhaps read and write a string over l2cap.

Second:
Does a Bluetooth USB-Dongle use isochronus USB transfers?
And if yes: when or where?
(Because the USB host driver seems to have problems with
isoc. transfers and I'm not sure if this actaully is the
error I am fighting with)

-- 
Regards,
Christoph


-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] l2cap question
  2004-08-25 20:55 [Bluez-users] l2cap question Christoph Torens
@ 2004-08-25 21:29 ` Marcel Holtmann
  2004-08-26  0:36   ` Christoph Torens
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-08-25 21:29 UTC (permalink / raw)
  To: Christoph Torens; +Cc: BlueZ Mailing List

Hi Christoph,

> I have two questions:
> First:
> Is it possible to do a program communication just over l2cap?
> Without rfcomm/pand/dund.

it might be possible, but L2CAP is SOCK_SEQPACKET and RFCOMM is
SOCK_STREAM. You should keep this in mind and also is written in the
profile specifications.

> (Because after a very long time of tests, l2ping is the only
> thing that works with my USB host-controller chip / driver)
> If yes: Is there some small Tool I could use to test this?
> Perhaps read and write a string over l2cap.

Take a look at l2test and rctest from bluez-utils.

> Second:
> Does a Bluetooth USB-Dongle use isochronus USB transfers?
> And if yes: when or where?

It uses it for SCO support.

> (Because the USB host driver seems to have problems with
> isoc. transfers and I'm not sure if this actaully is the
> error I am fighting with)

Disable SCO support for the USB driver and no ISOC transfers are used.

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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] l2cap question
  2004-08-25 21:29 ` Marcel Holtmann
@ 2004-08-26  0:36   ` Christoph Torens
  2004-08-26 10:33     ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Torens @ 2004-08-26  0:36 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Hi,

>> Does a Bluetooth USB-Dongle use isochronus USB transfers?
> It uses it for SCO support.

I read SCO is only (or mainly?) for speech.
I don't use speech, but I guess it is somehow used when
SCO is enabled in the config?
Is it used by "hciconfig hci0 up", too?
(This is making problems with some, but not all dongles)


>> (Because the USB host driver seems to have problems with
>> isoc. transfers and I'm not sure if this actaully is the
>> error I am fighting with)
> Disable SCO support for the USB driver and no ISOC transfers are used.

That is a great idea.
I think this could really help me finding some answers.
Hope to test it tomorrow.

Thank you for this tip, Marcel

-- 
Regards,
Christoph

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

* Re: [Bluez-users] l2cap question
  2004-08-26  0:36   ` Christoph Torens
@ 2004-08-26 10:33     ` Marcel Holtmann
  2004-08-27 13:58       ` Christoph Torens
  0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-08-26 10:33 UTC (permalink / raw)
  To: Christoph Torens; +Cc: BlueZ Mailing List

Hi Christoph,

> >> Does a Bluetooth USB-Dongle use isochronus USB transfers?
> > It uses it for SCO support.
> 
> I read SCO is only (or mainly?) for speech.
> I don't use speech, but I guess it is somehow used when
> SCO is enabled in the config?
> Is it used by "hciconfig hci0 up", too?
> (This is making problems with some, but not all dongles)

show me the "hciconfig -a" and "/proc/bus/usb/devices" for these dongles
and I will mark them with broken SCO support.

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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] l2cap question
  2004-08-26 10:33     ` Marcel Holtmann
@ 2004-08-27 13:58       ` Christoph Torens
  2004-08-27 14:13         ` Marcel Holtmann
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Torens @ 2004-08-27 13:58 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Hi Marcel, Hi List,

On Thu, 26 Aug 2004 12:33:44 +0200, Marcel Holtmann <marcel@holtmann.org>  
wrote:

> Hi Christoph,
>
>> >> Does a Bluetooth USB-Dongle use isochronus USB transfers?
>> > It uses it for SCO support.
>>
>> I read SCO is only (or mainly?) for speech.
>> I don't use speech, but I guess it is somehow used when
>> SCO is enabled in the config?
>> Is it used by "hciconfig hci0 up", too?
>> (This is making problems with some, but not all dongles)
>
> show me the "hciconfig -a" and "/proc/bus/usb/devices" for these dongles
> and I will mark them with broken SCO support.

ok, here it follows. But I dond't understand, I thought my hostcontroller  
has
isoc problems? But Why does this dongle have problems with the command and  
the
Acer BT510 Zeevo chip not?

The device with problems is a EPoX BT-DG02A

root@viper root# hciconfig -a
hci0:   Type: USB
         BD Address: 00:04:61:81:11:3C ACL MTU: 192:8  SCO MTU: 64:8
         UP RUNNING PSCAN ISCAN
         RX bytes:384 acl:0 sco:0 events:17 errors:0
         TX bytes:308 acl:0 sco:0 commands:16 errors:0
         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
         Link policy: RSWITCH HOLD SNIFF PARK
         Link mode: SLAVE ACCEPT
         Name: 'BlueZ (0)'
         Class: 0x000100
         Service Classes: Unspecified
         Device Class: Computer, Uncategorized
         HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:  
0x20d
         Manufacturer: Cambridge Silicon Radio (10)

root@viper root# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB ISP116x Root Hub
S:  SerialNumber=0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
root@viper root#

-- 
Regards,
Christoph

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

* Re: [Bluez-users] l2cap question
  2004-08-27 13:58       ` Christoph Torens
@ 2004-08-27 14:13         ` Marcel Holtmann
  0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-08-27 14:13 UTC (permalink / raw)
  To: Christoph Torens; +Cc: BlueZ Mailing List

Hi Christoph,

> > show me the "hciconfig -a" and "/proc/bus/usb/devices" for these dongles
> > and I will mark them with broken SCO support.
> 
> ok, here it follows. But I dond't understand, I thought my hostcontroller  
> has
> isoc problems? But Why does this dongle have problems with the command and  
> the
> Acer BT510 Zeevo chip not?

the Zeevo Chip has no ISOC endpoints and is already broken in some way.

> The device with problems is a EPoX BT-DG02A

I can't blacklist this device and it should also work prefect. Maybe
this is a problem of your USB host controller.

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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] l2cap question
@ 2007-05-27 22:35 Loreno Oliveira
  2007-05-28  0:09 ` Loreno Oliveira
  0 siblings, 1 reply; 8+ messages in thread
From: Loreno Oliveira @ 2007-05-27 22:35 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 109 bytes --]

Hi,

is there anyway of creating l2cap sockets over already existent baseband
connections?

Regards,

Loreno

[-- Attachment #1.2: Type: text/html, Size: 131 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] l2cap question
  2007-05-27 22:35 Loreno Oliveira
@ 2007-05-28  0:09 ` Loreno Oliveira
  0 siblings, 0 replies; 8+ messages in thread
From: Loreno Oliveira @ 2007-05-28  0:09 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 242 bytes --]

ops,

forget the silly question. Already solved...



On 5/27/07, Loreno Oliveira <lorenooliveira@gmail.com> wrote:
>
> Hi,
>
> is there anyway of creating l2cap sockets over already existent baseband
> connections?
>
> Regards,
>
> Loreno
>

[-- Attachment #1.2: Type: text/html, Size: 565 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-05-28  0:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25 20:55 [Bluez-users] l2cap question Christoph Torens
2004-08-25 21:29 ` Marcel Holtmann
2004-08-26  0:36   ` Christoph Torens
2004-08-26 10:33     ` Marcel Holtmann
2004-08-27 13:58       ` Christoph Torens
2004-08-27 14:13         ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-05-27 22:35 Loreno Oliveira
2007-05-28  0:09 ` Loreno Oliveira

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