linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] cannot cat /dev/bluetooth/rfcomm/0
@ 2006-01-13  9:03 Peppe Colicchia
  2006-01-14  0:16 ` Niv
  0 siblings, 1 reply; 3+ messages in thread
From: Peppe Colicchia @ 2006-01-13  9:03 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] cannot cat /dev/bluetooth/rfcomm/0
  2006-01-13  9:03 [Bluez-users] cannot cat /dev/bluetooth/rfcomm/0 Peppe Colicchia
@ 2006-01-14  0:16 ` Niv
  2006-01-16 11:00   ` [Bluez-users] " Peppe Colicchia
  0 siblings, 1 reply; 3+ messages in thread
From: Niv @ 2006-01-14  0:16 UTC (permalink / raw)
  To: bluez-users

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


Peppe Colicchia wrote:

> 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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bluez-users] Re: cannot cat /dev/bluetooth/rfcomm/0
  2006-01-14  0:16 ` Niv
@ 2006-01-16 11:00   ` Peppe Colicchia
  0 siblings, 0 replies; 3+ messages in thread
From: Peppe Colicchia @ 2006-01-16 11:00 UTC (permalink / raw)
  To: bluez-users

> 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 

> 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? 

> 
> Niv 
> 

Thanks Niv. 

> 
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-16 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13  9:03 [Bluez-users] cannot cat /dev/bluetooth/rfcomm/0 Peppe Colicchia
2006-01-14  0:16 ` Niv
2006-01-16 11:00   ` [Bluez-users] " Peppe Colicchia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).