View Single Post
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#730
Hello Everyone,

I am currently trying to run a piece of really cool hardware (http://www.emotiv.com/) using N900.
The device comes with a wireless receiver that provides a raw hid data. I have this running on my linux box fine, reading from /dev/hidraw1.
I have installed hostmode, everything seems to work fine.

I have added to /etc/udev/rules.d/ file epoc.rules

Code:
ATTR{manufacturer}=="Emotiv Systems Pty Ltd", ATTRS{product}=="Receiver Dongle L01", NAME="eeg/epoc%2", SYMLINK+="epoc%n"

#Research headset
SUBSYSTEM=="hidraw", ATTRS{interface}=="Emotiv RAW DATA", NAME="eeg/encrypted%n", SYMLINK+="eeg/encrypted", MODE="0444", RUN +="decrypt_emotiv.sh research"
This work on my linux machine, when connecting the receiver I get:

Code:
[19122.457101] usb 5-2: USB disconnect, address 4
[19128.476117] usb 5-2: new full speed USB device using uhci_hcd and address 5
[19128.687209] generic-usb 0003:1234:ED02.0007: hidraw0: USB HID v1.11 Device [Emotiv Systems Pty Ltd Receiver Dongle L01] on usb-0000:00:1d.0-2/input0
[19128.696224] generic-usb 0003:1234:ED02.0008: hidraw1: USB HID v1.11 Device [Emotiv Systems Pty Ltd Receiver Dongle L01] on usb-0000:00:1d.0-2/input1
However, on my N900 I get:

Code:
[12307.422149] usb 1-1: new full speed USB device using musb_hdrc and address 25
[12307.570587] usb 1-1: ep0 maxpacket = 8
[12307.572540] usb 1-1: skipped 1 descriptor after interface
[12307.572601] usb 1-1: skipped 1 descriptor after interface
[12307.572875] usb 1-1: default language 0x0409
[12307.575744] usb 1-1: uevent
[12307.575958] usb 1-1: usb_probe_device
[12307.575988] usb 1-1: configuration #1 chosen from 1 choice
[12307.578460] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[12307.578765] usb 1-1:1.0: uevent
[12307.579040] usbhid 1-1:1.0: usb_probe_interface
[12307.579071] usbhid 1-1:1.0: usb_probe_interface - got id
[12307.595153] generic-usb 0003:1234:ED02.000D: claimed by neither input, hiddev nor hidraw
[12307.596740] usb 1-1: adding 1-1:1.1 (config #1, interface 1)
[12307.597015] usb 1-1:1.1: uevent
[12307.597686] usbhid 1-1:1.1: usb_probe_interface
[12307.597747] usbhid 1-1:1.1: usb_probe_interface - got id
[12307.613891] generic-usb 0003:1234:ED02.000E: claimed by neither input, hiddev nor hidraw
[12307.626190] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '025'
[12307.631713] usb 1-1: New USB device found, idVendor=1234, idProduct=ed02
[12307.631774] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12307.631805] usb 1-1: Product: Receiver Dongle L01
[12307.631835] usb 1-1: Manufacturer: Emotiv Systems Pty Ltd
[12307.631866] usb 1-1: SerialNumber: SN20070927657891
1) Is my assumption correct that hidraw / hiddev are not in the kernel?
2) Is there any good soul that maybe have the kernel recompiled with those modules or someone could help me with that? (I'm not a kernel proficient person).

Thank you!
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me