Return-Path: Message-ID: From: "" To: BlueZ development Date: Fri, 19 Oct 2007 03:16:00 +0000 In-Reply-To: <47175ACD.8030609@free.fr> References: <4717360C.7090801@free.fr> <47175ACD.8030609@free.fr> MIME-Version: 1.0 Subject: Re: [Bluez-devel] SCO connection timed out issue Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1820212012==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1820212012== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Hi Fabien: *Firstly, i could only find the 'data brief' datasheet of STLC2500C,which has very little information.No more detailed datasheet could be found... (http://www.st.com/stonline/products/literature/bd/12019/stlc2500c.pdf) I also found something.Maybe related to SCO.In the datasheet,it says: " Communication interfaces -PCM interface for voice " I don't know if this is indicating that the chip only supports sco over pcm,not hci,or something else...Anyway , no further info about SCO can be found in this datasheet.I also wrote an email to the ST technical support team to comfirm the stuff. *I looked into the source code in the driver of pl2303 in my linux.It's true that the max baudrate the driver supports is 460800. I'm now using the command 'hciattach ttyUSB0 stlc2500 460800 '. *About the error: aplay: main:550: audio open error: Input/output error hcid[318]: Service owner exited: :1.2 hcid[318]: Audio service (audio) was killed by signal 7 It's like this:I'm developing on an embeded system(S3c2410 EVB).So i have to mount the root file system(mounted root) through NFS.I tried gdb before and seems there's something wrong when gdb goes into the content of NFS(my 'aplay'and some other programmes are in the file system from NFS).I got the following error from gdb when mounting on NFS: Program received signal SIGTRAP, Trace/breakpoint trap This error will force the gdb into a single step mode .That mode begins when the system just started to mount the root FS from NFS. But the GDB is okey with ramdisk-based file systems. So maybe i should create a ramdisk with all the necessary components of ALSA and bluez and try the GDB again. thanks yandong > Date: Thu, 18 Oct 2007 15:08:29 +0200 > From: fabchevalier@free.fr > To: bluez-devel@lists.sourceforge.net > Subject: Re: [Bluez-devel] SCO connection timed out issue > > Please find some comments below >> >> * Im confused about what you said about the sco function on STLC2500C.According to the IC datasheet of STLC2500C downloaded from 'www.st.com', it says that this chip supports SCO link. So are you saying that this chip simply can't support SCO under linux?(i have a couple of evaluation software of STLC2500C evaluation board under windowXP.It seems that under windows , its SCO link works.But im not very sure about this.) > > It's basically not in the datasheet, but it is how things are. The chip > supports SCO but not over hci, only over PCM. > It won't work with windows either :-( > >> >> * i followed your hint and used the command "hciattach ttyUSB0 stlc2500" and then got the following information: >> Loading file /lib/firmware/STLC2500_R4_02_04.ptc >> Loading file /lib/firmware/STLC2500_R4_02_02_WLAN.ssf >> STLC2500 R4.2 12102005 12:40:14 >> ZAV100012 05HW Id= V440BAA >> >> i copied 2 files: >> STLC2500_R4_02_02_WLAN.ssf >> STLC2500_R4_02_04.ptc >> from the bluez-firmware-1.2/st to the /lib/firmware folder. >> >> i didn't use the "hciattach ttyUSB0 stlc2500 921600" cause this will give the following error: >> pl2303 ttyUSB0: pl2303 driver does not support the baudrate requested (fix it) >> It seems the pl2303(the serial-USB converter IC on STLC2500C evaluation board) driver does not support the baudrate of 921600. > > Yes that's true, you need a 2.6.23 kernel for this high speed. With > 2.6.18 you should be able to go to 460800 bps though, please retry with > hciattach ttyUSB0 stlc2500 460800 > > >> >> So up to now , some good improvements have been made thanks to your suggestion. Anyway , i got the same err when i tried to connect using the command :aplay -D bluetooth /1.wav >> aplay: main:550: audio open error: Input/output error >> hcid[318]: Service owner exited: :1.2 >> hcid[318]: Audio service (audio) was killed by signal 7 >> hcid[318]: link_key_request (sba=00:80:E1:00:00:00, dba=00:0D:3C:EB:53:F0) > > I have no idea of what's going wrong either. If you attach gdb to the > bluetoothd-service-audio and show me where the program breaks i could > tell more. > > Cheers, > > Fabien > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now>> http://get.splunk.com/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE --===============1820212012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============1820212012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1820212012==--