All of lore.kernel.org
 help / color / mirror / Atom feed
From: NIV VAIZER <nivv@cs.bgu.ac.il>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Can't find device
Date: Wed, 18 Jan 2006 17:24:34 +0200	[thread overview]
Message-ID: <43CE5DB2.3040105@cs.bgu.ac.il> (raw)
In-Reply-To: <43CD5A8F.3080802@xmission.com>

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

Hi,
I am attaching alsa.before and after.

first describes a working status using the given ebuild.
the second is when I removed alsa from the kernel and used alsa-driver. I
marked out the line concering SND_HWDEP in order to emerge the ebuild.
as can be seen I compiled a module for SND_EMU10k1.
yet hcidump -X -V gives noting. like its failing in the alsa level.

It may be that SND_HWDEP thingy,
Niv



Brad Midgley wrote:

>Niv
>
>  
>
>>OK I am certain now. bluetooth-alsa cant work when using alsa-driver.
>>Even when SND_HWDEP is included.
>>    
>>
>
>fwiw, the nokia 770 guys came up with a cleaner way to get the hwdep
>stuff built.
>
>  
>
>>I cant use BT-alsa when I compile alsa as modules in the kernel.
>>    
>>
>
>explain what you mean here. as opposed to compiling everything directly
>into the kernel?
>
>  
>
>>I dont understand the difference.
>>
>>Is it to do with new alsa-driver ?
>>    
>>
>
>you mean the new alsa driver inside btsco? it's not working yet and it
>shouldn't be causing any problems.
>
>brad
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>  
>


[-- Attachment #2: alsa.before.txt --]
[-- Type: text/plain, Size: 11577 bytes --]

Linux blacky 2.6.14-ck8 #14 Tue Jan 17 01:43:12 IST 2006 i686 AMD Athlon(tm) XP 3200+ AuthenticAMD GNU/Linux
 * installed packages
media-libs/alsa-lib-1.0.10
media-libs/alsa-oss-1.0.10-r1
media-sound/alsa-headers-1.0.11_rc2
media-sound/alsa-tools-1.0.10
media-sound/alsa-utils-1.0.10
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X_OVERCLOCK=y
CONFIG_SND_CMIPCI=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_USB_AUDIO=m
Module                  Size  Used by
snd_bt_sco             12076  0 
snd_seq                48272  0 
snd_pcm_oss            49440  0 
snd_mixer_oss          17280  1 snd_pcm_oss
snd_usb_audio          74688  0 
snd_usb_lib            14592  1 snd_usb_audio
snd_hwdep               7200  2 snd_bt_sco,snd_usb_audio
snd_bt87x              11976  0 
snd_via82xx            23328  0 
snd_ac97_codec         92924  1 snd_via82xx
snd_ac97_bus            2048  1 snd_ac97_codec
snd_pcm                80392  6 snd_bt_sco,snd_pcm_oss,snd_usb_audio,snd_bt87x,snd_via82xx,snd_ac97_codec
snd_timer              20996  2 snd_seq,snd_pcm
snd_page_alloc          8712  4 snd_bt_sco,snd_bt87x,snd_via82xx,snd_pcm
snd_mpu401_uart         6016  1 snd_via82xx
snd_rawmidi            20256  2 snd_usb_lib,snd_mpu401_uart
snd_seq_device          7052  2 snd_seq,snd_rawmidi
snd                    45924  14 snd_bt_sco,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_bt87x,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7392  1 snd
it87                   19488  0 
hwmon_vid               2304  1 it87
eeprom                  5904  0 
i2c_isa                 3584  1 it87
rfcomm                 35356  1 
l2cap                  21124  5 rfcomm
spca5xx               684432  0 
hci_usb                13072  2 
usbhid                 33284  0 
i2c_viapro              6928  0 
rtc                    10168  0 
pcspkr                  3296  0 
tuner                  38184  0 
tvaudio                22300  0 
bttv                  155088  0 
video_buf              17284  1 bttv
firmware_class          8192  1 bttv
v4l2_common             4864  1 bttv
btcx_risc               4104  1 bttv
tveeprom               12432  1 bttv
videodev                7424  2 spca5xx,bttv
bluetooth              41732  7 rfcomm,l2cap,hci_usb
ati_agp                 6796  0 

btsco -v 00:02:72:E1:03:6A
btsco v0.41
Device is 3:0
Voice setting: 0x0060
RFCOMM channel 2 connected

HCI sniffer - Bluetooth packet analyzer ver 1.27
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:02:72:E1:03:6A ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 41 bdaddr 00:02:72:E1:03:6A type ACL encrypt 0x00
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
    handle 41 policy 0x0f
    Link policy: RSWITCH HOLD SNIFF PARK 
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    status 0x00 handle 41
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
    bdaddr 00:02:72:E1:03:6A mode 1
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 41 slots 5
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004c scid 0x0040 result 1 status 2
      Connection pending - Authorization pending
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004c scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004c flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 48 
< ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004c flags 0x00 result 0 clen 0
      Success
< ACL data: handle 41 flags 0x02 dlen 24
    L2CAP(d): cid 0x004c len 20 [psm 1]
        SDP SSA Req: tid 0x0 len 0xf
          pat uuid-16 0x1108 (Headset)
          max 65535
          aid(s) 0x0000 - 0xffff
          cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 52
    L2CAP(d): cid 0x0040 len 48 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x2b
          count 38
          cont 02 00 30
< ACL data: handle 41 flags 0x02 dlen 26
    L2CAP(d): cid 0x004c len 22 [psm 1]
        SDP SSA Req: tid 0x1 len 0x11
          pat uuid-16 0x1108 (Headset)
          max 65535
          aid(s) 0x0000 - 0xffff
          cont 02 00 30
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 52
    L2CAP(d): cid 0x0040 len 48 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x2b
          count 38
          cont 02 00 0A
< ACL data: handle 41 flags 0x02 dlen 26
    L2CAP(d): cid 0x004c len 22 [psm 1]
        SDP SSA Req: tid 0x2 len 0x11
          pat uuid-16 0x1108 (Headset)
          max 65535
          aid(s) 0x0000 - 0xffff
          cont 02 00 0A
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 22
    L2CAP(d): cid 0x0040 len 18 [psm 1]
        SDP SSA Rsp: tid 0x2 len 0xd
          count 10
          record #0
              aid 0x0000 (SrvRecHndl)
                 uint 0x10006
              aid 0x0001 (SrvClassIDList)
                 < uuid-16 0x1108 (Headset) uuid-16 0x1203 (Audio) >
              aid 0x0004 (ProtocolDescList)
                 < < uuid-16 0x0100 (L2CAP) > <
                 uuid-16 0x0003 (RFCOMM) uint 0x2 > >
              aid 0x0006 (LangBaseAttrIDList)
                 < uint 0x656e uint 0x6a uint 0x100 >
              aid 0x0009 (BTProfileDescList)
                 < < uuid-16 0x1108 (Headset) uint 0x100 > >
              aid 0x0100 (SrvName)
                 str "Headset"
              aid 0x0302 (unknown)
                 bool 0x1
          cont 00
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x004c scid 0x0040
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Command Complete (0x0e) plen 6
    Read Voice Setting (0x03|0x0025) ncmd 1
    status 0x00 voice setting 0x0060
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0041
> ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x004c scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004d scid 0x0041 result 1 status 2
      Connection pending - Authorization pending
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:02:72:E1:03:6A
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr 00:02:72:E1:03:6A key 97A0F2A60912C2434272463089F84F1B
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr 00:02:72:E1:03:6A
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004d scid 0x0041 result 0 status 0
      Connection successful
< ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x004d flags 0x00 clen 4
      MTU 1024 
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
      Success
> ACL data: handle 41 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 1024 
< ACL data: handle 41 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004d flags 0x00 result 0 clen 0
      Success
< ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x004d len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c 
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 
< ACL data: handle 41 flags 0x02 dlen 18
    L2CAP(d): cid 0x004d len 14 [psm 3]
      RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
      dlci 4 frame_type 0 credit_flow 15 pri 7 ack_timer 0
      frame_size 1019 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 18
    L2CAP(d): cid 0x0041 len 14 [psm 3]
      RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
      dlci 4 frame_type 0 credit_flow 14 pri 7 ack_timer 0
      frame_size 127 max_retrans 0 credits 0
< ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x004d len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 4 pf 1 ilen 0 fcs 0x96 
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 4 pf 1 ilen 0 fcs 0x5d 
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(d): cid 0x004d len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 4 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
> ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(d): cid 0x0041 len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 4 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0
< ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(d): cid 0x004d len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 4 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 12
    L2CAP(d): cid 0x0041 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 4 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
< ACL data: handle 41 flags 0x02 dlen 9
    L2CAP(d): cid 0x004d len 5 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 4 pf 1 ilen 0 fcs 0x79 credits 33
> ACL data: handle 41 flags 0x02 dlen 9
    L2CAP(d): cid 0x0041 len 5 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 4 pf 1 ilen 0 fcs 0xa3 credits 15
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 41 packets 1
> HCI Event: Role Change (0x12) plen 8
    status 0x00 bdaddr 00:02:72:E1:03:6A role 0x01
    Role: Slave
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 41 slots 5
> HCI Event: Mode Change (0x14) plen 6
    status 0x00 handle 41 mode 0x02 interval 800
    Mode: Sniff

[-- Attachment #3: alsa.after.txt --]
[-- Type: text/plain, Size: 2506 bytes --]

Linux blacky 2.6.14-ck8 #16 Wed Jan 18 16:44:08 IST 2006 i686 AMD Athlon(tm) XP 3200+ AuthenticAMD GNU/Linux
 * installed packages
media-libs/alsa-lib-1.0.10
media-libs/alsa-oss-1.0.10-r1
media-sound/alsa-driver-1.0.11_rc2
media-sound/alsa-headers-1.0.11_rc2
media-sound/alsa-tools-1.0.10
media-sound/alsa-utils-1.0.10
empty
Module                  Size  Used by
snd_bt_sco             12076  0 
it87                   19488  0 
hwmon_vid               2304  1 it87
eeprom                  5904  0 
i2c_isa                 3584  1 it87
rfcomm                 35356  1 
l2cap                  21124  5 rfcomm
spca5xx               684432  0 
hci_usb                13072  2 
usbhid                 33284  0 
i2c_viapro              6928  0 
snd_pcm_oss            48672  0 
snd_mixer_oss          17024  1 snd_pcm_oss
snd_seq_oss            33408  0 
snd_seq_midi_event      6016  1 snd_seq_oss
snd_seq                48464  4 snd_seq_oss,snd_seq_midi_event
snd_bt87x              12232  0 
snd_via82xx            23572  0 
snd_ac97_codec         93984  1 snd_via82xx
snd_ac97_bus            2048  1 snd_ac97_codec
snd_mpu401_uart         6272  1 snd_via82xx
rtc                    10168  0 
pcspkr                  3296  0 
tuner                  38184  0 
tvaudio                22300  0 
bttv                  155088  0 
video_buf              17284  1 bttv
firmware_class          8192  1 bttv
v4l2_common             4864  1 bttv
btcx_risc               4104  1 bttv
tveeprom               12432  1 bttv
videodev                7424  2 spca5xx,bttv
bluetooth              41732  7 rfcomm,l2cap,hci_usb
ati_agp                 6796  0 
snd_usb_audio          75712  0 
snd_pcm                80648  6 snd_bt_sco,snd_pcm_oss,snd_bt87x,snd_via82xx,snd_ac97_codec,snd_usb_audio
snd_timer              21252  2 snd_seq,snd_pcm
snd_page_alloc          8712  4 snd_bt_sco,snd_bt87x,snd_via82xx,snd_pcm
snd_usb_lib            14720  1 snd_usb_audio
snd_rawmidi            20640  2 snd_mpu401_uart,snd_usb_lib
snd_seq_device          7308  3 snd_seq_oss,snd_seq,snd_rawmidi
snd_hwdep               7684  2 snd_bt_sco,snd_usb_audio
snd                    49984  16 snd_bt_sco,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_bt87x,snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_usb_audio,snd_pcm,snd_timer,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hwdep

btsco -v 00:02:72:E1:03:6A
btsco v0.41
Error: control open (hw:4): No such device
Error: Can't find device. Bail

hcidump -X -V (will btsco -v ..)
empty



      reply	other threads:[~2006-01-18 15:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 15:07 [Bluez-users] Can't find device Niv
2006-01-17  1:33 ` Niv
2006-01-17 20:58   ` Brad Midgley
2006-01-18 15:24     ` NIV VAIZER [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CE5DB2.3040105@cs.bgu.ac.il \
    --to=nivv@cs.bgu.ac.il \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.