Asus V7-P7H55E - FreeBSD - 2011 archive
Back to main FreeBSD page for this machine.
2011 archive
2011-07-02: slice 1 - I upgraded to latest FreeBSD 8.2-stable, using csup and make world. dmesg output: normal, verbose (part 1, part 2).
tingo@kg-v7$ uname -a FreeBSD kg-v7.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #6: Sat Jul 2 18:39:45 CEST 2011 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
2011-02-26: slice 1 - when I plug in my Evolution eKeys 37, I get this in /var/log/messages:
Feb 26 21:01:27 kg-v7 kernel: ugen0.4: <Evolution Electronics Ltd.> at usbus0 Feb 26 21:01:27 kg-v7 kernel: uaudio1: <Evolution Electronics Ltd. USB MIDI keyboard, class 0/0, rev 1.00/2.52, addr 4> on usbus0 Feb 26 21:01:27 kg-v7 kernel: uaudio1: No playback! Feb 26 21:01:27 kg-v7 kernel: uaudio1: No recording! Feb 26 21:01:27 kg-v7 kernel: uaudio1: MIDI sequencer Feb 26 21:01:27 kg-v7 kernel: pcm7: <USB audio> on uaudio1
Ok, so the sound module (SD-20) is on umidi0., and the keyboard on umidi1., it seems so:
root@kg-v7# ls -l /dev/*midi* crw-rw-rw- 1 root wheel 0, 101 Feb 26 20:35 /dev/midistat crw-r--r-- 1 root operator 0, 112 Feb 26 20:56 /dev/umidi0.0 crw-r--r-- 1 root operator 0, 113 Feb 26 20:56 /dev/umidi0.1 crw-r--r-- 1 root operator 0, 122 Feb 26 20:56 /dev/umidi0.10 crw-r--r-- 1 root operator 0, 123 Feb 26 20:56 /dev/umidi0.11 crw-r--r-- 1 root operator 0, 124 Feb 26 20:56 /dev/umidi0.12 crw-r--r-- 1 root operator 0, 125 Feb 26 20:56 /dev/umidi0.13 crw-r--r-- 1 root operator 0, 126 Feb 26 20:56 /dev/umidi0.14 crw-r--r-- 1 root operator 0, 127 Feb 26 20:56 /dev/umidi0.15 crw-r--r-- 1 root operator 0, 114 Feb 26 20:56 /dev/umidi0.2 crw-r--r-- 1 root operator 0, 115 Feb 26 20:56 /dev/umidi0.3 crw-r--r-- 1 root operator 0, 116 Feb 26 20:56 /dev/umidi0.4 crw-r--r-- 1 root operator 0, 117 Feb 26 20:56 /dev/umidi0.5 crw-r--r-- 1 root operator 0, 118 Feb 26 20:56 /dev/umidi0.6 crw-r--r-- 1 root operator 0, 119 Feb 26 20:56 /dev/umidi0.7 crw-r--r-- 1 root operator 0, 120 Feb 26 20:56 /dev/umidi0.8 crw-r--r-- 1 root operator 0, 121 Feb 26 20:56 /dev/umidi0.9 crw-r--r-- 1 root operator 0, 133 Feb 26 21:01 /dev/umidi1.0 crw-r--r-- 1 root operator 0, 134 Feb 26 21:01 /dev/umidi1.1 crw-r--r-- 1 root operator 0, 143 Feb 26 21:01 /dev/umidi1.10 crw-r--r-- 1 root operator 0, 144 Feb 26 21:01 /dev/umidi1.11 crw-r--r-- 1 root operator 0, 145 Feb 26 21:01 /dev/umidi1.12 crw-r--r-- 1 root operator 0, 146 Feb 26 21:01 /dev/umidi1.13 crw-r--r-- 1 root operator 0, 147 Feb 26 21:01 /dev/umidi1.14 crw-r--r-- 1 root operator 0, 148 Feb 26 21:01 /dev/umidi1.15 crw-r--r-- 1 root operator 0, 135 Feb 26 21:01 /dev/umidi1.2 crw-r--r-- 1 root operator 0, 136 Feb 26 21:01 /dev/umidi1.3 crw-r--r-- 1 root operator 0, 137 Feb 26 21:01 /dev/umidi1.4 crw-r--r-- 1 root operator 0, 138 Feb 26 21:01 /dev/umidi1.5 crw-r--r-- 1 root operator 0, 139 Feb 26 21:01 /dev/umidi1.6 crw-r--r-- 1 root operator 0, 140 Feb 26 21:01 /dev/umidi1.7 crw-r--r-- 1 root operator 0, 141 Feb 26 21:01 /dev/umidi1.8 crw-r--r-- 1 root operator 0, 142 Feb 26 21:01 /dev/umidi1.9
Let's try it.
root@kg-v7# dd if=/dev/umidi1.0 of=/dev/umidi0.0 bs=1
Yes! it works! I get sound in my headphones!
2011-02-26: slice 1 - patching snd_uaudio by replacing files with files from this message, to get my Roland SD-20 working:
root@kg-v7# cp -v /home/tingo/work/uaudio.c /usr/src/sys/dev/sound/usb /home/tingo/work/uaudio.c -> /usr/src/sys/dev/sound/usb/uaudio.c root@kg-v7# cp -v /home/tingo/work/usbdevs /usr/src/sys/dev/usb /home/tingo/work/usbdevs -> /usr/src/sys/dev/usb/usbdevs
and remaking the snd_uaudio module:
root@kg-v7# cd /usr/src/sys/modules/sound/driver/uaudio root@kg-v7# make root@kg-v7# make install
Then testing the module:
root@kg-v7# cd root@kg-v7# kldunload snd_uaudio root@kg-v7# kldload snd_uaudio
and I get this in /var/log/messages:
Feb 26 20:56:21 kg-v7 root: Unknown USB device: vendor 0x0582 product 0x0027 bus uhub3 Feb 26 20:56:21 kg-v7 kernel: uaudio0: <Roland EDIROL SD-20, rev 1.10/1.00, addr 3> on usbus0 Feb 26 20:56:21 kg-v7 kernel: uaudio0: No playback! Feb 26 20:56:21 kg-v7 kernel: uaudio0: No recording! Feb 26 20:56:21 kg-v7 kernel: uaudio0: MIDI sequencer Feb 26 20:56:21 kg-v7 kernel: pcm6: <USB audio> on uaudio0
Cool!
2011-02-26: slice 1 - I upgraded to FreeBSD 8.2-stable, using csup and make world. dmesg output: normal, verbose (part 1, part 2).
2011-02-20: slice 1 - I added the usb MIDI patch from the FreeBSD-multimedia mailinglist:
root@kg-v7# cd /usr/src/sys/dev/sound/usb/ root@kg-v7# cat /home/tingo/work/umidi_patch_002.txt | patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=== uaudio.c |================================================================== |--- uaudio.c (revision 218769) |+++ uaudio.c (local) -------------------------- Patching file uaudio.c using Plan A... Hunk #1 succeeded at 192 (offset 1 line). Hunk #2 succeeded at 230 (offset 1 line). Hunk #3 succeeded at 338 (offset 1 line). Hunk #4 succeeded at 493 (offset 1 line). Hunk #5 succeeded at 502 (offset 1 line). Hunk #6 succeeded at 510 (offset 1 line). Hunk #7 succeeded at 1557 (offset 1 line). Hunk #8 succeeded at 1702 (offset 1 line). Hunk #9 succeeded at 1762 (offset 1 line). Hunk #10 succeeded at 1832 (offset 1 line). Hunk #11 succeeded at 1966 (offset 1 line). Hunk #12 succeeded at 1992 (offset 1 line). Hunk #13 succeeded at 2047 (offset 1 line). Hunk #14 succeeded at 2274 (offset 1 line). Hunk #15 succeeded at 3264 (offset 1 line). Hunk #16 succeeded at 3287 (offset 1 line). Hunk #17 succeeded at 3475 (offset 1 line). Hunk #18 succeeded at 3502 (offset 1 line). Hunk #19 succeeded at 3564 (offset 1 line). Hunk #20 succeeded at 3572 (offset 1 line). Hunk #21 succeeded at 3605 (offset 1 line). Hunk #22 succeeded at 3632 (offset 1 line). Hunk #23 succeeded at 3647 (offset 1 line). Hunk #24 succeeded at 3672 (offset 1 line). Hunk #25 succeeded at 3738 (offset 1 line). Hunk #26 succeeded at 3769 (offset 1 line). Hunk #27 succeeded at 3800 (offset 1 line). done root@kg-v7# cd /usr/src/sys/modules/sound/driver/uaudio root@kg-v7# make root@kg-v7# make install
then unload snd_uaudio and load it again. Output from /var/log/messages with both the Roland SD-20 and the Evolution eKeys 37 attached:
Feb 20 20:44:58 kg-v7 kernel: uaudio0: <Evolution Electronics Ltd. USB MIDI keyboard, class 0/0, rev 1.00/2.52, addr 3> on usbus0 Feb 20 20:44:58 kg-v7 kernel: uaudio0: No playback! Feb 20 20:44:58 kg-v7 kernel: uaudio0: No recording! Feb 20 20:44:58 kg-v7 kernel: uaudio0: MIDI sequencer Feb 20 20:44:58 kg-v7 kernel: pcm6: <USB audio> on uaudio0 Feb 20 20:44:58 kg-v7 root: Unknown USB device: vendor 0x0a4d product 0x00d2 bus uhub2
usbconfig output:
root@kg-v7# usbconfig -u 0 -a 3 ugen0.3: <USB MIDI keyboard Evolution Electronics Ltd.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON root@kg-v7# usbconfig -u 0 -a 4 ugen0.4: <EDIROL SD-20 Roland> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
That's it.
2011-02-20: slice 1 - upgraded to FreeBSD 8.2-prerelease via csup / make world. dmesg output: normal, verbose (part 1, part 2).
2011-02-20: slice 2 - I upgraded to FreeBSD 7.4-prerelease via csup / make world. dmesg output: normal, verbose (part 1, part 2). I also turned on AHCI in BIOS. Here is the pciconf -lv info:
root@kg-v7# pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x83831043 chip=0x00408086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x83831043 chip=0x00428086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA none0@pci0:0:22:0: class=0x078000 card=0x83831043 chip=0x3b648086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = simple comms ehci0@pci0:0:26:0: class=0x0c0320 card=0x83831043 chip=0x3b3c8086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x837b1043 chip=0x3b568086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = multimedia subclass = HDA pcib1@pci0:0:28:0: class=0x060400 card=0x83831043 chip=0x3b428086 rev=0x06 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:2: class=0x060400 card=0x83831043 chip=0x3b468086 rev=0x06 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI ehci1@pci0:0:29:0: class=0x0c0320 card=0x83831043 chip=0x3b348086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB pcib3@pci0:0:30:0: class=0x060401 card=0x83831043 chip=0x244e8086 rev=0xa6 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x83831043 chip=0x3b068086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x010601 card=0x83831043 chip=0x3b228086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' device = 'IBEX AHCI Controller(6Port) (Intel Q57 Express)' class = mass storage subclass = SATA ichsmb0@pci0:0:31:3: class=0x0c0500 card=0x83831043 chip=0x3b308086 rev=0x06 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus re0@pci0:2:0:0: class=0x020000 card=0x83a31043 chip=0x816810ec rev=0x03 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)' class = network subclass = ethernet
Which shows that the ata controller now calls itself AHCI instead of SATA.