File size: 11,972 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[07:08] <dholbach> good morning
=== doko_ is now known as doko
[10:35] <probon1> hi all, i'm trying to make an image, but i keep getting errors that HAL is not configured
[10:35] <probon1> is there a known bug?
[10:35] <probon1> this is on hardy
[10:36] <probon1> using the moblin image creator, mccaslin-lpia platform, ubuntu-mobile target 
[10:45] <probon1> Setting up hal (0.5.10+git20080301-1ubuntu1) ...
[10:45] <probon1> polkit-auth: This operation requires the system message bus and ConsoleKit to be running
[12:24] <lool> probono: Curious
[12:24] <lool> probono: Could you please file a bug against MIC on launchpad?
[12:24] <lool> It should work
[12:36] <dns53> has anyone tried to install ubuntu-mobile hardy on an eeepc?
[12:57] <probono> lool: i need to experiment more
[12:57] <probono> lool: using the deb from moblin.org, i don't get this problem
[12:58] <lool> probono: What MIC are you using?
[12:58] <probono> is there any way to get full hardware support (as in the Ubuntu live CD) into a moblin image?
[12:58] <lool> Hmm I'd rather approach your goal the other way around: start from a live CD and add -mobile bits
[12:58] <probono> lool: at my 1st attempt, i used the one from hardy. now i'm using the one from moblin.org, on gutsy - this works (created a live usb image)
[12:59] <probono> now when i boot into that, my mouse doesn't work
[12:59] <lool> You're running the moblin MIC package on gutsy targetting hardy?
[12:59] <probono> yes, basically
[12:59] <probono> works w/o errors
[12:59] <lool> That's known not to work then; the problem is between the system dbus of gutsy and the hardy packages installed in the chroot
[12:59] <lool> probono: Run hardy on your host
[13:00] <probono> lool: now i'm getting confused
[13:00] <probono> using hardy as a host, using hardy's mic did *not* work
[13:00] <probono> using gutsy as a host, using moblin.org mic, *did* work
[13:00] <lool> probono: Were you creating hardy based images?
[13:01] <probono> i'm not sure about that, acutally
[13:01] <probono> as i said, i'm new to this
[13:01] <lool> probono: Make sure you wipe your ~/.image-creator and projects between your trials
[13:01] <lool> probono: That's fine, don't worry
[13:01] <probono> also, platforms ilke "mccaslin-lpia" are not exactly self-evident
[13:01] <lool> probono: Oh come on, it means mccalsin on lpia  ;)
[13:01] <probono> isn't there a platform "pc "?
[13:01] <probono> that equals the hardware that a ubuntu live cd assumes?
[13:02] <lool> probono: No, McCaslin is an Intel platform; just like Menlow
[13:02] <lool> probono: You can try running these kernels, but they might not work
[13:02] <probono> i have i945 machines, can't that work?
[13:02] <lool> If you want generic support, you should add generic kernels
[13:02] <probono> i915 also
[13:02] <dns53> what platform works with an eeepc, or should i install ubuntu and the meta package?
[13:02] <lool> Well we're not targetting anything else than mccaslin and menlow ATM
[13:02] <probono> dns53: welcome to the club :-)
[13:02] <lool> Not PCs, not EeePC
[13:03] <probono> dns53: i'm in the same boat
[13:03] <lool> But you're welcome to try running the software
[13:03] <probono> dns53: we should start a pc/eeepc target
[13:03] <probono> lool: yes. it does run, only it doesn't see my mouse (synaptics touchpad)
[13:03] <dns53> well what are the differences in cpu architecture? 
[13:03] <probono> which is why i was asking how i can enable full ubuntu standard live cd hardware support
[13:04] <lool> probono: Ubuntu Mobile is currently aimed at touchscreens
[13:04] <probono> lool: i understand that, but i'm lacking the hardware
[13:04] <lool> It's preconfigured for some hardware platforms such as the Q1 Ultra
[13:04] <probono> would like to get my development started w/o buying prerelease hardware
[13:04] <lool> probono: At this point, you're "on your own"  :-/  You will have to revisit things like the missing packages or change the Xorg config
[13:05] <lool> We're not trying to support all hardware in a generic fashion at the moment
[13:05] <lool> probono: You should be able to run apps in Xephyr though and installing standard Ubuntu packages will simply work
[13:05] <probono> lool: would it be hard? (i imagine it would basically involve a set of drivers packages)
[13:05] <lool> probono: If you're large on disk, simply install a regular Ubuntu and add the mobile packages
[13:05] <dns53> well the ubuntu-mobile works on gutsy when you add the missing package
[13:06] <probono> dns53: how would i do that? is there a wiki page on that?
[13:06] <probono> i'd also want my ubuntu to boot directly into mobile, not into gnome
[13:06]  * probono loves the usb-image-generator though
[13:07] <probono> come on, q1 is >1000 EUR
[13:07] <dns53> well just install ubuntu (eeexubuntu in my case) then install ubuntu-mobile, there was a package missing from the dependencies i can't remember what it was m something
[13:08] <probono> dns53: my actual goal would be to have a live cd/usb
[13:09] <dns53> sure, but you can atleast get something working the normal ubuntu way. i did test the image-creator but no targets worked
[13:09] <probono> mccaslin-lpia works, i can see the start screen, just have no mouse
[13:09] <probono> this is on a i945 machine
[13:12] <probono> dns53: after i installed ubuntu-mobile, how do i launch it?
[13:12] <probono> how do i replace gdm with it?
[13:14] <dns53> it should appear as a desktop entry in gdm, you may need to write your own script to launch it yourself and remove gdm
[13:15] <probono> ok, thanks
[13:15] <probono> dns53: does a stock ubuntu live cd work with the eeepc?
[13:16] <probono> uck (ubuntu customization kit) should allow one to remaster a live cd to include ubuntu-mobile, i guess
[13:17] <dns53> well you need to do some hacks to get everything working fine, X has a wrong resolution, madwifi needs to be customised. there are some scripts to add these things to a gutsy install
=== Charles-AFK is now known as Charles-Eee
=== dholbach_ is now known as dholbach
[15:20] <pat_mcgowan> rustyl_, how do you tell moblin-media to switch between using gstreamer and helix
[16:16] <rustyl_> pat_mcgowan, moblin-media will use the first media service it finds, and it finds the media service via the *.conf files in /usr/share/media-services/
[17:46] <pat_mcgowan> rustyl_, thanks for your earlier response
[18:42] <cwong1> Does anyone out there know anything about how /usr/share/applications/default.list is being created?
[18:51] <bfiller_> mjg59: trying to debug a problem on custom hardware with custom hotkeys. I'm using setkeycodes scancode keycode to map scancode to keycode. After doing so, still not getting keycode when using xev. Any ideas?
[18:51] <bfiller_> mjg59: I noticed you have worked on hotkey-setup package and thought that might help..
[18:51] <mjg59> bfiller_: What keycode are you setting it to?
[18:52] <bfiller_> mjg59: 97
[18:52] <mjg59> Hm. Ok, should be safe.
[18:52] <mjg59> Does evtest show it turning up?
[18:52] <bfiller_> mjg59: I haven't tried that
[18:52] <mjg59> That'd be a good thing to try
[18:52] <bfiller_> mjg59: will do, thanks. 
[18:53] <bfiller_> mjg59: also, what startup file should I put my "setkeycodes" command such that they are installed always?
[18:53] <mjg59> Best would be to add to hotkey-setup
[18:54] <bfiller_> mjg59: that can be used regardless of hardware?
[19:10] <lool> cwong1: dpkg -S tells me it's shipped by desktop-file-utils: /usr/share/applications/defaults.list
[19:11] <lool> cwong1: However, it's not checksummed; I'd guess it's updated subsequently when packages are installed; I would suppose update-desktop-database does so
[19:13] <lool> cwong1: Please don't call it directly in your postinst and postrm though, but leave it to dh_desktop to add the magic
=== asac_ is now known as asac
[19:42] <mjg59> bfiller_: Yeah, as long as there's dmi information from the platform
[19:42] <mjg59> bfiller_: If not, we'd need to work out something else :)
[20:30] <cwong1> lool: ping
[20:36] <lool> cwong1: pong
[20:36] <lool> cwong1: But do feel free to pack a question along with the ping to allow me to pong with the answer ;)
[20:37] <cwong1> lool: desktop-file-utils is not in the fset in MIC. Should it be?
[20:38] <lool> cwong1: I think we should use the fset concept as little as possible and instead rely on what the ubuntu-mobile package pulls for us; isn't it pulled by some other package?
[20:38] <cwong1> lool: Not that I know of
[20:39] <cwong1> lool: Also, the file default.list that get install when you do apt-get install  desktop-file-utils doesn't really fit our mobile enviroment
[20:43] <cwong1> lool: if desktop-file-utils is being pull in by an ubuntu-mobile package, would it be alright for one of our moblin package like home sreen to install it?
[20:43] <lool> cwong1: What's the problem with it?
[20:43] <cwong1> s/is/is not/
[20:44] <cwong1> lool: some of the mime type pointing to wrong app.
[20:44] <lool> cwong1: Are they pointing to one of the installed apps or an unavailable one?
[20:44] <cwong1> lool:  for example html is pointing to firefox instead of the midbrowser,   media file pointing to totem instead of moblin media player
[20:45] <lool> cwong1: Theoritically, this file should be updated after the installation of desktop-file-utils as its postinst calls update-desktop-database
[20:45] <lool> So the contents of the file should reflect the installed apps and what they declare supporting
[20:45] <lool> If you see mismatches, I'd first start by fixing the list of installed apps or the .desktop files which have been installed
[20:46] <lool> If that's not enough, we can look into overrides
[20:46] <cwong1> lool: so what you are saying is that all packages should do a db_update_desktop during the install, right?
[20:47] <cwong1> s/db_update/desktop/dh_desktop/
[20:47] <lool> cwong1: All packages should call dh_desktop during their *build* and this will make them call update-desktop-database after their installation and removal
[20:47] <lool> cwong1: Well, all "desktop" related packages which ship .desktop files naturally
[20:47] <lool> You don't need your kernel to call that obviously ;)
[20:48] <cwong1> lool: if the default.list file is not there, will updaet-desktop-database create one for you?
[20:48] <lool> cwong1: It should; look at /var/lib/dpkg/info/*.postinst
[20:48] <lool> Well don't look at that, grep it rather
[20:49] <cwong1> ok.  Thanks for the info.  I will look into it further.
[20:49] <lool> grep -l update-desktop-database /var/lib/dpkg/info/*.postinst
[20:49] <lool> cwong1: These are the snippets inserted by dh_desktop which will cause update-desktop-database -q to be run
[20:59] <cwong1> lool:  looks like if the file default.list is not there, update-desktop-database -q doesn't create one for you.  Any idea?
[21:01] <lool> cwong1: The file should be there as it's shipped by desktop-file-utils
[21:01] <lool> cwong1: dpkg -L desktop-file-utils | grep defaults
[21:03] <cwong1> lool: Yes if only you have install desktop-file-utils, but as I said before I don't think desktop-file-utils is part of the ubuntu-mobile image.  Correct me if I am wrong.
[21:04] <cwong1> cwong1: lool:  at least if it is not part of the image being created by moblin's image creator
[21:04] <cwong1> s/if//
[21:12] <lool> cwong1: Checking
[21:13] <cwong1> lool: k
[21:13] <lool> cwong1: That's probably correct indeed
[21:13] <lool> I only see ubuntu-desktop pulling it
[21:13] <lool> cwong1: As a stop gap measure, add it to your fset
[21:13] <lool> cwong1: The fix is in updating the ubuntu-mobile package
[21:14] <cwong1> lool: ok. so someone from your side will fix this, right?
[21:15] <lool> cwong1: Yes; you're welcome to file a bug
[21:16] <cwong1> lool: ok..  Thanks.
[21:16] <lool> against ubuntu-meta
[21:27] <lool> cwong1: Will be fixed by next ubuntu-meta upload (committed in our tree)
=== jousto1 is now known as jouston
=== probono_ is now known as probono