maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   n770 host mode question!!! (https://talk.maemo.org/showthread.php?t=5843)

macken 2007-04-17 04:26

Re: n770 host mode question!!!
 
hmm, I finally made the driver on Ubuntu (.ko and .o) file, but its not running on n770 and throws error. Do I need to make the driver on n770 directly???

fanoush 2007-04-17 07:02

Re: n770 host mode question!!!
 
Quote:

Originally Posted by macken (Post 44641)
Do I need to make the driver on n770 directly???

Not on n770 but for n770. You need specific arm cross-compiler or whole scratchbox environment and maemo SDK (2.2 for N770) and then download and compile n770 kernel source. You should get the SDK also if you want to compile some application for using the camera later. http://www.maemo.org/downloads/releases.html

macken 2007-04-17 17:47

Re: n770 host mode question!!!
 
I think I did install the scratchbox thing before, but then I decide to do some fast coding thru ssh, thus I left the maemo dev enironment untouched.

So, can I have some hint, is it true that I only need to go to:
[sbox-SDK_ARMEL: ~] >
and make the driver (eg. make all) and that's all? Or I have to notice something else?

Thanks.

Hedgecore 2007-04-17 19:37

Re: n770 host mode question!!!
 
*perks up* Sorry, webcams on the 770? I've got an old Logitech webcam (the drivers for the express should work)... what app are you going to use with this?

*Hedge is interested*

macken 2007-04-17 19:51

Re: n770 host mode question!!!
 
opps, I didnt really think about it.
I was just thinking to have a driver set up and then see if the n770 can recognize the webcam or not. (on premise that I think now the host mode works). I am also thinking to follow
http://maemo.org/platform/docs/howto..._api_bora.html
maybe modify it a bit, just want to see if the webcam works or not.

If u have the driver that works on n770 can you give it to me then I dont need to spend time to figure out the scratchbox thing. :p
Thanks.

macken 2007-04-18 07:29

Re: n770 host mode question!!!
 
Alrite, I guess I need some help here.
I have been trying the whole night following the instruction to setup the ARMEL env for scratchbox, seems like the doc is not updated (might be I just read the wrong thing) and I have trouble to setup the "Available CPU-transparency methods", finally I even mess up the scratchbox and now it cannot start up...:(

Feeling so frustrated and wonder if any of your highness can be nice enough to make me a driver file for the quickcam express ? (http://qce-ga.sourceforge.net/#download) that can allow me to do some testing on the host mode and further development?

:D I will be really happy if I can let the webcam run as it would be really helpful for my project the coming year of study.

Regards,

fanoush 2007-04-18 11:49

Re: n770 host mode question!!!
 
Out of curiosity I tried to recompile it and it worked. Took me few minutes. Sorry for not making it easy for you but I won't publish the result. If you want to make any progress yourself you simply need scratchbox running and then compile kernel yourself. For n770 you also need to enable v4l (video for linux) module as it is not in default kernel. For kernel compiling guide search maemo site/wiki/mailinglists. For the webcam driver it was enough to set LINUX_DIR to kernel source directory and type make all.

Also next problem may be that n770 X server doesn't support video extension so you won't see output on the screen (at least not in any good framerate). But still it could work over network which may be useful too.

macken 2007-04-18 13:37

Re: n770 host mode question!!!
 
Thanks fanoush, I will give the scratchbox another try tonight.

convulted 2007-04-20 02:10

Re: n770 host mode question!!!
 
It may be a bit late but I wrote a couple of scripts that switch to USB host or client mode, mount (and unmount) any USB drive, etc, complete with entries in the application launcher thingy (what is its official name?) on the left of the screen and an installer. Any takers?
I still need to design/add some icons, but am hampered by the fact that I don't know in which directory I should put them to refer to them from the .desktop file.

Cheers,
Dre

S2000FSU 2007-05-16 19:45

Re: n770 host mode question!!!
 
Quote:

Originally Posted by convulted (Post 45140)
It may be a bit late but I wrote a couple of scripts that switch to USB host or client mode, mount (and unmount) any USB drive, etc, complete with entries in the application launcher thingy (what is its official name?) on the left of the screen and an installer. Any takers?
I still need to design/add some icons, but am hampered by the fact that I don't know in which directory I should put them to refer to them from the .desktop file.

Cheers,
Dre

I would be interested in the scripts as I'm going to try to hook my 770 up to a SmartDisk FotoChute 20gb drive (which has it's own battery and is a USB-OTG device).

Can audio/video files be played on the 770 from a USB device? Last time I tried to play a MP3 via bluetooth (to my Treo 700) with the built-in Nokia audio player, I was unable to.


All times are GMT. The time now is 03:37.

vBulletin® Version 3.8.8