* [Bluez-users] Some questions
@ 2004-06-10 6:53 DVornheder
2004-06-10 10:33 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: DVornheder @ 2004-06-10 6:53 UTC (permalink / raw)
To: bluez-users
Hi !
Yesterday i bought a Belkin Bluetooth USB Adapter.
After plugin the adapter i get this messages:
Jun 9 21:36:05 pclap kernel: usb 1-1: new full speed USB device using
address
2
Jun 9 21:36:05 pclap /etc/hotplug/usb.agent[11903]: need a device for
this
command
Jun 9 21:36:05 pclap hcid[4002]: HCI dev 0 registered
Jun 9 21:36:05 pclap hcid[4002]: HCI dev 0 up
Jun 9 21:36:05 pclap hcid[4002]: Starting security manager 0
Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM ver 1.3
Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM socket layer initialized
Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM TTY layer initialized
lsusb shows:
Bus 002 Device 002: ID 050d:0081 Belkin Components
With ciptool search the adapter is connecting to my AVM Fritz ISDN AP-X:
Jun 9 21:40:00 pclap hcid[4002]: pin_code_request
(sba=00:0A:3A:51:81:4E,
dba=00:04:0E:85:35:15)
Jun 9 21:40:00 pclap hcid[4002]: link_key_notify
(sba=00:0A:3A:51:81:4E)
Jun 9 21:40:00 pclap hcid[4002]: Saving link key 00:0A:3A:51:81:4E
00:04:0E:85:35:15
hcitool scan shows:
Scanning ...
00:04:0E:85:35:15 Bluetooth ISDN Access Point
00:04:0E:83:3C:40 BlueZ (0)
00:02:72:44:CF:9F
BELKIN_PRT_44CF9F
My questions:
- No driver is loaded after plugin the adapter.
Is this ok ?
- How can i open a internet connection ?
- How can i print on my usb printer which is connected to the
BELKIN_PRT_44CF9F
bluetooth adapter ?
Dirk
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
2004-06-10 6:53 [Bluez-users] Some questions DVornheder
@ 2004-06-10 10:33 ` Marcel Holtmann
2004-06-15 20:23 ` Dirk Vornheder
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-06-10 10:33 UTC (permalink / raw)
To: DVornheder; +Cc: BlueZ Mailing List
Hi Dirk,
> Yesterday i bought a Belkin Bluetooth USB Adapter.
>
> After plugin the adapter i get this messages:
>
> Jun 9 21:36:05 pclap kernel: usb 1-1: new full speed USB device using
> address
> 2
> Jun 9 21:36:05 pclap /etc/hotplug/usb.agent[11903]: need a device for
> this
> command
> Jun 9 21:36:05 pclap hcid[4002]: HCI dev 0 registered
> Jun 9 21:36:05 pclap hcid[4002]: HCI dev 0 up
> Jun 9 21:36:05 pclap hcid[4002]: Starting security manager 0
> Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM ver 1.3
> Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM socket layer initialized
> Jun 9 21:36:09 pclap kernel: Bluetooth: RFCOMM TTY layer initialized
>
> lsusb shows:
>
> Bus 002 Device 002: ID 050d:0081 Belkin Components
>
> With ciptool search the adapter is connecting to my AVM Fritz ISDN AP-X:
>
> Jun 9 21:40:00 pclap hcid[4002]: pin_code_request
> (sba=00:0A:3A:51:81:4E,
> dba=00:04:0E:85:35:15)
> Jun 9 21:40:00 pclap hcid[4002]: link_key_notify
> (sba=00:0A:3A:51:81:4E)
> Jun 9 21:40:00 pclap hcid[4002]: Saving link key 00:0A:3A:51:81:4E
> 00:04:0E:85:35:15
>
> hcitool scan shows:
>
> Scanning ...
> 00:04:0E:85:35:15 Bluetooth ISDN Access Point
> 00:04:0E:83:3C:40 BlueZ (0)
> 00:02:72:44:CF:9F
> BELKIN_PRT_44CF9F
>
> My questions:
>
> - No driver is loaded after plugin the adapter.
>
> Is this ok ?
I think the hci_usb is loaded, otherwise your device won't work.
> - How can i open a internet connection ?
Use pppd and the CAPI plugin for it. Check with capiinfo for your ISDN
access point.
http://www.holtmann.org/linux/bluetooth/isdn.html
> - How can i print on my usb printer which is connected to the
> BELKIN_PRT_44CF9F
>
> bluetooth adapter ?
First send me some info about this printer adapter for my list. The
output "hcitool info ..." will be nice.
The CUPS printing backend for Bluetooth will help you out here.
http://www.holtmann.org/linux/bluetooth/cups.html
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
2004-06-10 10:33 ` Marcel Holtmann
@ 2004-06-15 20:23 ` Dirk Vornheder
2004-06-15 22:38 ` Marcel Holtmann
0 siblings, 1 reply; 7+ messages in thread
From: Dirk Vornheder @ 2004-06-15 20:23 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-users
> > 00:04:0E:85:35:15 Bluetooth ISDN Access Point
> > 00:04:0E:83:3C:40 BlueZ (0)
> > 00:02:72:44:CF:9F
> > BELKIN_PRT_44CF9F
> >
> > My questions:
> >
> > - No driver is loaded after plugin the adapter.
> >
> > Is this ok ?
>
> I think the hci_usb is loaded, otherwise your device won't work.
>
> > - How can i open a internet connection ?
>
> Use pppd and the CAPI plugin for it. Check with capiinfo for your ISDN
> access point.
>
After loading the capi module the internet connection works.
>
> > - How can i print on my usb printer which is connected to the
> > BELKIN_PRT_44CF9F
> >
> > bluetooth adapter ?
>
> First send me some info about this printer adapter for my list. The
> output "hcitool info ..." will be nice.
>
Here are the info:
hcitool info 00:02:72:44:CF:9F
Requesting information ...
BD Address: 00:02:72:44:CF:9F
Device Name: BELKIN_PRT_44CF9F
LMP Version: 1.1 (0x1) LMP Subversion: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO>
> The CUPS printing backend for Bluetooth will help you out here.
>
After compile and install i try to print via spp and hcrp.
A connection to printer adpater is coming up but nothing is printed.
Here are some lines from my /etc/bluetooth/printers.conf:
default {
# Bluetooth address of the device
device 00:02:72:44:CF:9F;
# Bluetooth printing protocol
protocol serial;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "HP-Deskjet 960C";
The entires in cups are:
bluetooth://00027244CF9F/spp
Under WIN-XP i can print via hcrp without any problem.
Dirk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
2004-06-15 20:23 ` Dirk Vornheder
@ 2004-06-15 22:38 ` Marcel Holtmann
[not found] ` <200406221724.44949.dvornheder@t-online.de>
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-06-15 22:38 UTC (permalink / raw)
To: Dirk Vornheder; +Cc: BlueZ Mailing List
Hi Dirk,
> > The CUPS printing backend for Bluetooth will help you out here.
> >
>
> After compile and install i try to print via spp and hcrp.
It is already part of the bluez-utils-2.7.
> A connection to printer adpater is coming up but nothing is printed.
>
> Here are some lines from my /etc/bluetooth/printers.conf:
>
> default {
> # Bluetooth address of the device
> device 00:02:72:44:CF:9F;
>
> # Bluetooth printing protocol
> protocol serial;
>
> # RFCOMM channel for the connection
> channel 1;
>
> # Description of the connection
> comment "HP-Deskjet 960C";
>
> The entires in cups are:
>
> bluetooth://00027244CF9F/spp
I prefer only using the URI and you don't need to add spp or hcrp,
because the backend with use HCRP if found and only fall back to RFCOMM
printing in the other case.
Use "hcidump -x" to check what is happening.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
[not found] ` <200406221724.44949.dvornheder@t-online.de>
@ 2004-06-22 21:27 ` Marcel Holtmann
[not found] ` <200406231941.04587.dvornheder@t-online.de>
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-06-22 21:27 UTC (permalink / raw)
To: Dirk Vornheder; +Cc: BlueZ Mailing List
Hi Dirk,
> > > The entires in cups are:
> > >
> > > bluetooth://00027244CF9F/spp
> >
> > I prefer only using the URI and you don't need to add spp or hcrp,
> > because the backend with use HCRP if found and only fall back to RFCOMM
> > printing in the other case.
> >
> > Use "hcidump -x" to check what is happening.
> >
>
> Here are the output from hcidump.
>
> Hope you find the problem.
I don't see any useful in it, but it looks very weird. Too much SDP
traffic. Something must be screwed up. Make me a binary dump with -w and
try to get the initial connection setup.
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
[not found] ` <200406231941.04587.dvornheder@t-online.de>
@ 2004-06-23 18:03 ` Marcel Holtmann
[not found] ` <200406240756.18537.dvornheder@t-online.de>
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2004-06-23 18:03 UTC (permalink / raw)
To: Dirk Vornheder; +Cc: BlueZ Mailing List
Hi Dirk,
> > I don't see any useful in it, but it looks very weird. Too much SDP
> > traffic. Something must be screwed up. Make me a binary dump with -w and
> > try to get the initial connection setup.
> >
>
> Here are the file.
I need a version where you log the initial creation of the HCI link. Do
you made this dump as root?
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] Some questions
[not found] ` <200406240756.18537.dvornheder@t-online.de>
@ 2004-06-24 11:21 ` Marcel Holtmann
0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2004-06-24 11:21 UTC (permalink / raw)
To: Dirk Vornheder; +Cc: BlueZ Mailing List
Hi Dirk,
> > I need a version where you log the initial creation of the HCI link. Do
> > you made this dump as root?
> >
>
> The hcidump is started before starting ciptool search.
>
> In the moment i can't see no connection to the printer adapter
>
> but hcitool scan shows it.
I can't follow you. The dump only shows a CMTP and a BNEP connection to
your access point. If you wanna print make sure that the Bluetooth CUPS
backend is in place and you configured a printer for it. The AP has
nothing to do with printing.
Regards
Marcel
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-06-24 11:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 6:53 [Bluez-users] Some questions DVornheder
2004-06-10 10:33 ` Marcel Holtmann
2004-06-15 20:23 ` Dirk Vornheder
2004-06-15 22:38 ` Marcel Holtmann
[not found] ` <200406221724.44949.dvornheder@t-online.de>
2004-06-22 21:27 ` Marcel Holtmann
[not found] ` <200406231941.04587.dvornheder@t-online.de>
2004-06-23 18:03 ` Marcel Holtmann
[not found] ` <200406240756.18537.dvornheder@t-online.de>
2004-06-24 11:21 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox