![]() |
Re: Thread for problems getting USB hostmode working.
Guys, sorry i don't have much knowledge about USB HOST MODE, but is it possible that we use N900 as a host-mode as well as charging it? I know that during this mode, BME is stopped. But who know we can still give a command to Battery management to draw power from the USB port to charge the battery. For sure we can create such cable that provide an external power port to power the N900 and attached device.
|
Re: Thread for problems getting USB hostmode working.
Quote:
http://talk.maemo.org/attachment.php...1&d=1290921841 http://talk.maemo.org/attachment.php...1&d=1290921841 http://www.4shared.com/file/sO2p4sJN...p_xjoypad.html copy to your /usr/bin and put permission for that file. |
Re: Thread for problems getting USB hostmode working.
Quote:
Quote:
/j |
Re: Thread for problems getting USB hostmode working.
Has anybody tried to connect webcam?
I have tiny 3 MP webcam. And seems that h-e-n recognize it. And obviously its not showing up in File manager. Wondering if possible to retrieve and get access to it. Code:
sb 1-1:1.0: uevent |
Re: Thread for problems getting USB hostmode working.
Quote:
Obviously it won't show up in file manager, what would you expect to see? A mpeg video file? If it works and driver works.... I guess you then could access it similarly to internal cams which are /dev/video0 and /dev/video1 cheers jOERG |
Re: Thread for problems getting USB hostmode working.
Quote:
Code:
mplayer tv:// -tv driver=v4l2:device=/dev/video0 Code:
ls /dev/video* /dev/video1 is the front camera and /dev/video2 should be your USB camera. |
Re: Thread for problems getting USB hostmode working.
Quote:
|
Re: Thread for problems getting USB hostmode working.
Thanks for respond :)
heres what im getting Code:
ls /dev/video* Code:
mplayer tv:// -tv driver=v4l2:device=/dev/video2 Code:
Playing tv://. |
Re: Thread for problems getting USB hostmode working.
just a suggestion in which direction to think, about mounting etc:
[excerpt from my PC syslog] Quote:
from my ps: 1490 ? S 29:49 hald-addon-storage: polling /dev/sr0 (every 2 sec) /j |
Re: Thread for problems getting USB hostmode working.
Quote:
I've noticed that you didn't type the code correctly... "v4l2" stands for "Video 4 Linux 2" input, so make sure you enter letter "l", not digit "1" |
Re: Thread for problems getting USB hostmode working.
@foosball
yes, i found that right after when i posted. Well im still trying to make webcam work no luck yet ... |
USB stick support with h-e-n application
Hello,
I have installed h-e-n application on my N900 & i am able to connect USB mouse successfully with my device through this software. But when I try to connect my pendrive with the same procedure i followed for mouse, the pen drive is not detected. I searched some videos in which people has successfully connected their pendrives/USB HDDs to the device by doing some kernal settings through Xterminal. Can Anyone here tell me how I can enable USB disk detection on my N900?? Thanks a lot for your support.. Best Regards, Hardik |
Re: USB stick support with h-e-n application
try fullspeed not highspeed. some cards don't work in HSmode from start.
|
Re: Thread for problems getting USB hostmode working.
The problem we suffer is to mount USB drives. The script does not work.
Always properly enumerate my devices. Completely assembled manually. |
Re: Thread for problems getting USB hostmode working.
I don`t know if this is been asked before but.....is there a way of connecting a USB game controller to the N900 and use it in games through HEN?
Thanks |
Re: Thread for problems getting USB hostmode working.
Hi guys
First of all, thanks a lot for the good work. Wishing you guys all the very best. Anyway, I am getting some problem with host mode to work. My N900 is on the latest FW which is PR 1.3 and I am using the latest kernel which is Titan's kernel V46 with no over clocking. I have installed extmou for my bluetooth mouse (A4Tech BT-630) and it works perfect. Yesterday I installed h-e-n and I made a female to female usb converter by myself. I have a Verbatim 2GB pendrive. I tried to connect it with N900 but no luck. N900 does recognise it but there is no drive in nither File manager nor Filebox. Today I uninstalled extmou and restart devide and reinstalled extmou also restart and tried my bluetooth mouse. Its working fine but no avail with usb laser mouse. I did collect the kernel message which I am providing below. http://i1128.photobucket.com/albums/...222-153239.png BTW, I saw somewhere that i2c-tools is needed but when I search for it, I just find i2c_tiny_usb. Is this the same one ? Anyway, I tried with the pendrive with fat, fat32 and ntfs format. I also tried to mount manually but get an error says "no such file or directory". Sometimes I get a yellow banner says "unable to connect". I also checked the media/flash in filebox and got an empty mmc1 folder. Now I am very much confused:confused:. I dont know what to do. I tried almost everything I could but returns with no luck. So it would be my humbble pleasure if anybody can lead me to the solution. Thanks:D |
Re: Thread for problems getting USB hostmode working.
obhishap,
You made converter yourself? So have you confirmed on some other device that your handmade plug really works? Also I have huge trouble on understand what is the issue? - No cursor - Usb pendrive not working These? You can btw. copy that log and copy paste it here or in pastebin. |
Re: Thread for problems getting USB hostmode working.
Thanks slender for quick reply. Yes, I made the converter. I took a male to female usb extension cable and a female usb point from a ps2 to usb converter. Then I did cut the male point from the cable and soldered the female point into there. I think it is working cause, I can see the pendrive and usb mouse getting power and also recognised by N900. The problem is, I am not getting mouse cursor and not getting any pendrive drive in the file manager. Another problem is, after checking anything in h-e-n, I cannot connect N900 to pc if not restarted. I am using N900 as usb modem and everytime I use h-e-n, I need to restart N900 to get connection to the pc. This is the most annoying part. I will paste the log ASAP. Thanks again for the help.
|
Re: Thread for problems getting USB hostmode working.
[ 4996.560668] usb 1-1: usb_probe_device
[ 4996.560699] usb 1-1: configuration #1 chosen from 1 choice [ 4996.564453] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [ 4996.564788] usb 1-1:1.0: uevent [ 4996.565185] libusual 1-1:1.0: usb_probe_interface [ 4996.565277] libusual 1-1:1.0: usb_probe_interface - got id [ 4996.657897] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '006' [ 4996.658294] usb 1-1: New USB device found, idVendor=0a16, idProduct=1200 [ 4996.658325] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4996.658355] usb 1-1: Product: Store'n'Go Mini [ 4996.658355] usb 1-1: Manufacturer: Verbatim [ 4996.658386] usb 1-1: SerialNumber: 4af2aac589831b [ 4996.658416] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 4996.658477] hub 1-0:1.0: port 1 enable change, status 00000503 [ 4996.729919] Initializing USB Mass Storage driver... [ 4996.730163] usb-storage 1-1:1.0: usb_probe_interface [ 4996.730194] usb-storage 1-1:1.0: usb_probe_interface - got id [ 4996.730712] scsi0 : SCSI emulation for USB Mass Storage devices [ 4996.738922] usbcore: registered new interface driver usb-storage [ 4996.738983] USB Mass Storage support registered. [ 4996.744720] usb-storage: device found at 6 [ 4996.744720] usb-storage: waiting for device to settle before scanning [ 5001.746032] usb-storage: device scan complete [ 5001.766723] scsi 0:0:0:0: Direct-Access Verbatim Store'n'Go Mini 1.30 PQ: 0 ANSI: 2 [ 5001.784881] sd 0:0:0:0: [sda] 3948544 512-byte hardware sectors: (2.02 GB/1.88 GiB) [ 5001.785186] sd 0:0:0:0: [sda] Write Protect is off [ 5001.785217] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00 [ 5001.785217] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5001.789703] sd 0:0:0:0: [sda] 3948544 512-byte hardware sectors: (2.02 GB/1.88 GiB) [ 5001.789978] sd 0:0:0:0: [sda] Write Protect is off [ 5001.790008] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00 [ 5001.790039] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5001.790039] sda: [ 5002.109436] sd 0:0:0:0: [sda] Attached SCSI removable disk But though I am not getting it working. |
Re: Thread for problems getting USB hostmode working.
Hi Obhishap,
what does ls /dev/sd* outputs? |
Re: Thread for problems getting USB hostmode working.
Quote:
Sorry I am not getting it. Did you mean the list in /dev ??? if yes, then there is no sd or sda1 exist in dev directory. Looking ahead to your reply. Thanks. BTW, I saw a broken symlink in the dev directory which is named "core". |
Re: Thread for problems getting USB hostmode working.
I am not a kernel developer but the broken symlink shouldn't matter.
It sounds strange you don't have any /dev/sda kind of file, the log says clearly the kernel is going to file your verbatim under /dev/sda... Just to be sure, did you check the existance of /dev/sda AFTER having enumerated your verbatim usb stick? The device is created on the fly by the kernel, it is not a dir you have to create |
Re: Thread for problems getting USB hostmode working.
Got it working man thanks a lot. I checked for sda instead of sda1 and I got it right a way....Now I am so happy. Thanks jurop88 and all of you who helped me.
|
Re: Thread for problems getting USB hostmode working.
Hi everybody,
something strange is happening here: A while ago I asked about a problem that happened when moving files bigger than 200mb (and promptly answered by joerg that is a maemo bug). And I had another problem of time while working with h-e-n: sometime after started, it said in dmesg something like usb1:suspend, and then the link was lost. I use to use the hub (cp-h420mp) - the only one I have that works, all my other [cheap] self powered hubs just won't - because direct link between mouse-n900 just doesn't work. And the problem with self suspend was true UNTIL I plugged together another gadget called Gemei x760+, that I planed to use as a SD reader (and that have another memory with 4GB that isn't auto mounted but is easy to mount - it is recognized). And the problem with the files of more than 200mb was solved too!! Now I can move and copy anything without problems and having to run fdisk to fix things. Is there any explanation for that? Thanks. |
Re: Thread for problems getting USB hostmode working.
my problem:
Trying to find that darn USB female-female converter.... Darn shops ain't got nothin in em |
Re: Thread for problems getting USB hostmode working.
Hello, i'm getting this error when running male to female cable with USB Visipro 8GB
Quote:
Any known solution for this? |
Re: Thread for problems getting USB hostmode working.
Hey Dark_Angel.
I do not know , where You are from, but check this out: http://cgi.ebay.de/USB-2-0-Adapter-A...item4aa75879a0 or http://cgi.ebay.de/USB-2-0-Adapter-B...583254572#shId Both send to Germany for free. And both have good reputation (from me ;)). @all Wouldn't it be much more convenient for all to put the outputs of dmesg or similar into a small txt file and attach it with the post? Instead of "spamming" the thread with such long listings, making it hard to read? |
Re: Thread for problems getting USB hostmode working.
Quote:
please read post #604 in hostmode thread. the problem is solved |
Re: Thread for problems getting USB hostmode working.
Hi Deny_winarto,
this looks like your cable isn't good for highspeed. Try a better cable, or try connecting with fullspeed. cheers jOERG |
Re: Thread for problems getting USB hostmode working.
@peterleinchen : sorry I'll do that next time
@joerg_rw ; thanks, so what cable/adapter combination would you recommend? I bought that cable because someone on the other thread managed to get it working on a HDD. http://talk.maemo.org/showpost.php?p...&postcount=553 and what actually determines the success rate of hostmode? is it the quality of male pinout or the female pinout? |
Re: Thread for problems getting USB hostmode working.
Quote:
|
Re: Thread for problems getting USB hostmode working.
In case you have one of these around, its pretty much the fastest way to improvise...
http://img137.imageshack.us/img137/572/20101209001.jpg TRX. |
Re: Thread for problems getting USB hostmode working.
1 Attachment(s)
hi sami power
most emulators do not support joypad. they are supporting keyboard. this is how xjoypad works. it reads your joypad and send the pressed key to keyboard, so the emulator will thinks that the keyboard is being pressed. it means, after you are succesfully enumerate your joypad and the joypad is listed in dev/input, you are able to control all applications that supports keyboard. this inlcuding your xterminal. maybe the problem was, your joypad is not listed as js0. try to findout what is the codename of your joypad. since i have only one joypad, i am unable to find another codename, thats why i assign js0 as default in xjoypad. try to reboot your N900, cd /dev/input then type ls enumerate your joypad, then do cd /dev/input then type ls again. any new item will be your joypad. regard |
Re: Thread for problems getting USB hostmode working.
gamepad codename ?? what numbers/letters in hen , is it?? , can you see my captures,
now i wil try it: try to reboot your N900, cd /dev/input then type ls enumerate your joypad, then do cd /dev/input then type ls again. any new item will be your joypad. edit: you're very lucky , only 1 gamepad and it are running perfect but you has been played only a psx and others emulators? try mame, and others please and tell me . thanks for example user IMPEHAM say it: it is working - i was playing with such a joystick - connected my n900 to the TV and played mame games, playstation games with the emulator, and mupen 64 - amazing - the N900 has now become a full game console... i used mgtech joystick: http://img.zap.co.il/pics/5/6/1/1/21601165b.gif this gamepad are very compatible with all emulators i tried 4 gamepads and only 1 ran and only with mame, very rare. and without xjoypad, with xjoypad identical results. i tried enumerate joypad, then do cd /dev/input then type ls again. and not new item i think that it depend compatibility drivers but my big dude: play 3 station gamepad original bluettoth have sixaxis driver installed and run very well why are not running in usb mode? , if n900 have library ?? |
Re: Thread for problems getting USB hostmode working.
Quote:
yes, i have tried it at three different emulator. its PSX4all, drNokSNES, iNES, Master gear, and it works fine. i just need to set up the emulators to read specific key in the joypad. can you please tell me what was listed in /dev/input after you enumerate ur joypad? what i mean by "codename" is letter and numbers in /dev/input. for example js0. regard |
Re: Thread for problems getting USB hostmode working.
my steps exactly:
i started nokia n900 open xterminal and in dev/input are this files event0 event1 event2 event3 keypad ts pwrbutton uinput now i started hen full speed vboost connect usb gamepad ps3 original and enumerate , two times enumerate process hen log: show name and compant gamepad and usb hid core driver 2.6 in dev/input/ i write ls and nothing not new file created but if i put on bluetooth and conect ps3 gamepad bluetoth mode yes in dev/input magic js0 now usb mode not js0 bluetoth mode yes js0 same gamepad ps3 original used i used filebox and compress js0 file into zip file with bluetoth active and after i tried with js0 file copy/paste in dev/input and try put usb ps3 original gamepad and hen enumerate and xjoypad and yes xjoypad run ok now , but gamepad not run . |
Re: Thread for problems getting USB hostmode working.
Quote:
very please help I want to connect a dvd rom as I have to do it so to play dvd and if it is possible to have a record Thank you for hen and greet I apologize for the language |
Re: Thread for problems getting USB hostmode working.
hi all, what im doing wrong? when i switch on h-e-n and i do all what i saw in all forums and youtube videos but i still cant get working any discs. i have nokia card reader and usb sandisk 4GB. mouse working properly, keyboard as well. what i have to do?thx
|
Re: Thread for problems getting USB hostmode working.
Hello,
I've got a little problem: i plug my usb key, it's enumerate, i can see it in dmesg. The mount button doesn't work at all. I can mount it by in root: mount /dev/sda /media/flash -o uid=29999,gid=29999,utf8,dmask=027,fmask=137 and its appear in /media/flash that i created. Is there a way that the mount button work? Thx |
Re: Thread for problems getting USB hostmode working.
hi,
I have tried to connect a usb DVD drive and got the following in the logs: [39971.219238] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '022' [39971.219604] usb 1-1: New USB device found, idVendor=03f0, idProduct=5e07 [39971.219635] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [39971.219665] usb 1-1: Product: HP USB Mass Storage Device [39971.219665] usb 1-1: Manufacturer: Hewlett-Packard [39971.219696] usb 1-1: SerialNumber: 2104752485555557234 [39971.219726] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [39971.219757] hub 1-0:1.0: port 1 enable change, status 00000503 [39971.375396] Initializing USB Mass Storage driver... [39971.375640] usb-storage 1-1:1.0: usb_probe_interface [39971.375671] usb-storage 1-1:1.0: usb_probe_interface - got id [39971.377471] scsi0 : SCSI emulation for USB Mass Storage devices [39971.378784] usbcore: registered new interface driver usb-storage [39971.378814] USB Mass Storage support registered. [39971.381378] usb-storage: device found at 22 [39971.381378] usb-storage: waiting for device to settle before scanning [39976.381317] usb-storage: device scan complete [39976.394439] scsi 0:0:0:0: CD-ROM HP DVD-ROM rm475e JH21 PQ: 0 ANSI: 0 My guess is that h.e.n. is working, Is it? Further question is that how do I mount this one?(note: I have also posted http://talk.maemo.org/showthread.php...103#post927103) for help on this.) Cheers, |
All times are GMT. The time now is 04:57. |
vBulletin® Version 3.8.8