Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-11-13, 16:42
casper27's Avatar
casper27 casper27 is offline
 
Join Date: Jan 2009
Location: UK southampton
Posts: 843
Thanks!: 728
Thanked 520 Times in 257 Posts
Default Thread for problems getting USB hostmode working.

Post all problems with getting USB Hostmost working on different USB peripherals here.
It is Beta software but has been proved to work by numerous people on here so its mostly a case by case problem.
The developers are getting mighty P*ssed with winey posts and duplicate questions on the other thread.
Reply With Quote
The Following 4 Users Say Thank You to casper27 For This Useful Post:
  #2  
Old 2010-11-13, 19:24
werebug werebug is offline
 
Join Date: Jun 2010
Posts: 36
Thanks!: 22
Thanked 19 Times in 7 Posts
Default Re: Thread for problems getting USB hostmode working.

Is it possible to use this on Ubuntu

So I can use keyboard and mouse
Reply With Quote
  #3  
Old 2010-11-13, 19:30
esthreel's Avatar
esthreel esthreel is offline
 
Join Date: Apr 2010
Location: Vilnius, Lithuania
Posts: 259
Thanks!: 951
Thanked 55 Times in 29 Posts
Default Re: Thread for problems getting USB hostmode working.

i am having problem with external HDD, flash and mouse worked great. So the drive is 3.5 inch and has power supply, the size is 1TB and it is formatted as NTFS. I know i have to open terminal sudo gainroot and then modprobe ntfs. When I have to do this? after I opn hen? Thanks.
__________________
Mobile History: Nokia N900, 6300, Siemens CX75, SX1, CX65, Nokia 3100, 8210.
Reply With Quote
  #4  
Old 2010-11-13, 19:32
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default Re: Thread for problems getting USB hostmode working.

Before you mount, however you might need extra packages (that may/may not be available in maemo) for write support.
Reply With Quote
The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
  #5  
Old 2010-11-13, 20:03
esthreel's Avatar
esthreel esthreel is offline
 
Join Date: Apr 2010
Location: Vilnius, Lithuania
Posts: 259
Thanks!: 951
Thanked 55 Times in 29 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by MohammadAG View Post
Before you mount, however you might need extra packages (that may/may not be available in maemo) for write support.
I got this error.
__________________
Mobile History: Nokia N900, 6300, Siemens CX75, SX1, CX65, Nokia 3100, 8210.
Reply With Quote
  #6  
Old 2010-11-13, 20:12
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default Re: Thread for problems getting USB hostmode working.

I don't have any NTFS drives, so I can't test, but it should be possible to mount /dev/sda1 /mnt in terminal and open it in filebox
Reply With Quote
The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
  #7  
Old 2010-11-13, 20:20
esthreel's Avatar
esthreel esthreel is offline
 
Join Date: Apr 2010
Location: Vilnius, Lithuania
Posts: 259
Thanks!: 951
Thanked 55 Times in 29 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by MohammadAG View Post
I don't have any NTFS drives, so I can't test, but it should be possible to mount /dev/sda1 /mnt in terminal and open it in filebox
So the default file manager will not see any drives that are NTFS?
__________________
Mobile History: Nokia N900, 6300, Siemens CX75, SX1, CX65, Nokia 3100, 8210.

Last edited by esthreel; 2010-11-13 at 20:54.
Reply With Quote
  #8  
Old 2010-11-13, 20:30
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by esthreel View Post
So the default file manager will not see any drives that are NTFS?

Code:
[ 8916.612762] usb 1-1: new high speed USB device using musb_hdrc and address 4
[ 8916.791564] usb 1-1: default language 0x0409
[ 8916.842742] usb 1-1: uevent
[ 8916.842864] usb 1-1: usb_probe_device
[ 8916.842895] usb 1-1: configuration #1 chosen from 1 choice
[ 8916.845275] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 8916.845428] usb 1-1:1.0: uevent
[ 8916.845581] libusual 1-1:1.0: usb_probe_interface
[ 8916.845611] libusual 1-1:1.0: usb_probe_interface - got id
[ 8916.845672] usb-storage 1-1:1.0: usb_probe_interface
[ 8916.845703] usb-storage 1-1:1.0: usb_probe_interface - got id
[ 8916.851623] scsi2 : SCSI emulation for USB Mass Storage devices
[ 8916.857360] usb-storage: device found at 4
[ 8916.857391] usb-storage: waiting for device to settle before scanning
[ 8916.858276] /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '004'
[ 8916.858581] usb 1-1: New USB device found, idVendor=059f, idProduct=1013
[ 8916.858612] usb 1-1: New USB device strings: Mfr=10, Product=11, SerialNumber=12
[ 8916.858612] usb 1-1: Product: LaCie Hard Disk
[ 8916.858642] usb 1-1: Manufacturer: LaCie
[ 8916.858642] usb 1-1: SerialNumber: 2007102500100BB3
[ 8916.858673] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 8916.858703] hub 1-0:1.0: port 1 enable change, status 00000503
[ 8920.256958] twl4030_keypad twl4030_keypad: Spurious key event 4-2
[ 8920.500457] twl4030_keypad twl4030_keypad: Spurious key event 4-2
[ 8921.856048] usb-storage: device scan complete
[ 8921.857299] scsi 2:0:0:0: Direct-Access     ST350082 0AS                   PQ: 0 ANSI: 2 CCS
[ 8921.870544] sd 2:0:0:0: [sda] 1953546336 512-byte hardware sectors: (1.00 TB/931 GiB)
[ 8921.871276] sd 2:0:0:0: [sda] Write Protect is off
[ 8921.871307] sd 2:0:0:0: [sda] Mode Sense: 00 38 00 00
[ 8921.871307] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 8921.872131] sd 2:0:0:0: [sda] 1953546336 512-byte hardware sectors: (1.00 TB/931 GiB)
[ 8921.872863] sd 2:0:0:0: [sda] Write Protect is off
[ 8921.872863] sd 2:0:0:0: [sda] Mode Sense: 00 38 00 00
[ 8921.872894] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 8921.872924]  sda: sda1
[ 8921.917846] sd 2:0:0:0: [sda] Attached SCSI disk
/home/user #
If you mount under /media, it should.
Code:
mkdir -p /media/ntfs
mount /dev/sda1 /media/ntfs
Reply With Quote
The Following 3 Users Say Thank You to MohammadAG For This Useful Post:
  #9  
Old 2010-11-13, 21:00
esthreel's Avatar
esthreel esthreel is offline
 
Join Date: Apr 2010
Location: Vilnius, Lithuania
Posts: 259
Thanks!: 951
Thanked 55 Times in 29 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by MohammadAG View Post
If you mount under /media, it should.
Code:
mkdir -p /media/ntfs
mount /dev/sda1 /media/ntfs
It worked all like a charm, thanks.



But the problem is that when I open it from list with default manager i see text (no files), it sees the disk as empty. If i go to filebox I see them all. The bigger problem is that when i try to open a file I get for jpg / pdf - file format not supported, for music / video - file not found. Any ideas?

P.S. http://talk.maemo.org/archive/index.php/t-17811.html Any one looked on this?
__________________
Mobile History: Nokia N900, 6300, Siemens CX75, SX1, CX65, Nokia 3100, 8210.

Last edited by esthreel; 2010-11-13 at 21:05.
Reply With Quote
The Following User Says Thank You to esthreel For This Useful Post:
  #10  
Old 2010-11-13, 22:28
Larswad Larswad is offline
 
Join Date: Dec 2009
Location: Gothenburg, Sweden
Posts: 385
Thanks!: 174
Thanked 426 Times in 150 Posts
Default Re: Thread for problems getting USB hostmode working.

@esthreel: This is basic mounting knowledge for linux. You have to give rights to the user (since you run the filemanager as 'user').
you first need the id of your user and users group:

to find out, enter:

Code:
id user
and you will get the user's id. (You will probably get 29999 for both 'user' id and the 'users' group).

now, as root:

Code:
mount -t ntfs /dev/sda1 /media/ntfs -o uid=29999,gid=29999,utf8,dmask=027,fmask=137
Replace the 29999 with the id you got, if it was different of course.
Now, you should be able to access your files from the file manager.
Good luck.
Reply With Quote
The Following 13 Users Say Thank You to Larswad For This Useful Post:
Reply

Tags
awesome!, bada rox, h-e-n hostmode, more noise


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:55.