Active Topics

 


Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#401
Originally Posted by iDont View Post
I can confirm that the following OTG cable works without any mods on the N900:
[...]
Funny fact is that the cable, despite being advertised so, shouldn't work on the N8, as the N8 got a square USB connector AFAIK.
It will work for N8 as well. If it fits to N900 then it has a micro-B plug, and N8 (and N810) has a micro-AB receptacle, which matches both micro-A and micro-B plugs.
This means plugs that fit to N900 also fit to N8, but not all plugs that fit to N8 also fit to N900.
If it works for N8, this seems to indicate it has a grounded ID pin, which is a good thing and really rare for micro-B plugs though. Usually only micro-A-plugs have ID pin grounded - it's the definition of an A-plug and meant to switch the OTG device into host role.

Nice find :-)

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-11-23 at 01:04.
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 39 | Thanked: 10 times | Joined on Nov 2009
#402
Originally Posted by iDont View Post
I can confirm that the following OTG cable works without any mods on the N900:
http://cgi.ebay.com/ws/eBayISAPI.dll...K%3AMEWNX%3AIT
This particular bidding had ended, but I'm sure the item has been reposted (multiple times) already.

Funny fact is that the cable, despite being advertised so, shouldn't work on the N8, as the N8 got a square USB connector AFAIK.
Great! Just ordered one, thanks dude!!
 
Posts: 133 | Thanked: 16 times | Joined on Sep 2010 @ Balzan Malta
#403
Originally Posted by toxaris View Post
Quite usefull when aboard without wifi and dataplan. Wounder if something needs to be done to get it work, drivers etc? Enyone know?
Yes does any one know the steps to get this working with a usb to Ethernet adapter?? And a suggestion can some one collect several common drivers and make them in a package so we can install them so we will have a large compability? Thanks
__________________
My life is now much easier with my N900!!
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#404
I get an error installing i2c-tools:
Code:
dpkg: error processing /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb (--unpack):
 trying to overwrite `/usr/include/linux/i2c-dev.h', which is also in package linux-kernel-headers
Errors were encountered while processing:
 /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 

The Following User Says Thank You to Zas For This Useful Post:
Posts: 39 | Thanked: 10 times | Joined on Nov 2009
#405
Originally Posted by luketanti View Post
Yes does any one know the steps to get this working with a usb to Ethernet adapter?? And a suggestion can some one collect several common drivers and make them in a package so we can install them so we will have a large compability? Thanks
I just followed the steps in the video with an apple usb ethernet adapter, and all went excellent, cheers!
 

The Following User Says Thank You to snakekontrol For This Useful Post:
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#406
Originally Posted by Zas View Post
I get an error installing i2c-tools:
Code:
dpkg: error processing /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb (--unpack):
 trying to overwrite `/usr/include/linux/i2c-dev.h', which is also in package linux-kernel-headers
Errors were encountered while processing:
 /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Everyhting installed successfully by renaming linux-kernel-headers.list and linux-kernel-headers.md5sums in /var/lib/dpkg/info/ to .bak files to fake its removal.
 

The Following 2 Users Say Thank You to Zas For This Useful Post:
Posts: 105 | Thanked: 143 times | Joined on Nov 2009
#407
This is awesome guys! thanks for your hard work. Im seeing a day in the not too distant future when I am viewing my n900 via the tv-out on the big telly and controlling it via a kinect hack from the usb :P
 

The Following User Says Thank You to cferrism For This Useful Post:
5spdvl's Avatar
Posts: 220 | Thanked: 66 times | Joined on Aug 2010 @ Melbourne, Australia
#408
So, here are my results using USB Host Mode beta release so far.

Sandisk Cruzer Blade 4Gb flash stick worked perfectly via high speed mode. I was able to watch videos from it using the Media Player, and copy files to the 32Gb internal storage as well as the 8Gb MicroSD card I have, and back to the flash drive again. no playback issues at all, and no write protect issues.

250Gb external powered HDD did not work, however this HDD only works intermittently anyway. Nothing to do with H-E-N IMO.

500Gb external passport HDD, which is supplied with a dual USB cable (second plug provides additional power). This did not work. We powered the second plug via a USB power supply, but no luck. I forgot to check the kernel messages.

HTC Desire worked, and started charging! It read the 32Gb MicroSD inserted, and successfully played some music with no issues (although Media Player tried to retrieve all the "new" media's information).
 
5spdvl's Avatar
Posts: 220 | Thanked: 66 times | Joined on Aug 2010 @ Melbourne, Australia
#409
Nokia N97 did not work. I expected it to come up with the mass storage selection, but nothing happened across all speeds. Afgter I closed H-E-N, it said the device had no file system. Attached is the kernel output.
Attached Files
File Type: txt hostmode.txt (15.3 KB, 208 views)
 
Posts: 19 | Thanked: 16 times | Joined on Sep 2010
#410
Thank you for the beautilful news and the good work. Now my usb mass storage works on my n900. I tested a serial converter and the device ttyUSB0 is maked.
I'm testing a hid usb periferical, it's a RFID programmer. The linux client use the library libusb, when open the device all works without problem but when try to write with usb_bulk_write I have a timeout error code -110.
I recompiled the kernel power with HIDRAW and HIDDEV enabled but the client don't work, I have always the error -110. I tried to modify the client increase the timeout on usb_bulk_write but without success.
Have you suggestions? Some kernel modules is missing?

Code:
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
          Report Descriptor: (length is 52)
            Item(Global): Usage Page, data= [ 0xa0 0xff ] 65440
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x02 ] 2
                            (null)
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Usage Page, data= [ 0xa1 0xff ] 65441
                            (null)
            Item(Local ): Usage, data= [ 0x03 ] 3
                            (null)
            Item(Local ): Usage, data= [ 0x04 ] 4
                            (null)
            Item(Global): Logical Minimum, data= [ 0x80 ] 128
            Item(Global): Logical Maximum, data= [ 0x7f ] 127
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0xff ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x40 ] 64
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x05 ] 5
                            (null)
            Item(Local ): Usage, data= [ 0x06 ] 6
                            (null)
            Item(Global): Logical Minimum, data= [ 0x80 ] 128
            Item(Global): Logical Maximum, data= [ 0x7f ] 127
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0xff ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x40 ] 64
            Item(Main  ): Output, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
Here the source of linux client.

Thank you for the help.
 

The Following User Says Thank You to peppino For This Useful Post:
Reply

Tags
bada rox, detection, h-e-n, hostmode, speed, usb host


 
Forum Jump


All times are GMT. The time now is 00:24.