← Back to team overview

acertimeline team mailing list archive

Re: Webcam under Cheese (Karmic 9.10)

 

Jose,

I do know that when I try to write to the link_power_management_policy
file in the directories host0 and host5 I get Permission Denied errors.
For the file in the directories host1 through host4 it writes fine, and
the files stay as written (i.e, nothing automated is changing them). On
my old Dell Insprion 1520 I am able to write to host0, and host0 was the
sole directory in there.

But, as for the directories being non-existent... I'm not sure about
that one. I've got about zero knowledge of the SATA power management
stuff right now, I just haven't had the time. To be honest I'm not sure
if writing to just host1 through host4 is really is doing anything. 
I read it did so I left it in just in case.

We should probably start a new thread if we talk about this more. :o) 

Jim

On Sun, 2009-11-08 at 19:53 +0100, Jose Baeza Noci wrote:
> Jim,
> 
> I have a 5810TG (Intel Core2 Duo-SU9400) model. I used it under 9.04
> and now under 9.10 (K-2.26.31.15). After upgrade I cound not activate
> wireless power save mode, but thanks to wireles-compat, I can activate
> it. I have tryied your script but got these errors (min.cons. 11,5 W):
> 
> host0 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 0/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host0/link_power_management_policy: No
> existe el fichero ó directorio
> host1 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 1/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host1/link_power_management_policy: No
> existe el fichero ó directorio
> host2 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 2/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host2/link_power_management_policy: No
> existe el fichero ó directorio
> host3 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 3/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host3/link_power_management_policy: No
> existe el fichero ó directorio
> host4 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 4/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host4/link_power_management_policy: No
> existe el fichero ó directorio
> host5 result:
> sh: cannot create /sys/class/scsi_host/host: Directory nonexistent
> sh: 5/link_power_management_policy: not found
> cat: /sys/class/scsi_host/host5/link_power_management_policy: No
> existe el fichero ó directorio
> 
> Any idea?
> 
> Thanks, 
> 
> Jose
> 
> El vie, 06-11-2009 a las 07:40 -0700, Jim escribió: 
> > Dan, 
> > 
> > Which timeline do you have? 
> > 
> > As far as the battery life goes, are you running 9.10 out of the box? Or
> > have you tried adjusting a few things? For example, when I did a
> > "apt-get dist-upgrade" (not a clean install) from 9.04 to 9.10 things
> > went smoothly. 
> > 
> > However, there where little glitches. Most important to battery life was
> > that the CPU governor was locked into max performance and I had to
> > change it by hand.  
> > 
> > Also, do you have the your wireless card set to use power management
> > features (this does not seem enabled by default)?
> > 
> > Just about everything was cleaned up with a clean install.
> > 
> > Let us know, because if you've done all that stuff (and more!) and still
> > are getting ~4hrs, something else needs to be done!
> > 
> > 
> > Here's a script I use to quickly set a few power-related settings. Don't
> > run it blindly, make sure you understand at least a little what stuff
> > does, unless you already do. ;P
> > 
> > 
> > #!/bin/bash
> > 
> > echo 5 > /proc/sys/vm/laptop_mode
> > echo 60 > /proc/sys/vm/dirty_ratio
> > echo 1 > /proc/sys/vm/dirty_background_ratio
> > #echo 60000 > /proc/sys/vm/dirty_writeback_centisecs
> > echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
> > 
> > echo "enabling wlan0 power management"
> > iwconfig wlan0 power on
> > 
> > echo "disabling wake-on-lan"
> > sudo ethtool -s eth0 wol d
> > 
> > for i in {0..5}; 
> > 	do echo host$i result:; 
> > 	sudo sh -c "echo 'min_power' > /sys/class/scsi_host/host
> > $i/link_power_management_policy"; 
> > 	cat /sys/class/scsi_host/host$i/link_power_management_policy; 
> > done
> > 
> > echo "laptop disc mode: "
> > cat /proc/sys/vm/laptop_mode
> > echo "dirty ratio: "
> > cat /proc/sys/vm/dirty_ratio
> > echo "dirty background ratio: "
> > cat /proc/sys/vm/dirty_background_ratio
> > echo "dirty writeback centisecs: "
> > cat /proc/sys/vm/dirty_writeback_centisecs
> > 
> > 
> > 
> > Jim
> > 
> > 
> > On Fri, 2009-11-06 at 02:52 -0600, Daniel Grosser wrote:
> > > I guess it's about time to reply here.  here's my week's experience
> > > with ubuntu 9.10.
> > > 
> > > cons:
> > > 
> > > battery life is LOW.  I used the laptop for about 3 hours at school
> > > today and within a half hour of use at home i had "20 minutes" left.
> > > in ubuntu 9.04 i was getting around 6.5 hours.  enough life to last me
> > > a week most of the time.
> > > 
> > > karmic constantly drops wireless connections and now i can't get it to
> > > find my home network a whole 3 feet away from the router.  i get
> > > irritated when i have to boot into win7 to check my email.
> > > 
> > > the whole machine is slower in general.  in fact, even on my desktops
> > > i get better performance out of a p4 on 9.04 than an amd 4000+ (5
> > > years newer) on 9.10.
> > > 
> > > graphics are slower for sure, i manage to get the machine to stutter
> > > changing between desktops (i'm not playing crysis here).  something
> > > that never happened before.
> > > 
> > > i can't figure out how to work the new application manager to save my life.
> > > 
> > > suspend/resume still doesn't work
> > > 
> > > 
> > > pros:
> > > 
> > > external displays are immediately available upon connection.
> > > 
> > > 
> > > summary:
> > > 
> > > I did upgrade this machine from 9.04 to 9.10 via synaptic.  i hope
> > > that the problems i am having will be cured with a clean install but
> > > i'm skeptical.  i suppose i can always boot into windows and run 9.04
> > > in vmware if i need to do anything in linux with network access.
> > > 
> > > The bottom line is that i would recommend ubuntu 9.04 all day long to
> > > anyone that needs a reliable system.  I don't know much about the
> > > whole programming thing (i'm ok with "hello world") but i know how to
> > > use a computer.  I feel it would have been better to iron out the bugs
> > > than to release 9.10 on time.  I don't have time to hassle with the OS
> > > which is why i switched to linux in the first place.
> > > 
> > > I don't mean to sound too negative here because i really do like the
> > > new version of ubuntu when it works, but vista wasn't that bad when it
> > > worked either.
> > > 
> > > 
> > > 
> > > if any of you guys know of fixable bugs with the wireless let me know.
> > >  i can work with everything else, but that is the deal breaker for me.
> > > 
> > > 
> > > 
> > > dan
> > > 
> > > 
> > > 
> > > On Thu, Nov 5, 2009 at 3:44 PM, Jim <jimbojones443@xxxxxxxxx> wrote:
> > > > Gustavo,
> > > > Off topic...but I'm really curious.
> > > >
> > > > Do you not have Intel wireless card? I thought the ath modules where for
> > > > wired ethernet. I compiled the compat-wireless snapshot from 10-28-09
> > > > and presto! Wireless works better than ever. Better results for me than
> > > > with the backports package from the repos.
> > > >
> > > > Jim
> > > >
> > > > On Thu, 2009-11-05 at 17:23 -0200, Gustavo Azambuja wrote:
> > > >> I have 4810TZ with fresh install of Karmic, cheese 2.28.1, and webcam
> > > >> work fine. without problems or hacks.
> > > >>
> > > >>
> > > >> Not work:
> > > >>  mousepad disable button (but i not use this...)
> > > >>  integrate mic (im waiting for this work...)
> > > >>  also, not always, but 2 times in a week, my wifi stop working, and I
> > > >> have to do:
> > > >>   sudo rmmod ath9k; sudo modprobe ath9k;
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> On Thu, Nov 5, 2009 at 17:11, Nick Glynn <exosyst@xxxxxxxxx> wrote:
> > > >>         I finally upgraded (fresh install) to Karmic on my 4810T and
> > > >>         was saddened to find that the mousepad disable button still
> > > >>         failed, brightness controls still did nothing and the physical
> > > >>         eject button 'disconnects' the drive in dmesg - I can accept
> > > >>         *all* of that as it's still better than Vista but one thing
> > > >>         that's miffed my partner is the fact that the Webcam is no
> > > >>         longer picked up in cheese.
> > > >>
> > > >>         Can anyone else verify this or know of a fix? I've also posted
> > > >>         to the 4810T thread on the forums but no answers yet.
> > > >>
> > > >>         Cheers!
> > > >>         Nick
> > > >>
> > > >>         _______________________________________________
> > > >>         Mailing list: https://launchpad.net/~acertimeline
> > > >>         Post to     : acertimeline@xxxxxxxxxxxxxxxxxxx
> > > >>         Unsubscribe : https://launchpad.net/~acertimeline
> > > >>         More help   : https://help.launchpad.net/ListHelp
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Gustavo Azambuja - Linux User: 275813
> > > >> Sip Number: 1-747-132-7623
> > > >> http://www.twitter.com/gazambuja
> > > >>
> > > >>
> > > >> _______________________________________________
> > > >> Mailing list: https://launchpad.net/~acertimeline
> > > >> Post to     : acertimeline@xxxxxxxxxxxxxxxxxxx
> > > >> Unsubscribe : https://launchpad.net/~acertimeline
> > > >> More help   : https://help.launchpad.net/ListHelp
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Mailing list: https://launchpad.net/~acertimeline
> > > > Post to     : acertimeline@xxxxxxxxxxxxxxxxxxx
> > > > Unsubscribe : https://launchpad.net/~acertimeline
> > > > More help   : https://help.launchpad.net/ListHelp
> > > >
> > 
> > 
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~acertimeline
> > Post to     : acertimeline@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~acertimeline
> > More help   : https://help.launchpad.net/ListHelp
> > 
> > _____________________________________________________________________
> > Mensaje analizado y protegido por Telefonica Empresas




References