LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-10-2007, 12:36 PM   #1
saivinob
LQ Newbie
 
Registered: Aug 2007
Location: Bangalore, India
Distribution: Debian Etch, CentOS 5, FreeBSD 6.2
Posts: 11

Rep: Reputation: 0
'hci_scodata_pocket' error


Hi,
I'm running CentOS 5 on my multiboot system. I'm getting the following error message at boot and restart/shutdown time.

Code:
[saivinob@SV-CentOS ~]$ dmesg | tail -5
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92
hci_scodata_packet: hci0 SCO packet for unknown connection handle 92
What does this mean? Is this some serious issue? I'm not experiencing any visible problems with the system. Everything seems to be ok. I dont get the same message with either Debian or FreeBSD in the same system.

Is it related to network/internet? If it is then let me tell you internet is working properly.

Any ideas?

Thanks and Regards,
saivinob
 
Old 09-10-2007, 01:41 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
Are you running a bluetooth device?
 
Old 09-11-2007, 01:02 AM   #3
saivinob
LQ Newbie
 
Registered: Aug 2007
Location: Bangalore, India
Distribution: Debian Etch, CentOS 5, FreeBSD 6.2
Posts: 11

Original Poster
Rep: Reputation: 0
well, yes!
I've connected one bluetooth dogle. i keep it connected all the time.
it has no driver for linux only for windoz... is it related to it? do i have to just remove it while running CentOS?
also kindly let me know if i can get some generic bluetooth software for linux so that i can use it on linux too.
 
Old 09-11-2007, 12:54 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
Quote:
Originally Posted by saivinob View Post
it has no driver for linux only for windoz
Clarify what you mean by “no driver for linux” (obviously, there is a driver—that’s where the messages are coming from).
Quote:
Originally Posted by saivinob View Post
do i have to just remove it while running CentOS?
If the driver is buggy for your device (which you didn’t really specify), you might just prevent the driver from loading (i.e., blacklist it).
Quote:
Originally Posted by saivinob View Post
also kindly let me know if i can get some generic bluetooth software for linux so that i can use it on linux too.
Well, first you need to make sure the driver works. You would need bluez-utils and/or bluez-libs for a base. Then, it depends on what bluetooth profiles you want to use. For example you could use openobex for OBEX, etc.
 
Old 09-13-2007, 09:29 AM   #5
saivinob
LQ Newbie
 
Registered: Aug 2007
Location: Bangalore, India
Distribution: Debian Etch, CentOS 5, FreeBSD 6.2
Posts: 11

Original Poster
Rep: Reputation: 0
well I meant that in the cd provided with the bluetooth dongle(name 'zippy') there is no driver for linux provided. Only .exe for Windows 2000/XP is present. That's why I thought there may not be a driver for it.

In Debian and FreeBSD (also in CentOS) there is a blue tooth icon. But, I'm not able to open the Bluetooth menu by doublecliking on the Bluetooth icon as you would in XP. I didnot try enabling bluetooth on my phone and to search for the bluetooth devices nearby. Should I try that?

Also, could you please elloborate on bluez***
 
Old 09-13-2007, 11:37 AM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
Quote:
Originally Posted by saivinob View Post
well I meant that in the cd provided with the bluetooth dongle(name 'zippy') there is no driver for linux provided. Only .exe for Windows 2000/XP is present. That's why I thought there may not be a driver for it.
That rarely means anything for most linux devices. For the most part, if a driver exists, it comes bundled with the kernel as a loadable module. This doesn’t mean you can’t use some third-party driver (e.g., nvidia graphics drivers), but it isn’t usually necessary.

In the case of bluetooth on linux, there is a bluetooth stack called BlueZ which is now a qualified bluetooth subsystem (i.e., it’s recognized by the official standards body). This means it should automatically work with most bluetooth devices (all those devices which comply with the standard). For the BlueZ stack, the modules are spread out a bit. You will need bluetooth.ko. You will most likely also need hci_usb.ko (assuming your dongle is USB). You might additionally need l2cap.ko, sco.ko, rfcomm.ko, hidp.ko, or bnep.ko if you want to utilize bluetooth for an ACL (Asynchronous Connection-Less) link, an SCO (Synchronous Connection-Oriented) link, the bluetooth serial port profile, the human interface device profile (e.g., mouse/keyboard), or the bluetooth network emulation profile respectively.
Quote:
Originally Posted by saivinob View Post
Also, could you please elloborate on bluez***
bluez-libs and bluez-utils are the canonical userspace complements of the BlueZ kernel stack. bluez-libs provides an API to interact with bluetooth device nodes, and bluez-utils provides several utilities that use that API (hcid is the main one). Theoretically, any linux application wishing to use bluetooth may use the bluez-libs API directly. In practice, most bluetooth applications interact with hcid through the use of dbus calls.

Quote:
Originally Posted by saivinob View Post
In Debian and FreeBSD (also in CentOS) there is a blue tooth icon. But, I'm not able to open the Bluetooth menu by doublecliking on the Bluetooth icon as you would in XP. I didnot try enabling bluetooth on my phone and to search for the bluetooth devices nearby. Should I try that?
I have two experiences with using bluetooth on linux. The first was with Ubuntu. I installed something called “Bluetooth File Sharing” (or gnome-bluetooth). Then I plugged in my bluetooth dongle, and everything else happened automatically—I could push files from my computer onto my phone and from my phone onto my computer. The second was with my own source-compiled system. I made sure the appropriate modules were enabled when I compiled my kernel. I compiled and installed bluez-libs and bluez-utils. I hand-tweaked my udev scripts and hcid.conf. With hcid running, I could connect to my phone. With some additionaly software, I could send and receive files. I could also configure hcid to implement the headset profile through ALSA, enabling me to use my computer speakers and microphone as a headset for my cellphone.

What I’m trying to say is that using bluetooth with linux can either be very complicated or very easy. I would first suggest you follow a guide or howto for whatever distro you’re using. If that doesn’t work, then this is how you troubleshoot:
  1. Make sure you have the kernel modules installed.
  2. Look for dmesg output upon plugging in your dongle for the first time (this means boot without it plugged in, and see what the kernel logs say when you do plug it in).
  3. Make sure you have bluez-libs and bluez-utils installed (through your distro’s package manager).
  4. Make sure that when you plug in your dongle, hcid starts.
  5. Try to make hcid start in verbose mode and look for log messages.
  6. Read and tweak if necessary hcid.conf.
  7. See if you can pair with your phone.
  8. See what messages hcid spits out when you try to do anything with that paired connection (e.g., OBEX-PUSH).
  9. If all else fails, use hcidump and the bluez-mailing list.
P.S., don’t try to use the BlueZ userspace on freebsd—it uses an alternate stack called netgraph.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 03:46 PM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration