Linux Bluetooth driver installed successfully

Source: Internet
Author: User

My system is Hongqi desktop 5.0
Bluetooth adapter: ISSC chip, USB interface (there are other brands on the market, most of which are OK)
Bluetooth mobile phone: suo ait628 (my mobile phone is from Moto a732)
1. Load the Bluetooth adapter
After the USB port is inserted, you can use the lsusb command to see:
Bus 004 device 003: Id 1131: 1001 integrated system solution Corp.
Here is, run hciconfig and you can see:
Hci0: Type: USB
BD address: 00: 11: 67: 02: 1A: 03 acl mtu: 678: 8 sco mtu: 48: 5 down RX Bytes: 142289 ACL: 884 SCO: 0 events: 823 errors: 0 TX Bytes: 13302 ACL: 494 SCO: 0 commands: 151 errors: 0 run: hciconfig hci0 up
Can activate the excuse (this step is not done, hcitool scan cannot run)
3. Place the default configuration file of bluez in the/etc/Bluetooth directory hcid. conf and pin do not need to be modified. The security mode has been set to auto to facilitate the connection. You can modify them by yourself. We recommend that you do not modify them to prevent some devices from being connected.
4. Restart the Bluetooth service. /Etc/rc. d/init. d/Bluetooth stop/etc/rc. d/init. d/Bluetooth start
5. Run hcitool scan on the scanning device and you can get: Scanning... 00: 01: EC: 0C: D2: 00 tree's t628 my cell phone 00: 18: A4: 2b: CD: 6f a732
6. modify the configuration file:/etc/Bluetooth/RFCOMM. in Conf, change device 11: 22: 33: 44: 55: 66 to hcitool scan, that is, device 00: 01: EC: 0C: D2: 00 save and exit.
7. Create a device: Run rfcomm_create_dev.
8. Add a channel: sdptool add -- channel = 1 did SP Dun LAN fax opush ftp hs hf sap nap GN Panu hid cip ctp a2src a2snk SyncML nokid pcsuite SR1 parameters are not necessarily supported, but in case some services are not opened, they are all opened. RFCOMM bind/dev/rfcomm0 address channel (configured in RFCOMM. conf) The command here should be written as: RFCOMM bind/dev/rfcomm0
00: 01: EC: 0C: D2: 00 1
9. Connect to the mobile phone: hcitool CC address, that is, hcitool CC 00: 01: EC: 0C: D2: 00. At this time, we can see that the Bluetooth connection on the mobile phone is in the UNICOM status.
10. Send a file from the computer: the obex-send abc.jpg operating system prompts you to select the target to be sent. At the same time, a prompt box is displayed on the mobile phone asking whether to accept the file.
11. Mobile phone configuration: You need to configure it on the mobile phone: connect-> Bluetooth-> matching device-> Add device. Automatically scans the adapter on the PC. If you need to fill in the identification code, enter 123. It has been set above. At this time, we can see that the mobile phone has successfully added a bluetooth device.
12. Send a file from your mobile phone. Start obex-server on a PC and a small icon appears on the system tray. After completing the above work, you can choose multimedia> my album on your mobile phone to select an image. Then, "send"-> "via Bluetooth" to see the Bluetooth adapter you just scanned. Then, you can send the file.
13. use software to manage mobile phone information. Refer to the gnokii software documentation

After entering the command interface, I entered
[Root @ localhost ~] # Hciconfig hci0 up
[Root @ localhost ~] # Lsusb
Bus 002 device 002: Id 0a5c: 2045 Broadcom Corp.
Bus 002 device 001: Id :0000 OEM
Bus 001 device 001: Id :0000 OEM
[Root @ localhost ~] # Hciconfig
Hci0: Type: USB
BD address: 1A: C5: 98: 65: 8A: 07 acl mtu: 1017:8 sco mtu: 64: 0
Up running pscan iscan
RX Bytes: 107 ACL: 0 SCO: 0 events: 14 errors: 0
TX Bytes: 310 ACL: 0 SCO: 0 commands: 14 errors: 0

[Root @ localhost ~] # Hciconfig hci0 up
[Root @ localhost ~] #/Etc/rc. d/init. d/Bluetooth stop
Stopping Bluetooth subsystem: pand Dund RFCOMM hidd sdpd hcid.
[Root @ localhost ~] #/Etc/rc. d/init. d/Bluetooth start
Starting Bluetooth subsystem: hcid sdpd hidd hid2hci RFCOMM.
[Root @ localhost ~] # Hcitool Scan
Scanning...
00: 18: A4: 2b: CD: 6f N/
[Root @ localhost ~] # Rfcomm_create_dev
[Root @ localhost ~] # Sdptool add -- channel = 1 did SP Dun LAN fax opush ftp hs hf sap nap GN Panu hid cip ctp a2src a2snk SyncML nokid pcsuite SR1
[Root @ localhost ~] # Hcitool CC 00: 18: A4: 2b: CD: 6f
[Root @ localhost ~] # Obex-send abc.jpg
Bash: obex-Send: Command not found
[Root @ localhost ~] #
Then I found the Bluetooth adapter and my mobile phone !! But after I restarted the system, I couldn't find the original stuff!
I posted the cut chart after success here. Could someone help me study it?
Another problem is that everything in Figure 2 cannot be used. After double-clicking, there is no response !!! I don't know where the problem is.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.