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)

samipower 2010-12-12 19:20

Re: [Announce] USB hostmode beta release
 
http://www.youtube.com/watch?v=O-19REKPrQc
http://www.youtube.com/watch?v=EM6vB5QD4So
http://www.youtube.com/watch?v=tOVErUmLDyA

BCMM 2010-12-14 01:36

Re: [Announce] USB hostmode beta release
 
Works fine for me. Tested with an iPod Video and an old (full-speed!) Fujifilm SM-R2 SmartMedia reader (that's that enormous memory card format they've stopped manufacturing). Both mounted and could be read.

The black cable in the photo is from this eBay UK page (presumably, the eBay pic is actually two of them). It is slightly shorter than the N900 itself, but still flexes enough to prevent it acting as a lever to break the USB socket.

This cable definitely seems like a very portable alternative to a rigid, socket-breaking adaptor, and is available in the UK.
http://ompldr.org/vNmp3Nw
(Sorry for the poorly-lit webcam pic... white cable is just a regular A-B cable).

Initially, the camera didn't work with Titan's kernel (I use FCam).
Code:

apt-get update
apt-get install fcam-drivers

followed by a reboot fixed things. I haven't checked, but I believe that fix requires extras-devel.

Thanks to everyone who made hostmode work!

P.S. It appears that that international seller sells the same adaptor on ebay.com too.

Edit: Tried a Logitech mouse and an A4Tech KL-5UP keyboard with extkbd - both worked fine (this is a "slim" keyboard with no numpad - I actually wouldn't mind taking this on a train if I had some LaTeX to write on the N900).

varunshaji 2010-12-15 20:18

Re: [Announce] USB hostmode beta release
 
I tried to connect a externally powered hub to my N900..Belkin 7port hub.. however it failed to identify the device connected to the hub. I tried to put on VBus the same instance theperipheral was connected still no effect. And i think my N900 had little earth when i connected to hub..I need your advice..I have seen a youtube video where HDD is conneted via a 5pin external powered Hub. Is power rating of the Hub a factor affecting this..Should i buy a new Hub..actually my idea was to connect multiple devices via a Hub to N900...

joerg_rw 2010-12-15 20:36

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by varunshaji (Post 897600)
I tried to connect a externally powered hub to my N900..Belkin 7port hub.. however it failed to identify the device connected to the hub. I tried to put on VBus the same instance theperipheral was connected still no effect. And i think my N900 had little earth when i connected to hub..I need your advice..I have seen a youtube video where HDD is conneted via a 5pin external powered Hub. Is power rating of the Hub a factor affecting this..Should i buy a new Hub..actually my idea was to connect multiple devices via a Hub to N900...

Ticket Status: NEEDINFO
please supply the usual dmesg printout, and lsusb printout.
Make sure your hub is powered via external PSU, plug in hub to N900 immediately after hitting [VBUS boost], then hit [Enumerate].
Then plug in peripheral to hub.

/j

varunshaji 2010-12-16 03:40

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by joerg_rw (Post 897616)
Ticket Status: NEEDINFO
please supply the usual dmesg printout, and lsusb printout.
Make sure your hub is powered via external PSU, plug in hub to N900 immediately after hitting [VBUS boost], then hit [Enumerate].
Then plug in peripheral to hub.

/j

dmesg output ::

[73303.344604] slide (GPIO 71) is now closed
[73305.493041] slide (GPIO 71) is now open
[73321.257904] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[73322.832946] Forced hostmode error: no device attached
[73322.833068] usb usb1: usb resume
[73322.852264] hub 1-0:1.0: hub_resume
[73322.852325] hub 1-0:1.0: port 1: status 0101 change 0001
[73322.961822] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[73322.961883] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[73323.086914] usb 1-1: new full speed USB device using musb_hdrc and address 33
[73328.086730] usb 1-1: khubd timed out on ep0in len=0/64
[73333.086883] usb 1-1: khubd timed out on ep0in len=0/64
[73338.086791] usb 1-1: khubd timed out on ep0in len=0/64
[73338.215148] usb 1-1: device descriptor read/64, error -110
[73343.321258] usb 1-1: khubd timed out on ep0in len=0/64
[73348.321075] usb 1-1: khubd timed out on ep0in len=0/64
[73353.321075] usb 1-1: khubd timed out on ep0in len=0/64
[73353.446105] usb 1-1: device descriptor read/64, error -110
[73353.680572] usb 1-1: new full speed USB device using musb_hdrc and address 34
[73358.680725] usb 1-1: khubd timed out on ep0in len=0/64
[73363.467712] Forced hostmode error: no device attached
[73363.680450] usb 1-1: khubd timed out on ep0in len=0/64
[73368.680603] usb 1-1: khubd timed out on ep0in len=0/64
[73368.743194] hub 1-0:1.0: unable to enumerate USB device on port 1
[73368.743316] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[73368.743438] hub 1-0:1.0: port 1, status 0101, change 0003, 12 Mb/s
[73368.899291] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[73369.024444] usb 1-1: new full speed USB device using musb_hdrc and address 35
[73374.024261] usb 1-1: khubd timed out on ep0in len=0/64
[73379.024475] usb 1-1: khubd timed out on ep0in len=0/64
[73384.024475] usb 1-1: khubd timed out on ep0in len=0/64
[73384.149353] usb 1-1: device descriptor read/64, error -110
[73389.258728] usb 1-1: khubd timed out on ep0in len=0/64
[73394.258789] usb 1-1: khubd timed out on ep0in len=0/64
[73398.692077] Forced hostmode error: no device attached
[73399.258605] usb 1-1: khubd timed out on ep0in len=0/64
[73399.321136] hub 1-0:1.0: unable to enumerate USB device on port 1
[73399.321228] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[73399.321380] hub 1-0:1.0: port 1, status 0101, change 0003, 12 Mb/s
[73399.477386] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[73399.602294] usb 1-1: new full speed USB device using musb_hdrc and address 36
[73404.602600] usb 1-1: khubd timed out on ep0in len=0/64
[73409.602508] usb 1-1: khubd timed out on ep0in len=0/64
[73414.602355] usb 1-1: khubd timed out on ep0in len=0/64
[73414.727355] usb 1-1: device descriptor read/64, error -110
[73419.836700] usb 1-1: khubd timed out on ep0in len=0/64
[73424.836853] usb 1-1: khubd timed out on ep0in len=0/64
[73428.220733] Forced hostmode error: no device attached
[73429.836791] usb 1-1: khubd timed out on ep0in len=0/64
[73429.899444] hub 1-0:1.0: unable to enumerate USB device on port 1
[73429.899536] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[73429.899688] hub 1-0:1.0: port 1, status 0101, change 0003, 12 Mb/s
[73430.055603] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[73430.180572] usb 1-1: new full speed USB device using musb_hdrc and address 37
[73435.180480] usb 1-1: khubd timed out on ep0in len=0/64
[73440.180541] usb 1-1: khubd timed out on ep0in len=0/64
[73445.180358] usb 1-1: khubd timed out on ep0in len=0/64
[73445.305541] usb 1-1: device descriptor read/64, error -110

lsub output

Bus 001 Device 001: ID 1d6b:0002

My hub is externaly powered
per port max current = 500mA

deny_winarto 2010-12-16 16:15

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by BCMM (Post 896306)
Works fine for me. Tested with an iPod Video and an old (full-speed!) Fujifilm SM-R2 SmartMedia reader (that's that enormous memory card format they've stopped manufacturing). Both mounted and could be read.

The black cable in the photo is from this eBay UK page (presumably, the eBay pic is actually two of them). It is slightly shorter than the N900 itself, but still flexes enough to prevent it acting as a lever to break the USB socket.

This cable definitely seems like a very portable alternative to a rigid, socket-breaking adaptor, and is available in the UK.
http://ompldr.org/vNmp3Nw
(Sorry for the poorly-lit webcam pic... white cable is just a regular A-B cable).

Initially, the camera didn't work with Titan's kernel (I use FCam).
Code:

apt-get update
apt-get install fcam-drivers

followed by a reboot fixed things. I haven't checked, but I believe that fix requires extras-devel.

Thanks to everyone who made hostmode work!

P.S. It appears that that international seller sells the same adaptor on ebay.com too.

This is probably a stupid question, but have you tested it with a standard USB flashdisk such as kingston, adata etc?

BCMM 2010-12-16 16:23

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by deny_winarto (Post 898147)
This is probably a stupid question, but have you tested it with a standard USB flashdisk such as kingston, adata etc?

The iPod and card reader are both USB MSC devices, meaning they work exactly like a standard USB flash drive.

gerdich 2010-12-16 16:50

Re: [Announce] USB hostmode beta release
 
Is there any soundcard working?

(I want an external stereo microphone.)

I think in the actual kernel is no OSS support.

Could that change in future?

FRuMMaGe 2010-12-16 17:49

Re: [Announce] USB hostmode beta release
 
I know it is possible to mount iPods as external storage devices, but has anyone figured out how to access the iTunes library, for instance using gtkpod in Easy Debian.

I have installed gtkpod but can't seem to find the iPod using Easy Debian.

varunshaji 2010-12-16 19:22

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by varunshaji (Post 897831)
dmesg output ::

[73303.344604] slide (GPIO 71) is now closed
[73305.493041] slide (GPIO 71) is now open
[73321.257904] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[73322.832946] Forced hostmode error: no device attached
[73322.833068] usb usb1: usb resume
[73322.852264] hub 1-0:1.0: hub_resume
[73322.852325] hub 1-0:1.0: port 1: status 0101 change
.
.
.
.


Thanks i got it working...It was actualy the fault of the Hub ..Thanks!!. Now eed to try keyboard and mouse..
N900 is reallly becoming cool.. :))


All times are GMT. The time now is 07:30.

vBulletin® Version 3.8.8