1

Temat: Bluetooth w asus wl-500g

Witam. Jest to moj pierwszy post. Mam problem z instalacja adaptera bluetooth (pentagram) w moim asusie z systemem Kamikaze. Wszystko robiłem według strony http://www.openwrt.pl/. Jednak po wpisaniu komendy "hcitool dev" nie odnajduje mojego adaptera bluetooth. Po wpisaniu komendy lsusb wyswietla sie cos takiego:

Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 05e3:0608 Genesys Logic, Inc.
Bus 004 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle ( HCI mode)
Bus 004 Device 004: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 06b9:4061 Alcatel Telecom SpeedTouch ISDN or ADSL Modem
Bus 001 Device 001: ID 0000:0000

Wiec co mam zrobić aby Bluez odnalazl bluetooth?

Oprócz tego mam zainstalowane takie paczki:
kmod-bluetooth
bluez-libs
bluez-utils
kmod-usb-core
kmod-usb-ohci
kmod-usb2
libusb
lsusb
usbcore
usb-ohci
bluez
hci_usb
hci_uart
sco
l2cap
rfcomm

2

Odp: Bluetooth w asus wl-500g

Nie prawda, drugi. Pierwszy był na openlinksys.info smile.

lsmod pokaż oraz dmesg

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Bluetooth w asus wl-500g

Cezary napisał/a:

Nie prawda, drugi. Pierwszy był na openlinksys.info smile.

lsmod pokaż oraz dmesg

Pierwszy post na tym forum wink

Moj lsmod:

Module                  Size  Used by    Tainted: P
n_hdlc                  7120   1
atm                    35616   0 (unused)
ppp_mppe_mppc          13412   0
ppp_synctty             6348   1
visor                  13384   0 (unused)
mct_u232                7240   0 (unused)
usb-storage            68240   0 (unused)
sd_mod                 12500   0 (unused)
scsi_mod               66048   1 [usb-storage sd_mod]
usbserial              24540   0 [visor mct_u232]
printer                 9852   0 (unused)
acm                     6172   0 (unused)
wlcompat               14944   0 (unused)
ehci-hcd               20556   0 (unused)
uhci                   29044   0 (unused)
usb-ohci               19252   0 (unused)
nls_iso8859-2           3184   0 (unused)
ip_conntrack_tftp       1712   0 (unused)
ip_nat_irc              2336   0 (unused)
ip_conntrack_irc        3128   1
ip_nat_ftp              2960   0 (unused)
ip_conntrack_ftp        4272   1
ipt_unclean             6832   0 (unused)
ipt_TTL                  944   0 (unused)
ipt_ttl                  496   0 (unused)
ipt_TOS                  976   0 (unused)
ipt_time                1544   0 (unused)
ipt_tos                  304   0 (unused)
ipt_tcpmss               656   0 (unused)
ipt_mac                  544   0 (unused)
ipt_length               336   0 (unused)
ipt_ECN                 1616   0 (unused)
ipt_ecn                  656   0 (unused)
ipt_DSCP                 960   0 (unused)
ipt_dscp                 304   0 (unused)
ipt_CLASSIFY             704   0 (unused)
imq                     2384   0 (unused)
ipt_IMQ                  672   0 (unused)
ipt_string              3240   0 (unused)
ipt_layer7             10752   0 (unused)
ipt_ipp2p               7320   0 (unused)
ipt_recent              8208   0 (unused)
ipt_connbytes           1168   0 (unused)
ipt_helper               560   0 (unused)
ipt_conntrack           1104   0 (unused)
ipt_CONNMARK             816   0 (unused)
ipt_connmark             352   0 (unused)
tun                     4504   0 (unused)
ppp_async               7884   0 (unused)
ppp_generic            22300   3 [ppp_mppe_mppc ppp_synctty ppp_async]
slhc                    6064   0 [ppp_generic]
vfat                   11340   0 (unused)
fat                    34448   0 [vfat]
ext3                   71388   0 (unused)
jbd                    51136   0 [ext3]
ext2                   40304   0 (unused)
wl                    630776   0 (unused)
sco                    10196   0 (unused)
rfcomm                 35128   0 (unused)
l2cap                  18524   1 [rfcomm]
bluez                  38936   0 [sco rfcomm l2cap]
usbcore                71296   2 [visor mct_u232 usb-storage usbserial printer acm ehci-hcd uhci usb-ohci]
switch-robo             4540   0 (unused)
switch-core             4864   0 [switch-robo]
diag                   25520   0 (unused)

Oraz dmesg:
CPU revision is: 00029006
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (nbd@ds10) (gcc version 3.4.6 (OpenWrt-2.0)) #3 Sun Sep 30 20:33:21 CEST 2007
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Memory: 30432k/32768k available (1462k kernel code, 2336k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1e:8c:72:32:86
PCI: Setting latency timer of device 00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x121cc8
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000be400-0x001f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x001f0000-0x007f0000 : "rootfs_data"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: found!
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0.0 entered promiscuous mode
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ RFCOMM ver 1.1
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
BlueZ SCO ver 0.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.80.53.0
Journalled Block Device driver loaded
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
IPP2P v0.8.1_rc1 loading
imq driver loaded.
ipt_time loading
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:03.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 08:58:50 Sep 29 2007
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c0249000
usb.c: new USB bus registered, assigned bus number 4
EHCI: Enabling VIA 6212 workarounds
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: connect-debounce failed, port 1 disabled
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usbserial.c: USB Serial support registered for MCT U232
mct_u232.c: Magic Control Technology USB-RS232 converter driver z2.0
hub.c: new USB device 01:03.2-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
usbserial.c: USB Serial support registered for Handspring Visor / Treo / Palm 4.0 / Clié 4.x
usbserial.c: USB Serial support registered for Sony Clié 3.5
usbserial.c: USB Serial support registered for Sony Clié 5.0
visor.c: USB HandSpring Visor, Palm m50x, Treo, Sony Clié driver v1.7
hub.c: new USB device 01:03.2-1.1, assigned address 3
usb.c: USB device 3 (vend/prod 0xa12/0x1) is not claimed by any active driver.
device wl0 entered promiscuous mode
wl0: attempt to add interface with same source address.
br-lan: port 2(wl0) entering learning state
br-lan: port 2(wl0) entering forwarding state
br-lan: topology change detected, propagating
hub.c: new USB device 01:03.2-1.2, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
hub.c: new USB device 01:03.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x6b9/0x4061) is not claimed by any active driver.
MPPE/MPPC encryption/compression module registered
HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
N_HDLC line discipline registered.
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -145
usb.c: USB disconnect on device 01:03.2-1.1 address 3

A poza tym próbowałem robić to też według tej strony ale też nic z tego nie wyszlo:
http://forum.openwrt.org/viewtopic.php?id=1650

4

Odp: Bluetooth w asus wl-500g

Nie masz załadowanego hci_usb

insmod hci_usb zrób i pokaz kilka ostatnich linii z dmesg.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Bluetooth w asus wl-500g

device wl0 entered promiscuous mode
wl0: attempt to add interface with same source address.
br-lan: port 2(wl0) entering learning state
br-lan: port 2(wl0) entering forwarding state
br-lan: topology change detected, propagating
hub.c: new USB device 01:03.2-1.2, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
hub.c: new USB device 01:03.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x6b9/0x4061) is not claimed by any active driver.
MPPE/MPPC encryption/compression module registered
HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
N_HDLC line discipline registered.
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -145
usb.c: USB disconnect on device 01:03.2-1.1 address 3
BlueZ HCI USB driver ver 2.7 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
usb.c: registered new driver hci_usb

6

Odp: Bluetooth w asus wl-500g

No to masz. hciconfig co CI pokazuje? (lub hcitool dev)

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Bluetooth w asus wl-500g

root@ASUS:~# hcid
root@ASUS:~# hcitool dev
Devices:
root@ASUS:~# hciconfig
root@ASUS:~#

Nic nie pokazuje.

8

Odp: Bluetooth w asus wl-500g

/etc/bluez-utils stop
/etc/bluez-utils start

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Bluetooth w asus wl-500g

root@ASUS:~# /etc/bluez-utils stop
-ash: /etc/bluez-utils: not found

chyba zla sciezka bo nie odnalazlo tego pliku. Patrzylem tez przez WinSCP i tez nie widac tego

10

Odp: Bluetooth w asus wl-500g

/etc/init.d/bluez-utils oczywiście....

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Bluetooth w asus wl-500g

root@ASUS:~# /etc/init.d/bluez-utils stop
killall: dund: no process killed
killall: pand: no process killed
killall: sdpd: no process killed
root@ASUS:~# /etc/bluez-utils start
-ash: /etc/bluez-utils: not found
root@ASUS:~# /etc/init.d/bluez-utils start
root@ASUS:~# hcid
root@ASUS:~# hcitool dev
Devices:
root@ASUS:~#

Nic nie pomogło.. :-/

12

Odp: Bluetooth w asus wl-500g

to pokaz teraz ps, dmesg i logread

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Bluetooth w asus wl-500g

W ogóle to zobacz czy masz /etc/modules.d/90-bluetooth. Tam powinien być wpisane hci_usb. Jak masz zrób restart rutera. Zobacz przez lsmod czy jest hci_usb załadowany. Jak tak  to pokaż dmesg i ps. Czasami nie masz go na jakimś hubie usb? Jak tak to podłącz go bezpośrednio.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Bluetooth w asus wl-500g

Nie mam wogole tego pliku /etc/modules.d/90-bluetooth. Miałem go na hubie ale wczesniej go podłączylem przez krótki przedłurzacz usb bo mam ciezko go podłaczyc bezposrednio ponieważ mam też podłaczoną neostrade przez modem Thomsona.

15

Odp: Bluetooth w asus wl-500g

Musisz mieć, on pochodzi z kmod-bluetooth. Instalowałeś pakiety z kamikaze czy z tej dziwnej lokalizacji? usuń i zainstaluj jeszcze raz ten pakiet.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Bluetooth w asus wl-500g

SUPER! Pomogło. :-D Naprawde wielkie dzięki że mi poświęciłeś tyle czasu.

17

Odp: Bluetooth w asus wl-500g

Jak zrobisz coś ciekawego z bluetootem to podziel się później opisem dla potomnych.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: Bluetooth w asus wl-500g

Jak uda mi się z tym coś ciekawego to na pewno się tym podzielę. Jeszcze raz dziękuje smile

19 (edytowany przez Lesiuk 2009-04-28 16:39:48)

Odp: Bluetooth w asus wl-500g

Mam dokładnie taki sam problem na tym samym routerze jednak pod fw olega.
Bluetooth także od Cambridge Silicon Radio HCI wersja 2.0

Pomożecie ?

Mój syslog
http://www.nopaste.pl/Source/boe.txt

lsmod
http://www.nopaste.pl/Source/bof.txt

Pod lsusb mam to:
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


Chociaz bluetooth jest na pewno podlaczony (co kilka sekund miga dioda).

EDIT: ok, poradziłem sobie, podłączyłem bluetooth przez hub usb.

Teraz inny problem.

[root@LesiukNET etc]$ pand --listen --master --role NAP --devup /tmp/harddisk/bluez/dev-up
Failed to open control socket: No such file or directory

20

Odp: Bluetooth w asus wl-500g

Wg logu wszystko się podnosi itd. Z olegiem Ci nie pomogę, ostatni raz olega widziałem kilka late temu smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.