Sony laptop issues...
Digital Brain
digitalbrain at hotmail.com
Tue Jan 25 11:49:06 PST 2005
Hello,
I have recently installed FreeBSD 5.3-RELEASE on my Sony laptop (and would
not like to go back to Linux). Most of the things are working, including
ACPI (mostly), pcmcia cards, usb ports. However, there were some issues --
1. Sound (Intel Integrated Sound, using "pcm" driver)
------------------------------------------------------------------------------------
--> added:
device sound
device snd_ich
to custom-built kernel.
---
$ dmesg | grep pcm0
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem
0xd0000800-0xd00008ff,0xd0000c00-0xd0000dff irq 9 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1981B AC97 Codec>
---
$ pciconf -lv // output for audio
pcm0 at pci0:31:5: class=0x040100 card=0x8197104d chip=0x24c58086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
class = multimedia
subclass = audio
---
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0x1c00, 0x18c0 irq 9 bufsz 16384
(1p/1r/4v channels duplex default)
---
I believe all the required dev's are already there (e.g. /dev/.. audio...,
dsp..., mixer).
Q: How can I get this to work? It does work in Linux, only thing is, I had
to mute the "External Amplifier" to hear anything (using alsamixer). Maybe
some kind of "hint"
to append in /boot/device.hints?
2. Intel 2200BG integrated WIFI
-------------------------------------------------
I know there is a native ipw driver for *BSD, and also ndiswrapper, but I
didn't try either yet.
Q: Which one do you recommend / gets most of the features to work OK (i.e.
AP scanning)?
Just want to make sure before messing up the whole system.
$ pciconf -lv //output for wireless card
none4 at pci2:11:0: class=0x028000 card=0x27538086 chip=0x42208086 rev=0x05
hdr=0x00
vendor = 'Intel Corporation'
device = 'PRO/Wireless 2200BG Network Connection'
class = network
3. Display (preferred 1280x800 resolution)
-------------------------------------------------------------------
Since I have an ATI Mobility graphics card, from the time I boot FreeBSD
until I start X,
my whole display is restricted to a rectangle centered on the the screen
(not full screen). I know there are some issues with ATI cards, and that
there was a patch for 5.3-RELEASE. Does anyone remember the link / is this
fixed in -CURRENT?
Btw, I already have "option VESA" in the kernel config.
Q: Does the patch fix the problem without further ado?
(*not directly related to laptop, but _really important_ now... I'm a
student, damn)
4. HP psc 1300 printer (USB Printer)
--------------------------------------------------------
I have installed the latest hpijs drivers and also CUPS. Plus, I downloaded
a PPD file
from (www.linuxprinting.org) and placed it in /usr/local/share/cups/model/.
Following the
same procedure (as I did in Linux, and got it working...) using the
web-interface,
I set the device as "USB Device #1", then selected my printer model from the
next screen.
Q: How do I get it to print even the test page? When I hit the button to
print a test page,
it says "job submitted" etc, but the printer doesn't do anything. When I
check in "Jobs" it says that XYZ job aborted.
Here's what I get from /var/log/messages, the time I plug the printer in.
Jan 25 19:08:48 brainx kernel: ulpt0: hp psc 1300 series, rev 2.00/1.00,
addr 2, iclass 255/204
Jan 25 19:08:48 brainx kernel: ulpt0: using bi-directional mode
Jan 25 19:08:48 brainx kernel: umass0: hp psc 1300 series, rev 2.00/1.00,
addr 2
Jan 25 19:08:48 brainx kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan 25 19:08:48 brainx kernel: da0: <HP 1.00> Removable Direct Access
SCSI-2 device
Jan 25 19:08:48 brainx kernel: da0: 1.000MB/s transfers
Jan 25 19:08:48 brainx kernel: da0: Attempt to query device size failed: NOT
READY, Medium not present
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB:
25 0 0 0 0 0 0 0 0 0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check
Condition
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Unretryable error
Jan 25 19:08:48 brainx kernel: Opened disk da0 -> 6
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB:
25 0 0 0 0 0 0 0 0 0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check
Condition
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Unretryable error
Jan 25 19:08:48 brainx kernel: Opened disk da0 -> 6
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB:
25 0 0 0 0 0 0 0 0 0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
Status Error
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check
Condition
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Medium not present
Jan 25 19:08:48 brainx kernel: (da0:umass-sim0:0:0:0): Unretryable error
Jan 25 19:08:48 brainx kernel: Opened disk da0 -> 6
Finally,
Q: Does this have anything to do with the fact that the printer is not
working?
----
Thanks in advance,
any answers will be appreciated.
DB.
More information about the freebsd-mobile
mailing list