2005-01-12 08:34:13

by ligi

[permalink] [raw]
Subject: [Bluez-devel] btsco and 2.6.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

I am having Problems getting btsco working with kernel 2.6.10. With
2.6.9 evrything was working fine ( wanna thank all the btsco and bluez
developers here - gpsdrive + festival + btsco brought me a lot of fun .-)

sndmagic.h can't be patched because its nowhere and its context is
lost too.

bash-2.05b# patch -p1 < kernel-2.6.7-8.24-08-04.patch

patching file drivers/bluetooth/hci_usb.c
Hunk #1 FAILED at 887.
1 out of 1 hunk FAILED -- saving rejects to file
drivers/bluetooth/hci_usb.c.rej
patching file include/sound/asound.h
Hunk #1 succeeded at 110 (offset 2 lines).
Hunk #2 succeeded at 138 (offset 2 lines).
patching file include/sound/btsco.h
can't find file to patch at input line 55
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
- --------------------------
|diff -urN linux/include/sound/sndmagic.h
linux.new/include/sound/sndmagic.h
|--- linux/include/sound/sndmagic.h 2004-08-23 18:46:43.000000000
+0200
|+++ linux.new/include/sound/sndmagic.h 2004-08-23 19:22:37.000000000
+0200
- --------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patching file sound/bluetooth/btsco.c
patching file sound/bluetooth/Kconfig
patching file sound/bluetooth/Makefile
patching file sound/Kconfig
patching file sound/Makefile


- ----- searching the context ------------


bash-2.05b# grep _t_magic -r .
./sound/pci/mixart/mixart.h:#define mixart_t_magic 0xa17a3e01
./sound/pci/mixart/mixart.h:#define mixart_mgr_t_magic 0xa17a3e02
./kernel-2.6.7-8.24-08-04.patch: #define
snd_card_harmony_t_magic 0xa15a4300
./kernel-2.6.7-8.24-08-04.patch: #define
bt87x_t_magic 0xa15a4400
./kernel-2.6.7-8.24-08-04.patch: #define
pdacf_t_magic 0xa15a4500
./kernel-2.6.7-8.24-08-04.patch:+#define
snd_card_bt_sco_t_magic 0xa15a4600
./kernel-2.6.7-8.24-08-04.patch:+#define
snd_card_bt_sco_pcm_t_magic 0xa15a4601
./kernel-2.6.7-8.24-08-04.patch: #define
vortex_t_magic 0xa15a4601
./kernel-2.6.7-8.24-08-04.patch: #define
atiixp_t_magic 0xa15a4701
./kernel-2.6.7-8.24-08-04.patch: #define
amd7930_t_magic 0xa15a4801

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5OEE3NorRo/jFWIRArj3AJ9S3tgl5E2gYakdalW3GfWVYChZewCfepxR
JhtxgW9Fy9JPsF+V8RwDu2s=
=A0xE
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-01-12 09:40:27

by Lars Grunewaldt

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco and 2.6.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do not use this patch anymore, please.

Everything you need is in the btsco archive now. Just download it,

for the "daemons":
./bootstrap
./configure
make
make install

for the kernel module (snd-bt-sco):
cd kernel
make

that should be it. There's no need for any kernel patches any more.

best regards,
~ Lars

ligi wrote:
| Hello all,
|
| I am having Problems getting btsco working with kernel 2.6.10. With
| 2.6.9 evrything was working fine ( wanna thank all the btsco and bluez
| developers here - gpsdrive + festival + btsco brought me a lot of fun .-)
|
| sndmagic.h can't be patched because its nowhere and its context is
| lost too.
|
| bash-2.05b# patch -p1 < kernel-2.6.7-8.24-08-04.patch
|
| patching file drivers/bluetooth/hci_usb.c
| Hunk #1 FAILED at 887.
| 1 out of 1 hunk FAILED -- saving rejects to file
| drivers/bluetooth/hci_usb.c.rej
| patching file include/sound/asound.h
| Hunk #1 succeeded at 110 (offset 2 lines).
| Hunk #2 succeeded at 138 (offset 2 lines).
| patching file include/sound/btsco.h
| can't find file to patch at input line 55
| Perhaps you used the wrong -p or --strip option?
| The text leading up to this was:
| --------------------------
| |diff -urN linux/include/sound/sndmagic.h
| linux.new/include/sound/sndmagic.h
| |--- linux/include/sound/sndmagic.h 2004-08-23 18:46:43.000000000
| +0200
| |+++ linux.new/include/sound/sndmagic.h 2004-08-23 19:22:37.000000000
| +0200
| --------------------------
| File to patch:
| Skip this patch? [y] y
| Skipping patch.
| 1 out of 1 hunk ignored
| patching file sound/bluetooth/btsco.c
| patching file sound/bluetooth/Kconfig
| patching file sound/bluetooth/Makefile
| patching file sound/Kconfig
| patching file sound/Makefile
|
|
| ----- searching the context ------------
|
|
| bash-2.05b# grep _t_magic -r .
| ./sound/pci/mixart/mixart.h:#define mixart_t_magic 0xa17a3e01
| ./sound/pci/mixart/mixart.h:#define mixart_mgr_t_magic 0xa17a3e02
| ./kernel-2.6.7-8.24-08-04.patch: #define
| snd_card_harmony_t_magic 0xa15a4300
| ./kernel-2.6.7-8.24-08-04.patch: #define
| bt87x_t_magic 0xa15a4400
| ./kernel-2.6.7-8.24-08-04.patch: #define
| pdacf_t_magic 0xa15a4500
| ./kernel-2.6.7-8.24-08-04.patch:+#define
| snd_card_bt_sco_t_magic 0xa15a4600
| ./kernel-2.6.7-8.24-08-04.patch:+#define
| snd_card_bt_sco_pcm_t_magic 0xa15a4601
| ./kernel-2.6.7-8.24-08-04.patch: #define
| vortex_t_magic 0xa15a4601
| ./kernel-2.6.7-8.24-08-04.patch: #define
| atiixp_t_magic 0xa15a4701
| ./kernel-2.6.7-8.24-08-04.patch: #define
| amd7930_t_magic 0xa15a4801
|

- -------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel



- --
Lars Grunewaldt
* software development
* multimedia design
skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
web: http://www.dark-reality.de
mail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5PCKQWC6DTWkDAoRAgpiAKCNDfzGs6qRbYhblMA5T1Me+cGvggCbB7Fx
jzKHN1hMIdmjjXdoZNYFMq8=
=0go+
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel