12-09-2010 2010m 15:45 000000000000r door Wieland
So I recently got a Nexus One and, following these instructions, installed the Android SDK on my Linux system to be able to make screenshots and perhaps learn some Android coding.
I enabled usb debugging on the phone and fired up the Dalvik Debug Monitor. To my disappointment, my Nexus One showed up as a row of question marks, and the device was inaccessible.
Running 'adb devices' from the command line, I basically got the same result:
$ adb devices
List of devices attached
???????????? no permissions
After some Googling, here's the fix I found:
1. Create or modify the file /etc/udev/rules.d/99-android.rules to read:
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", OWNER="user"
(where 'user' is your username). '18d1' is the N1's vendor id. It's different from HTC's (0bb4), even though HTC is the manufacturer. Some other vendor id's are listed here, but the N1 isn't mentioned.
2. Kill the adb server if it's running:
adb kill-server
3. Restart udev:
sudo restart udev
4. Restart the adb server:
adb start-server
5. On your Nexus One, make sure usb debugging is enabled (Settings -> Applications -> Development) and connect the phone to your computer.
6. Your N1 should now show up if you run 'adb devices':
$ adb devices
List of devices attached
HT061P800144 device
Instructions found elsewhere on the web may tell you to put 'MODE="0666" in the rules file created in step 1, in stead of OWNER="user". That will also work, but you'll need to start the adb server as root (sudo adb start-server).
Since it's never a good idea to run stuff as root, I prefer the solution mentioned above. The only drawback is that you'll need to specify the user that'll have access to the device. I'm fine with that, since I wouldn't want other people messing around with my phone anyway.
(I'm running Ubuntu 10.4, but these instructions should work on other distro's as well.)
Gepost in Android, Google, Linux | Doe een duit in het zakje »
13-01-2010 2010m 08:57 000000000000r door Wieland
Balkenende voerde gisteren een toneelstukje op waarmee hij waarschijnlijk zijn kabinet heeft gered. Zijn allesbehalve deemoedige reactie op het vernietigende rapport van de commissie-Davids vormt een uitstekende bliksemafleider waarop coalitiegenoot de PvdA zijn woede kan richten.
Balkenende realiseert zich dat de PvdA gezien de peilingen niet op nieuwe verkiezingen zit te wachten - net zo min als hijzelf trouwens. Toch kan de PvdA- die immers op het Irakonderzoek had aangedrongen - bijna niet anders dan aan de forse kritiek van Davids politieke consequenties verbinden. Balkenende moest zijn coalitiepartner dus een vluchtroute bieden.
Die nooduitgang creëerde de premier gisteren door het rapport achteloos als "een mening" terzijde te schuiven, en daarbij zijn rol als eerste minister in het toenmalige kabinet voorrang te geven boven zijn positie als premier namens de huidige coalitie. Zijn optreden leidde tot woedende reacties bij de linkse oppositie. Ook de PvdA trok zich onmiddellijk terug voor spoedoverleg, en eiste een nieuwe verklaring van de minister-president.
Balkenende zette het toneelstukje gisteravond nog even voort, maar hij zal een dezer dagen wel door het stof gaan voor zijn vermeende faux pas. Daarmee gunt hij de PvdA voor het oog van de camera een overwinning, die de sociaal-democraten de gelegenheid biedt om de coalitie zonder gezichtsverlies overeind te houden.
Gepost in Binnenland, Nieuws, Politiek | Doe een duit in het zakje »
21-11-2009 2009m 23:07 000000000000r door Wieland
Last Thursday, Google offered the world a first peek at its upcoming new operating system Chrome OS (Dutch, English). Perhaps more importantly, it released the code as open source. Even though Chrome OS is not expected to hit the market for another year, within hours someone had built an image that you can run on VMWare or VirtualBox. The image is widely available through p2p-networks, so I decided to give it a spin.
(Of course, since it's a precompiled image, it's impossible to tell whether it has been tampered with. Some malicious hacker may have slipped in a key logger or whatnot. Chrome OS requires you to log in using your Google credentials, so you may want to create a new account to make sure your real account stays safe. That's what I did, anyway.)
I fired up VirtualBox and created a new machine. I gave it 1GB of RAM and told VirtualBox we'd be running Debian, the distro Chrome OS is based on. I pointed VirtualBox to the image, and started the machine.
Lees verder... »
Gepost in Google, Nerd | 3 Duiten in het zakje »
17-11-2009 2009m 11:55 000000000000r door Wieland
Twitter recently introduced a new tweet notification on it's home page. A yellow notification bar will tell you the number of new tweets that have popped up in your friends' timeline since you last refreshed the page.

If you're a Firefox user like me, and you find the new notification bar distracting, it's quite easy to get rid of. Just find your user style sheet (it's called userContent.css, and it's located in the chrome folder inside your Firefox profile folder), and add the following lines of code:
@-moz-document domain(twitter.com) {
div#new_results_notification {
display: none !important;
}
}
If userContent.css doesn't exist, just create it. Restart Firefox, and the notification bar should be gone. You will still be able to see your unread tweet count in the page title, though.
(I wrote about userContent.css (in Dutch) when it was first introduced in 2005)
Gepost in Firefox, Nerd, Twitter | Doe een duit in het zakje »
17-09-2009 2009m 02:06 000000000000r door Wieland
Ik had een blog. Misschien moest ik er weer eens iets mee doen.
Gepost in Persoonlijk | 1 Duit in het zakje »