/usr/share/applications
15
2008
ALSA and Intel HDA
With your current also you cannot get sound from your sound hardware.
dmesg shows:
snd_intel8x0: Unknown symbol snd_ac97_pcm_close
snd_intel8x0: Unknown symbol snd_ac97_resume
snd_intel8x0: Unknown symbol snd_ac97_pcm_open
snd_intel8x0: Unknown symbol snd_ac97_set_rate
snd_intel8x0: Unknown symbol snd_ac97_mixer
snd_intel8x0: Unknown symbol snd_ac97_bus
snd_intel8x0: Unknown symbol snd_ac97_suspend
snd_intel8x0: Unknown symbol snd_ac97_pcm_assign
snd_intel8x0: Unknown symbol snd_mpu401_uart_new
snd_intel8x0: Unknown symbol snd_ac97_tune_hardware
lspci output shows:
# lspci -vv
…
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- …
Latency: 0, Cache Line Size 08
Interrupt: pin A routed to IRQ 177
Region 0: Memory at ffdfc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)
Here
* The specific audio device is an Intel High Definition Audio (hda-intel) device.
* The hda-intel device is supported by by alsa-driver 1.0.14rc1 (not production yet).
With
the bundled drivers of alsa, you do not seem to be able to use this
audio device. At this point you can get the latest version
alsa-driver’s source from
http://www.alsa-project.org
and
build the driver from source. The alsa-driver 1.0.14 is developed based
on a brand new class model introduced in kernel 2.6.13 and it is not
availiable with some latest distro kernels. You will need to go to some
very new kernel version..
15
2008
HOWTO: Extract WINMAIL.DAT on Linux
Maybe it has been many times that you got a WINMAIL.DAT attachement
from another person, using MS Outlook for a mail unfortunately.
That file is in the TNEF (Transport Neutral Encapsulation Format) as a proprietary format of MS. See:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q241538
Apart from asking the sender to turn of TNEF as per above document and ask for re-send we can extract this WINMAIL.DAT.
Initially:
$ file winmail.dat
winmail.dat: Transport Neutral Encapsulation Format
– Go to http://tnef.sourceforge.net/ and download the tnef source package.
– Extract and apply INSTALL document
– Run:
tnef < winmail.dat
The files extracted will be in the local directory.
15
2008
Multi-Desktop KDE and Applications to be Displayed on All of the Desktops ALWAYS
This may be required to have your chat and mail windows on every desktop in KDE. One example can be for Gaim:
Right click on the window title
Advanced -> Special Window Settings
Select “Use window class (whole application)” and click OK
Select tab: Geometry
Check “Desktop”
Select “Apply Initially”
Select “All Desktops”
Restart the application and see..
The setup may be even specific to window title..
15
2008
Detected Deskjet 610C Does Not Print
All configuration done on detected DeskJet 610C printer attached to parallel port 0.
dmesg detects the printer properly and all seems fine with CUPS.
But nothing is printed via CUPS.
Checking the /var/log/cups/error_log:
I [15/Apr/2006:16:03:42 +0300] Job 1 queued on ‘DeskJet-610C’ by ‘…..’.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/texttops (PID 16099) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/pstops (PID 16100) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started filter /usr/lib/cups/filter/foomatic-rip (PID 16101) for job 1.
I [15/Apr/2006:16:03:42 +0300] Started backend /usr/lib/cups/backend/parallel (PID 16102) for job 1.
E [15/Apr/2006:16:03:43 +0300] PID 16101 stopped with status 3!
I [15/Apr/2006:16:04:20 +0300] Hint: Try setting the LogLevel to “debug” to find out more.
The latest hint is a useful one. Edit /etc/cups/cupsd.conf:
LogLevel info
>> Change to
LogLevel debug
Retry printing and check /var/log/cups/error_log:
D
[15/Apr/2006:16:33:28 +0300] [Job 4] foomatic-gswrapper: gs ‘-dBATCH’
‘-dPARANOIDSAFER’ ‘-dQUIET’ ‘-dNOPAUSE’ ‘-sDEVICE=ijs’
‘-sIjsServer=hpijs’ ‘-sDeviceManufacturer=HEWLETT-PACKARD’
‘-sDeviceModel=DESKJET 610’ ‘-dDEVICEWIDTHPOINTS=595’
‘-dDEVICEHEIGHTPOINTS=842’ ‘-r300’
‘-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2’
‘-dIjsUseOutputFD’ ‘-sOutputFile=/dev/fd/3’ ‘/dev/fd/0’ 3>&1
1>&2
D [15/Apr/2006:16:33:28 +0300] [Job 4] GPL Ghostscript 8.01: **** Could not open temporary file /var/spool/cups/tmp/gs_u8twMw
D [15/Apr/2006:16:33:28 +0300] [Job 4] GPL Ghostscript 8.01: Could not open the scratch file /var/spool/cups/tmp/gs_u8twMw.
D [15/Apr/2006:16:33:28 +0300] [Job 4] **** Unable to open the initial device, quitting.
D [15/Apr/2006:16:33:28 +0300] [Job 4] renderer return value: 1
D [15/Apr/2006:16:33:28 +0300] [Job 4] renderer received signal: 1
D
[15/Apr/2006:16:33:28 +0300] [Job 4] Process dying with “Possible error
on renderer command line or PostScript error. Check options.”, exit
stat: 3
D [15/Apr/2006:16:33:28 +0300] [Job 4] error: Illegal seek (29)
D
[15/Apr/2006:16:33:28 +0300] [Job 4] Possible error on renderer command
line or PostScript error. Check options.D [15/Apr/2006:16:33:28 +0300]
[Job 4] tail process done writing data to STDOUT
D [15/Apr/2006:16:33:28 +0300] [Job 4] KID4 finished
Check the /var/spool/cups.. 🙂 I did not have the /var/spool/cups/tmp directory.
1. mkdir /var/spool/cups/tmp
2. chmod 777 /var/spool/cups/tmp
And now it works properly.