2004-08-13 22:30:09

by Alberto Garcia Hierro

[permalink] [raw]
Subject: [Bluez-users] Can't get BT working on an iBook G4

Hi all list,
I'm trying to setup BT on my iBook G4 (builtin BT), but i can't. As far as=
I=20
know, it's a usb device, so i modprobe hci_usb. Then, i tryed with hcitool,=
=20
but it doesn't show any device:


americana ~ $ modprobe hci_usb
americana ~ $ /etc/init.d/bluetooth start
* Starting Bluetooth... [ o=
k ]
americana ~ $ hcitool dev
Devices:

hcid and sdpd are running:

americana ~ $ ps aux |egrep "hcid|sdpd"
root 8905 0.0 0.0 1656 612 ? Ss 00:27 0:00 hcid:=20
processing events
root 8907 0.0 0.0 1640 584 ? Ss 00:27 0:00 /usr/sbin/sd=
pd
root 8921 0.0 0.0 1568 528 pts/0 S+ 00:28 0:00 egrep hcid|s=
dpd


The most strange think it's i got it working some months ago, and i think =
i=20
did the same things. Here is the relevant part of my .config


CONFIG_BT=3Dm
CONFIG_BT_L2CAP=3Dm
# CONFIG_BT_SCO is not set
CONFIG_BT_RFCOMM=3Dm
CONFIG_BT_RFCOMM_TTY=3Dy
CONFIG_BT_BNEP=3Dm
CONFIG_BT_BNEP_MC_FILTER=3Dy
CONFIG_BT_BNEP_PROTO_FILTER=3Dy

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=3Dm
# CONFIG_BT_HCIUSB_SCO is not set
CONFIG_BT_HCIUART=3Dm
CONFIG_BT_HCIUART_H4=3Dy
CONFIG_BT_HCIUART_BCSP=3Dy
CONFIG_BT_HCIUART_BCSP_TXCRC=3Dy
CONFIG_BT_HCIBCM203X=3Dm
CONFIG_BT_HCIBFUSB=3Dm
CONFIG_BT_HCIVHCI=3Dm

I've spent three hours searching on google, bluez.org and the list archive=
s=20
and i can't find any solution. I'll be very happy is someone can't help me.=
=20
TIA.=09

=2D-=20
/* Alberto Garc=EDa Hierro (Skyhusker) */


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-08-13 23:56:49

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

Dne so 14. srpna 2004 01:47 Alberto Garcia Hierro napsal(a):
> El S=E1bado, 14 de Agosto de 2004 01:31, Marcel Holtmann escribi=F3:
> > Hi Alberto,
> >
> > > I'm trying to setup BT on my iBook G4 (builtin BT), but i can't. As
> > > far as I know, it's a usb device, so i modprobe hci_usb. Then, i tryed
> > > with hcitool, but it doesn't show any device:
> >
> > show us the content of /proc/bus/usb/devices and we can tell you more.
> >
> > Regards
> >
> > Marcel
>
> Many thanks for the quick response, but thanks to Michal it's already
> working :)

:))) Marcel usually makes a long research before sending a valid reply :)
I only tried, coz many of apple devices needs this :)

Michal


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:55:29

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

Dne so 14. srpna 2004 01:40 Alberto Garcia Hierro napsal(a):
> El S=E1bado, 14 de Agosto de 2004 00:48, Bc. Michal Semler escribi=F3:
> > Possibly you need activate device with hid2hci tool
> >
> > Michal
>
> Thanks a lot, it's working fine now:

You are welcome. You should search mailing list back.=20

>
>
> americana ~ $ hid2hci -0
> Switching device 05ac:1000 to HCI mode was successful
> americana ~ $ hciconfig
> hci0: Type: USB
> BD Address: 00:0D:93:03:63:8E ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:107 acl:0 sco:0 events:14 errors:0
> TX bytes:300 acl:0 sco:0 commands:13 errors:0
>
>
> By the way, is this mentioned in the docs at http://www.bluez.org?=20

I hope so...

> I couldn't =20
> find any reference to hid2hci. Anyway, I would like to know something more
> about hid2hci. Coul you point to somewhere with docs about it?

You should search mailing list back. Marcel posted a very good info few wee=
ks=20
ago. But long story short: It instruct device to switch from hid mode (usb=
=20
hid device) to hci mode (bt standart dongle)

Michal


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:55:50

by Alberto Garcia Hierro

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

El S=E1bado, 14 de Agosto de 2004 01:48, Marcel Holtmann escribi=F3:
>
> I wrote some technical notes about it. Look at this page:
>
> http://www.holtmann.org/linux/bluetooth/epox.html
>
> Regards
>
> Marcel

Thanks again :D

=2D-=20
/* Alberto Garc=EDa Hierro (Skyhusker) */


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:48:52

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

Hi Alberto,

> Thanks a lot, it's working fine now:
>
>
> americana ~ $ hid2hci -0
> Switching device 05ac:1000 to HCI mode was successful
> americana ~ $ hciconfig
> hci0: Type: USB
> BD Address: 00:0D:93:03:63:8E ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:107 acl:0 sco:0 events:14 errors:0
> TX bytes:300 acl:0 sco:0 commands:13 errors:0
>
>
> By the way, is this mentioned in the docs at http://www.bluez.org? I couldn't find
> any reference to hid2hci. Anyway, I would like to know something more about
> hid2hci. Coul you point to somewhere with docs about it?

I wrote some technical notes about it. Look at this page:

http://www.holtmann.org/linux/bluetooth/epox.html

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:47:06

by Alberto Garcia Hierro

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

El S=E1bado, 14 de Agosto de 2004 01:31, Marcel Holtmann escribi=F3:
> Hi Alberto,
>
> > I'm trying to setup BT on my iBook G4 (builtin BT), but i can't. As far
> > as I know, it's a usb device, so i modprobe hci_usb. Then, i tryed with
> > hcitool, but it doesn't show any device:
>
> show us the content of /proc/bus/usb/devices and we can tell you more.
>
> Regards
>
> Marcel
Many thanks for the quick response, but thanks to Michal it's already=20
working :)
=2D-=20
Regards,
/* Alberto Garc=EDa Hierro (Skyhusker) */


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:40:07

by Alberto Garcia Hierro

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

El S=E1bado, 14 de Agosto de 2004 00:48, Bc. Michal Semler escribi=F3:
> Possibly you need activate device with hid2hci tool
>
> Michal


Thanks a lot, it's working fine now:


americana ~ $ hid2hci -0
Switching device 05ac:1000 to HCI mode was successful
americana ~ $ hciconfig
hci0: Type: USB
BD Address: 00:0D:93:03:63:8E ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:107 acl:0 sco:0 events:14 errors:0
TX bytes:300 acl:0 sco:0 commands:13 errors:0


By the way, is this mentioned in the docs at http://www.bluez.org? I couldn't fi=
nd=20
any reference to hid2hci. Anyway, I would like to know something more about=
=20
hid2hci. Coul you point to somewhere with docs about it?=20
=09
=2D-=20
Regards,
/* Alberto Garc=EDa Hierro (Skyhusker) */


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 23:31:05

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

Hi Alberto,

> I'm trying to setup BT on my iBook G4 (builtin BT), but i can't. As far as I
> know, it's a usb device, so i modprobe hci_usb. Then, i tryed with hcitool,
> but it doesn't show any device:

show us the content of /proc/bus/usb/devices and we can tell you more.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 22:48:14

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

Possibly you need activate device with hid2hci tool

Michal

Dne so 14. srpna 2004 00:30 Alberto Garcia Hierro napsal(a):
> Hi all list,
> I'm trying to setup BT on my iBook G4 (builtin BT), but i can't. As far as
> I know, it's a usb device, so i modprobe hci_usb. Then, i tryed with
> hcitool, but it doesn't show any device:
>
>
> americana ~ $ modprobe hci_usb
> americana ~ $ /etc/init.d/bluetooth start
> * Starting Bluetooth... [
> ok ] americana ~ $ hcitool dev
> Devices:
>
> hcid and sdpd are running:
>
> americana ~ $ ps aux |egrep "hcid|sdpd"
> root 8905 0.0 0.0 1656 612 ? Ss 00:27 0:00 hcid:
> processing events
> root 8907 0.0 0.0 1640 584 ? Ss 00:27 0:00
> /usr/sbin/sdpd root 8921 0.0 0.0 1568 528 pts/0 S+ 00:28
> 0:00 egrep hcid|sdpd
>
>
> The most strange think it's i got it working some months ago, and i think
> i did the same things. Here is the relevant part of my .config
>
>
> CONFIG_BT=m
> CONFIG_BT_L2CAP=m
> # CONFIG_BT_SCO is not set
> CONFIG_BT_RFCOMM=m
> CONFIG_BT_RFCOMM_TTY=y
> CONFIG_BT_BNEP=m
> CONFIG_BT_BNEP_MC_FILTER=y
> CONFIG_BT_BNEP_PROTO_FILTER=y
>
> #
> # Bluetooth device drivers
> #
> CONFIG_BT_HCIUSB=m
> # CONFIG_BT_HCIUSB_SCO is not set
> CONFIG_BT_HCIUART=m
> CONFIG_BT_HCIUART_H4=y
> CONFIG_BT_HCIUART_BCSP=y
> CONFIG_BT_HCIUART_BCSP_TXCRC=y
> CONFIG_BT_HCIBCM203X=m
> CONFIG_BT_HCIBFUSB=m
> CONFIG_BT_HCIVHCI=m
>
> I've spent three hours searching on google, bluez.org and the list
> archives and i can't find any solution. I'll be very happy is someone can't
> help me. TIA.


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-08-13 22:39:16

by Alberto Garcia Hierro

[permalink] [raw]
Subject: Re: [Bluez-users] Can't get BT working on an iBook G4

El S=E1bado, 14 de Agosto de 2004 00:30, Alberto Garcia Hierro escribi=F3:
[snip]
> I've spent three hours searching on google, bluez.org and the list
> archives and i can't find any solution. I'll be very happy is someone can=
't
Sorry, i mean "can" instead of "can't".
> help me. TIA.

=2D-=20
/* Alberto Garc=EDa Hierro (Skyhusker) */


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users