[Coco] Coco to PC cable

John W. Linville linville at tuxdriver.com
Thu Mar 12 11:04:04 EDT 2009


On Thu, Mar 12, 2009 at 10:53:21AM -0400, Gene Heskett wrote:
> On Thursday 12 March 2009, John W. Linville wrote:

> >You should be running hciconfig, looking for output similar to this:
> >
> >hci0:	Type: USB
> >	BD Address: 00:1F:3A:32:45:71 ACL MTU: 1021:8 SCO MTU: 64:1
> >	UP RUNNING PSCAN
> >	RX bytes:966 acl:0 sco:0 events:62 errors:0
> >	TX bytes:3390 acl:0 sco:0 commands:62 errors:0
> >
> And I get:
> [root at coyote init.d]# hciconfig
> hci0:   Type: USB
>         BD Address: 11:11:11:11:11:11 ACL MTU: 672:3 SCO MTU: 48:1
>         UP RUNNING PSCAN ISCAN
>         RX bytes:1188 acl:0 sco:0 events:47 errors:0
>         TX bytes:451 acl:0 sco:0 commands:47 errors:0
> 
> >FWIW, my device seems to disappear with 2.6.29-rc7-wl, but I can see
> >it when running the stock F10 kernel, 2.6.27.19-170.2.35.fc10.x86_64.
> >Perhaps it has been broken upstream, or perhaps my 2.6.29-rc7-wl config
> >is lacking some magic, dunno.  In any case, I'd advise you to try to
> >get things working with a stock Fedora kernel and then proceed from
> >there. :-)
> 
> Looks like I need to somehow set a 'mac address' aka BD?  Or is that hard 
> coded in these things?  From hciconfig's --help screen:
>         putkey     <bdaddr>     Store link key on the device
>         delkey     <bdaddr>     Delete link key from the device
> I assume these are the commands to change it.  The question then is what to?
> 
> Should it not be something from this line in an lsusb -v:
> 0e5e:6622=00:0e:5e:66:22:00, and assign the 2nd one I bought to 
> 00:0e:5e:66:22:01 etc?  This would be roughly following the usually assigned 
> MAC addressing of an ethernet card I think.

Very odd -- I would definitely think that it would be hard-coded on
the device.

Anyway, I'm not sure putkey and delkey are the right commands for
changing that.  But since you probably don't have tons of Bluetooth
devices around the house, a bogus MAC address is no big deal (so long
as the device actually works).

> >Hth!
> 
> Yes John, except for the patently bogus 'BD' address, we at least look alike.  
> So I guess I wait till Roger T's bit of gear arrives.  Its en-route someplace, 
> on a donkey cart maybe. :)

I'm waiting on mine too.  Hopefully Roger will use a reputable shipper... :-)

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.



More information about the Coco mailing list