usbb2k-api-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usbb2k-api-dev] Kernel Panic On Device Disconnect


From: Dan Conlon
Subject: [Usbb2k-api-dev] Kernel Panic On Device Disconnect
Date: Thu, 31 Aug 2006 13:42:04 +0100

I am using the 20060503 module with a P4K on Ubuntu Linux.

I can confirm that all functions work through the /sys/ interface, with
the exception of RINGTONE which when activated via show_icon does not
result in any ring tone being emitted. I am not sure whether I have
misunderstood the use of this and I should be playing a ringtone PCM
through the sound device to achieve ring functionality?

I am now in the process of writing a wrapper for linphonec to allow the
P4K to control it. I am opening the /dev/input/eventX device, issuing
the EVIOCGRAB ioctl and my thread is then in a blocking read() to wait
for key input. However the effect of this is that when the device is
disconnected, a kernel panic occurs, presumably because the eventX
device cannot be removed or is removed whilst a process has it open.

How should I deal with this or is my approach of using the eventX devide
incorrect in general?

Many thanks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]