LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   Remote controls (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/remote-controls-357041/)

maroonbaboon 08-25-2005 08:26 PM

Remote controls
 
Recently I bought a digital TV card, which came with a remote control and USB dongle (labelled DVICO Fusion Remote Controller). Naturally these things only come with Windows drivers.

Plugging the dongle into the USB port and checking the output of 'dmesg' I see it gets picked up by the 'hiddev' driver:

usb 5-1: new low speed USB device using uhci_hcd and address 2
hiddev96: USB HID v1.10 Device [DVICO DVICO USB HID Remocon V1.00] on usb-0000:00:1d.3-1

Running 'cat /dev/usb/hiddev0' and hitting the buttons on the remote I can see the data coming through in 16 byte bursts. Checking a bit more carefully it's clear that all the different buttons are being picked up, as press, hold and release events, so it only takes a bit of user-level programming to set this up to drive applications.

I tried several other remotes that were lying around the house, and all but one worked with the same dongle, all sending 16 byte packets. Also they could be distinguished by one of the 16 bytes, so you could set up your app to use all the remotes interchangeably.

So if you have any sort of USB dongle/remote lying around unused it might be worth trying out. Maybe extend this thread with further data, or any success stories about interfacing with applications.

dangermouse78 01-14-2008 04:45 PM

ISB Dongle with STIR 4200 chip.
 
Hey my friend !

I've already bought an usb-ir adapter. i'm able to use this one as an network adapter, butt not as an receiver for remote control. i'm quite new to linux. can you give me an advice?

this is what i got from tail /var/log/messages when i connect my adapter:

Code:

Jan 14 23:43:53 verleihnix kernel: [14152.448138] usb 2-5.5: new full speed USB device using ehci_hcd and address 14
Jan 14 23:43:53 verleihnix kernel: [14152.716419] usb 2-5.5: configuration #1 chosen from 1 choice
Jan 14 23:43:53 verleihnix kernel: [14152.716886] SigmaTel STIr4200 IRDA/USB found at address 14, Vendor: 66f, Product: 4200
Jan 14 23:43:53 verleihnix kernel: [14152.716978] /build/buildd/linux-source-2.6.22-2.6.22/drivers/net/irda/stir4200.c: IrDA: Registered SigmaTel device irda0

thanks, stefan


All times are GMT -5. The time now is 10:47 PM.