Android Studio - Waiting for device @ Ubuntu 

I have started to develop to Android on Ubuntu.
At my first attempt when I have tried run my app on the device, the device shown up as ?????????? in the Android Studio Choose Device dialog.

The problem root cause is the access rights around the device descriptors.

The ADB daemon is started with the user's permissions, so I had created an udev rule to get access to the device:

mm@lapos:/opt/android-studio/bin$ cat /etc/udev/rules.d/51-android.rules
# Concorde tablet (18d1:0003)
ATTR{idVendor}=="18d1",ATTR{idProduct}=="0003" MODE="0666"

[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3.2 / 387 )
AVR libc _delay_ms() does not works after upgrading to Ubuntu Raring Ringtail 

After upgrading my system to kUbuntu 13.04 Raring Ringtail the delays in my avr-gcc compiled binaries had been gone.
After reading the #include <util/delay.h> documentation my eyes cached the __DELAY_BACKWARD_COMPATIBLE__ macro. After defining it the delays are working.

Workaround:

#define F_CPU 16000000UL
#define __DELAY_BACKWARD_COMPATIBLE__
#include <util/delay.h>
#include <avr/io.h>

int main(void
{
DDRB = 0xFF;
while (1) {
PORTB = ~PORTB;
_delay_ms(1000);
}
}



[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 388 )
Lattice ISPVM with parallel port cable under Ubuntu 11.04 

The trick is simple, but not obvious:


echo "disallow method ppdev" > /etc/ieee1284.conf

[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 474 )
I/O error while opening /de/ttyS0 on Dell D630 

I have recently tried to breathe life to the serial port of my DELL D630 notebook under Ubuntu Natty, but the opening always failed with I/O error.

I have tried the relevant acpi=off, pnpacpi=off kernel parameters, updated the BIOS, but these thigns did not lead to succes. As final trying I have switched the port from COM1 to COM2 int the BIOS and finally it became available as /dev/ttyS1


[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 194 )
Asus X51R & Ubuntu & Skype & no microphone 

The Skype microphone did not worked for me since the 9.04.
I have added the following to the /etc/modprobe.d/alsa-base.conf:



options snd-hda-intel model=3stack-660
options snd-hda-intel position_fix=1




And now it works fine.

Since then my machine has exactly similar internal (expect the pcmcia slot and the card reader) this solution should works for the Packard-Bell Easynote-SB89
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 372 )

<< <Előző | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Következő> >>

 
számláló