![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#11 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2005
Beans: 12
|
Re: HP/Compaq nc6000
Quote:
Otherwise I'm using the Debian SID for regular work on it for a year now. What's not work for me : sdcard reader and infraport, |
|
|
|
|
|
#12 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Location: Poland
Beans: 3
Ubuntu 8.04 Hardy Heron
|
Re: HP/Compaq nc6000
|
|
|
|
|
#13 | |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Beans: 72
|
Re: HP/Compaq nc6000
Quote:
Save this to a file named "sdhci", use ( chmod +x sdhci ) to make it executable, and run it with sudo to see if it works( sudo sdhci ): Code:
#!/bin/sh
# from:
#http://ubuntuforums.org/showthread.php?p=1614392#post1614392
#
# Get lsb functions
. /lib/lsb/init-functions
LSPCI_ADDRESS=`lspci | grep "FlashMedia" | cut -d " " -f 1`
case "$1" in
start)
log_begin_msg "Configuring card reader"
modprobe fakephp || return 1
setpci -s ${LSPCI_ADDRESS} 86.b=90
setpci -s ${LSPCI_ADDRESS} 4c.b=02 # FlashMedia SD disable
setpci -s ${LSPCI_ADDRESS} 04.b=06 # SDHCI Mem+ BusMaster+
setpci -s ${LSPCI_ADDRESS} 88.b=01 # SDHCI DMA enable
modprobe sdhci || return 1
log_end_msg $?
;;
stop)
log_begin_msg "Shutting down card reader"
modprobe -r sdhci
lsmod | grep -q sdhci && return 1
setpci -s ${LSPCI_ADDRESS} 88.b=00 # SDHCI DMA disable
setpci -s ${LSPCI_ADDRESS} 04.b=07 # SDHCI Mem- BusMaster-
setpci -s ${LSPCI_ADDRESS} 4c.b=00 # FlashMedia SD enable
setpci -s ${LSPCI_ADDRESS} 86.b=d0
modprobe -r fakephp
log_end_msg $?
;;
*)
log_success_msg "Usage: /etc/init.d/sdhci start|stop"
exit 1
;;
esac
exit 0
Last edited by locutus42; May 11th, 2007 at 11:21 AM.. Reason: clarify what device the script works on and where I got that information. |
|
|
|
|
|
#14 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Location: Poland
Beans: 3
Ubuntu 8.04 Hardy Heron
|
Re: HP/Compaq nc6000
If I run this it looks like that:
Code:
root@anilap:/etc/init.d# /etc/init.d/sdhci start * Configuring card reader setpci: -s: Invalid slot number setpci: -s: Invalid slot number setpci: -s: Invalid function number setpci: -s: Invalid slot number Code:
setpci -s ${LSPCI_ADDRESS} 86.b=90
setpci -s ${LSPCI_ADDRESS} 4c.b=02 # FlashMedia SD disable
setpci -s ${LSPCI_ADDRESS} 04.b=06 # SDHCI Mem+ BusMaster+
setpci -s ${LSPCI_ADDRESS} 88.b=01 # SDHCI DMA enable
Code:
root@anilap:/etc/init.d# lspci | grep CardBus 02:06.0 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller 02:06.1 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller 02:06.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus Accelerator 02:06.3 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller |
|
|
|
|
#15 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Beans: 72
|
Re: HP/Compaq nc6000
Sorry but as noted in my entry, the script only works with the TI SD chip and it also lists where I got the information. So the reason it's failing with that error is because the "lspci" line in the script is not finding anything with the "FlashMedia" string in it.
I will move that line stating that the script only works for the TI SD FlashMedia chip to the top of the entry. I was hopeful that the nc6000 also used the TI SD chip since the zv6000 and R4000 use it. |
|
|
|
|
#16 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 5
|
Re: HP/Compaq nc6000
Thanks, locutus42, that script worked perfectly for me (zv6000). First time in the year I've been using Ubuntu that I've been able to write to my SD cards.
|
|
|
|
|
#17 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2008
Beans: 2
|
Hello,
Ubuntu runs fine on a HP NC6000 for me (7.04) with XGL the only problem u might encounter is the driver for the wireless card. But its easy to find. Video & Sound work 100%. Ubuntu 7.10 is crap... i mean i have not gotten XGL to work on it it keeps giving me an error "Could Not Enable Desktop Effects" or something like that.. but every thing else works fine.. I bought this NEW NC6000 in 2007 (less than 6 months actually) u might wonder how i got a new one well its a long story.. try the live cd before u install it.. then ull know what works.. if u know how to make XGL work on ubuntu7.10 then pls post.. because if i use live cd and update graphic driver it wants me to restart that way XGL will work. without installing ubuntu how will XGL work? thanks... |
|
|
|
|
#18 | |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Beans: 72
|
Re: HP/Compaq nc6000
Quote:
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|