2004-06-10 06:53:15

by DVornheder

[permalink] [raw]
Subject: [Bluez-users] Some questions

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-06-15 22:38:56

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Some questions

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-06-15 20:23:33

by DVornheder

[permalink] [raw]
Subject: Re: [Bluez-users] Some questions



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

2004-06-10 10:33:13

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Some questions

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users