Ok, those dmesg errors were from a change that I had made to the lirc source from apt (0.8.0-9). I got a cvs snapshot from <a href="http://lirc.org">lirc.org</a>, version 0.8.1-pre5, and it worked after chaning the "SLAB_ATOMIC"'s to "GFP_ATOMIC" in order to get it to compile. Looks like everything is working now.
<br><br>That was WAY too much effort.<br><br><div><span class="gmail_quote">On 2/10/07, <b class="gmail_sendername">Chris Weiland</b> <<a href="mailto:hobbiticus@gmail.com">hobbiticus@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here we go...this is my dmesg when I unplug then plug in the streamzap:<br>usb 2-2: USB disconnect, address 5<br>usb 2-2: new low speed USB device using ohci_hcd and address 6<br>usb 2-2: configuration #1 chosen from 1 choice
<br>lirc_dev: Unknown symbol devfs_mk_cdev<br>lirc_dev: Unknown symbol devfs_remove<br>lirc_streamzap: Unknown symbol lirc_unregister_plugin<br>lirc_streamzap: Unknown symbol lirc_register_plugin<br><br>That appears to be my problem, but I have no idea how to fix it - google shows next to no pages when I search for that error. Any ideas?
<div><span class="e" id="q_110ad49da6188430_1"><br><br><div><span class="gmail_quote">On 2/10/07, <b class="gmail_sendername">Chris Weiland</b> <<a href="mailto:hobbiticus@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
hobbiticus@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I do see the messages in dmesg when I plug/unplug the device.<br><br>I do not know where the HID input layer support is in the kernel config. I just tried looking for it and didn't see it. Can you be more specific?
<br>
<br>Also, upon further research, it looks like I need to make the streamzap lirc module and then a dev/lircX device should show up. However I'm having lots of trouble with this. The lirc-modules-source package is supposed to have this module, but it doesn't compile. However, I was able to fix the compilation errors, but all it seems to do in the end is install some .o files in /lib/modules/usr/src/linux-
2.6.20/misc (lirc_dev.o, lirc_gpio.o, lirc_i2c.o, lirc_streamzap.o). I don't know what these files are supposed to do, and their location is very odd.<br><br>So, I'm going to try removing the lirc binary package and build it myself.
<br><br>I built and installed it, and now I have /dev/lirc, /dev/lircd, and /dev/lircm. However, /dev/lirc does not seem to be a valid device:<br># ls -l /dev/lirc*<br>crw-r--r-- 1 root root 61, 0 2007-02-10 14:50 /dev/lirc
<br>prw-r--r-- 1 root root 0 2007-02-10 14:50 /dev/lircd<br>prw-r--r-- 1 root root 0 2007-02-10 14:50 /dev/lircm<br># cat /dev/lirc<br>cat: /dev/lirc: No such device or address<br><br>There are no new devices in /dev/usb or /dev/input or /dev/hiddev*
<br><br>Hopefully I'm getting closer...<div><span><br><br><div><span class="gmail_quote">On 2/10/07, <b class="gmail_sendername">Brian Wood</b> <<a href="mailto:beww@beww.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
beww@beww.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Feb 10, 2007, at 12:31 PM, Neil Cherry wrote:<br><br>> Chris Weiland wrote:<br>>> This isn't really a mythtv specific question, but I don't know of<br>>> many<br>>> other places to look. I just got a Streamzap USB IR receiver, and I
<br>>> can't seem to figure out how to use it.<br>>><br>>> My problem is that I can't get a /dev entry for it. I think there's<br>>> supposed to be a /dev/usb/hiddev0 that is used to interface with the
<br>>> device, but that file is not there, and I can't figure out how to<br>>> get it<br>>> there. Everywhere I've searched says that I just need to enable the<br>>> "/dev/hiddevX support" kernel option and then everything will work.
<br>>> Well, after doing that, the device still doesn't show up anywhere in<br>>> /dev. I can see the device being detected in dmesg whenever I<br>>> remove or<br>>> plug in the device. The device shows up in /proc/bus/usb/devices,
<br>>> lsusb, and usbview, but usbview shows it in red, which, according<br>>> to one<br>>> site, means that there is "no driver bound to it". How would I<br>>> fix this?<br>>><br>
>> I think I've also read somewhere that I should be using "hotplug",<br>>> which<br>>> I guess refers to the hotplug package. However, if I try to<br>>> install it,<br>>> apt forces me to remove udev. Do I want to do this?
<br>>><br>>> I'm running Debian Etch, kernel 2.6.20.<br>><br>> Don't remove udev but remove the usb device, do a dmesg, make a<br>> general note of the last few lines, plug in the usb device and
<br>> do another dmesg. Did you see the new lines? One of them may<br>> be an assignment for the device driver. Also if the hid is a kernel<br>> module check to see that it's loaded (lsmod) you should see an
<br>
> hid entry (and maybe another hid... something). Sorry I can't<br>> remember more at this moment.<br>><br><br>Not specific to Debian but with Gentoo (and I assume all kernels) you<br>need to make sure "HID Input Layer support as well as /dev/hiddev raw
<br>HID input device support are both enabled in the kernel.<br><br>Having the first and not the second will result in precisely the<br>behavior you describe, though there are of course other things that<br>might cause it as well.
<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mythtv-users@mythtv.org</a>
<br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>
</span></div></blockquote></div><br>
</span></div></blockquote></div><br>