LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   'hci_scodata_pocket' error (https://www.linuxquestions.org/questions/red-hat-31/hci_scodata_pocket-error-583655/)

saivinob 09-10-2007 12:36 PM

'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

osor 09-10-2007 01:41 PM

Are you running a bluetooth device?

saivinob 09-11-2007 01:02 AM

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.

osor 09-11-2007 12:54 PM

Quote:

Originally Posted by saivinob (Post 2888297)
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 (Post 2888297)
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 (Post 2888297)
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.

saivinob 09-13-2007 09:29 AM

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***

osor 09-13-2007 11:37 AM

Quote:

Originally Posted by saivinob (Post 2890698)
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 (Post 2890698)
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 (Post 2890698)
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.


All times are GMT -5. The time now is 06:52 PM.