All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Can't use capi/cmtp with bfusb
@ 2006-08-27 14:00 Manuel Bernhardt
  2006-08-28 20:00 ` Manuel Bernhardt
  2006-08-29 21:52 ` Marcel Holtmann
  0 siblings, 2 replies; 6+ messages in thread
From: Manuel Bernhardt @ 2006-08-27 14:00 UTC (permalink / raw)
  To: bluez-users

Hi,

i try to get my BlueFritz! USB-Stick get working on my Kurobox (An NAS 
based on an PPC-CPU) but i've the problem, that i can't use the capi 
device after loading all modules (See messages at the end of this mail).

Here some infos what I do:

1. I plug the stick on the Kurobox and the kernel does recognize the stick:

usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb

Loaded modules are now:

hci_usb                19260  0
bluetooth              66476  1 hci_usb

2. Next I load the bfusb driver with _modprobe bfusb_

Syslog output:
Bluetooth: BlueFRITZ! USB driver ver 1.1
usbcore: registered new driver bfusb

Modules loaded now:

bfusb                  14244  0
firmware_class         12224  1 bfusb
hci_usb                19260  0
bluetooth              66476  2 bfusb,hci_usb

3. Now i execute /etc/init.d/bluez-utils start

Output:
Starting bluez-utils: hcid sdpd rfcomm.

Syslog output:
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8

Loaded modules:
rfcomm                 48572  0
l2cap                  27140  5 rfcomm
bfusb                  14244  0
firmware_class         12224  1 bfusb
hci_usb                19260  2
bluetooth              66476  8 rfcomm,l2cap,bfusb,hci_usb

4. When i enter hciconfig, i see the bluez interface - it's up:

hci0:   Type: USB
    BD Address: 00:04:0E:89:DA:BA ACL MTU: 120:20 SCO MTU: 0:0
    UP RUNNING PSCAN ISCAN
    RX bytes:101 acl:0 sco:0 events:13 errors:0
    TX bytes:300 acl:0 sco:0 commands:13 errors:0

Additionally i execute hciconfig hci0 lp because holtmann writes in his 
how-to (http://www.holtmann.org/linux/bluetooth/isdn.html), that this 
could be necessary:

hci0:   Type: USB
    BD Address: 00:04:0E:89:DA:BA ACL MTU: 120:20 SCO MTU: 0:0
    Link policy: RSWITCH HOLD SNIFF PARK

5. I execute now _modprobe cmtp_

Syslog output:
CAPI Subsystem Rev 1.1.2.8
Bluetooth: CMTP (CAPI Emulation) ver 1.0

Loaded modules:
cmtp                   24320  0
kernelcapi             50548  1 cmtp
rfcomm                 48572  0
l2cap                  27140  6 cmtp,rfcomm
bfusb                  14244  0
firmware_class         12224  1 bfusb
hci_usb                19260  2
bluetooth              66476  9 cmtp,rfcomm,l2cap,bfusb,hci_usb

7. Next I do an _modprobe capi_ because.

Syslog output:
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)

Modules:
Module                  Size  Used by
capi                   21928  0
capifs                  6888  2 capi
cmtp                   24320  0
kernelcapi             50548  2 capi,cmtp
rfcomm                 48572  0
l2cap                  27140  6 cmtp,rfcomm
bfusb                  14244  0
firmware_class         12224  1 bfusb
hci_usb                19260  2
bluetooth              66476  9 cmtp,rfcomm,l2cap,bfusb,hci_usb

8. Yet I do an ciptool search:

Searching ...
    Checking service for 00:04:0E:85:C2:21
    Connecting to device 00:04:0E:85:C2:21

Syslog output:
Bluetooth: Found 1 CAPI controller(s) on device 00:04:0E:85:C2:21
kcapi: Controller 1: 00:04:0E:85:C2:21 attached
kcapi: card 1 "00:04:0E:85:C2:21" ready.

Now .... when i enter now an capiinfo, i should get an full info about 
available capi features, right?

I get this here:

Number of Controllers : 1
Controller 1:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.101-04  (49.20)
Serial Number: 0000000
BChannels: 512
Global Options: 0x31000000
B1 protocols support: 0x0f0000c0
56 kbit/s bit-transparent operation
Modem with all negotiations
B2 protocols support: 0x0b0b0000
B3 protocols support: 0x0f000080
Modem

0100
0200
31000000
0f0000c0
0b0b0000
0f000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000
FAC REQ - Illegal command or subcommand or message length less than 12 
bytes (0x1102)

Other capi applications doesn't also work so i think, the connection 
isn't established right. What I do wrong?

Here some further details:
Linux lansrv01 2.6.17.8-mh5_kurobox_hg #2 Sat Aug 19 01:49:26 CEST 2006 
ppc GNU/Linux
- Kernel includes patch from http://www.bluez.org/patches.html

I hope i give enough details so someone can help me, solving this problem.

Kind regards
Manuel Bernhardt




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Can't use capi/cmtp with bfusb
  2006-08-27 14:00 [Bluez-users] Can't use capi/cmtp with bfusb Manuel Bernhardt
@ 2006-08-28 20:00 ` Manuel Bernhardt
  2006-08-29 21:52 ` Marcel Holtmann
  1 sibling, 0 replies; 6+ messages in thread
From: Manuel Bernhardt @ 2006-08-28 20:00 UTC (permalink / raw)
  To: BlueZ users

Hi,

really no one where have an idea? If other information are needed, say 
it and you get it. It would be very nice if i would get bfusb working 
with cmtp on my nas because i could use my nas as an voice box for ex.
I hope, i'dnt overrun the mailinglist with the detailed description in 
my first mail.

Manuel Bernhardt

Manuel Bernhardt schrieb:
> Hi,
>
> i try to get my BlueFritz! USB-Stick get working on my Kurobox (An NAS 
> based on an PPC-CPU) but i've the problem, that i can't use the capi 
> device after loading all modules (See messages at the end of this mail).
>
> Here some infos what I do:
>
> 1. I plug the stick on the Kurobox and the kernel does recognize the stick:
>
> usb 2-1: new full speed USB device using ohci_hcd and address 2
> usb 2-1: configuration #1 chosen from 1 choice
> Bluetooth: Core ver 2.10
> NET: Registered protocol family 31
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> Bluetooth: HCI USB driver ver 2.9
> usbcore: registered new driver hci_usb
>
> Loaded modules are now:
>
> hci_usb                19260  0
> bluetooth              66476  1 hci_usb
>
> 2. Next I load the bfusb driver with _modprobe bfusb_
>
> Syslog output:
> Bluetooth: BlueFRITZ! USB driver ver 1.1
> usbcore: registered new driver bfusb
>
> Modules loaded now:
>
> bfusb                  14244  0
> firmware_class         12224  1 bfusb
> hci_usb                19260  0
> bluetooth              66476  2 bfusb,hci_usb
>
> 3. Now i execute /etc/init.d/bluez-utils start
>
> Output:
> Starting bluez-utils: hcid sdpd rfcomm.
>
> Syslog output:
> Bluetooth: L2CAP ver 2.8
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM ver 1.8
>
> Loaded modules:
> rfcomm                 48572  0
> l2cap                  27140  5 rfcomm
> bfusb                  14244  0
> firmware_class         12224  1 bfusb
> hci_usb                19260  2
> bluetooth              66476  8 rfcomm,l2cap,bfusb,hci_usb
>
> 4. When i enter hciconfig, i see the bluez interface - it's up:
>
> hci0:   Type: USB
>     BD Address: 00:04:0E:89:DA:BA ACL MTU: 120:20 SCO MTU: 0:0
>     UP RUNNING PSCAN ISCAN
>     RX bytes:101 acl:0 sco:0 events:13 errors:0
>     TX bytes:300 acl:0 sco:0 commands:13 errors:0
>
> Additionally i execute hciconfig hci0 lp because holtmann writes in his 
> how-to (http://www.holtmann.org/linux/bluetooth/isdn.html), that this 
> could be necessary:
>
> hci0:   Type: USB
>     BD Address: 00:04:0E:89:DA:BA ACL MTU: 120:20 SCO MTU: 0:0
>     Link policy: RSWITCH HOLD SNIFF PARK
>
> 5. I execute now _modprobe cmtp_
>
> Syslog output:
> CAPI Subsystem Rev 1.1.2.8
> Bluetooth: CMTP (CAPI Emulation) ver 1.0
>
> Loaded modules:
> cmtp                   24320  0
> kernelcapi             50548  1 cmtp
> rfcomm                 48572  0
> l2cap                  27140  6 cmtp,rfcomm
> bfusb                  14244  0
> firmware_class         12224  1 bfusb
> hci_usb                19260  2
> bluetooth              66476  9 cmtp,rfcomm,l2cap,bfusb,hci_usb
>
> 7. Next I do an _modprobe capi_ because.
>
> Syslog output:
> capifs: Rev 1.1.2.3
> capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
>
> Modules:
> Module                  Size  Used by
> capi                   21928  0
> capifs                  6888  2 capi
> cmtp                   24320  0
> kernelcapi             50548  2 capi,cmtp
> rfcomm                 48572  0
> l2cap                  27140  6 cmtp,rfcomm
> bfusb                  14244  0
> firmware_class         12224  1 bfusb
> hci_usb                19260  2
> bluetooth              66476  9 cmtp,rfcomm,l2cap,bfusb,hci_usb
>
> 8. Yet I do an ciptool search:
>
> Searching ...
>     Checking service for 00:04:0E:85:C2:21
>     Connecting to device 00:04:0E:85:C2:21
>
> Syslog output:
> Bluetooth: Found 1 CAPI controller(s) on device 00:04:0E:85:C2:21
> kcapi: Controller 1: 00:04:0E:85:C2:21 attached
> kcapi: card 1 "00:04:0E:85:C2:21" ready.
>
> Now .... when i enter now an capiinfo, i should get an full info about 
> available capi features, right?
>
> I get this here:
>
> Number of Controllers : 1
> Controller 1:
> Manufacturer: AVM Berlin
> CAPI Version: 2.0
> Manufacturer Version: 3.101-04  (49.20)
> Serial Number: 0000000
> BChannels: 512
> Global Options: 0x31000000
> B1 protocols support: 0x0f0000c0
> 56 kbit/s bit-transparent operation
> Modem with all negotiations
> B2 protocols support: 0x0b0b0000
> B3 protocols support: 0x0f000080
> Modem
>
> 0100
> 0200
> 31000000
> 0f0000c0
> 0b0b0000
> 0f000080
> 00000000 00000000 00000000 00000000 00000000 00000000
> 01000001 00020000 00000000 00000000 00000000
> FAC REQ - Illegal command or subcommand or message length less than 12 
> bytes (0x1102)
>
> Other capi applications doesn't also work so i think, the connection 
> isn't established right. What I do wrong?
>
> Here some further details:
> Linux lansrv01 2.6.17.8-mh5_kurobox_hg #2 Sat Aug 19 01:49:26 CEST 2006 
> ppc GNU/Linux
> - Kernel includes patch from http://www.bluez.org/patches.html
>
> I hope i give enough details so someone can help me, solving this problem.
>
> Kind regards
> Manuel Bernhardt
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Can't use capi/cmtp with bfusb
  2006-08-27 14:00 [Bluez-users] Can't use capi/cmtp with bfusb Manuel Bernhardt
  2006-08-28 20:00 ` Manuel Bernhardt
@ 2006-08-29 21:52 ` Marcel Holtmann
  2006-08-30  5:50   ` Manuel Bernhardt
  1 sibling, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2006-08-29 21:52 UTC (permalink / raw)
  To: BlueZ users

Hi Manuel,

> i try to get my BlueFritz! USB-Stick get working on my Kurobox (An NAS 
> based on an PPC-CPU) but i've the problem, that i can't use the capi 
> device after loading all modules (See messages at the end of this mail).

I think the problem is that your CPU is big endian and the CAPI
subsystem is not working on big endian systems. I tried to fix it at one
point, but never succeeded.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Can't use capi/cmtp with bfusb
  2006-08-29 21:52 ` Marcel Holtmann
@ 2006-08-30  5:50   ` Manuel Bernhardt
  2006-08-30  9:46     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Manuel Bernhardt @ 2006-08-30  5:50 UTC (permalink / raw)
  To: BlueZ users

Hi Marcel,

> I think the problem is that your CPU is big endian and the CAPI
> subsystem is not working on big endian systems. I tried to fix it at one
> point, but never succeeded.

thank you for this information. That means, that i should annoy the
ISDN4Linux-Mailinglist (or which project/group is the right contact point
in your opinion?) with my concern? If you say, you need only an System for
testing and it's no big job, do this big endian changes, I also could give
you temporary access to my ppc-box for developing. I'm not an c/c++
expert, but if i can contribute to open source by giving access to
hardware, I do it.

I search now a long time for a way, get CAPI on one of my NAS and now i
thought, i found a way because the bluefritz usb stick doesn't need
hardware depended firmware (i tried first an "old" fritz!x but avm
rejected my request for an ppc firmware) but now the kernel code doesn't
match the requirements... "nice"

Manuel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Can't use capi/cmtp with bfusb
  2006-08-30  9:46     ` Marcel Holtmann
@ 2006-08-30  7:56       ` Manuel Bernhardt
  0 siblings, 0 replies; 6+ messages in thread
From: Manuel Bernhardt @ 2006-08-30  7:56 UTC (permalink / raw)
  To: BlueZ users

Ok! But thanks for the fact, that's an CAPI problem. That helps me a lot
annoy the right people :-)

> go ahead and annoy the ISDN4Linux mailing list. And it is not a problem
> of hardware. I have an Ultra 10 from Sun and a Apple Quad G5 here. The
> CAPI subsystem is the problem. It is hardcoded for little endian in a
> strange way. At least it works with AMD64 and EM64T now.

And: Thx for made BlueFritz and features available to linux !

Have a nice day
Manuel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Can't use capi/cmtp with bfusb
  2006-08-30  5:50   ` Manuel Bernhardt
@ 2006-08-30  9:46     ` Marcel Holtmann
  2006-08-30  7:56       ` Manuel Bernhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2006-08-30  9:46 UTC (permalink / raw)
  To: BlueZ users

Hi Manuel,

> > I think the problem is that your CPU is big endian and the CAPI
> > subsystem is not working on big endian systems. I tried to fix it at one
> > point, but never succeeded.
> 
> thank you for this information. That means, that i should annoy the
> ISDN4Linux-Mailinglist (or which project/group is the right contact point
> in your opinion?) with my concern? If you say, you need only an System for
> testing and it's no big job, do this big endian changes, I also could give
> you temporary access to my ppc-box for developing. I'm not an c/c++
> expert, but if i can contribute to open source by giving access to
> hardware, I do it.

go ahead and annoy the ISDN4Linux mailing list. And it is not a problem
of hardware. I have an Ultra 10 from Sun and a Apple Quad G5 here. The
CAPI subsystem is the problem. It is hardcoded for little endian in a
strange way. At least it works with AMD64 and EM64T now.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-08-30  9:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-27 14:00 [Bluez-users] Can't use capi/cmtp with bfusb Manuel Bernhardt
2006-08-28 20:00 ` Manuel Bernhardt
2006-08-29 21:52 ` Marcel Holtmann
2006-08-30  5:50   ` Manuel Bernhardt
2006-08-30  9:46     ` Marcel Holtmann
2006-08-30  7:56       ` Manuel Bernhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.