Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: pwm parameter for ves1820



From: "Lars Altenhain" <lars@altenhain.de>
> How do I write the correct value to the EEPROM?

A single I2C-transfer to address 0xA0 subaddress 0xFF with the PWM value as
the data byte to be written will do the trick.

> Just putting the line "options ves1820 pwm=0x53,0x61" in
> /etc/modules.conf worked perfectly for me, so I don't
> understand why the parameter was removed.

I found this comment in the CVS:

- add back per-device pwm setting support, now done via sysfs attributes

1. Locate the pwm setting
> find /sys/|grep "pwm"
/sys/devices/platform/i2c-0/0-0061/pwm
2. Set your desired value
echo "0x5c" > /sys/devices/platform/i2c-0/0-0061/pwm
3. Read the current value
more /sys/devices/platform/i2c-0/0-0061/pwm

Regards,
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany





Home | Main Index | Thread Index