/srv/irclogs.ubuntu.com/2011/06/27/#ubuntu-arm.txt

MrCuriousanyone know how to force a rea-install of libgles1-sgx-omap400:39
MrCuriousscratch that. trick was to be smart enough to find the already installed libs00:53
rsalvetiMrCurious: apt-get install --reinstall01:04
rsalvetiAmaranth: should I update the compiz package with your latest changes?01:08
rsalvetiAmaranth: let me know if makes things better for nux01:17
rsalvetiAmaranth: and if I should still keep the nux hack to just remove the disable gl_blend01:17
MrCuriousbrilliant!01:31
MrCuriouslibfreenect's glview working on pandaboard under ubuntu 11.x and getting 0.5FPS02:10
MrCuriouswhile gumstix users report 30FPS02:11
MrCuriousyep. performance BLOWS on pandaboard under ubuntu.02:18
MrCuriousis there a lookup to port applications so they use OMAP4 optimized libs instead of non optimazed libs fo ropengl stuff?02:58
=== Lopi|idle is now known as Lopi
=== Ursinha-afk is now known as Ursinha
kunguzI have ubuntu arm headless version installed on my beagleboard C3, I want to use my usb wifi dongle to connect it to the internet.08:32
kunguzRTL8188CUS 802.11n WLAN is the adapter08:32
kunguzApperantly i need to install a driver to make it work08:32
kunguzbut there is no make command in headless version08:32
kunguzany ideas?08:32
Spider-Porkmorning09:03
bamLUCEHi, can you suggest me a cheap (~ 50$) handheld with a lcd display which supports linux and has a network card?10:32
kunguzI am looking for a document as an explanation to how to connect to internet with ubuntu-arm headless? Does anyone know?11:02
Spider-Porkgenerally after install the connection is auto-magically up11:13
Spider-PorkHave you problems?11:14
diwicogra_, hi! Haitao wants a catchup on audio on the ac10011:24
diwicogra_, sometime while we're in Dublin, you're in Dublin as well right? I think I remember seeing you here.11:25
ogra_diwic, yeah, and i'm sitting in front of 6 ac100s atm11:31
ogra_diwic, we're in the arm room, if you want to can have a device for this week11:32
ppisatiogra_: do you want an ac100 more? :)11:57
lilstevieogra_: did you get audio functioning on the AC10012:25
ogra_ppisati, sure, come over12:46
ppisatiogra_:12:53
ppisatiogra_: after lunch i'll be all over you12:53
ogra_awesome !12:53
Spider-Porkogra_: hi, i've installed Natty netbook version. Done apt-get update && apt-get upgrade. Then sudo alsaucm set _verb HiFi sudo alsaucm set _verb Record sudo rm /var/lib/alsa/asound.state sudo reboot I still have no input :(12:57
Spider-Pork|2sorry for my pase, my connection gone down and i'm not sure about arrived on channel13:01
Spider-Pork|2[13:57:15] <Spider-Pork> ogra_: hi, i've installed Natty netbook version. Done apt-get update && apt-get upgrade. Then sudo alsaucm set _verb HiFi sudo alsaucm set _verb Record sudo rm /var/lib/alsa/asound.state sudo reboot I still have no input :( [13:58:41] <Spider-Pork> of course as line-in, no mic13:01
Spider-Pork|2*paste13:01
=== Spider-Pork|2 is now known as Spider-Pork
=== Spider-Pork|2 is now known as Spider-Pork
ocs_Hi, can you suggest me a cheap (~ 50$) handheld with a lcd display which supports linux and has a network card?13:38
lilsteviethat is quite an ask13:45
=== hallyn is now known as hallyn_afk
lilsteviepersia: chase agreed that the kernel driver should work14:53
blu_hi all15:03
lilsteviehi blu_15:05
blu_i have some trouble on my ubuntu 11.04 on pandaboard15:06
blu_my wifi ping have a serious packet loss15:06
blu_which is when i ping my router , i get a maximum 11 consecutive response then it will stuck for a while and resume back with another 11 consecutive response ...etc.15:07
blu_can anyone tell me what probably is the problem ?15:08
lilsteviehow far from the router15:08
blu_less than 1 m with good signal strength15:08
lilsteviehm15:09
lilstevienatty is really good with wireless on my device15:09
blu_have you try to ping ?15:09
lilstevieyeah15:09
blu_ping without packet loss15:09
lilsteviebetter results than I had with maverick15:10
blu_is there any packet loss ?15:10
lilstevieno15:10
blu_r u using 11.04 ?15:10
lilsteviethis isn't panda though15:10
lilstevieyes15:10
blu_and kernel 2.6.38 too ?15:10
lilstevieno15:10
blu_which kernel u using ?15:10
lilsteviedifferent device different kern15:10
lilstevie2.6.35.715:10
blu_you r not using pandaboard ?15:11
lilsteviehave you tried running maverick again, just to see if there is a difference still15:11
lilstevieno15:11
blu_what device u r using ?15:11
lilsteviegalaxy tab15:11
blu_may be different driver15:12
blu_or different wireless hardware15:12
blu_pandaboard uses wl1271 (if i not mistaken)15:12
lilstevieI do have different hardware15:12
lilsteviebcm4329 here15:12
blu_is there any encryption on the comm ?15:13
blu_ie. wep , wpa , wpa215:13
lilsteviewpa215:13
blu_nad u r using the wpasupplicant ?15:13
lilstevieyep15:13
blu_then either driver problem or kernel problem (i guess)15:14
lilstevieor the binary firmware blob15:15
blu_is fimware located on our SD storage or on the chip in the hardware ?15:16
lilstevieshould be in /lib/firmware/ somewhere15:16
blu_mean that is on my  SD right ?15:17
lilstevieyeah15:18
blu_is galaxy using cortex A8  ?15:18
lilstevieyeah15:18
lilsteviesamsung hummingbird SOC15:19
blu_what is the diferrent between fireware and driver ?15:19
blu_(in ubuntu)15:19
blu_(and sry for asking beginner question becoz i m a beginner)15:20
NewbieToKernelhi room15:21
NewbieToKerneli want to build ubuntu for arm from sources15:22
NewbieToKernelcan anyone point me to the rite place?15:22
lilsteviefirmware is code that runs on the hardware, for instance with the wireless card it runs on the wireless chip to make it work15:22
lilstevieand the driver is the interaction between the firmware and the OS15:22
NewbieToKerneli looked up rootstock ... but that doesn't seem to be what i want15:22
blu_lilstevie: could the code run on the hardware store in SD?15:23
lilstevieblu_: some hardware stores its firmware on its own storage, but most use a loaded in firmware that is located in /lib/firmware15:24
lilstevieNewbieToKernel: that is quite a difficult task15:24
NewbieToKernelI can build android from its sources , can a similar thing be done for Ubuntu?15:25
blu_#pandaboard15:25
NewbieToKernelwhat exactly does rootstock do ?15:26
lilstevieNewbieToKernel: android is different,15:26
lilstevierootstock grabs prebuilt binaries and builds a system from those packages15:26
lilstevieNewbieToKernel: is there a reason you want to build from source, cause it is generally not something you want to do15:27
blu_lilstevie: is patching driver , install driver, and patching firmware are all required to rebuild kernel ?15:27
lilstevieblu_: sorry I don't understand15:27
NewbieToKernel@lilstevie: I want to add openGL / hardware codec support etc etc for ubuntu on an arm target15:28
lilstevieblu_: the kernel is a bit more than just drivers15:28
lilstevieNewbieToKernel: then building an entire system is not needed for that15:28
NewbieToKernel@lilstevie: but then how will i get access to the HAL on ubuntu? say for ALSA ?15:29
blu_lilstevie: i was looking at https://patchwork.kernel.org/patch/546381/ and https://patchwork.kernel.org/patch/546401/ to try patch my driver15:29
blu_but i was told that i need to rebuild/recompile my kernel for that15:30
lilstevie blu_ download the sources for panda15:30
lilstevieNewbieToKernel: well for that you would only need to build ALSA if you were modifying that15:30
blu_lilstevie: okay , then what should i do ?15:31
NewbieToKernel@lilstevie: and then how do i manage to put ALSA back to the binaries and use rootstock ?15:31
NewbieToKernel@lilstevie: is there an online guide to doing this?15:32
lilsteviealthough, I don't think you should be modifying ALSA but rather the driver to make it compliant with the spec15:33
NewbieToKernel@lilstevie: basically i dont know where to get started15:33
NewbieToKernel@lilstevie: ALSA was just an example,15:33
lilsteviedoesn't matter what, still should be trying for compliance with the spec rather than working around it15:34
lilsteviebut if you look there will be source for everything available15:34
lilsteviegrab what you want to modify if you can't modify the driver,15:34
lilsteviebuild it15:34
lilstevieand install it into the proper filesystem15:35
lilstevieproper place in the filesystem*15:35
lilstevieblu_: apply the patch and compile15:35
blu_lilstevie: is that mean i have to compile the whole ubuntu ?15:37
NewbieToKernel@lilstevie: so where do i get started? say i want to add support for hardware codecs ... so where do i modify? for this i will need the location of the ubuntu sources ,I can then modify the sources, and then how do i push those changes back to my arm binary ?15:38
NewbieToKerneli mean i can modify gstreamer15:39
NewbieToKernelbut then how to pus the changes back to the binary is what i want to know15:39
NewbieToKernelstevie... did I explain myself clearly?15:44
NewbieToKernelbasically i want to know how to *grab what i want to modify and put it in put it into the appropriate file system*15:46
lilstevieNewbieToKernel: with all hardware support that should be done in the kernel driver rather than in userspace15:50
lilstevieblu_: no just the kernel15:50
blu_lilstevie: that is not not for beginner :(15:51
blu_*not15:51
lilstevieno15:52
Spider-Porkogra_: sorry do you have only 2 minutes about my pandaboard and input sound?15:54
blu_lilstevie: i see that compiling kernel is not an easy stuff15:54
Spider-Porkmaybe this link will be interesting http://www.omappedia.org/wiki/Get_started_with_ubuntu_on_omap415:55
lilstevieblu_: once you are set up for it it isnt that difficult15:58
NewbieToKernel@lilstevie: you are right, kernel changes would be for adding support for new hardware that is currently unsupported ... but what if I do have hardware support , but I need to change the HAL of ubuntu to use that hardware support?16:00
lilsteviewhy would you need to change the HAL16:00
lilstevieHAL has been depreciated16:01
NewbieToKernelbasically I only have access to the hardware via HAL . I donot have access to the actual drivers  , but this HAL is not compatible with Ubuntu HAL. By HAL i mean a generalized hardware abstraction layer , not something sprcific to ubuntu that has been deprecated16:03
blu_lilstevie: okay , thank you ... i will try and hopefully that can solve my prob16:03
NewbieToKernelso i want to write a mapping layer between these 2 HAL's16:04
NewbieToKerneli want the ubuntu HAL to use call my HAL rather than invoking the kernel drivers directly16:04
lilstevieNewbieToKernel: what device is this16:08
NewbieToKernelI basically want to improve ubuntu port on Nexus 116:14
NewbieToKernelor nexus S16:14
NewbieToKernelso I want android and ubuntu to co-exist, and ubuntu can use the Andoid HAL16:16
ogra_there is no HAL in ubuntu anymore16:18
ogra_Spider-Pork, sorry, but i'm out of ideas, it works on all pandas here if you use an mp3 player as input16:18
Spider-Porkogra_: just to understand if i missed some steps16:19
ogra_no, the steps look fine16:19
Spider-Porkdownloaded prebuild natty netbook image16:19
Spider-Porkah ok16:19
ogra_yeah, with that image and these steps sound works everywhere here16:19
lilstevieNewbieToKernel: you mean you want to chroot?16:19
Spider-Porkogra_: done apt-get update && upgrade too16:20
Spider-Pork:(16:21
Spider-Porkogra_: just to see if my board is broke, can you post an image of a your SD card with input working?16:22
Spider-Pork*broken16:22
Spider-Porka dd copy for example16:23
ogra_i am at the ubuntu sprint, there are several in teh room here, sound just works with teh above commands as described on the bug16:23
NewbieToKernel@ogra: There must be some hardware abstraction layer in Ubuntu? @lilstevie not necessarily chroot just want ubuntu to use the hardware abstraction layer that android uses16:24
Spider-Porkthank you ogra_16:24
Spider-Porkso the last chance is the input broken16:25
blu_ogra_: can you help me on ubuntu 11.04 wifi on pandaboard ?16:25
lilsteviethen where is the incompatibility, enable a kernel option, you will have no problems16:26
lilstevieonly  something like the battery wont read properly16:26
ogra_NewbieToKernel, there is none, hal was dropped in favour of udev, udisks and upower16:27
ogra_who all work directly through kernel uevents16:27
lilsteviefor the hummingbird SOC anyway16:29
lilsteviesound is a pain, but that is how the audio codec is implemented16:29
=== tonu_ is now known as tonu
persialilstevie: So, iof the kern driver works, which bit falls down?16:44
lilsteviepersia: looks to be evdev16:46
persiaThe X input driver?16:49
persiaDoes xinput --list-props not show the right set?16:50
=== hallyn_afk is now known as hallyn
lilstevieit does, there is something weird no idea what17:01
kunguzhow do I connect my beagleboard to wireless internet? Ubuntu headless found the hardware and configured it during the install, now I am trying to find a way to connect to any ssid17:09
lilsteviepersia: I think I am going to have to file a bug on bugzilla17:11
kunguzCan someone please help me to figure out how to connect to internet with my beagleboard that runs ubuntu-arm headless version?17:16
kunguzcan anyone please at least suggest something? I am really stuck with where to start17:19
shirgallkunguz: ifconfig is where I would start17:20
kunguzshirgall: the funny thing there is no iwlist or iwconfig or wpa_supplicant in the system :(17:21
shirgallkunguz: sh, so naked ifconfig doesn't even show a wlan0 to manipulate?17:22
kunguzshirgall: it does show an item called as lo17:22
shirgallkunguz: that's loopback17:22
shirgallkunguz: no eth0 either?17:23
kunguzshirgall: it prompts that it found the wireless card during the installation but it could not connect to any wireless network that I gave so I skip the step17:23
kunguzshirgall: sorry, nothing at all...17:23
kunguzshirgall: with lsusb I can see the card as U.S. Robotics USR542317:23
shirgallkunguz: ok, the next place I'd loko is the contents of the file /etc/network/interfaces17:23
kunguzshirgall: it only contains loopback network interface :(17:24
shirgallkunguz: but, admittedly, if things were working automatically there'd be next to nothign in there17:24
shirgallkunguz: can you "ifup wlan0"?17:25
kunguzshirgall: let me see17:25
kunguzshirgall: Ignoring unknow interface wlan0=wlan0 :(17:25
shirgallrats17:25
shirgalltry ifup -a17:25
kunguzshirgall: do you have any suggestion as a distro to use with my beagleboard?17:26
kunguzshirgall: it returns nothing, went down to the newline17:26
shirgallkunguz: I am testing the Ubuntu Oneiric alpha, but I'm not trying it headless17:26
shirgallkunguz: and I'm using a pandaboard, not a beagleboard, but they are supposed to be pretty similar17:27
kunguzshirgall: I want something light as a desktop, I want to work with lxde that's way I choose headless. After connecting the board to the internet, I will install lxde as a desktop17:27
kunguzbut failed with connecting it to the internet17:27
kunguzshirgall: should I install it from the top?17:29
shirgallkunguz: yeah, sorry, I don't have any other tricks handy at the moment, and I'm going into a meeting17:29
kunguzshirgall: thanks for your time, you are the best.17:29
shirgallkunguz: I did install it fresh, but that's something I can do because I have a spare sdcard. :)17:29
ogra_kunguz, is that oneiric or natty ?17:29
shirgallkunguz: you're welcome, I'll check in again later17:29
kunguzogra_: natty17:29
ogra_hmm, should just work17:29
ogra_oneiric has issues with USB currently17:29
ogra_so you wouldnt see any usb devices on beagle there17:30
ogra_natty should just work though17:30
kunguzogra_: so if I connect the usb adapter, it should be automatically seen under ifconfig, right?17:30
kunguzogra_: or do I need anything to configure it?17:31
ogra_at least you should see it in dmesg17:31
ogra_on headless ?17:31
ogra_sure17:31
kunguzogra_: yes17:31
ogra_headless is a developer image, you have to do everything manually17:31
kunguzogra_: in dmesg I can see a line ieee80211 phy1: Selected rate congrol algorithm 'minstre_ht'17:32
ogra_i mean if you plug it in17:32
kunguzogra_: it does seem as recognised but there is nothing under ifconfig17:32
lilsteviewhen is ubuntu going to start transitioning from xorg to wayland17:32
ogra_lilstevie, once its ready17:32
lilstevieogra_: heh17:32
ogra_surely not before next LTS by default17:32
kunguzogra_: so what should I do to make it visible under ifconfig?17:32
lilstevieas an option?17:32
ogra_kunguz, well, it should just show up ... if you see the device appear in dmesg right after yu plugged it in17:33
kunguzogra_: it is seen there, I mean under dmesg, but unfortunately there is nothing under ifconfig :(17:33
ogra_cat /proc/net/dev17:34
ogra_does that show anything beyond lo ?17:34
kunguzogra_: it does show wlan017:34
kunguzas a second line17:34
ogra_what kind of chipset is in that card ?17:35
ogra_might be that you miss firmware or some such17:35
kunguzogra_: it is U.S. Robotics USR5423 802.11bg device17:35
kunguzogra_: connected via USB17:35
kunguzogra_: isn't it wierd that there is no iwlist and wpasupplicant installed in the system?17:36
kunguzogra_: I think I found the reason17:43
kunguzogra_: /etc/network/interfaces has to be configured in a right manner, that's why I couldn't see wlan0 under ifconfig. Now I am able to see it17:44
kunguzogra_: I will try to connect to some open SSID without password17:44
kunguzdoes anyone have a sample /etc/network/interfaces file to connect to a no password ESID17:49
kunguzthis is like a nightmare, does anyone know how to configure wlan0 to connect to some open ESSID?17:57
kunguzsample would help a lot17:58
kunguzauto wlan018:02
kunguziface wlan0 inet dhcp18:02
kunguzthese are the two lines that I used18:02
NewbieToKernelsorry @lilstevie and @ogra_ was away for a while... so if i want to add support for say "camera" or "GPS" or say "accelerometer" to ubuntu on arm then first i'd have to write a driver on the kernel and then expose it to user space. This is one way to do it. but what if i have a modified kernel with all these drivers in place , but the only way to access these in user space is through a18:02
NewbieToKernelproprietary hardware abstraction interface? I want to write a mapping layer from ubuntu to this proprietary hardware interface18:02
kunguzwhen I call sudo /etc/init.d/networking restart , it hangs...18:02
NewbieToKernelso for that i think the only way is to rebuild ubuntu from souces after incorporating my changes ... do you think it can be done in any other way?18:04
ogra_better write a proper driver then :)18:06
ogra_"rebuild ubuntu from source" ??18:06
ogra_what does that mean ?18:06
NewbieToKernelwhat i mean is build ubuntu for arm target18:07
ogra_that has already happened18:07
ogra_what do you want to rebuild ?18:07
NewbieToKernelbut what what if i want to change it18:08
NewbieToKernelto incorporate hardware changes18:08
ogra_then you have to write a kernel driver18:08
NewbieToKernelbasically i dont want to touch the existing drivers18:09
NewbieToKernelkernel drivers are already there for android18:09
NewbieToKerneli want them to work with with ubuntu as well18:09
Gelmidoes anybody know if the card resize problem during Ubuntu 11.04 instalation (following I/O errors) has been fixed yet (Panda Board Rev. A2)?18:11
kunguzis there any network manager that I can use in ubuntu-arm headless?18:12
NewbieToKerneli saw some videos of ubuntu on nexus 1.... ubuntu seemed to run with a lot of lag.... so i'm assuming stuff like codecs and open gl must still be in software... i want to optimize it to interact with hardware18:13
kunguzguys, please I need help; I couldn't connect my beagleboard to internet18:15
kunguzI am really stuck18:15
kunguzat least some suggestion would do fine18:15
kunguzogra_: may I ask for your help?18:19
kunguzguys please :(18:24
kunguzPlease help me18:24
kunguzthat's the spirit of open source18:31
sveinseIn a debian world, how should changes to /etc files be handled? I mean, I am putting together a complete machine, and to suit some kernel/HW needs, some changes needs to be made into /etc/pulse/default.pa. However I cannot create a .deb file with those changes as files are already registered in the pulseaudio package. Does this imply that I must rebuild a special version of pulseaudio to my...18:48
sveinse...system to accommodate these changes?18:48
lagkunguz: You are asking for help from someone who's working day finished 2hrs ago18:52
kunguzlag: thank you for the reply.18:53
lagsveinse: I thought the whole idea of a separate profile config file was that you wouldn't have to re-build18:54
sveinselag: "profile config"? Without having checked, I am pretty certain the /etc/pulse/* files are marked as config files in its deb package, so changes are allowed. But not two packages can own the same config file18:56
lagsveinse: diwic is your man, he'll be back on tomorrow morning19:04
ogra_lag, why hanvent i seen you around yet ?19:05
lagsveinse: In the meantime perhaps you can find something of interest here: https://wiki.ubuntu.com/PulseAudio19:05
lagogra_: Yet?19:06
lagogra_: You mean in Dublin?19:06
ogra_in dublin19:06
ogra_oh19:06
ogra_heh19:06
* ogra_ forgot19:06
lag'cos I'm not coming ;)19:06
ogra_#yeah19:06
ogra_well, at least i'll come to your sprint19:06
lagLinaro Platform Sprint is in ~1 month19:06
ogra_yep19:06
lagogra_: You are? Great!19:06
ogra_i'll be there19:06
lagI'll look forward to it19:07
ogra_:)19:07
lagI would have liked to come to Dublin, but it is a very busy time for me19:07
ogra_snowball ?19:07
lagNew project just started19:07
lagYeah, Android19:07
lagWhy aren't you in the bar?19:08
ogra_i just finished up some stuff ... on my way ;)19:09
ogra_... and out :)19:09
lagogra_: ;)19:10
NewbieToKernelhi ogra_19:10
NewbieToKerneli guess you were away19:11
NewbieToKernel i saw some videos of ubuntu on nexus 1.... ubuntu seemed to run with a lot of lag.... so i'm assuming stuff like codecs and open gl must still be in software... i want to optimize it to interact with hardware19:11
sveinselag, my problem is not specifically related to pulseaudio, but it's _one_ example. But I got your message19:11
sveinseI can install post installation modification scripts to do my changes within /etc, but it feels so... hackish.19:12
lagsveinse: There are lots of useful wiki pages on the Ubuntu website and a great deal of information on the web about all this stuff. I'd say if you can't find your answer by the end of play tonight that people might be ready, willing and able to help you out tomorrow. Most people who usually help out here are on Sprint in Dublin (and most likely in the bar at the moment). :)19:13
sveinseheh.. Let them enjoy their time. Thanks19:14
lag:)19:14
lagIf you can't find anyone to help you, ping me tomorrow and I'll be more than happy to point you in the direction of someone who can19:14
MrCuriouspersia: if i wanted to follow a bug relating to usb speed on pandaboard under ubuntu, do you know where i would look to follow the discussion?21:26
MrCuriousdoes anyone know if ubunto 10 on pandaboard has the usb speed issue that 11 has?22:10
kunguzcan anyone explain me how to connect to wireless network with ubuntu-arm headless image?22:20
sveinsepersia: Are you in Dublin as well?22:21
sveinseIf not: a short Q: Would you say running qemu-debootstrap is better/safer than running rootstock? (And I am aware of the extra bits rootstock is doing to the image)22:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!