You are not logged in.
Posting this thread for those who may benefit from it, and until I finish the installation successfully, so that hopefully someone can help me to that end.
I'm installing on a 2nd generation Mac Mini for dual boot using the XFCE 64bit install cd.
I followed these instructions: http://www.maclife.com/article/howtos/i … x_your_mac
So far I have
1.) installed refit successfully,
2.) resized my OS X partition (after several headaches and repairing my hard disk twice with the OS X live cd's disk utility)
3.) via step 2 I ran the boot camp assistant to create an 80gb dummy partition (later deleted in step 5)
4.) booted from the Statler live CD by holding the c-key to boot from CD (apparently the key required depends on the Mac model, which foiled my first attempts)
5.) ran gparted in the live-session and deleted the dummy partition.
6.) I then rebooted, re-inserted the disc and booted from the Statler live CD again, this time running the graphical installer.
7.) I went through the graphical installer steps normally, using the option for "largest contiguous space" for the install partition.
8.) *What had messed me up for a while* I installed grub to the master boot record, rebooted after install completed, selected linux from the refit menu and got a beautiful "cannot locate boot drive, please insert disk and press any key to continue" message.
I hard-rebooted and then booted into OS X and checked the internet instructions, realizing I missed the step that said, "VERY IMPORTANT" because it was on page 2... Don't install to the MBR, install to the same drive that the linux partition is.
8.)*Re-attempted* I tried the install again, this time selecting /dev/sda4 instead of MBR for grub, and got a failure again. Or so I thought.
9.) On the Refit bootloader screen I ran the refit partition tool and allowed it to correct its entries (sync). This was not clearly labeled in the manuals as "sync" but it's a necessary step.
10.) Reboot again, and select Boot Linux From Partition 4
11.) Crunchbang loads without sound.
11.5.) I tried to upgrade to testing, blew up the install and had to start over.
12.) Post re-install I edited /etc/modprobe.d/alsa-base.conf and added
options snd-hda-intel model=imac24then ran
sudo alsa force-reloadand now have functioning sound!
Yay! Success!
Last edited by orionthehunter (2011-11-04 13:41:52)
一期一会 Let it be good.
My Screenshots - Blog
Offline
YES! We are GO for #!
From number 8.) above I found the only thing I hadn't done was run the refit sync through it's partition tool. Doing so allowed me to boot from the linux partition I made.
I'm super happy to be posting this from my Mac Mini running #! Statler :-D
Surprisingly only a couple headaches from the process.
一期一会 Let it be good.
My Screenshots - Blog
Offline
Do you mind putting some links here about the instructions you used?
Thank you in advance.
Offline
Sure... I'm going to re-install anyway, I borked it trying to upgrade to Testing.
一期一会 Let it be good.
My Screenshots - Blog
Offline
So, Debian Testing (via updated sources in #! or through LMDE) really doesn't seem to play nice with my Mac Mini. I think it must be a graphics card or kernel issue, as neither one can get signal to my monitor. Back to Debian Stable I go! Just happy to have some kinda linux on this machine anyway.
Last edited by orionthehunter (2011-10-29 07:01:16)
一期一会 Let it be good.
My Screenshots - Blog
Offline
Congrats on getting this working and +1 to luc's suggestion for links.....
.signature
Offline
Hmmm. Do we have any audio experts in the house?
I've been trying to troubleshoot my lack of audio by following various forums out there. They seem to mostly suggest adding various modules to /etc/modprobe.d/alsa-base.conf but none of those seemed to work for me. I don't know where they were comparing the sound cards/codecs to the kernel modules though? That information alone would be useful.
For starters here's my
lspci | grep -i audio
00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)and
cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC889AIn alsamixer my master is not muted and is set to a reasonable level, I get sound in OS X with all my hardware turned on and set as is. I'm trying to get sound out of USB speakers.
一期一会 Let it be good.
My Screenshots - Blog
Offline
Plug them in and run
aplay -lOffline
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0一期一会 Let it be good.
My Screenshots - Blog
Offline
Seems there's no module being loaded for the speakers. Continue with
lsmodWhat brand are your speakers? (caveat: I know very little about this issue, this is just running diagnostics)
Offline
lsmod
Module Size Used by
parport_pc 18855 0
ppdev 5030 0
lp 7462 0
parport 27954 3 parport_pc,ppdev,lp
sco 7225 2
bridge 39646 0
rfcomm 29629 8
stp 1440 1 bridge
bnep 9427 2
l2cap 24752 16 rfcomm,bnep
fuse 50924 1
loop 11799 0
firewire_sbp2 11514 0
snd_hda_codec_realtek 235618 1
snd_hda_intel 20035 6
snd_hda_codec 54244 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5380 1 snd_hda_codec
snd_pcm_oss 32607 0
snd_mixer_oss 12606 1 snd_pcm_oss
snd_pcm 60487 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 4400 0
snd_rawmidi 15515 1 snd_seq_midi
snd_seq_midi_event 4628 1 snd_seq_midi
nouveau 353128 2
snd_seq 42881 2 snd_seq_midi,snd_seq_midi_event
ttm 40162 1 nouveau
applesmc 23514 0
snd_timer 15598 3 snd_pcm,snd_seq
drm_kms_helper 20369 1 nouveau
led_class 2433 1 applesmc
snd_seq_device 4493 3 snd_seq_midi,snd_rawmidi,snd_seq
drm 142279 4 nouveau,ttm,drm_kms_helper
i2c_algo_bit 4225 1 nouveau
btusb 9913 2
snd 46526 21 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
bluetooth 41827 9 sco,rfcomm,bnep,l2cap,btusb
soundcore 4598 1 snd
rfkill 13044 2 bluetooth
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm
shpchp 26264 0
processor 29935 2
pcspkr 1699 0
pci_hotplug 21587 1 shpchp
i2c_nforce2 5280 0
input_polldev 1967 1 applesmc
i2c_core 15819 5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
evdev 7352 12
ext4 288350 1
mbcache 5050 1 ext4
jbd2 67015 1 ext4
crc16 1319 2 l2cap,ext4
hid_apple 4594 0
usbhid 33292 0
hid 63257 2 hid_apple,usbhid
sg 24069 0
sr_mod 12602 0
cdrom 29415 1 sr_mod
sd_mod 29921 3
crc_t10dif 1276 1 sd_mod
ata_generic 3239 0
ohci_hcd 19343 0
firewire_ohci 19676 0
ahci 32534 2
ssb 38698 0
thermal 11674 0
mmc_core 45702 1 ssb
pcmcia 19474 1 ssb
pcmcia_core 24118 2 ssb,pcmcia
firewire_core 36848 2 firewire_sbp2,firewire_ohci
crc_itu_t 1307 1 firewire_core
ehci_hcd 32081 0
forcedeth 45448 0
thermal_sys 11942 2 processor,thermal
libata 133776 2 ata_generic,ahci
button 4650 1 nouveau
scsi_mod 126533 5 firewire_sbp2,sg,sr_mod,sd_mod,libata
usbcore 122674 5 btusb,usbhid,ohci_hcd,ehci_hcd
nls_base 6377 1 usbcore一期一会 Let it be good.
My Screenshots - Blog
Offline
Speakers are Buffalo, they're LED lit, tiny little jobs that get the sound played (normally).
I appreciate the diagnostics tour anyway el_koraco
一期一会 Let it be good.
My Screenshots - Blog
Offline
snd 46526 21 .. snd_pcm_oss,snd_mixer_oss..Are you using OSS as your sound system? If not, try
sudo modprobe snd_usb_audioPlug your USB speakers in again, and run aplay -l to see if they're recognized.
Offline
I dunno if I'm using OSS? It's possible I've messed up configurations from troubleshooting.
After running sudo modprobe snd_usb_audio, then unplugging and replugging in speakers I have no change in the result of aplay -l.
BTW, what will it look like if my speakers ARE being recognized?
一期一会 Let it be good.
My Screenshots - Blog
Offline
Kinda like this, but adjusted for your hw
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Speaker [Logitech Speaker], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Dunno. Your speaker might require a different kernel module, but I'm not sure which one. Most USB speaker are made according to open standards, but some geniuses weight them down with proprietary drivers. I suggest you google your speaker model in relation to terms like "linux", "linux kernel module", "alsa", "debian".
look at here as well http://wiki.debian.org/ALSA
Offline
This seems really unlikely, as I've had these speakers plugged into a laptop running crunchbang before... I'm not saying you're wrong its just my instincts tell me the problem lies elsewhere.
一期一会 Let it be good.
My Screenshots - Blog
Offline
Ah, so they were working? Try to reboot then.
Offline
No, sorry, they were working on a different machine. I think I'm gonna let the machine be soundless for tonight, take a crack at it again when I have more mental energy. Thanks a lot for your guidance!
Last edited by orionthehunter (2011-10-29 12:35:38)
一期一会 Let it be good.
My Screenshots - Blog
Offline
if the other machine is still up and running with #!, you might wanna plug them in there, run
aplay -l
lsmod
lsusb
and post the output of all of these here.
Last edited by el_koraco (2011-10-29 12:42:39)
Offline
Just for completeness, what kernel do you have installed? I recently lost sound on my netbook with the default 2.6.32 Squeeze kernel; you could try Liquorix from the Statler repo.
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
Perhaps I spoke to soon. I booted up my crunchbang laptop, plugged the speakers in and found that the audio here is coming from the laptop speakers not the USB ones. As requested
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Modem [Intel ICH6 Modem], device 0: Intel ICH - Modem [Intel ICH6 Modem - Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0lsmod
Module Size Used by
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
sco 5885 2
bridge 32883 0
stp 996 1 bridge
bnep 7384 2
rfcomm 25107 8
l2cap 21709 16 bnep,rfcomm
usbhid 27872 0
hid 50841 1 usbhid
aes_i586 6816 2
aes_generic 25738 1 aes_i586
lib80211_crypt_ccmp 3643 2
binfmt_misc 4875 1
fuse 44052 1
loop 9729 0
firewire_sbp2 9579 0
snd_intel8x0 19595 1
snd_intel8x0m 8100 0
snd_ac97_codec 79148 2 snd_intel8x0,snd_intel8x0m
ac97_bus 710 1 snd_ac97_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47226 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12513 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
yenta_socket 16403 1
snd_seq 35327 2 snd_seq_midi,snd_seq_midi_event
rsrc_nonstatic 7057 1 yenta_socket
btusb 8097 2
bluetooth 36251 9 sco,bnep,rfcomm,l2cap,btusb
snd_timer 12258 2 snd_pcm,snd_seq
joydev 6739 0
dell_laptop 1557 0
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
rfkill 10196 3 bluetooth,dell_laptop
ipw2200 108264 0
snd 34387 12 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
psmouse 44777 0
dcdbas 3860 1 dell_laptop
ac 1640 0
libipw 18403 1 ipw2200
rng_core 2178 0
snd_page_alloc 4977 3 snd_intel8x0,snd_intel8x0m,snd_pcm
lib80211 2834 3 lib80211_crypt_ccmp,ipw2200,libipw
pcspkr 1207 0
battery 3782 0
evdev 5609 12
processor 26259 1
serio_raw 2916 0
ext4 256264 1
mbcache 3762 1 ext4
jbd2 55931 1 ext4
crc16 1027 2 l2cap,ext4
sg 19905 0
sr_mod 10770 0
sd_mod 25937 3
cdrom 26487 1 sr_mod
crc_t10dif 1012 1 sd_mod
ata_generic 2067 0
radeon 511276 2
b44 18368 0
sdhci_pci 4493 0
ttm 33258 1 radeon
ata_piix 17704 2
sdhci 12079 1 sdhci_pci
ssb 33578 1 b44
drm_kms_helper 18533 1 radeon
ahci 27378 0
uhci_hcd 15989 0
firewire_ohci 16693 0
mmc_core 38277 2 sdhci,ssb
pcmcia 16194 1 ssb
drm 111844 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 3497 1 radeon
thermal 9206 0
libata 115513 3 ata_generic,ata_piix,ahci
video 14605 0
output 1204 1 video
led_class 1757 1 sdhci
firewire_core 31107 2 firewire_sbp2,firewire_ohci
crc_itu_t 1035 1 firewire_core
pcmcia_core 20414 4 yenta_socket,rsrc_nonstatic,ssb,pcmcia
mii 2714 1 b44
button 3598 0
ehci_hcd 28453 0
thermal_sys 9378 3 processor,thermal,video
i2c_core 12751 4 radeon,drm_kms_helper,drm,i2c_algo_bit
scsi_mod 104613 5 firewire_sbp2,sg,sr_mod,sd_mod,libata
usbcore 98541 5 usbhid,btusb,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcorelsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 056e:0035 Elecom Co., Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubYou're right that they don't appear to be showing up...
@pvsage: I was using the standard 64bit kernel that ships with statler, installed liquorix just now to give it a go.
一期一会 Let it be good.
My Screenshots - Blog
Offline
Wait a sec... I made a stupid mistake... lol, forgot to switc the headphone jack to the laptop
Last edited by orionthehunter (2011-10-30 00:57:10)
一期一会 Let it be good.
My Screenshots - Blog
Offline
One more time with the plugs in (audio does come out of the speakers now)
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Modem [Intel ICH6 Modem], device 0: Intel ICH - Modem [Intel ICH6 Modem - Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0lsmod
Module Size Used by
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
sco 5885 2
bridge 32883 0
stp 996 1 bridge
bnep 7384 2
rfcomm 25107 8
l2cap 21709 16 bnep,rfcomm
usbhid 27872 0
hid 50841 1 usbhid
aes_i586 6816 2
aes_generic 25738 1 aes_i586
lib80211_crypt_ccmp 3643 2
binfmt_misc 4875 1
fuse 44052 1
loop 9729 0
firewire_sbp2 9579 0
snd_intel8x0 19595 3
snd_intel8x0m 8100 0
snd_ac97_codec 79148 2 snd_intel8x0,snd_intel8x0m
ac97_bus 710 1 snd_ac97_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47226 5 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12513 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
yenta_socket 16403 1
snd_seq 35327 2 snd_seq_midi,snd_seq_midi_event
rsrc_nonstatic 7057 1 yenta_socket
btusb 8097 2
bluetooth 36251 9 sco,bnep,rfcomm,l2cap,btusb
snd_timer 12258 3 snd_pcm,snd_seq
joydev 6739 0
dell_laptop 1557 0
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
rfkill 10196 3 bluetooth,dell_laptop
ipw2200 108264 0
snd 34387 14 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
psmouse 44777 0
dcdbas 3860 1 dell_laptop
ac 1640 0
libipw 18403 1 ipw2200
rng_core 2178 0
snd_page_alloc 4977 3 snd_intel8x0,snd_intel8x0m,snd_pcm
lib80211 2834 3 lib80211_crypt_ccmp,ipw2200,libipw
pcspkr 1207 0
battery 3782 0
evdev 5609 12
processor 26259 1
serio_raw 2916 0
ext4 256264 1
mbcache 3762 1 ext4
jbd2 55931 1 ext4
crc16 1027 2 l2cap,ext4
sg 19905 0
sr_mod 10770 0
sd_mod 25937 3
cdrom 26487 1 sr_mod
crc_t10dif 1012 1 sd_mod
ata_generic 2067 0
radeon 511276 2
b44 18368 0
sdhci_pci 4493 0
ttm 33258 1 radeon
ata_piix 17704 2
sdhci 12079 1 sdhci_pci
ssb 33578 1 b44
drm_kms_helper 18533 1 radeon
ahci 27378 0
uhci_hcd 15989 0
firewire_ohci 16693 0
mmc_core 38277 2 sdhci,ssb
pcmcia 16194 1 ssb
drm 111844 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 3497 1 radeon
thermal 9206 0
libata 115513 3 ata_generic,ata_piix,ahci
video 14605 0
output 1204 1 video
led_class 1757 1 sdhci
firewire_core 31107 2 firewire_sbp2,firewire_ohci
crc_itu_t 1035 1 firewire_core
pcmcia_core 20414 4 yenta_socket,rsrc_nonstatic,ssb,pcmcia
mii 2714 1 b44
button 3598 0
ehci_hcd 28453 0
thermal_sys 9378 3 processor,thermal,video
i2c_core 12751 4 radeon,drm_kms_helper,drm,i2c_algo_bit
scsi_mod 104613 5 firewire_sbp2,sg,sr_mod,sd_mod,libata
usbcore 98541 5 usbhid,btusb,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcorelsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 056e:0035 Elecom Co., Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubAnd for extra testing I plugged in a pair of headphones to the Mac and played a flac in VLC. No sound through the headphones either.
一期一会 Let it be good.
My Screenshots - Blog
Offline
damnit...
installing the liquorix kernel appears to have completely borked the system. Now neither kernel will complete the boot process. Damned tempermental hardware!
一期一会 Let it be good.
My Screenshots - Blog
Offline
Ok. Can you go to VLC preferences, the audio section, choose the ALSA output specifically and look to see if your USB speakers are listed as a device? I'll browse through your stats tomorrow and see if I can discover something.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.