Skip to contentSkip to conversation

cannot cat /dev/bluetooth/rfcomm/0

Bluez-users Peppe Colicchia 2 participants 3 messages Jan 13, 2006 – Jan 16, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,
my ipaq 3870 (with a built-in bluetooth device) is running Familiar Linux 0.8.2 with OPIE, i would like to use it with a GPS device (Nemerix BT77 chipset). I was able to get NMEA output time ago, now i'm trying again but maybe i'm missing something - so please tell me where i'm wrong:

root@h3600:~# hciconfig -a
hci0:   Type: UART
      BD Address: 00:02:C7:0C:AA:B5 ACL MTU: 128:8 SCO MTU: 64:8
      UP RUNNING PSCAN ISCAN AUTH ENCRYPT
      RX bytes:929 acl:13 sco:0 events:34 errors:0
      TX bytes:985 acl:12 sco:0 commands:16 errors:0
      Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
      Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
      Link policy: RSWITCH HOLD SNIFF PARK
      Link mode: SLAVE ACCEPT
      Name: 'No name'
      Class: 0x120112
      Service Classes: Networking
      Device Class: Computer, Handheld
      HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
      Manufacturer: Cambridge Silicon Radio (10)
root@h3600:~# cat /etc/bluetooth/rfcomm.conf
rfcomm0 {
      bind yes;
      device 00:08:1B:8C:3F:A2;
      channel 1;
      comment "BT device";
}
root@h3600:~# cat /etc/bluetooth/pin
0000
root@h3600:~# rfcomm
rfcomm0: 00:08:1B:8C:3F:A2 channel 1 clean
root@h3600:~# hcitool scan
Scanning ...
      00:08:1B:8C:3F:A2       BT GPS
root@h3600:~# ps aux
-cut-
788 root        584 S   hcid: processing events
794 root        532 S   /sbin/sdpd
988 root        368 S   hciattach -p /dev/ttySB0 bcsp 230400
-cut-
root@h3600:~# cat /dev/bluetooth/rfcomm/0 

blank. nothing, no output. Time ago with the same O.S. version i was able to see the NMEA output, so i used gpsd and a navigator. CTRL-C and...

root@h3600:~# rfcomm
rfcomm0: 00:08:1B:8C:3F:A2 channel 1 closed 

where is the mistake? any help is appreciated. I have not the hcidump tool for my PDA (StrongARM cpu).

Regards,
Peppe Colicchia

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

what does this do:

# l2ping 00:08:1B:8C:3F:A2

I would also look if they actually are paired

Niv

P.s.

First replay to ML

Quoted 48 lines · Peppe Colicchia

Hi all,
my ipaq 3870 (with a built-in bluetooth device) is running Familiar Linux 0.8.2 with OPIE, i would like to use it with a GPS device (Nemerix BT77 chipset). I was able to get NMEA output time ago, now i'm trying again but maybe i'm missing something - so please tell me where i'm wrong:

root@h3600:~# hciconfig -a
hci0:   Type: UART
      BD Address: 00:02:C7:0C:AA:B5 ACL MTU: 128:8 SCO MTU: 64:8
      UP RUNNING PSCAN ISCAN AUTH ENCRYPT
      RX bytes:929 acl:13 sco:0 events:34 errors:0
      TX bytes:985 acl:12 sco:0 commands:16 errors:0
      Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
      Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
      Link policy: RSWITCH HOLD SNIFF PARK
      Link mode: SLAVE ACCEPT
      Name: 'No name'
      Class: 0x120112
      Service Classes: Networking
      Device Class: Computer, Handheld
      HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 
0x72
      Manufacturer: Cambridge Silicon Radio (10)
root@h3600:~# cat /etc/bluetooth/rfcomm.conf
rfcomm0 {
      bind yes;
      device 00:08:1B:8C:3F:A2;
      channel 1;
      comment "BT device";
}
root@h3600:~# cat /etc/bluetooth/pin
0000
root@h3600:~# rfcomm
rfcomm0: 00:08:1B:8C:3F:A2 channel 1 clean
root@h3600:~# hcitool scan
Scanning ...
      00:08:1B:8C:3F:A2       BT GPS
root@h3600:~# ps aux
-cut-
788 root        584 S   hcid: processing events
794 root        532 S   /sbin/sdpd
988 root        368 S   hciattach -p /dev/ttySB0 bcsp 230400
-cut-
root@h3600:~# cat /dev/bluetooth/rfcomm/0
blank. nothing, no output. Time ago with the same O.S. version i was able to see the NMEA output, so i used gpsd and a navigator. CTRL-C and...
root@h3600:~# rfcomm
rfcomm0: 00:08:1B:8C:3F:A2 channel 1 closed
where is the mistake? any help is appreciated. I have not the hcidump tool for my PDA (StrongARM cpu).
Regards,
Peppe Colicchia
Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 3 lines

what does this do:

# l2ping 00:08:1B:8C:3F:A2
root@h3600:~# l2ping 00:08:1B:8C:3F:A2
Ping: 00:08:1B:8C:3F:A2 from 00:02:C7:0C:AA:B5 (data size 20) ...
44 bytes from 00:08:1B:8C:3F:A2 id 0 time 50.98ms
44 bytes from 00:08:1B:8C:3F:A2 id 1 time 38.50ms
44 bytes from 00:08:1B:8C:3F:A2 id 2 time 33.82ms
44 bytes from 00:08:1B:8C:3F:A2 id 3 time 32.46ms
44 bytes from 00:08:1B:8C:3F:A2 id 4 time 31.29ms
5 sent, 5 received, 0% loss 
Quoted 1 line

I would also look if they actually are paired

I think the devices are paired: isn't it an operation that i have to do only once? I say this cause i was able to use the GPS receiver without problems. Now i'm trying several version of Familiar (from 0.8.2-stable to 0.8.3-snapshots and release candidate) without luck.

How could i pair again the devices?

Quoted 3 lines

Niv

Thanks Niv.

Quoted 6 lines

P.s.

First replay to ML

Regards, Peppe Colicchia

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users