Problem in S-Video Test of Beagle Board

Hi all,

I am doing the S-Video Test for Beagle Board. But when I am giving the following command

echo ‘tv’ > /sys/class/ display_control/omap_disp_control/ video1

I am getting the error as

“-/bin/sh: cannot create /sys/class/: Is a directory”

Can anyone help me about this issues? I have downloaded the images for
kernel u-boot etc from the link

http://code.google.com/p/beagleboard/wiki/BeagleSourceCode

Thanks & Regards
Anirban Roy Choudhury

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.

Hi,

Wed, 24 Sep 2008, Anirban Roy Choudhury wrote:

echo 'tv' > /sys/class/ display_control/omap_disp_control/ video1

I am getting the error as

"-/bin/sh: cannot create /sys/class/: Is a directory"

You have two extra white spaces in your command. Remove the spaces after every slash:
  echo 'tv' > /sys/class/display_control/omap_disp_control/video1

Hi Antti Seppänen,

Thank for reply. But still it is giving same problem.

Thanks & Regards
Anirban Roy Choudhury

Wed, 24 Sep 2008, Anirban Roy Choudhury wrote:

echo 'tv' > /sys/class/ display_control/omap_disp_control/ video1
  
I am getting the error as

"-/bin/sh: cannot create /sys/class/: Is a directory"
  

Expanding what Antti said, try the following sets of commands (copy
paste might be a good idea):
ls /sys
ls /sys/class
ls /sys/class/display_control
ls /sys/class/display_control/omap_disp_control
ls -l /sys/class/display_control/omap_disp_control/video1
cat /sys/class/display_control/omap_disp_control/video1
echo 'tv'> /sys/class/display_control/omap_disp_control/video1
this will give you an idea where things went wrong.. It is usually a
good idea to try listing the various sub directories to see if your path
exists.

Also note that [1] is only available with TI kernels / linux-omap kernel
+ hackup patches which are on the mailing lists. Might be a good idea to
pin point the kernel you did use..

Regards,
Nishanth menon

[1] Google Code Archive - Long-term storage for Google Code Project Hosting.

Hi Nishanth menon,
I have checked the commands and in

/sys/class/ folder there is no display_control folder inspite of that there is
display folder

[root@beagleboard /sys]# cd class
[root@beagleboard class]# ls
bdi i2c-adapter misc scsi_disk usb_endpoint
bluetooth i2c-dev mmc_host scsi_host usb_host
display ieee80211 mtd sound vc
firmware input net spi_master vtconsole
graphics leds rtc tty
hwmon mem scsi_device usb_device

and display folder is empty

Thanks & Regards
Anirban Roy Choudhury

It looks like you have a space between /sys/class and display_control/…, remove the space and all should be ok (there also seems to be a space before video1 too, remove that one as well).

echo tv > /sys/class/display_control/omap_disp_control/video1

Matt

Hi Anirban,

I think I can see a space character in your command after /sys/class/
It shouldn’t be there.

Maybe my guess is wrong (I will change my glasses)

Laurent

See this thread:
http://groups.google.com/group/beagleboard/browse_thread/thread/2e7b0ff2d8734b1f#
there is a duplicated thread in this discussion unfortunately.
Regards,
Nishanth Menon

Hi all,

I have removed two spaces from the command but still it is failing, Because
/sys/class/ path there is no display_control folder instead of that one
empty folder is there named as display.

Thanks & Regards,
Anirban Roy Choudhury