NetBSD-Bugs archive

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

kern/50833: Banana Pi Infrared receiver doesn't seem to work

>Number:         50833
>Category:       kern
>Synopsis:       Banana Pi Infrared receiver doesn't seem to work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 20 12:35:00 +0000 2016
>Originator:     Dan MacDonald
>Release:        7.0
NetBSD armv7 7.0_STABLE NetBSD 7.0_STABLE (BPI)
I wasn't sure if I should classify this as a kernel, software or documentation bug. It could well be all three.

The Banana Pi has an integrated IR receiver which I have read should be supported under 7.0 and dmesg seems to list it as an available device so thats promising.

My main problem here is that I couldn't find any docs anywhere on how to use IR under NetBSD so I've just been trying to guess my way pretty much. IR is a very useful feature to have if you use your device as any kind of media player and this looks like it could be the show-stopper that will force me back to using Linux.

All I need to be able to do is have some IR daemon running that captures button presses on my remote that I can configure to execute shell commands.

birda from pkgsrc builds fine. It contains, amongst other tools, irs and ircomm but I've not figured out how to get them to work with the BPi receiver (/dev/cir0) yet.

It seems NetBSD includes a few IR related commands in a default install such as irdaattach and irframe but nothing wants to play nice with me yet:

# irdaattach cir0
irdaattach: tcsetattr: Invalid argument

# irs -c -d /dev/cir0
ioctl failed 660 
Try to use the Banana Pi IR receiver under NetBSD

Home | Main Index | Thread Index | Old Index