LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-08-2010, 12:28 PM   #16
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15

Now I have this result:
Code:
root@latix:/etc/rc.d# hid2hci -v 413c -p 8162 -r hci -m dell
Attempting to switch device 413c:8162 to HCI mode was successful
root@latix:/etc/rc.d# hcitool dev
Devices:
root@latix:/etc/rc.d# hciconfig -a
root@latix:/etc/rc.d#
Seem it still doesnt work. I will continue to find out

Regards.
 
Old 02-08-2010, 12:34 PM   #17
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
Try to run hid2hci without any parameters.
Maybe this will bring the effect.

Best regards,
Jack.

Cheers
 
Old 02-08-2010, 12:41 PM   #18
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15
But this command required options
Code:
root@latix:/etc/rc.d# hid2hci                                                   

ERROR: Vendor ID, Product ID, and Switching Method must all be defined.

Usage:
        hid2hci [options]

Options:
        -h, --help           Display help
        -q, --quiet          Don't display any messages
        -r, --mode=          Mode to switch to [hid, hci]
        -v, --vendor=        Vendor ID to act upon
        -p, --product=       Product ID to act upon
        -m, --method=        Method to use to switch [csr, logitech, dell]
 
Old 02-08-2010, 12:50 PM   #19
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
You are right This tool needs really parameters, my fault.

Ok this is really strange.
Have you done a fresh start of bluetoothd
using the /etc/rc.d/rc.bluetooth?

Code:
/etc/rc.d/rc.bluetooth stop
/etc/rc.d/rc.bluetooth start
Restart bluetoothd, and after that run the:
Code:
hid2hci -v 413c -p 8162 -r hci -m dell
Best regards,
Jack.

Cheers

Last edited by Jack128; 02-08-2010 at 12:51 PM.
 
Old 02-08-2010, 01:08 PM   #20
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15
Result is as same as I post, but have a strange thing: when I run "hid2hci ...", there's no change in /var/log/messages
 
Old 02-09-2010, 02:57 AM   #21
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
Ok here is my last thought.
You could try to downgrade bluez,
remove my package, and try the same
procedure with the std one.

Code:
/etc/rc.d/rc.bluetooth stop
removepkg bluez-4.60-x86_64-1
installpkg bluez-libs-3.36-i486-2.txz
installpkg bluez-utils-3.36-i486-7.txz
ftp://ftp.osuosl.org/pub/slackware/s....36-i486-2.txz
ftp://ftp.osuosl.org/pub/slackware/s....36-i486-7.txz

After the downgrade:
Code:
chmod +x /etc/rc.d/rc.bluetooth
/etc/rc.d/rc.bluetooth start
hid2hci -v 413c -p 8162 -r hci -m dell
hcitool dev
hciconfig -a
Hope this helps,
Best regards,
Jack.

Cheers
 
Old 02-16-2010, 09:16 AM   #22
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15
I have done as you said but it's still unsuccessful

Maybe I have to continue finding out the solution.
Thanks.
 
Old 02-16-2010, 01:39 PM   #23
AuroraZero
Member
 
Registered: Oct 2009
Location: Michigan
Distribution: SlackWare 13.37, Android, Slax, Centos 5.9 Final, Centos 6
Posts: 187

Rep: Reputation: 31
You must have bluez-utils and bluez-libs tou also must have bluez-hcidump and bluez-firmaware installed. Make sure all of those packages are installed.

Then you have to add a code snippet to get passkey agent working. Without this you will not be able to do anything. You need to go to your etc>dbus-1>system.d and edit the bluetooth.conf file. Here is the code you must place in there.

Code:
<!-- This configuration file specifies the required security policies
     for Bluetooth core daemon to work. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- ../system.conf have denied everything, so we just punch some holes -->

  <policy user="root">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.Agent"/>
   <allow send_interface="org.bluez.PasskeyAgent"/>
  </policy>

  <policy at_console="true">
    <allow send_destination="org.bluez"/>
  </policy>

  <policy context="default">
    <deny send_destination="org.bluez"/>
  </policy>

</busconfig>
You might want to read here also http://www.linuxquestions.org/questi...z-woes-759397/

You must have the line in there where it is. Hope this helps.
 
Old 02-17-2010, 10:13 PM   #24
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15
@AuroraZero: but the problem is that my BT not recognized. I also do as you said but when run hid2hci, still show the old sentence "No devices in HID mode found".

@Jack: when you compile and package bluez-utils-3.36.xxx.txz, would you add BT Dell 365 paramaters in hid2hci.c as in http://natisbad.org/E4300/index.html
 
Old 02-18-2010, 12:11 PM   #25
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
Ok mate,
here is a patched version of bluez-3.36.

ftp://she-online.homeip.net:22/pub/l...es/bluez/3.36/

remove your old bluez-utils-3.36-i486-7 with:
Code:
removepkg bluez-utils-3.36-i486-7
and install my version:
Code:
installpkg bluez-utils-3.36-i486-7-jack.txz
I added a patch, for the change I did.

After you installed my package, run:
Code:
chmod +x /etc/rc.d/rc.bluetooth
/etc/rc.d/rc.bluetooth restart
hid2hci
(hid2hci without any parameters, it should work.)

If you got your device in hci mode, you could edit
/etc/rc.d/rc.bluetooth.conf
and change the HID2HCI_ENABLE=false to HID2HCI_ENABLE=true

Hopefully
Code:
hcitool dev
shows up your device.

Regards, Jack.
Cheers

Last edited by Jack128; 02-19-2010 at 12:52 PM.
 
Old 02-21-2010, 10:18 AM   #26
tridc
Member
 
Registered: Jan 2010
Distribution: Slackware 13
Posts: 30

Original Poster
Rep: Reputation: 15
Hi Jack,

I greatly appreciate your help but seem I had a strange problem with this BT 365 device of Dell.

Today, I partition my harddisk to dual boot with Windows 7. Then, I install BT driver from Dell official site. After installing and configuring, I turn on BT adapter using function of the software, and the BT LED is suddenly on.

Now, I log on to Slackware, the BT light is still on, I try lsusb and find it out
Code:
Bus 003 Device 005: ID 413c:8160 Dell Computer Corp.
continue I try:
Code:
root@latix:~# hcitool scan
Scanning ...
        00:1E:8D:1D:51:76       Motorola Phone
I feel very happy (I thought it died).

I think that BT device is not turned on before I install Linux (Ubuntu and Slackware) and it's still in TURN-OFF status until I active it by Windows 7

I think there is a similar software on Linux to turn on BT adapter before using it.

Thanks for all!
 
Old 02-21-2010, 02:37 PM   #27
AuroraZero
Member
 
Registered: Oct 2009
Location: Michigan
Distribution: SlackWare 13.37, Android, Slax, Centos 5.9 Final, Centos 6
Posts: 187

Rep: Reputation: 31
Yes that is exactly what happens. I guess I did not read this thread well enough. My HP wireless is the same way until the driver started to support turning it off and on. That most likely is the problem they have not built a driver as of yet to turn your bluetooth on and off.
 
Old 02-22-2010, 09:42 AM   #28
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
Very nice tridc.
Maybe one day it will work out-of-the-box, I hope so.

Ps: No problem, your welcome.

Best Regards,
Jack.

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell E4300 + Latitude on - can ARM be run without mswin? metageek Linux - Laptop and Netbook 5 01-27-2010 09:43 AM
Dell e4300 distro problems JET-33 Linux - Software 1 02-18-2009 07:31 AM
wireless and bluetooth not functioning in dell vostro 1510 (os: zenwalk 5.2) Ranjith19 Linux - Newbie 2 08-02-2008 01:19 AM
Dell 600m Bluetooth problems NoUse4ANick Linux - Laptop and Netbook 3 04-01-2006 10:36 AM
Bluetooth on Dell Inspiron 8600 eldoroe Linux - Laptop and Netbook 0 02-07-2005 03:59 AM


All times are GMT -5. The time now is 12:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration