Linux-Misc Digest #875, Volume #26 Sun, 21 Jan 01 16:13:04 EST
Contents:
What's wrong with BTTV driver in 2.2.18 ? (Emmanuel Beranger)
How to change time format in KDE 2? (Arctic Storm)
Re: Installing 2.4.0 kernel.. (Bob Martin)
visible ? (Yechuri)
Re: How to change time format in KDE 2? (Arctic Storm)
protocol stacks for embedded linux (Soren)
Re: How to change time format in KDE 2? (Markku Kolkka)
Re: Shutdown from a Win PC (David Efflandt)
cdrecord+ATAPI burner (Andrew Rounds)
Re: visible ? (Dances With Crows)
[cups] lp0 not configurerd... (Reiner Griess)
Linux and Vbasic scripts? (Don Grbac)
----------------------------------------------------------------------------
From: Emmanuel Beranger <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.hardware
Subject: What's wrong with BTTV driver in 2.2.18 ?
Date: Sun, 21 Jan 2001 20:15:30 +0100
Il s'agit d'un message multivolet au format MIME.
==============A97EA919212C474DED1DF325
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I installed 2.2.18 with 2 methods : compiling from sources and
installing from mandrake cooker
I can run kwintv from kernel 2.2.17, but neither of my 2.2.18 kernels :
it starts, and I can see a couple of images and hear the sound, and it
immediately seg faults ...
I have a miro PCTV (BT848A), recognised as such by 2.2.17.
I am not sure 2.2.18 does the same (see log)
I attach my modules.conf (bttv card=1 ; tuner type =3)
I also attach the debug log from kwintv under 2.2.17 and 2.2.18, and
report from kv4lsetup, which gives the same result under 17 and 18.
There sems to be a difference in the way the driver recognises the card
and chip, when launching kwintv.
Also, there seem to be a difference in the i2c modules :
2.2.17 loads i2c-core and i2c-algo-bit, while 2.2.18 loads "i2c-old" ...
Anyone an Idea ?
==============A97EA919212C474DED1DF325
Content-Type: text/plain; charset=us-ascii;
name="modules.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="modules.conf"
alias scsi_hostadapter aha152x
alias parport_lowlevel parport_pc
pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq
#pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
options aha152x aha152x1=0x340,9
#post-install supermount modprobe scsi_hostadapter
alias char-major-81 bttv
pre-install bttv modprobe -k msp3400; modprobe -k tuner
options bttv card=1
options tuner type=3
alias sound sb
pre-install sound /sbin/insmod sound dmabuf=1
options opl3 io=0x388
alias midi awe_wave
post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
alias usb-interface usb-ohci
==============A97EA919212C474DED1DF325
Content-Type: text/plain; charset=us-ascii;
name="kwintv17.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="kwintv17.log"
kwintv: Symbol `__vt_3ios' has different size in shared object, consider re-linking
kwintv: Symbol `__vt_7istream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_8ofstream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_7ostream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_8ifstream.3ios' has different size in shared object, consider
re-linking
Debug: v4l1: Using interface Video4Linux in ::v4lxif
Debug: v4l1: Grabber name: BT848A(MIRO PCTV)
Debug: capture: Can capture to memory
Debug: tuner: Has a tuner of some form
Debug: overlay: Can overlay its image onto the frame buffer
Debug: clipping: Overlay clipping is supported
Debug: frameram: Overlay overwrites frame buffer memory
Debug: scales: The hardware supports image scaling
Debug: v4l1: range of tv size : 32x32 => 924x576
Debug: v4l1: input channels: 4
Debug: [1] Television: has tuner [1], audio, tv
Debug: [2] Composite1: no tuner [0], audio, camera
Debug: [3] S-Video: no tuner [0], audio, camera
Debug: [4] Composite3: no tuner [0], audio, camera
Debug: v4l1: input audios: 1
Debug: [1] TV: mutable[unmuted] vol=-1, bass=-1, ter=-1
Debug: v4l1: tuner: Television 0-4294967295
Debug: v4l1: tuner sees stereo: no
Debug: v4l1: tuner supports modes (active: PAL):
Debug: PAL
Debug: NTSC
Debug: SECAM
Debug: v4l1: picture: brightness=32768 hue=32768 colour=32512 contrast=27648
Debug: v4l1: picture : whiteness=0 depth=0 palette=5[rgb32]
Debug: v4l1: hope physical screen format is <32 bit TrueColor (LE: bgr-)>
Debug: v4l1: set palette to 5
Debug: v4l1: palette is 5
Debug: v4l1: bpp 32, bpl 4096, width 396, height 296
Debug: v4l1: video buffer: size 4259840, frames 2
Debug: v4l1: memory for snap shots: 0x406d4000
Debug: v4l1: minw 32, maxw 768, minh 32, maxh 576 in ::capCapSize
Debug: v4l1: setAudioMode= 2 [stereo]
Debug: v4l1: getAudioMode= 1
Debug: v4l1: setAutioMute [0] muted
Debug: v4l1: setChannel 2
Debug: v4l1: minw 32, maxw 768, minh 32, maxh 576 in ::capCapSize
Debug: v4l1: setAutioMute [0] unmuted
# there, the tv works normally
Debug: v4l1: ::~v4l1if begin
Debug: v4l1: ::~v4l1if end
Debug: v4lx: Close device in ::~v4lxif
Listing all visuals:
Visual class TrueColor ( 4 )
id 0x22
screen 0
depth 24
red_mask 0xff0000
green_mask 0x00ff00
blue_mask 0x0000ff
colormap_size 256
bits_per_rgb 8
==============A97EA919212C474DED1DF325
Content-Type: text/plain; charset=us-ascii;
name="kwintv18.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="kwintv18.log"
kwintv: Symbol `__vt_3ios' has different size in shared object, consider re-linking
kwintv: Symbol `__vt_7istream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_8ofstream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_7ostream.3ios' has different size in shared object, consider
re-linking
kwintv: Symbol `__vt_8ifstream.3ios' has different size in shared object, consider
re-linking
Warning: mixer: Error mixer read devmask
Warning: winmixer: no devices found!
Debug: v4l1: Using interface Video4Linux in ::v4lxif
Debug: v4l1: Grabber name: BT848(Miro)
Debug: capture: Can capture to memory
Debug: tuner: Has a tuner of some form
Debug: teletext: Has teletext capability
Debug: overlay: Can overlay its image onto the frame buffer
Debug: clipping: Overlay clipping is supported
Debug: frameram: Overlay overwrites frame buffer memory
Debug: scales: The hardware supports image scaling
Debug: subcapture: Capture can be of only part of the image
Debug: v4l1: range of tv size : 32x32 => 924x576
Debug: v4l1: input channels: 4
Debug: [1] Television: has tuner [1], audio, tv
Debug: [2] Composite1: no tuner [0], audio, camera
Debug: [3] S-Video: no tuner [0], audio, camera
Debug: [4] Composite3: no tuner [0], audio, camera
Debug: v4l1: input audios: 1
Debug: [1] TV: mutable[unmuted] vol=-1, bass=-1, ter=-1
Debug: v4l1: tuner: Television 0-4294967295
Debug: v4l1: tuner sees stereo: no
Debug: v4l1: tuner supports modes (active: PAL):
Debug: PAL
Debug: NTSC
Debug: SECAM
Debug: v4l1: picture: brightness=32768 hue=32768 colour=32512 contrast=27648
Debug: v4l1: picture : whiteness=0 depth=0 palette=5[rgb32]
Debug: v4l1: hope physical screen format is <32 bit TrueColor (LE: bgr-)>
Debug: v4l1: set palette to 5
Debug: v4l1: palette is 5
Debug: v4l1: bpp 32, bpl 4096, width 396, height 296
Debug: v4l1: video buffer: size 4259840, frames 2
Debug: v4l1: memory for snap shots: 0x406d4000
Debug: v4l1: minw 32, maxw 768, minh 32, maxh 576 in ::capCapSize
Debug: v4l1: setAudioMode= 2 [stereo]
Debug: v4l1: getAudioMode= 1
Listing all visuals:
Visual class TrueColor ( 4 )
id 0x22
screen 0
depth 24
red_mask 0xff0000
green_mask 0x00ff00
blue_mask 0x0000ff
colormap_size 256
bits_per_rgb 8
Warning: mixer: Error mixer read devmask
Warning: mixer: Error mixer write volume to dev 6
Debug: v4l1: setAutioMute [0] muted
Debug: v4l1: setChannel 2
Debug: v4l1: minw 32, maxw 768, minh 32, maxh 576 in ::capCapSize
Debug: v4l1: setAutioMute [0] unmuted
==============A97EA919212C474DED1DF325
Content-Type: text/plain; charset=us-ascii;
name="v4L17&18.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="v4L17&18.log"
using X11 display :0
x11: mode=1024x768x24
x11: deteced framebuffer depth: 32 bpp
x11: set depth to 32 bpp
x11: X-Server supports DGA extention (version 1.1)
dga: base=0xe4000000, width=1024
x11: X-Server supports VidMode extention (version 0.8)
available video mode(s): 3 1024x768 800x600 640x480
set video mode: 1024x768, 32 bit/pixel, 4096 byte/scanline
set framebuffer at 0xe4000000
ok
==============A97EA919212C474DED1DF325==
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: How to change time format in KDE 2?
Date: Sun, 21 Jan 2001 19:44:17 GMT
I'm running KDE 2.0.1, and have the digital clock in the lower,
right-hand corner.
The time is displayed in 24-hour format.
For example, 2:30 PM is displayed as 14:30.
How do you change the time format to AM/PM format?
Is there a way to display the day of the week?
-
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Installing 2.4.0 kernel..
Date: Sun, 21 Jan 2001 13:59:11 -0600
Ish Rattan wrote:
>
> Hello,
>
> I have a strange problem. I am running RedHat-6.2 with 2.2.16-3 kernel.
> I down loaded the 2.4.0 kernel. It compiles (make bzlilo), the modules
> compile (make modules; make modules_install). The new kernel boots the
> machine correctly but modules are not accessible!!?
>
> Questions:
>
> 1. Is it possible to compile and run 2.4.0 kernel under RedHat-6.2?
>
> 2. If yes what are the correct steps to compile and install it?
>
> This is the first time I have tried 2.4.0 kernel (others have worked..).
> Any pointers will be appreciated (outside wisecracks). The modprobe
> version is 2.3-pre1?
>
> - ishwar
You need to read the Changes file in /usr/src/linux/Documentation.
Other apps need to be ugraded along with the new kernel, namely
modutils, which is the reason your modules can't be found.
--
Bob Martin
------------------------------
From: [EMAIL PROTECTED] (Yechuri)
Date: 21 Jan 2001 20:02:09 GMT
Subject: visible ?
I have win98 pc with 15G hard drive.
I hear that you can install redhat 7 without partitioning
the hard drive because both Linux and Windows use FAT32.
In this case will the code you have in a directory under
linux be visible to everyone if you dial up to AOL when
running AOL under Windows 98.
If it is visible, will it still be visible if you first partition the
hard drive and then install linux on the new partition ?
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Re: How to change time format in KDE 2?
Date: Sun, 21 Jan 2001 20:25:17 GMT
> I'm running KDE 2.0.1, and have the digital clock in the lower,
> right-hand corner.
> The time is displayed in 24-hour format.
> For example, 2:30 PM is displayed as 14:30.
> How do you change the time format to AM/PM format?
> Is there a way to display the day of the week?
Nevermind,... I figured it out.
-
------------------------------
From: Soren <[EMAIL PROTECTED]>
Subject: protocol stacks for embedded linux
Date: Sun, 21 Jan 2001 20:30:09 -0000
Greetings all,
synopsis: newbie looking for minimal set of required protocol stacks for
embedded application supporting HTML browser (XML?), JVM and Java Script.
Thanks for any input you can provide.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: How to change time format in KDE 2?
Date: 21 Jan 2001 22:19:59 +0200
Arctic Storm <[EMAIL PROTECTED]> writes:
> I'm running KDE 2.0.1, and have the digital clock in the lower,
> right-hand corner.
> The time is displayed in 24-hour format.
> For example, 2:30 PM is displayed as 14:30.
> How do you change the time format to AM/PM format?
Right-click the clock and you get the setup menu.
--
Markku Kolkka
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Shutdown from a Win PC
Date: Sun, 21 Jan 2001 20:54:58 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sun, 21 Jan 2001 15:35:40 GMT, Youngert <[EMAIL PROTECTED]> wrote:
>Marco Menardi wrote:
>The only approach I could have thought off for your situation is to setup
>your Linux machine with a sudo package and have your secretary account
>listed in the /dev/sudoers file, i.e.:
>
> secretary ALL=(ALL) ALL
>
>Then, ask her to login to your linux machine from windows and do the
>following at the shell prompt:
>
> ~ sudo shutdown -h now
I don't have sudo on my system, so I don't know the exact syntax for that,
but I use something like +1 or +2 instead of 'now' for remote shutdown to
give me time to logout. And don't forget the & at the end so it forks
into the background, otherwise shutdown might never happen if the
'shutdown' terminates when telnet is disconnected.
One idea might be to install Activestate Perl on the Win box and run a
Perl script using the Net::Telnet module to do it. Then it could be a
point and click script.
>> Hi, I want to installa a Linux server without monitor and keyboard for
>> my 3 Win PC lan. To shutdown it (saving energy when is not work time,
>> i.e. sunday) I need something that my secretary can run from her Win
>> Desktop. Any idea/solution to give me? I really need it soon!
>> Thanks a lot :)
>> Marco Menardi
>>
>> SuSE 7.0 pro
>>
>> Please, don't tell me that this is a bad aproach and that I shuld shh to
>> the system and give user account and password... my secretary will
>> hardly do it and mine is a very very small office and I'm introducing
>> linux most for my fun than because I need big security. Of course, I
>> will have to stay with windows server if introducing linux will
>> complicate our work too much... so help me this way! :)
>
>
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Andrew Rounds <[EMAIL PROTECTED]>
Subject: cdrecord+ATAPI burner
Date: Sun, 21 Jan 2001 20:58:25 +0000
I can't get cdrecord to work on my machine. Anyone have any ideas? Output
from a cdrecord session is pasted below. I am on MDK7.2 with kernel 2.4.0
if that makes any difference (although I think I had the same problem with
kernel 2.2.18)
A big thanks to anyone who can tell me what I am doing wrong. I know the
burner (slave on secondary drive, but hdd=ide-scsi emulation switched on)
works, because it works on that other operating system that I dual boot
with.
Thanks
Andy
/usr/bin/cdrecord dev=0,0,0 fs=2048k -v -useinfo speed=4 -dao -eject -pad
-data "/tmp/track-01.img"
pregap1: -1
Cdrecord 1.9 (i586-mandrake-linux-gnu) Copyright (C) 1995-2000 J�rg
Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.1'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'MITSUMI '
Identifikation : 'CR-4804TE '
Revision : '2.2C'
Device seems to be: Philips CDD-522.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1343488 = 1312 KB
FIFO size : 2097152 = 2048 KB
Track 01: data 598 MB padsize: 30 KB
Total size: 687 MB (68:06.50) = 306488 sectors
Lout start: 687 MB (68:08/38) = 306488 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Is not unrestricted
Is not erasable
ATIP start of lead in: -11740 (97:25/35)
ATIP start of lead out: 336156 (74:44/06)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 336156 Blocks current: 336156 Blocks remaining: 29668
Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
/usr/bin/cdrecord: Input/output error. mode select g1: scsi sendcmd:
retryable error
CDB: 55 10 00 00 00 00 00 00 3C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 200s
/usr/bin/cdrecord: Warning: using default CD write parameter data.
Mode Select Data 00 10 00 00 05 32 02 00 00 00 00 00 00 00 00 00 00 00 00
96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
/usr/bin/cdrecord: Cannot open new session.
/usr/bin/cdrecord: fifo had 32 puts and 0 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 0 times full, min fill was
100%.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: visible ?
Date: 21 Jan 2001 20:57:09 GMT
Reply-To: [EMAIL PROTECTED]
On 21 Jan 2001 20:02:09 GMT, Yechuri staggered into the Black Sun and said:
>I have win98 pc with 15G hard drive.
>I hear that you can install redhat 7 without partitioning
>the hard drive because both Linux and Windows use FAT32.
>In this case will the code you have in a directory under
>linux be visible to everyone if you dial up to AOL when
>running AOL under Windows 98.
>If it is visible, will it still be visible if you first partition the
>hard drive and then install linux on the new partition ?
Hmm. There are some LInux distributions (WinLinux2000, PhatLinux, some
versions of Mandrake, ZipSlack) that can do a "Partitionless" install on
top of an existing FAT32 filesystem. Didn't know that RedHat 7 could do
that. Anyway, Linux does *NOT* use FAT32 natively, and it cannot have
its root filesystem on FAT32. The "partitionless" installs create a
very large (2G or so) file on your FAT partition, then write an ext2
filesystem within that file ("format"s the file, sort of), then mount
the filesystem via the loopback device. The very large file can be seen
under WinXX, but would be difficult to manipulate in a rational manner
since WinXX lacks a generic loopback device, a real mount command, or
a way to understand ext2 filesystems.
WinXX cannot even see ext2 partitions in its "native" state. Programs
like Partition Magic and explore2fs can see Linux partitions. Your best
bet is to repartition your drive and install Linux normally, since
partitionless installs are slower and can be affected by serious system
troubles within WinXX. There are many resources on
http://linuxnewbies.org/ and http://linuxdoc.org/HOWTO/ , or you can
find yourself a nearby Linux User Group, or you can find a local friend
who knows Linux. Good luck....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Reiner Griess)
Subject: [cups] lp0 not configurerd...
Date: Sun, 21 Jan 2001 21:27:59 +0100
Reply-To: [EMAIL PROTECTED]
hi there!
I'm currently trying cups and... it doesn't work
at this time. I'm using debian and after installing
.deb packets I wasn't able to connect to localhost:631.
Ah... I was able to connect, but my username and pwd
was not accepted. Now this works.
After downloading the mod drivers for my Canon BJC 6000
I get the message, that lp0 is not configured. How can
I configure /dev/lp0?? That's the question.
Thank you
Reiner
--
------------------------------
From: Don Grbac <[EMAIL PROTECTED]>
Subject: Linux and Vbasic scripts?
Date: Sun, 21 Jan 2001 16:08:43 -0500
Is anyone out there interested in helping to promote direct democracy?
Two affiliated web sites, vote.org and p2dd.org, have a problem tracking
user links from the first site to the second in Linux. The designer of
the site uses Vbasic scripts to do the tracking. This obviously does
not work for Linux users.
I suggested that they use Java instead of Vbasic. The response was they
need someone who knows Java. Are any of you Linux tech folks willing to
help?
These web sites are promoting a proposed new US Federal law called the
Direct Democracy Initiative (DDI). The proposal is the invention of
former Senator Mike Gravel from Alaska. He has set up a nonprofit
corporation called Philadelphia II for this purpose; hence the p2dd.org
site.
If you can help, please go to visit the site listed in my signature
file.
Don
--
["We, the People" can legislate!]
http://www.vote.org/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************