[Coco] Coco to PC cable

Gene Heskett gene.heskett at verizon.net
Thu Mar 12 10:53:21 EDT 2009


On Thursday 12 March 2009, John W. Linville wrote:
>On Thu, Mar 12, 2009 at 12:03:41AM -0400, Gene Heskett wrote:
>> On Wednesday 11 March 2009, John W. Linville wrote:
>> >On Wed, Mar 11, 2009 at 06:50:41PM -0400, Gene Heskett wrote:
>> >> On Wednesday 11 March 2009, John W. Linville wrote:
>> >> >On Wed, Mar 11, 2009 at 03:42:43PM -0400, Gene Heskett wrote:
>> >> >> On a secondary note, the usb bluetooth keys have arrived, and I'm a
>> >> >> bit confused as the kernel doesn't seem to recognize the makers code
>> >> >> & doesn't load the right drivers for it.
>> >> >
>> >> >Doh!  That sucks...  What is the USB ID?
>> >>
>> >> Bus 002 Device 005: ID 0e5e:6622
>> >>
>> >> >John
>> >>
>> >> Thanks John, specially if you can figure an alias. :)
>> >
>> >It looks like the btusb driver claims support for that.
>>
>> I enabled that for the last build too.
>>
>> >It is
>> >selected by CONFIG_BT_HCIBTUSB, which is turned-on by default in
>> >Fedora kernels.  This is the newer HCI USB Bluetooth driver, which
>> >supercedes the older hci_usb driver (selected by CONFIG_BT_HCIUSB).
>> >
>> >Are you using a stock Fedora kernel?  If not, make sure you are using
>> >CONFIG_BT_HCIBTUSB (and not CONFIG_BT_HCIUSB) in your .config file.
>> >
>> >Hth!
>>
>> A step in the right direction I believe.
>>
>> >John
>> >
>> >From the 2.6.29-rc7/.config
>>
>> [root at coyote linux-2.6.29-rc7]# grep CONFIG_BT_HCIBTUSB .config
>> CONFIG_BT_HCIBTUSB=m
>>
>> In fact:
>> [root at coyote linux-2.6.29-rc7]# grep CONFIG_BT .config
>> CONFIG_BT=m
>> CONFIG_BT_L2CAP=m
>> CONFIG_BT_SCO=m
>> 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
>> CONFIG_BT_HIDP=m
>> CONFIG_BT_HCIBTUSB=m
>> CONFIG_BT_HCIBTSDIO=m
>> CONFIG_BT_HCIUART=m
>> CONFIG_BT_HCIUART_H4=y
>> CONFIG_BT_HCIUART_BCSP=y
>> CONFIG_BT_HCIUART_LL=y
>> CONFIG_BT_HCIBCM203X=m
>> CONFIG_BT_HCIBPA10X=m
>> CONFIG_BT_HCIBFUSB=m
>> CONFIG_BT_HCIVHCI=m
>> # CONFIG_BTRFS_FS is not set
>>
>> Humm, looks like I missed one.  Or did I, is it even related
>> to bluetooth stuffs?  Sounds like one of those specialty filesystems.
>
>BTRFS is a new filesystem, hoping to eventually replace EXT4.
>
>> And on the reboot, it did create 2 more /dev/hidraw (1 & 2) devices, but
>> no /dev/hci* are to be found.  Am I looking for the wrong device?
>
>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.

>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. :)

>John

Thanks John.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I've found my niche.  If you're wondering why I'm not there, there was
this little hole in the bottom ...
		-- John Croll




More information about the Coco mailing list