Skip to contentSkip to conversation

alsa module rebuild

Bluez-users walt shekrota 2 participants 10 messages Jun 3, 2007 – Jun 5, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

On one of my systems I'm having difficulty jumping to the 2.6.20 kernel from 18.
The kernel builds fine but my headset fails to work. I noted the alsa snd-bt-sco module is not rebuilt.
Does anyone remember exactly what process it is that builds this component? The btsco code was separate I know..... I am using 0.5 there.
snd-bt-sco is in the kernel? If so what question in menuconfig toggles it's creation? In 2.6.18 it was added to the extra directory in /lib/modules/kernelversion for me but in my 2.6.20 build there is no such module.

Thanks for any help.
-Walt

---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

cd btsco/kernel; sudo make clean default install

Quoted 22 lines · walt shekrota

Hi,

On one of my systems I'm having difficulty jumping to the 2.6.20 kernel from 18.
The kernel builds fine but my headset fails to work. I noted the alsa snd-bt-sco module is not rebuilt.
Does anyone remember exactly what process it is that builds this component? The btsco code was separate I know..... I am using 0.5 there. snd-bt-sco is in the kernel? If so what question in menuconfig toggles it's creation? In 2.6.18 it was added to the extra directory in /lib/modules/kernelversion for me but in my 2.6.20 build there is no such module.

Thanks for any help.
-Walt

------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.<http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>

Quoted 11 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Ahhhh I knew a step was missing but couldn't see it in any infos.
Now it has load problems :(
warning on make

INSTALL /home/wshek/btsco-0.5/kernel/snd-bt-sco.ko
DEPMOD 2.6.20-gentoo-r7
WARNING: /lib/modules/2.6.20-gentoo-r7/extra/snd-bt-sco.ko needs unknown symbol try_to_freeze

probably a kernel dependency I have not enabled? Something new?
====
appears to be show stopper on load
modprobe snd-bt-sco

: from dmesg tail after trying to load module
Bluetooth: SCO (Voice Link) ver 0.5
Bluetooth: SCO socket layer initialized
snd_bt_sco: Unknown symbol try_to_freeze

===

and lsmod does not show module loaded
Thanks.
-Walt

Brad Midgley <[email protected]> wrote: cd btsco/kernel; sudo make clean default install

On 6/3/07, walt shekrota <[email protected]> wrote: Hi,

On one of my systems I'm having difficulty jumping to the 2.6.20 kernel from 18.
The kernel builds fine but my headset fails to work. I noted the alsa snd-bt-sco module is not rebuilt.
Does anyone remember exactly what process it is that builds this component? The btsco code was separate I know..... I am using 0.5 there.
snd-bt-sco is in the kernel? If so what question in menuconfig toggles it's creation? In 2.6.18 it was added to the extra directory in /lib/modules/kernelversion for me but in my 2.6.20 build there is no such module.

Thanks for any help.
-Walt

---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

---------------------------------
Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

Walt

try_to_freeze seems to do something real if config_pm is defined and otherwise it is a trivial function. either way it should be there, at least in 2.6.17 in sched.h.

things may have changed more recently.

Brad

Quoted 11 lines · walt shekrota

Ahhhh I knew a step was missing but couldn't see it in any infos. Now it has load problems :(
warning on make

    INSTALL /home/wshek/btsco-0.5/kernel/snd-bt-sco.ko
    DEPMOD  2.6.20-gentoo-r7
    WARNING: /lib/modules/2.6.20-gentoo-r7/extra/snd-bt-sco.ko needs

unknown symbol try_to_freeze

probably a kernel dependency I have not enabled? Something new?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

yes this is in all the kernels under include/linux/freezer.h.
I don't see an include for it in the bt code.
Without digging into it deeper I can't explain the 3 different behaviors...

2.6.18 compiles fine
2.6.20 warning (apparently deadly)
2.6.21 where I am not gets pages of errors. My post of these held for admin approval due to length.

Is it me or does the code not scale to later kernels? I'm lost.
Thanks.
-Walt

Brad Midgley <[email protected]> wrote: Walt

try_to_freeze seems to do something real if config_pm is defined and otherwise it is a trivial function. either way it should be there, at least in 2.6.17 in sched.h.

things may have changed more recently.

Brad

---------------------------------
Pinpoint customers who are looking for what you sell.

---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw

there is no "stable branch" of the kernel in the same way we had before. the module api changes enough from release to release to make it painful to maintain a module outside the kernel. (and don't ask... it will never be merged upstream because it doesn't belong in the kernel)

Quoted 38 lines · walt shekrota

yes this is in all the kernels under include/linux/freezer.h. I don't see an include for it in the bt code. Without digging into it deeper I can't explain the 3 different behaviors...

2.6.18 compiles fine
2.6.20 warning (apparently deadly)
2.6.21 where I am not gets pages of errors. My post of these held for admin approval due to length.

Is it me or does the code not scale to later kernels? I'm lost.
Thanks.
-Walt

*Brad Midgley <[email protected]>* wrote:

Walt

try_to_freeze seems to do something real if config_pm is defined and otherwise it is a trivial function. either way it should be there, at least in 2.6.17 in sched.h.

things may have changed more recently.

Brad

------------------------------
Pinpoint customers
<http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50>who
are looking for what you sell.

------------------------------
Get the free Yahoo! toolbar<http://us.rd.yahoo.com/evt=48226/*http://new.toolbar.yahoo.com/toolbar/features/norton/index.php>and rest assured with the added security of spyware protection.

Quoted 11 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

I hope that you are not upset that was not my intention. I am just trying to understand clearly what is possible.
Does this mean I should not have migrated from 2.6.18 if I still wanted to use bluez?
Can anyone confirm they use later?
Thanks for helping.
-Walt
My wording is because I was not convinced I had not done something wrong. :)

Brad Midgley <[email protected]> wrote:there is no "stable branch" of the kernel in the same way we had before. the module api changes enough from release to release to make it painful to maintain a module outside the kernel. (and don't ask... it will never be merged upstream because it doesn't belong in the kernel)

---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#7 lore raw
In reply to Brad Midgley

Ok due to the fact alsa can be configured in or out of the kernel I would assume that the piece of bt that interfaces to it should eventually be in the kernel?
Or is the advisement that if you use bt you should seriously consider configuring your alsa modular as opposed to kernel?

Will that work better for most people?

Thanks.
-Walt

Brad Midgley <[email protected]> wrote:there is no "stable branch" of the kernel in the same way we had before. the module api changes enough from release to release to make it painful to maintain a module outside the kernel. (and don't ask... it will never be merged upstream because it doesn't belong in the kernel)

---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw

Walt

bt headset audio on linux has evolved over time

bluetooth-alsa's btsco uses a kernel module for the audio interface which is a poor choice
bluetooth-alsa's plugz does the audio handling in userspace where it belongs but lost some functionality
bluez will have an audio system that handles audio in userspace but gains a lot more flexibility than btsco ever had

Brad

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw

Hi Brad,

Forgive me for seeming dense. So instead of btsco I should look for this alsa plugz? I take it I can find this up on sourceforge?

Or is this a work in progress?

Thanks for any info.
-Walt

Brad Midgley <[email protected]> wrote: Walt

bt headset audio on linux has evolved over time

bluetooth-alsa's btsco uses a kernel module for the audio interface which is a poor choice bluetooth-alsa's plugz does the audio handling in userspace where it belongs but lost some functionality bluez will have an audio system that handles audio in userspace but gains a lot more flexibility than btsco ever had

Brad

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users