maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

werebug 2011-02-11 19:42

Re: [Announce] USB hostmode beta release
 
I'm getting this error
I have latest firmware
Please tell me what I need to do to get hostmode workin with latest nokia firmware



your kernal has no proper matching version of hostmode api
Version 2010110 required.
Kernel-power v46 is suggested


ffha 2011-02-12 01:27

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by werebug (Post 943074)
I'm getting this error
I have latest firmware
Please tell me what I need to do to get hostmode workin with latest nokia firmware



your kernal has no proper matching version of hostmode api
Version 2010110 required.
Kernel-power v46 is suggested


Thread for problems getting USB hostmode working.
Either way, you have to install Titan's Power Kernel to be able to run h-e-n.

freemangordon 2011-02-16 14:39

Re: [Announce] USB hostmode beta release
 
Hi guys,

I found a problem with kernel-power g_file_storage module but not sure where to post bug report (problem is that when connected as mass storage device n900 connects in fullspeed instead of highspeed). Does anyone know who is maintaining usb part of kernel-power, i.e. should I file a bug against kernel-power or against h-e-n. Asking because as far as I know tom tanner has just incorporated hostmode fixes in KP46 and this problem seems related to USB.

toxaris 2011-02-16 14:48

Re: [Announce] USB hostmode beta release
 
Btw, donated a few euros:
Confirmation number: 11N07896RF8355117

Thx for the work.

joerg_rw 2011-02-16 15:16

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by freemangordon (Post 948020)
Hi guys,

I found a problem with kernel-power g_file_storage module but not sure where to post bug report (problem is that when connected as mass storage device n900 connects in fullspeed instead of highspeed). Does anyone know who is maintaining usb part of kernel-power, i.e. should I file a bug against kernel-power or against h-e-n. Asking because as far as I know tom tanner has just incorporated hostmode fixes in KP46 and this problem seems related to USB.

I think g_file_storage is not related to h-e-n. AIUI you are talking about N900=mass_storage_gadget, PC=host.
h-e-n is only about N900=host.

I'm not sure if it's related to power-kernel either.

For opening a ticket it would help a lot to exactly find out about prerequisites (which kernel, which steps to take to reproduce), about reproducibility (always, 50%, occasionally...), and to add logs and other helping documentary stuff (lsusb on PC for instance, syslog of N900 and PC)

HTH, cheers
/j

joerg_rw 2011-02-16 15:17

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by toxaris (Post 948022)
Btw, donated a few euros:
Confirmation number: 11N07896RF8355117

Thx for the work.

Many thanks :-)
/j

freemangordon 2011-02-16 15:32

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by joerg_rw (Post 948039)
I think g_file_storage is not related to h-e-n. AIUI you are talking about N900=mass_storage_gadget, PC=host.
h-e-n is only about N900=host.

I'm not sure if it's related to power-kernel either.

For opening a ticket it would help a lot to exactly find out about prerequisites (which kernel, which steps to take to reproduce), about reproducibility (always, 50%, occasionally...), and to add logs and other helping documentary stuff (lsusb on PC for instance, syslog of N900 and PC)

HTH, cheers
/j

Of course I will provide as much information as I can ( will compile g_file_storage with log messages, dmesg output, syslog, lsusb, lshal, etc..) once I know where to put that info. Because even if I have patch (which I don't for now) I have no Idea where to post it. Any Ideas appreciated.

And having in mind amount of code in kernel related to hostmode it does not seem impossible (to me at least) that there is some regression introduced with it.

MohammadAG 2011-02-16 20:31

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by istota (Post 940091)
GREETS AGAIN.
I have a question for which no one anywhere I can not answer.
As you can see it is possible (http://www.youtube.com/watch?v=zDzUG-bno6Q ) I have the same dvd-rom.
I have a kernel-power in 45, and additions to handle MohammadAG cd-rom.
information to the kernel.

[5162.718414] USB Mass Storage support registered.
[5162.721343] usb-storage: device found at 3
[5162.721374] usb-storage: waiting for device to settle before scanning
[5167.715332] usb-storage: device scan complete
[5167.716674] scsi 0:0:0:0: CD-ROM TSSTcorp CDDVDW SE-T084M TD00 PQ: 0 ANSI: 0
NO dev/sr0
Where should I look for and ask nowhere and interest solution to this issue.

THANK YOU GREETS

You need external power (Y-cable plugged into other USB supply/PC) to get the disc spinning.

istota 2011-02-17 22:44

Re: [Announce] USB hostmode beta release
 
1 Attachment(s)
Quote:

Originally Posted by MohammadAG (Post 948336)
You need external power (Y-cable plugged into other USB supply/PC) to get the disc spinning.

Thank you very much for your interest and support. Dvd-rom has a cable with two usb usb to an additional power supply. Connect this to an active USB hub. What I am doing wrong?
Thank you all for your help
sorry for my language

hopbeat 2011-02-22 16:03

Re: [Announce] USB hostmode beta release
 
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!


All times are GMT. The time now is 11:51.

vBulletin® Version 3.8.8