Hi all,
I try to get an Apple bt mouse to work with my 2.6.0 Debian system on
powerpc G4 1Ghz laptop.
I`ve
download the deb sources,
updated bluez-libs to 2.5 and bluez-utils to 2.4,
and patched the kernel with
http://www.holtmann.org/linux/kernel/patch-2.6.0-mh1.gz.
I didn't found a bluez module so I changed bluez to bluetooth in
/etc/modutils/bluez.
After restarting the hid daemon there is no device hci0. create_dev
fom Marcel Holtmann didn't help. Anyway the devices rfcomm* and vhci
where still there. Following modules where loaded from the hid and
sdp daemons:
$ /sbin/lsmod | head -4
Module Size Used by
rfcomm 34200 0
l2cap 25028 5 rfcomm
bluetooth 54912 6 rfcomm,l2cap
$ hcitool inq
Inquiry failed.: No such device
Inquiring ...
ls-pci -vv doesn't list me a something like bluetooth controller but
unknown devices. Maybe the kernel does not recognize the responsible
controller?
$ lspci | grep -i unknown
00:10.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4e50
01:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0035
01:17.0 Class ff00: Apple Computer Inc.: Unknown device 003e
01:18.0 USB Controller: Apple Computer Inc.: Unknown device 003f
01:19.0 USB Controller: Apple Computer Inc.: Unknown device 003f
01:1a.0 USB Controller: Apple Computer Inc.: Unknown device 003f
06:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0036
06:0d.0 Class ff00: Apple Computer Inc.: Unknown device 003b
Thanks for hints
Ciao
Elimar
--
Numeric stability is probably not all that
important when you're guessing;-)
Hi Elimar,
> > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> > P: Vendor=05ac ProdID=1000 Rev= 9.01
> > C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
> > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
> > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
> > E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> >
> > this looks like a Bluetooth HID proxy device from CSR. You can use the
> > hid2hci program to switch it into HCI mode. However it seems that Apple
> > is using its own vendor id, so you must change this in the source code.
>
> Where in the source code? This should be a useful info for Benjamin
> Herrenschmidt as well.
>
> I found hid2hci In the CVS sourcecode from bluez-utils2.
> hid2hci -(0|1) gives me
> No devices in H(CI|DI) mode found ;-(
you have to change the vendor id. The hid2hci.c source is not very
complex and I thought it is easy to see where to change the vendor id.
However the attached patch changes it for you. If it works I will write
a version of hid2hci that will also find the Apple dongle.
Regards
Marcel
On Tue, 30 Dec 2003 the mental interface of
Marcel Holtmann told:
> Hi Elimar,
>
> > Neither OHCI nor EHCI was enabled in my kernel. Changed that and the
> > mouse works like a charm at console and X ;-)
> >
> > Thank you for that hint!
> >
> > But anyway: hcitool inq like shown at
> > http://www.holtmann.org/linux/bluetooth/hid.html tells:
> > Inquiring ...
> > Inquiry failed.: No such device
>
> T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=05ac ProdID=1000 Rev= 9.01
> C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
> E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
> E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
>
> this looks like a Bluetooth HID proxy device from CSR. You can use the
> hid2hci program to switch it into HCI mode. However it seems that Apple
> is using its own vendor id, so you must change this in the source code.
Where in the source code? This should be a useful info for Benjamin
Herrenschmidt as well.
I found hid2hci In the CVS sourcecode from bluez-utils2.
hid2hci -(0|1) gives me
No devices in H(CI|DI) mode found ;-(
HANN
Elimar
--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)
Hi Elimar,
> Neither OHCI nor EHCI was enabled in my kernel. Changed that and the
> mouse works like a charm at console and X ;-)
>
> Thank you for that hint!
>
> But anyway: hcitool inq like shown at
> http://www.holtmann.org/linux/bluetooth/hid.html tells:
> Inquiring ...
> Inquiry failed.: No such device
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05ac ProdID=1000 Rev= 9.01
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
this looks like a Bluetooth HID proxy device from CSR. You can use the
hid2hci program to switch it into HCI mode. However it seems that Apple
is using its own vendor id, so you must change this in the source code.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
On Tue, 30 Dec 2003 the mental interface of
Marcel Holtmann told:
> Hi Elimar,
>
[...] (as posted to debian-powerppc as well)
> send us "lspci -vvv" (as root) and the content of /proc/bus/usb/devices.
^^^^^^^^^^^^^^^^^^^^^
Uuuuuuaaa grrrrr damn
Neither OHCI nor EHCI was enabled in my kernel. Changed that and the
mouse works like a charm at console and X ;-)
Thank you for that hint!
But anyway: hcitool inq like shown at
http://www.holtmann.org/linux/bluetooth/hid.html tells:
Inquiring ...
Inquiry failed.: No such device
Please find attched lspci_procdev.tar.gz:
8520 lspci_vvv.txt
2337 usb_dev.txt
Ciao
Elimar
--
It's a good thing we don't get all
the government we pay for.
Hi Elimar,
> I try to get an Apple bt mouse to work with my 2.6.0 Debian system on
> powerpc G4 1Ghz laptop.
>
> I`ve
> download the deb sources,
> updated bluez-libs to 2.5 and bluez-utils to 2.4,
> and patched the kernel with
> http://www.holtmann.org/linux/kernel/patch-2.6.0-mh1.gz.
>
> I didn't found a bluez module so I changed bluez to bluetooth in
> /etc/modutils/bluez.
>
> After restarting the hid daemon there is no device hci0. create_dev
> fom Marcel Holtmann didn't help. Anyway the devices rfcomm* and vhci
> where still there. Following modules where loaded from the hid and
> sdp daemons:
> $ /sbin/lsmod | head -4
> Module Size Used by
> rfcomm 34200 0
> l2cap 25028 5 rfcomm
> bluetooth 54912 6 rfcomm,l2cap
>
> $ hcitool inq
> Inquiry failed.: No such device
> Inquiring ...
>
> ls-pci -vv doesn't list me a something like bluetooth controller but
> unknown devices. Maybe the kernel does not recognize the responsible
> controller?
>
> $ lspci | grep -i unknown
> 00:10.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4e50
> 01:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0035
> 01:17.0 Class ff00: Apple Computer Inc.: Unknown device 003e
> 01:18.0 USB Controller: Apple Computer Inc.: Unknown device 003f
> 01:19.0 USB Controller: Apple Computer Inc.: Unknown device 003f
> 01:1a.0 USB Controller: Apple Computer Inc.: Unknown device 003f
> 06:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0036
> 06:0d.0 Class ff00: Apple Computer Inc.: Unknown device 003b
send us "lspci -vvv" (as root) and the content of /proc/bus/usb/devices.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users