Skip to contentSkip to conversation

hciconfig question

Bluez-devel Jeff Wilson 3 participants 7 messages Dec 24, 2004 – Jan 11, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I'm studying hciconfig.c to learn how to set inquiry mode and parameters. As I play with the binary to understand the source, I get the following error on "hciconfig hci0 inqmode":

Can't read inquiry mode on hci0. Input/output error(5)

The "inqparms" command reads from hci0 just fine, with no errors. I have "iscan enable" set in /etc/bluetooth/hcid.conf ... what else should I check?

Thanks for your time,
jw

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Jeff,

Quoted 9 lines

I'm studying hciconfig.c to learn how to set inquiry mode and parameters. As I play with the binary to understand the source, I get the following error on "hciconfig hci0 inqmode":

Can't read inquiry mode on hci0. Input/output error(5)

The "inqparms" command reads from hci0 just fine, with no errors. I have "iscan enable" set in /etc/bluetooth/hcid.conf ... what else should I check?

you need a Bluetooth 1.2 device with inquiry with RSSI support.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 6 lines · Marcel Holtmann

Hi Jeff,

Quoted 4 lines

I'm studying hciconfig.c to learn how to set inquiry mode and parameters. As I play with the binary to understand the source, I get the following error on "hciconfig hci0 inqmode":

Quoted 7 lines
Quoted 5 lines

Can't read inquiry mode on hci0. Input/output error(5)

The "inqparms" command reads from hci0 just fine, with no errors. I have "iscan enable" set in /etc/bluetooth/hcid.conf ... what else should I check?

you need a Bluetooth 1.2 device with inquiry with RSSI support.

What about older devices without RSSI?

thanks,
jw

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw
In reply to Marcel Holtmann
Quoted 8 lines · Marcel Holtmann

Hi Jeff,

you need a Bluetooth 1.2 device with inquiry with RSSI support.

Regards

Marcel

The only 1.2 devices listed at
http://www.holtmann.org/linux/bluetooth/devices.html are the Apple G4 and the Lifetech BlueConnect (but then I saw Carlos say that isn't so).

I'm in the market for a couple of 1.2 USB dongles I can use with the latest BlueZ kernel. Any suggestions? I found "ANYCOM USB-120 USB Adapter" on Froogle. Any comments about Anycom?

Thanks for your time,
jw

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#4 lore raw

Hi Jeff,

Quoted 8 lines

The only 1.2 devices listed at
http://www.holtmann.org/linux/bluetooth/devices.html are the Apple G4 and the Lifetech BlueConnect (but then I saw Carlos say that isn't so).

I'm in the market for a couple of 1.2 USB dongles I can use with the latest BlueZ kernel. Any suggestions? I found "ANYCOM USB-120 USB Adapter" on Froogle. Any comments about Anycom?

the Anycom with Bluetooth 1.2 uses a Silicon Wave chip, but this is a ROM version and the inquiry with RSSI has a bug.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#5 lore raw
In reply to Jeff Wilson
Quoted 10 lines

The only 1.2 devices listed at
http://www.holtmann.org/linux/bluetooth/devices.html are the Apple G4 and the Lifetech BlueConnect (but then I saw Carlos say that isn't so).

I'm in the market for a couple of 1.2 USB dongles I can use with the latest BlueZ kernel. Any suggestions? I found "ANYCOM USB-120 USB Adapter" on Froogle. Any comments about Anycom?

From the thread that appeared the other day on the users list can't

you just buy one of the upgradable BT 1.1 devices like a later revision of the DLink BT-120 and upgrade it to the 1.2 standard.

Thread here
http://sourceforge.net/mailarchive/forum.php?thread_id=6278463&forum_id=1883

Regards
Peter

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#6 lore raw

Thanks for the tips, Peter and Marcel. If I get something working, I'll post back to let you know.

Best regards,
jw

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel