Re: making OpenBSD 5.9 live system on USB key
Matthias Apitz wrote: > # egrep 'imt|ihi' cyapa-openbsd-dmesg-debug-DIHIDEV_DEBUG.txt > Jul 13 09:12:19 openbsd /bsd: >>> probing for ihidev* > Jul 13 09:12:19 openbsd /bsd: >>> ihidev probe returned 0 > > The existing device is not found :-( > On FreeBSD on the same netbook it is seen as: > > $ fgrep -i cyapa /var/log/messages > cyapa0: at addr 0x67 on smbus0 > cyapa0: cyapa init status 8f > cyapa0: CYTRA-103006-00 buttons=LM- res=870x470 The imt device is for Windows Precision Touchpad standard devices. Does the cyapa conform to that standard? The freebsd driver code probes the device very differently than the imt driver does.
Re: making OpenBSD 5.9 live system on USB key
El d�a Wednesday, July 13, 2016 a las 10:45:47AM +0200, Boudewijn Dijkstra escribi�: > Op Sat, 09 Jul 2016 14:10:26 +0200 schreef Matthias Apitz >: > > > >dwiic at acpi0 not configured > >dwiic at acpi0 not configured > > What is connected to these? I have here the various log, devinfo, lspci outputs of the same Acer C720 netbook from diffrenets Systems (FreeBSD, OpenBSD, KNOPPIX, Ubuntu): http://www.unixarea.de/cyapa-freebsd-devinfo.txt http://www.unixarea.de/cyapa-freebsd-messages.txt http://www.unixarea.de/cyapa-knoppix-dmesg.txt http://www.unixarea.de/cyapa-knoppix-proc-bus-input-devices.txt http://www.unixarea.de/cyapa-konppix-lspci.txt http://www.unixarea.de/cyapa-openbsd-dmesg-debug-DIHIDEV_DEBUG.txt http://www.unixarea.de/cyapa-openbsd-Xorg.0.log http://www.unixarea.de/cyapa-ubuntu-dmesg.txt http://www.unixarea.de/cyapa-ubuntu-proc-bus-input-devices.txt http://www.unixarea.de/cyapa-ubuntu-uname.txt for example the file cyapa-freebsd-messages.txt says: Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi0: on motherboard Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi0: Power Button (fixed) Jul 13 07:42:23 c720-r292778-amd64 kernel: cpu0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: cpu1: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: atrtc0: port 0x70-0x77 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_ec0: port 0x62,0x66 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_lid0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_button0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_button1: irq 37 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_button2: irq 38 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: pcib0: port 0xcf8-0xcff on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_tz0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: acpi_acad0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: battery0: on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Jul 13 07:42:23 c720-r292778-amd64 kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Does this answer your question? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-176-38902045 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
Re: making OpenBSD 5.9 live system on USB key
Op Sat, 09 Jul 2016 14:10:26 +0200 schreef Matthias Apitz: dwiic at acpi0 not configured dwiic at acpi0 not configured What is connected to these? -- Gemaakt met Opera's e-mailprogramma: http://www.opera.com/mail/
Re: making OpenBSD 5.9 live system on USB key
El día Tuesday, July 12, 2016 a las 01:54:49PM +0200, Boudewijn Dijkstra escribió: > Op Sat, 09 Jul 2016 16:16:45 +0200 schreef Matthias Apitz >: > > El día Saturday, July 09, 2016 a las 02:44:39PM +0200, Peter N. M. > > Hansteen escribió: > > > >> [...] I suspect that's the case with your touchpad as well. > > [...] > > Re/ the touchpad: the imt(4) man page says, it should have support. > > Is there some method in OpenBSD to get verboseor even debug boot > > messages and > > -DIHIDEV_DEBUG Thanks. I set this in the Makefile, perhaps there is some better place, and recompiled the kernel with make clean && make; > > > to verify that the imt(4) driver is in the kernel? > > config(8), boot_config(8) > fgrep imt /usr/src/sys/arch/amd64/conf/GENERIC it is there: # fgrep imt src/sys/arch/amd64/conf/GENERI* src/sys/arch/amd64/conf/GENERIC:imt*at ihidev? # HID-over-i2c multitouch trackpad src/sys/arch/amd64/conf/GENERIC:wsmouse* at imt? mux 0 and I learned how to set 'verbose' boot on the boot UKC> prompt; I have placed the /var/log/messages at http://www.unixarea.de/cyapa-openbsd-dmesg-debug-DIHIDEV_DEBUG.txt if someone wants to have a look; # egrep 'imt|ihi' cyapa-openbsd-dmesg-debug-DIHIDEV_DEBUG.txt Jul 13 09:12:19 openbsd /bsd: >>> probing for ihidev* Jul 13 09:12:19 openbsd /bsd: >>> ihidev probe returned 0 The existing device is not found :-( On FreeBSD on the same netbook it is seen as: $ fgrep -i cyapa /var/log/messages cyapa0: at addr 0x67 on smbus0 cyapa0: cyapa init status 8f cyapa0: CYTRA-103006-00 buttons=LM- res=870x470 On the other netboot in question the touchpad is on addr 0x15, a elantech device, but not seen by FreeBSD and also not by OpenBSD. Any further ideas? Thanks in advance matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989
Re: making OpenBSD 5.9 live system on USB key
Op Sat, 09 Jul 2016 16:16:45 +0200 schreef Matthias Apitz: El día Saturday, July 09, 2016 a las 02:44:39PM +0200, Peter N. M. Hansteen escribió: [...] I suspect that's the case with your touchpad as well. [...] Re/ the touchpad: the imt(4) man page says, it should have support. Is there some method in OpenBSD to get verboseor even debug boot messages and -DIHIDEV_DEBUG to verify that the imt(4) driver is in the kernel? config(8), boot_config(8) fgrep imt /usr/src/sys/arch/amd64/conf/GENERIC I read that OpenBSD does not have loadable kernel modules, true? True. -- Gemaakt met Opera's e-mailprogramma: http://www.opera.com/mail/
Re: making OpenBSD 5.9 live system on USB key
El día Saturday, July 09, 2016 a las 04:16:45PM +0200, Matthias Apitz escribió: > El día Saturday, July 09, 2016 a las 02:44:39PM +0200, Peter N. M. Hansteen > escribió: > > Re/ the touchpad: the imt(4) man page says, it should have support. > Is there some method in OpenBSD to get verbose or even debug boot > messages and to verify that the imt(4) driver is in the kernel? I read > that OpenBSD does not have loadable kernel modules, true? I compiled a new kernel and booted with verbose, but I do not see any probing messages for imt or i2c devices, what could I miss? matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989
Re: making OpenBSD 5.9 live system on USB key
El día Saturday, July 09, 2016 a las 02:44:39PM +0200, Peter N. M. Hansteen escribió: > pci1 at ppb0 bus 1 > "Atheros AR9462" rev 0x01 at pci1 dev 0 function 0 not configured > > - means that for this one at least, you have a variant that 5.9 doesn't > support. I suspect that's the case with your touchpad as well. Thanks. I plugged in some other USB Wifi dongle which was seen by the urtwn(4) driver, learned how to install the firmware and could bring up the interface associated with my AP. Re/ the touchpad: the imt(4) man page says, it should have support. Is there some method in OpenBSD to get verbose or even debug boot messages and to verify that the imt(4) driver is in the kernel? I read that OpenBSD does not have loadable kernel modules, true? matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989
Re: making OpenBSD 5.9 live system on USB key
On 07/09/16 14:10, Matthias Apitz wrote: > Thanks, this did it fine. The system boots fine from the USB key, but I > do not see anything about the touchpad. As well X11 does not can use the > mouse. I can imagine that I have to load somehow the driver imt(4), or > even have to make a custom kernel? I'm attaching the dmesg output. > > Other question is, how I could bring up the ath0 interface. In FreeBSD I > do use it with the wpa_supplicant methods to associate with my AP. The > ifconfig does not see the ath0 interface. The netbook has no other NIC. pci1 at ppb0 bus 1 "Atheros AR9462" rev 0x01 at pci1 dev 0 function 0 not configured - means that for this one at least, you have a variant that 5.9 doesn't support. I suspect that's the case with your touchpad as well. Before trying to build custom kernels, I'd try with a snapshot (they're 6.0-beta at the moment), I remember vaguely some activity on the athn driver during this cycle. > Thanks and forgive if this is a FAQ (I do read the FAQ, but could not find > the answer there). as long as your hardware is supported, ifconfig is capable of handling the simpler WPA setups, ie ifconfig athn0 up nwid foo wpakey foospresharedsecret but there is a wpa-supplicant package available if you need it. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: making OpenBSD 5.9 live system on USB key
El dÃa Friday, July 08, 2016 a las 10:53:56AM -0400, Ted Unangst escribió: > Matthias Apitz wrote: > > I'd like to make some bootable USB key which contains an OpenBSD live > > system, if possible even with X11 included. > > > > Can someone please be so kind and point me to some guide about how to > > make such live system? > > Just follow the regular install procedure, but install to sd1 or whatever disk > the USB key is detected as. Thanks, this did it fine. The system boots fine from the USB key, but I do not see anything about the touchpad. As well X11 does not can use the mouse. I can imagine that I have to load somehow the driver imt(4), or even have to make a custom kernel? I'm attaching the dmesg output. Other question is, how I could bring up the ath0 interface. In FreeBSD I do use it with the wpa_supplicant methods to associate with my AP. The ifconfig does not see the ath0 interface. The netbook has no other NIC. Thanks and forgive if this is a FAQ (I do read the FAQ, but could not find the answer there). matthias -- Matthias Apitz, â g...@unixarea.de, â http://www.unixarea.de/ â +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989 OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2069331968 (1973MB) avail mem = 2002411520 (1909MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7bf82020 (10 entries) bios0: vendor coreboot version "(null)" date 08/13/2014 bios0: Acer Peppy acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG SSDT SSDT acpi0: wakeup devices LID0(S5) TPAD(S3) TSCR(S3) HDEF(S3) EHCI(S3) XHCI(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) 2955U @ 1.40GHz, 1397.00 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Celeron(R) 2955U @ 1.40GHz, 1396.77 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus -1 (RP02) acpiprt3 at acpi0: bus -1 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiprt5 at acpi0: bus -1 (RP05) acpiprt6 at acpi0: bus -1 (RP06) acpiprt7 at acpi0: bus -1 (RP07) acpiprt8 at acpi0: bus -1 (RP08) acpiec0 at acpi0 acpicpu0 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpicpu1 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpitz0 at acpi0: critical temperature is 99 degC acpipwrres0 at acpi0: TNP0, resource for TDP0 acpipwrres1 at acpi0: TNP1, resource for TDP1 acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: TPAD acpibtn3 at acpi0: TSCR acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "21168116544393281" serial 943076400 type LION oem "32210482396811091" dwiic at acpi0 not configured dwiic at acpi0 not configured acpivideo0 at acpi0: GFX0 cpu0: Enhanced SpeedStep 1397 MHz: speeds: 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x09 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1366x768 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 vendor "Intel", unknown product 0x9c60 (class system subclass 8237 DMA, rev 0x04) at pci0 dev 21
Re: making OpenBSD 5.9 live system on USB key
On 07/08/16 16:41, Matthias Apitz wrote: > I'd like to make some bootable USB key which contains an OpenBSD live > system, if possible even with X11 included. The short version is: Just run a regular install to the USB key. I'd probably start with dd-ing the install or miniroot fs file to the USB key, boot off that, then do a network install, ie sets from http off a nearby mirror, selecting the USB key as the install target (yes, overwriting the stuff you just booted from). Once you've booted off the fresh install on the USB key, proceed to installing any packages you need. The process isn't difficult, some people find the partitioning bit intimidating, but keep in mind that the defaults are sane -- as in, when in doubt go with the defaults -- and you can resize partitions (R a for example) and p)rint the layout with units other than blocks (say p G for gigabytes). > Can someone please be so kind and point me to some guide about how to > make such live system? Do at least browse the FAQ's install guide (http://www.openbsd.org/faq/faq4.html) and the INSTAL.$arch file for your architecture. In fact, keeping both of those open in a browser somewhere while doing the install could turn out to be very useful. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: making OpenBSD 5.9 live system on USB key
Matthias Apitz wrote: > I'd like to make some bootable USB key which contains an OpenBSD live > system, if possible even with X11 included. > > Can someone please be so kind and point me to some guide about how to > make such live system? Just follow the regular install procedure, but install to sd1 or whatever disk the USB key is detected as.
making OpenBSD 5.9 live system on USB key
Hello, I'd like to make some bootable USB key which contains an OpenBSD live system, if possible even with X11 included. The background of the question is: I'm a long time FreeBSD user (since 1995) and run FreeBSD on all my laptops and netbooks. I own two Acer C720 netbooks (also known as Chromebooks) which I switched to be able to boot normally legacy and installed this way FreeBSD on its SSD. One of these C720 was at Acer.com for repair and since this FreeBSD does not detect the touchpad anymore. Both have had (one still has) an i2c Cyapa touchpad, it seems that the one which was at Acer has now some ElanTech TP, at least some device is detected at addr 0x15 (the cyapa is at addr 0x67) of the smb. FreeBSD (even CURRENT) has no support for ElanTech TP, only for the cyapa. I read that since OpenBSD 5.9 there is some support for it in the driver imt(4). I would like to investigate this without installing OpenBSD into the SSD. In FreeBSD I do know how to make a live system and enrich this whatever software. Can someone please be so kind and point me to some guide about how to make such live system? Thanks in advance matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989