maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Deblet Hack Challenges v1.0 (https://talk.maemo.org/showthread.php?t=23371)

qole 2008-09-14 15:15

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Stskeeps (Post 223753)
Just while I remember.. http://packages.debian.org/lenny/libts-bin contains a ts_calibrate which will calibrate the touchscreen for you. It needs export TSLIB_TSDEVICE=/dev/input/event3 , fb_update_mode auto as it uses framebuffer.

I'm familiar with tslib and the TSLIB_TSDEVICE variable, but what's the "fb_update_mode auto"? Is that another export variable? Or is it a command line parameter? I've never managed to get ts_calibrate to work, maybe the fb_update_mode was the problem.

Stskeeps 2008-09-14 15:19

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by qole (Post 223768)
I'm familiar with tslib and the TSLIB_TSDEVICE variable, but what's the "fb_update_mode auto"? Is that another export variable? Or is it a command line parameter? I've never managed to get ts_calibrate to work, maybe the fb_update_mode was the problem.

fb_update_mode is a program of fanoush's that selects if the framebuffer should update immediately after a change or not (console doesn't work for instance else), or manually - program should ask to update the fb to show changes

Darken 2008-09-22 01:21

Re: Deblet Hack Challenges v1.0
 
Hi,

I am quite experienced linux user and admin, but unfortunelly not good friend with debian. Deblet seems to even use different configuration for X then common debian which makes me very confused. Well, I had following idea:

I love when I can lauch xfce4 on n810, but to be honest, default maemo layout is very good for small devices, much better and faster then xfce of gnome. (Don't speak about KDE4 at all).

I would like to take advantage of maemo gui and crate nit-env-hildon or something like that... all stuff should be free, maybe expect microb browser (but we should be able to use fennec soon).

We will have the best from all. Nice working gui from maemo project and lot of libs and software repositories.

I don't expect that anybody will do it for me, but I will be glad for any help, link for usefull tutorial (there's not many tutorials for hildon stuff at all) or any advice.

Thank

Stskeeps 2008-09-22 09:29

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Darken (Post 225930)
Hi,

I am quite experienced linux user and admin, but unfortunelly not good friend with debian. Deblet seems to even use different configuration for X then common debian which makes me very confused. Well, I had following idea:

Yeah, - we're a bit restricted by the fact Xserver-omap is a kdrive so it's a bit possible. We provide nit-env's to collect working tablet environments.

Quote:

I would like to take advantage of maemo gui and crate nit-env-hildon or something like that... all stuff should be free, maybe expect microb browser (but we should be able to use fennec soon).
We will have the best from all. Nice working gui from maemo project and lot of libs and software repositories.
It's definately possible, see http://people.via.ecp.fr/~jobi/hildo...top-ubuntu.png for instance. http://maemo.org/community/wiki/Hild...opPortability/ is also a possibility. You may find hildon packages in Debian already.

If you want to make a nit-env-hildon, try look at the package sources at http://trac.tspre.org/projects/deble...it-env-keblet3 - these are dpkg-buildpackage'able

For a QEMU virtual 'armel' machine, see http://people.debian.org/~aurel32/qemu/armel/ - that's what I use to dpkg-buildpackage (you'll want to apt-get dist-upgrade and ntpdate it probably). Scratchbox for Debian/armel should exist too.

http://wiki.debian.org/pkg-maemo is relevant too.

jiiv 2008-09-22 15:09

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Darken (Post 225930)
...
I love when I can lauch xfce4 on n810, but to be honest, default maemo layout is very good for small devices, much better and faster then xfce of gnome. (Don't speak about KDE4 at all).

You might try installing matchbox; I believe that's what the maemo ui is built on. It works basically the same anyway (one app viewable at a time, not resizeable). If I remember correctly it's based on blackbox code and was originally intended for small handhelds. Quite workable, but I despise the one-at-a-time approach.
For me, lxde seems to be the best compromise between speed and features, but Icewm is even faster (it would be my second choice, and I may end up going back to it before long).

qole 2008-09-30 19:22

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Stskeeps (Post 220969)
Another one from the list:

* Finding simple Camera applications that work with the v4l device for snapshotting and recording and documenting these on wiki.

apt-get install cheese gnome-media

Make sure tablet user is in 'video' group. Run gstreamer-properties to set ximagesink and select correct camera (omap24xxcam)

Is there any hope of hacking a solution that lets the camera be used as a standard v4l device, without using gstreamer?

As you might suspect, I'm only interested in chroot, where the camera is supposedly available on /dev/video0, but most apps can't seem to access it. Why not?

Also, please note the dm-loop by free and Matan that allows a loop filesystem to be accessed at almost the same speed as a partition. This makes the deblet-in-a-file option very attractive. This definitely needs to be added to the deblet system.

Stskeeps 2008-09-30 20:44

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by qole (Post 228983)
Is there any hope of hacking a solution that lets the camera be used as a standard v4l device, without using gstreamer?

As you might suspect, I'm only interested in chroot, where the camera is supposedly available on /dev/video0, but most apps can't seem to access it. Why not?

I didn't install any gst-plugins from Nokia for this - the camera -is- a v4l device. Maybe need to be included in 'video' group or the likes?

Quote:

Also, please note the dm-loop by free and Matan that allows a loop filesystem to be accessed at almost the same speed as a partition. This makes the deblet-in-a-file option very attractive. This definitely needs to be added to the deblet system.
Yeah, I've got it on my TODO and it's very interesting. I do need a statically or initfs linked dmsetup for this purpose however before it's possible (deblet-in-a-file uses "support" files on the vfat and abuses the fact vfat has +x permission for files when not mounted noexec..)

qole 2008-09-30 21:23

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Stskeeps (Post 229041)
I didn't install any gst-plugins from Nokia for this - the camera -is- a v4l device. Maybe need to be included in 'video' group or the likes?

The /etc/group file has the following line (both in Maemo and, by design, in the chroot):

Code:

video:!:44:user
So does camorama work for you Deblet guys?

EDIT: The problem is straightforward, I think. The camera is NOT a v4l device. It is a v4l2 device, with no backwards compatibility for v4l1. So only programs which can handle v4l2 will work with the camera. And there aren't a lot of those.

Benson 2008-09-30 21:50

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by qole (Post 229066)
The /etc/group file has the following line (both in Maemo and, by design, in the chroot):

Code:

video:!:44:user
So does camorama work for you Deblet guys?

EDIT: The problem is straightforward, I think. The camera is NOT a v4l device. It is a v4l2 device, with no backwards compatibility for v4l1. So only programs which can handle v4l2 will work with the camera. And there aren't a lot of those.

Wasn't that the issue with Flash cam support? And was overcome with a v4l2 -> v4l loopback driver? IIRC, anyway.

qole 2008-09-30 23:06

Re: Deblet Hack Challenges v1.0
 
I'm using the vloopback.ko driver from this post, but still no luck (with camorama). Will try other apps; I think I need to find one that allows me to choose my colourspace...

Stskeeps 2008-10-07 22:37

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by Darken (Post 225930)
I would like to take advantage of maemo gui and crate nit-env-hildon or something like that... all stuff should be free, maybe expect microb browser (but we should be able to use fennec soon).

We will have the best from all. Nice working gui from maemo project and lot of libs and software repositories.

Here's a bit of stuff from the looney-bin of my mind, :

http://bsd.tspre.org/~stskeeps/nit-debian/hildlet3.png

http://bsd.tspre.org/~stskeeps/nit-debian/hildlet4.png

http://bsd.tspre.org/~stskeeps/nit-debian/hildlet5.png

Stskeeps 2008-10-11 19:54

Re: Deblet Hack Challenges v1.0
 
Okay. So instead of the old-time Bluetooth DUN i looked a bit into Bluetooth PAN. And it turns out it's actually a lot easier than Bluetooth DUN.

From a root terminal:
0. apt-get install bluez-gnome, edit /etc/xdg/autostart/bluetooth-applet.desktop to show in LXDE as well (if you use nit-env-lxde)
1. reboot.

2. Find the BDADDR of your phone with a hcitool scan
3. Set up the BNET link with pand –connect <BDADDR> –service NAP
3a. It will probably ask you for PIN/Pairing around this point.
4. Set up TCP/IP networking with the DHCP client of your choice, such as dhclient bnep0

Can some of you Deblet users try it out and tell me if it works for their phones or not, and what models/providers?

You can kill the connection with pand --kill <BDADDR> again.

Capn_Fish 2008-10-11 21:44

Re: Deblet Hack Challenges v1.0
 
I don't know if this has been covered in this thread yet or not, but USB networking is as easy as plugging the cable into the N8x0 and another box, then doing a:

modprobe usbnet
ifconfig usb0 up 192.168.2.3

The IP address may be wrong there, but that's all I had to do (aside from allowing communication through my box's firewall).

meizirkki 2008-10-29 11:56

Re: Deblet Hack Challenges v1.0
 
Is there already a working DUN in deblet? If not, i have a working solution. Is the goal to use mobile phones for internet connection?

I am so in love with my deblet! Thanks guys great work!

I am just a noob, but if there is anything i can do for the deblet i will surely try!

Pellervo Kässi 2008-10-29 12:19

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by meizirkki (Post 237545)
Is there already a working DUN in deblet? If not, i have a working solution. Is the goal to use mobile phones for internet connection?

I am so in love with my deblet! Thanks guys great work!

I am just a noob, but if there is anything i can do for the deblet i will surely try!

Does the chat-based Bt-DUN described in linux.fi -wiki work? If so translate the solution here. If you need help with the translation I can help you.

I haven't had a broadband connection since my diablo-update, and that's why haven't been able to test-drive that solution myself.

meizirkki 2008-10-29 13:29

Re: Deblet Hack Challenges v1.0
 
@Pellervo Kässi
Ohje millä mä sain toimiin on http://wiki.ubuntu-fi.org/Matkapuhelin_modeemina
Eli varmaankin ihan sama juttu kun linux.fi:ssä. Kiitos jos autat, en osaa englantia kunnolla :)

I also know a way to make tablet to share internet connection to mobile phone if needed :)

meizirkki 2008-10-29 17:39

Re: Deblet Hack Challenges v1.0
 
So, i will write the DUN how-to, do i start a new thread?

Stskeeps 2008-10-29 18:11

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by meizirkki (Post 237629)
So, i will write the DUN how-to, do i start a new thread?

Or just design it in a wiki format or prod me for edit rights to the deblet wiki :P

meizirkki 2008-10-30 08:46

Re: Deblet Hack Challenges v1.0
 
I dont know what is wiki format, maybe thats why my arcticle in itt wiki about bluetooth internet linux -> tablet looks terrible... But i will start woking with this, when i get home. I is math lesson right now. :D (being student sucks)

meizirkki 2008-10-30 15:12

Re: Deblet Hack Challenges v1.0
 
1 Attachment(s)
So here is plain how-to, you can edit and add it to wikis.

Stskeeps 2008-11-06 12:32

Re: Deblet Hack Challenges v1.0
 
Quote:

Originally Posted by meizirkki (Post 237913)
So here is plain how-to, you can edit and add it to wikis.

Thanks, added to wiki.

qole 2009-03-16 01:02

Re: Deblet Hack Challenges v1.0
 
Hi,

I know this is really low priority at the moment, but if you have a moment, I'd love to see the Mer hildon-input-method backported to Deblet.

When using GTK apps in Debian or Mer in a Maemo chroot, the deblet h-i-m (in Debian) doesn't have a working spacebar, and the Mer h-i-m works flawlessly.

It would be great to have the working Mer h-i-m available in Debian as well.


All times are GMT. The time now is 21:54.

vBulletin® Version 3.8.8