Re: Getting/setting Inquiry trasmit power level unsolved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Natale,

> I've this issue: while trying to get/set inquiry transmit power level
> from a bluetooth usb dongle on 2.6 kernels I got always this error:
> 
> Can't read inquiry transmit power level on hci0: Input/output error (5)
> 
> I've tried with any bluetooth usb dongle class (1.1, 2 and 2.1) from
> many vendors (ex. Sitecom, Trust, D-Link, Belkin, etc), in many 2.6.x
> kernels ( 2.6.{27,31} ) on Debian and Ubuntu machines using BlueZ 3.x
> and 4.x stack and I got always that error while trying to get the TPL
> with:
> 
> hciconfig <device> inqtpl
> 
> I searched a lot in mailing list archives and I haven't seen any
> solution for this issue, I've found maybe useful only this old email
> 
> http://osdir.com/ml/bluez.devel/2003-06/msg00140.html
> 
> where is suggested a CSR chipset based hardware.
> Also looking in sources I found that the problem comes from this pieces of code:
> 
> int8_t level;
> 
>         if (hci_read_inquiry_transmit_power_level(dd, &level, 1000) < 0) {
>             fprintf(stderr, "Can't read inquiry transmit power level
> on hci%d: %s (%d)\n",
>                         hdev, strerror(errno), errno);
>             exit(1);
>         }
> 
> My question is : how can I have the inqtpl option working? Should I
> buy only CSR hardware dongle? I'm considering usb dongle because they
> are the most common in the market, although it could be a linux-usb
> issue I wonder how to try to fix it!

what does hciconfig hci0 commands tell you? Does it show that this
command is supported by the firmware. And this is a pure 2.1 feature so
all older dongles will not have it.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux