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

Re: Re: [bluetooth-dev] openBT with CSR-HW and USB



Hi Greg,


> On Tue, Sep 04, 2001 at 03:34:41PM +0200, Andreas Vedral wrote:
> > 
> > Has anyone an idea, what is going wrong?
> 
> What does the kernel debug log say when you plug in your USB bluetooth
> device after the modules are loaded?

Sep  5 13:05:41 linux1 kernel: hub.c: USB new device connect on bus1/1, assigned device number 4
Sep  5 13:05:41 linux1 kernel: usb.c: USB device 4 (vend/prod 0xa12/0x1) is not claimed by any active driver.

The following steps describes, how I have installed the usb and bluetooth modules:

1. I have installed the modules hci-ohci, usbcore,
2. I have mounted the usb system: 
   mount -t usbdevfs none /proc/bus/usb
3. I have installed the module bluetooth.
4. I have made the device:
    mknod /dev/ttyUB0 c 216 0

If I want to start btduser: 

   linux1:/usr/src/linux# btduser -u /dev/ttyUB0    
   Bluetooth Control Application
   -----------------------------
   Running as server
   Running stack in user mode
   Physdev /dev/ttyUB0, btdev (not used), speed 115200 baud
   sdp_parser.c::SDP Server starting
   sdp_parser.c::Opening server socket /tmp/sdp_sock
   sdp_parser.c::SDP Server listens...
   open_device: No such device


   linux1:/usr/src/linux# tail -f /var/log/kern.log
   Sep  5 12:17:10 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:17:10 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:17:35 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:17:35 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:18:35 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:18:35 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:18:37 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:18:37 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:18:38 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:18:38 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:24:02 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:24:02 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL
   Sep  5 12:46:36 linux1 kernel: bluetooth.c: bluetooth_open
   Sep  5 12:46:36 linux1 kernel: bluetooth.c: bluetooth_open - bluetooth == NULL



usbview shows the following informations about my CSR Module:


Unknown Device
Speed: 12Mb/s (full)
USB Version:  1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0a12
Product Id: 0001
Revision Number:  0.01

Config Number: 1
	Number of Interfaces: 3
	Attributes: c0
	MaxPower Needed:   0mA

	Interface Number: 0
		Name: (none)
		Alternate Number: 0
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 3

			Endpoint Address: 81
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 16
			Interval:   1ms

			Endpoint Address: 02
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval:   1ms

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 64
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 0
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 0
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 0
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 1
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 9
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 9
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 2
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 17
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 17
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 3
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 25
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 25
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 4
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 33
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 33
			Interval:   1ms

	Interface Number: 1
		Name: (none)
		Alternate Number: 5
		Class: e0(unk. ) 
		Sub Class: 1
		Protocol: 1
		Number of Endpoints: 2

			Endpoint Address: 03
			Direction: out
			Attribute: 1
			Type: Isoc
			Max Packet Size: 49
			Interval:   1ms

			Endpoint Address: 83
			Direction: in
			Attribute: 1
			Type: Isoc
			Max Packet Size: 49
			Interval:   1ms

	Interface Number: 2
		Name: (none)
		Alternate Number: 0
		Class: fe(app. ) 
		Sub Class: 1
		Protocol: 0
		Number of Endpoints: 0


linux1:/home/vedral# lsmod   
Module                  Size  Used by
usb-ohci               18448   0  (unused)
l2cap                  15904   0  (unused)
rtc                     5536   0  (autoclean)
bluetooth              17584   0  (unused)
usbcore                48960   1  [usb-ohci bluetooth]
hci                    20960   1  [l2cap]
es1371                 25920   0  (unused)
soundcore               4400   4  [es1371]
gameport                1952   0  [es1371]
ac97_codec              8544   0  [es1371]
vfat                    9008   0  (unused)
fat                    30944   0  [vfat]
romfs                   3920   0  (unused)
smbfs                  34416   0  (unused)
3c59x                  25280   1 
ipv6                  135008  -1 
unix                   15488  30  (autoclean)
ide-disk                6880   7  (autoclean)
ide-probe-mod           8848   0  (autoclean)
ide-mod               136592   7  (autoclean) [ide-disk ide-probe-mod]
ext2                   34832   6  (autoclean)


thanks for your help,
Andreas