OK, two quick problems which may or may not be related.
First-> I have a uvc webcam, and followed all the instructions on the new
HOW-TO to get it working. Everything went smoothly, but when i plug in the
webcam I get:
new full speed USB device using pxa27x-ohci and address 4
usb 1-2: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0991)
input: UVC Camera (046d:0991) as /class/input/input2
And the driver does not create a /dev/video0 file.
Am I missing some other kernel module for this file to be created? (I installed
the 5 from the HOWTO except the pwc module)
Second -> I've tried gpio-event, and it doesn't seem to work. I'm getting a
segmentation fault, which I think is due to the fact the /dev/gpio-event is not
being created. I installed the package, and ran insmod gpio-event-drv.ko and
then modprobe gpio-event-drv
Is there something else I need to do for gpio-event to work?
From: Dave Hylands <dhylands@gm...> - 2008-07-17 20:56:03
> Second -> I've tried gpio-event, and it doesn't seem to work. I'm getting a
> segmentation fault, which I think is due to the fact the /dev/gpio-event is not
> being created. I installed the package, and ran insmod gpio-event-drv.ko and
> then modprobe gpio-event-drv
> Is there something else I need to do for gpio-event to work?
You should only need to do the modprobe (modprobe actually calls
insmod). Once you've modprobe'd (or insmodded) gpio-event-drv then
/dev/gpio-event should be created automatically.
If it's not, then the module is probably failing to load. You can see
if it was loaded by using lsmod after calling insmod or modprobe and
if it's not listed then it didn't load.
The most common reason for it not to load, is that it wasn't built
using the same build environment as the kernel being run on the
Vancouver, BC, Canada
Thanks for the response. As shown below, the driver does seem to be loading
fine, but still no /dev/gpio-event file is being created. Do you have any other
ideas? This is why I thought it may be related to my webcam problem, since a
/dev/video0 file is also not being created.
Output is below:
root@...:/dev$ modprobe gpio-event-drv
GPIO Event Monitor 0.1 Compiled: Jul 17 2008 at 16:15:52
Module Size Used by
gpio_event_drv 10708 0
i2c_dev 5828 0
i2c_pxa 6912 0
snd_pcm_oss 38592 0
snd_mixer_oss 14592 1 snd_pcm_oss
snd_soc_gumstix 1700 0