ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Пересборка ядра (was: sonypi vs. sony_laptop = нерабочий meye)
Date: Mon, 21 Sep 2009 10:21:51 +0400
Message-ID: <20090921102151.3b44727d@narod.ru> (raw)
In-Reply-To: <200909190951.54364.mak@complife.ru>

> > [..]
> > Рабочими для Sony Vaio являются варианты:
> >
> > Working:
> > 1.
> > CONFIG_SONY_LAPTOP=y
> > CONFIG_SONYPI_COMPAT=y
> > CONFIG_SONYPI=y
> 
> А просто сделать 
> modprobe sony-laptop
> modprobe sonypi
> ?
> 
> И посмотрите описание этих модулей (modinfo)
> Возможно, там еще будет иметь смысл поиграться с параметрами
> [..]

Да, я все это делал в разных вариациях, вплоть до почти полного
загубления системы (спасла рядом стоящая win2k со сторонним драйвером
для ext2) - не помогает. Требуется, видимо, именно включение опций в
ядре. На данный момент так:

[root@vaio modutils.d]# cat /etc/modutils.d/10vaio
options sony_laptop compat=1 camera=1
alias char-major-81-0 meye
options meye gbuffers=32 video_nr=0


[root@vaio modutils.d]# lsmod
Module                  Size  Used by
mach64                 42412  2 
drm                   158208  3 mach64
binfmt_misc             8020  1 
af_packet              17644  2 
speedstep_lib           3852  0 
freq_table              4428  0 
cpufreq_userspace       2896  0 
nls_utf8                1600  2 
nls_cp866               4876  2 
vfat                   10380  2 
fat                    50252  1 vfat
nls_base                7056  4 nls_utf8,nls_cp866,vfat,fat
dm_mod                 56708  0 
sg                     28640  0 
usb_storage            36000  0 
usbhid                 38944  0 
usb_libusual           20288  1 usb_storage
hid                    65120  1 usbhid
ndiswrapper           185180  0 
pcmcia                 37068  0 
snd_ymfpci             32480  1 
gameport               11128  1 snd_ymfpci
snd_ac97_codec        103920  1 snd_ymfpci
ac97_bus                1580  1 snd_ac97_codec
snd_pcm                74096  2 snd_ymfpci,snd_ac97_codec
snd_opl3_lib           10316  1 snd_ymfpci
snd_timer              20788  3 snd_ymfpci,snd_pcm,snd_opl3_lib
firewire_ohci          22320  0 
firewire_core          43808  1 firewire_ohci
snd_hwdep               7056  1 snd_opl3_lib
snd_page_alloc          8852  2 snd_ymfpci,snd_pcm
snd_mpu401_uart         6956  1 snd_ymfpci
crc_itu_t               1868  1 firewire_core
meye                   26988  0 
snd_rawmidi            21760  1 snd_mpu401_uart
videodev               35904  1 meye
ohci1394               30300  0 
snd_seq_device          6904  2 snd_opl3_lib,snd_rawmidi
fan                     4144  0 
yenta_socket           23736  2 
v4l1_compat            14448  1 videodev
uhci_hcd               22044  0 
rsrc_nonstatic         11404  1 yenta_socket
i2c_piix4               9884  0 
snd                    58180  11 snd_ymfpci,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
psmouse                56132  0 
rtc_cmos               10316  0 
evdev                   9472  8 
pcspkr                  2316  0 
serio_raw               5296  0 
pcmcia_core            35488  3 pcmcia,yenta_socket,rsrc_nonstatic
sony_laptop            31924  2 meye
rfkill                 10608  1 sony_laptop
rtc_core               17608  1 rtc_cmos
i2c_core               23584  2 drm,i2c_piix4
soundcore               7072  1 snd
battery                10224  0 
ieee1394               85652  1 ohci1394
ac                      4048  0 
efficeon_agp            6304  0 
rtc_lib                 2860  1 rtc_core
processor              34496  1 
thermal                12808  0 
button                  5244  0 
usbcore               149232  6 usb_storage,usbhid,usb_libusual,ndiswrapper,uhci_hcd
agpgart                34796  2 drm,efficeon_agp
ext2                   65780  4 
mbcache                 7568  1 ext2
ata_generic             4624  0 
pata_acpi               3980  0 
ata_piix               23056  0 
libata                174604  3 ata_generic,pata_acpi,ata_piix
sd_mod                 34888  0 
crc_t10dif              1708  1 sd_mod
scsi_mod              150996  4 sg,usb_storage,libata,sd_mod
ide_generic             1936  0 [permanent]
ide_pci_generic         3888  0 
ide_gd_mod             23344  8 
piix                    6132  7 
ide_core              103592  4 ide_generic,ide_pci_generic,ide_gd_mod,piix

Отрывок из dmesg:

[   31.452601] Linux video capture interface: v2.00
[   31.485629] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[9]  MMIO=[fc104000-fc1047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
[   31.592655] usb 1-1: new low speed USB device using uhci_hcd and address 2
[   31.637820] meye: using 2 buffers with 600k (1200k total) for capture
[   31.638466] meye: unable to power on the camera
[   31.638492] meye: did you enable the camera in sonypi using the module options ?
[   31.638890] meye: probe of 0000:00:0b.0 failed with error -5


[root@vaio modutils.d]# lspci
00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge
00:00.1 RAM memory: Transmeta Corporation SDRAM controller
00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:08.0 FireWire (IEEE 1394): Texas Instruments TSB43AA22 IEEE-1394 Controller (PHY/Link Integrated) (rev 02)
00:09.0 Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller]
00:0a.0 Communication controller: Conexant Systems, Inc. HCF 56k Data/Fax/Voice/Spkp Modem (rev 08)
00:0b.0 Multimedia controller: Kawasaki Steel Corporation KL5A72002 Motion JPEG (rev 03)
00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
00:0d.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M (rev 64)
01:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

-- 
С уважением,
Владимир Гусев


  reply	other threads:[~2009-09-21  6:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 11:40 [Comm] sonypi vs. sony_laptop = нерабочий meye Владимир Гусев
2009-09-18 13:02 ` Max Ivanov
2009-09-18 21:38   ` [Comm] Пересборка ядра (was: sonypi vs. sony_laptop = нерабочий meye) Владимир Гусев
2009-09-19  5:51     ` Michael A. Kangin
2009-09-21  6:21       ` Владимир Гусев [this message]
2009-09-29  9:23         ` Владимир Гусев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090921102151.3b44727d@narod.ru \
    --to=vova1971@narod.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git