LINUX.ORG.RU

USB 3.0 и Gentoo

 ,


0

1

Добрый день! Хочу включить поддержку usb 3.0 но не знаю как. Подскажите пожалуйста!

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64) 
================================================================= 
System uname: Linux-3.12.13-gentoo-x86_64-AMD_A10-5700_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2 
KiB Mem:    15802444 total,  13653836 free 
KiB Swap:   16383996 total,  16383996 free 
Timestamp of tree: Mon, 15 Sep 2014 06:30:01 +0000 
ld GNU ld (GNU Binutils) 2.23.2 
app-shells/bash:          4.2_p45 
dev-java/java-config:     2.2.0 
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1 
dev-util/cmake:           2.8.12.2-r1 
sys-apps/baselayout:      2.2 
sys-apps/openrc:          0.12.4 
sys-apps/sandbox:         2.6-r1 
sys-devel/autoconf:       2.13, 2.69 
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4 
sys-devel/binutils:       2.23.2 
sys-devel/gcc:            4.7.3-r1 
sys-devel/gcc-config:     1.7.3 
sys-devel/libtool:        2.4.2-r1 
sys-devel/make:           3.82-r4 
sys-kernel/linux-headers: 3.13 (virtual/os-headers) 
sys-libs/glibc:           2.17 
Repositories: gentoo php unity-gentoo elementary stuff 
ACCEPT_KEYWORDS="amd64" 
ACCEPT_LICENSE="* -@EULA" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=native -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" 
CXXFLAGS="-march=native -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FCFLAGS="-O2 -pipe" 
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" 
FFLAGS="-O2 -pipe" 
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles http://gentoo.bloodhost.ru/ ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/" 
LANG="ru_RU.UTF-8" 
LC_ALL="en_US.utf8" 
LDFLAGS="-Wl,-O1 -Wl,--as-needed" 
MAKEOPTS="-j5" 
PKGDIR="/usr/portage/packages" 
PORTAGE_CONFIGROOT="/" 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/var/lib/layman/php /var/lib/layman/unity-gentoo /var/lib/layman/elementary /var/lib/layman/stuff" 
USE="X a52 aac acl acpi alsa amd64 audio avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdparanoia cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gimp git gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gtk3 gzip iconv imap introspection ios ipod ipv6 iso jabber jingle jpeg jpeg2k lame lcms ldap libnotify libsecret linotify lm_sensors lock lzma mad matroska miner-fs mmx mng modules mp3 mp4 mpeg mplayer multilib nautilus ncurses nls nptl ogg opengl openmp oss pam pango pcre pdf php png policykit polkit ppds pulseaudio qt3support qt4 readline rss sdl session smp socialweb sound spell sse sse2 ssl startup-notification svg systemd tcpd thunar tiff truetype udev udisks unicode upnp upnp-av upower usb vim-syntax vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USE_PYTHON="2.7 3.3" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC 

Заранее спасибо!

Ответ на: комментарий от mathcrosp
zion egor # lsmod
Module                  Size  Used by
vboxvideo               1878  0 
vboxnetadp             17734  0 
vboxnetflt             15666  0 
vboxdrv              1809181  2 vboxnetadp,vboxnetflt
uvcvideo               70488  0 
videobuf2_vmalloc       2808  1 uvcvideo
snd_usb_audio         113570  1 
snd_usbmidi_lib        18989  1 snd_usb_audio
snd_rawmidi            18112  1 snd_usbmidi_lib
videobuf2_memops        1807  1 videobuf2_vmalloc
videobuf2_core         27375  1 uvcvideo
videodev              104994  2 uvcvideo,videobuf2_core
xhci_hcd              122799  0 
zion egor # 

egordorichev ()
Ответ на: комментарий от egordorichev

Система стоит на реальном железе или в виртуальной машине?

yura_ts ★★ ()

Почему решил, что поддержка не включена? Давай выхлоп dmesg после вставки устройства.

mkam ()
Ответ на: комментарий от egordorichev

А что за девайс? Возможно, необходимо включить поддержку UAS.

mathcrosp ★★ ()
Ответ на: комментарий от mkam
[ 4070.717902] xhci_hcd 0000:00:10.0: @ffff8803bbf76014 (virt) @3bbf76014 (dma) 0x000000 - rsvd[1]
[ 4070.717906] xhci_hcd 0000:00:10.0: @ffff8803bbf76018 (virt) @3bbf76018 (dma) 0x000000 - rsvd[2]
[ 4070.717910] xhci_hcd 0000:00:10.0: @ffff8803bbf7601c (virt) @3bbf7601c (dma) 0x000000 - rsvd[3]
[ 4070.717914] xhci_hcd 0000:00:10.0: IN Endpoint 00 Context (ep_index 00):
[ 4070.717918] xhci_hcd 0000:00:10.0: @ffff8803bbf76020 (virt) @3bbf76020 (dma) 0x000001 - ep_info
[ 4070.717921] xhci_hcd 0000:00:10.0: @ffff8803bbf76024 (virt) @3bbf76024 (dma) 0x400026 - ep_info2
[ 4070.717925] xhci_hcd 0000:00:10.0: @ffff8803bbf76028 (virt) @3bbf76028 (dma) 0x4283b9801 - deq
[ 4070.717929] xhci_hcd 0000:00:10.0: @ffff8803bbf76030 (virt) @3bbf76030 (dma) 0x000000 - tx_info
[ 4070.717933] xhci_hcd 0000:00:10.0: @ffff8803bbf76034 (virt) @3bbf76034 (dma) 0x000000 - rsvd[0]
[ 4070.717937] xhci_hcd 0000:00:10.0: @ffff8803bbf76038 (virt) @3bbf76038 (dma) 0x000000 - rsvd[1]
[ 4070.717941] xhci_hcd 0000:00:10.0: @ffff8803bbf7603c (virt) @3bbf7603c (dma) 0x000000 - rsvd[2]
[ 4070.717944] xhci_hcd 0000:00:10.0: OUT Endpoint 01 Context (ep_index 01):
[ 4070.717948] xhci_hcd 0000:00:10.0: @ffff8803bbf76040 (virt) @3bbf76040 (dma) 0x000001 - ep_info
[ 4070.717952] xhci_hcd 0000:00:10.0: @ffff8803bbf76044 (virt) @3bbf76044 (dma) 0x2000016 - ep_info2
[ 4070.717956] xhci_hcd 0000:00:10.0: @ffff8803bbf76048 (virt) @3bbf76048 (dma) 0x3bfe0e401 - deq
[ 4070.717959] xhci_hcd 0000:00:10.0: @ffff8803bbf76050 (virt) @3bbf76050 (dma) 0x000000 - tx_info
[ 4070.717963] xhci_hcd 0000:00:10.0: @ffff8803bbf76054 (virt) @3bbf76054 (dma) 0x000000 - rsvd[0]
[ 4070.717967] xhci_hcd 0000:00:10.0: @ffff8803bbf76058 (virt) @3bbf76058 (dma) 0x000000 - rsvd[1]
[ 4070.717971] xhci_hcd 0000:00:10.0: @ffff8803bbf7605c (virt) @3bbf7605c (dma) 0x000000 - rsvd[2]
[ 4070.717974] xhci_hcd 0000:00:10.0: IN Endpoint 01 Context (ep_index 02):
[ 4070.717978] xhci_hcd 0000:00:10.0: @ffff8803bbf76060 (virt) @3bbf76060 (dma) 0x000000 - ep_info
[ 4070.717981] xhci_hcd 0000:00:10.0: @ffff8803bbf76064 (virt) @3bbf76064 (dma) 0x000000 - ep_info2
[ 4070.717985] xhci_hcd 0000:00:10.0: @ffff8803bbf76068 (virt) @3bbf76068 (dma) 0x000000 - deq
[ 4070.717989] xhci_hcd 0000:00:10.0: @ffff8803bbf76070 (virt) @3bbf76070 (dma) 0x000000 - tx_info
[ 4070.717992] xhci_hcd 0000:00:10.0: @ffff8803bbf76074 (virt) @3bbf76074 (dma) 0x000000 - rsvd[0]
[ 4070.717996] xhci_hcd 0000:00:10.0: @ffff8803bbf76078 (virt) @3bbf76078 (dma) 0x000000 - rsvd[1]
[ 4070.718000] xhci_hcd 0000:00:10.0: @ffff8803bbf7607c (virt) @3bbf7607c (dma) 0x000000 - rsvd[2]
[ 4070.718004] xhci_hcd 0000:00:10.0: OUT Endpoint 02 Context (ep_index 03):
[ 4070.718007] xhci_hcd 0000:00:10.0: @ffff8803bbf76080 (virt) @3bbf76080 (dma) 0x000000 - ep_info
[ 4070.718011] xhci_hcd 0000:00:10.0: @ffff8803bbf76084 (virt) @3bbf76084 (dma) 0x000000 - ep_info2
[ 4070.718015] xhci_hcd 0000:00:10.0: @ffff8803bbf76088 (virt) @3bbf76088 (dma) 0x000000 - deq
[ 4070.718018] xhci_hcd 0000:00:10.0: @ffff8803bbf76090 (virt) @3bbf76090 (dma) 0x000000 - tx_info
[ 4070.718022] xhci_hcd 0000:00:10.0: @ffff8803bbf76094 (virt) @3bbf76094 (dma) 0x000000 - rsvd[0]
[ 4070.718026] xhci_hcd 0000:00:10.0: @ffff8803bbf76098 (virt) @3bbf76098 (dma) 0x000000 - rsvd[1]
[ 4070.718030] xhci_hcd 0000:00:10.0: @ffff8803bbf7609c (virt) @3bbf7609c (dma) 0x000000 - rsvd[2]
[ 4070.718033] xhci_hcd 0000:00:10.0: IN Endpoint 02 Context (ep_index 04):
[ 4070.718037] xhci_hcd 0000:00:10.0: @ffff8803bbf760a0 (virt) @3bbf760a0 (dma) 0x000001 - ep_info
[ 4070.718040] xhci_hcd 0000:00:10.0: @ffff8803bbf760a4 (virt) @3bbf760a4 (dma) 0x2000036 - ep_info2
[ 4070.718044] xhci_hcd 0000:00:10.0: @ffff8803bbf760a8 (virt) @3bbf760a8 (dma) 0x8cdbc001 - deq
[ 4070.718048] xhci_hcd 0000:00:10.0: @ffff8803bbf760b0 (virt) @3bbf760b0 (dma) 0x000000 - tx_info
[ 4070.718051] xhci_hcd 0000:00:10.0: @ffff8803bbf760b4 (virt) @3bbf760b4 (dma) 0x000000 - rsvd[0]
[ 4070.718055] xhci_hcd 0000:00:10.0: @ffff8803bbf760b8 (virt) @3bbf760b8 (dma) 0x000000 - rsvd[1]
[ 4070.718059] xhci_hcd 0000:00:10.0: @ffff8803bbf760bc (virt) @3bbf760bc (dma) 0x000000 - rsvd[2]
[ 4070.718067] xhci_hcd 0000:00:10.0: Endpoint 0x1 not halted, refusing to reset.
[ 4070.718071] xhci_hcd 0000:00:10.0: Endpoint 0x82 not halted, refusing to reset.
[ 4070.718365] usb 5-2: adding 5-2:1.0 (config #1, interface 0)
[ 4070.718464] usb-storage 5-2:1.0: usb_probe_interface
[ 4070.718477] usb-storage 5-2:1.0: usb_probe_interface - got id
[ 4070.718482] usb-storage 5-2:1.0: USB Mass Storage device detected
[ 4070.718713] scsi9 : usb-storage 5-2:1.0
[ 4071.721033] scsi 9:0:0:0: Direct-Access     USB1010A Flash Disk       8.00 PQ: 0 ANSI: 2
[ 4071.721190] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 4071.721888] sd 9:0:0:0: [sdc] 3889152 512-byte logical blocks: (1.99 GB/1.85 GiB)
[ 4071.721970] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.721974] xhci_hcd 0000:00:10.0: Giveback URB ffff88042832b480, len = 4, expected = 192, status = -121
[ 4071.722136] sd 9:0:0:0: [sdc] Write Protect is off
[ 4071.722138] sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 4071.722220] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.722223] xhci_hcd 0000:00:10.0: Giveback URB ffff88042832b480, len = 4, expected = 192, status = -121
[ 4071.722274] sd 9:0:0:0: [sdc] No Caching mode page found
[ 4071.722277] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 4071.724688] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.724693] xhci_hcd 0000:00:10.0: Giveback URB ffff8800931bad80, len = 4, expected = 192, status = -121
[ 4071.725003] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.725006] xhci_hcd 0000:00:10.0: Giveback URB ffff8800931bad80, len = 4, expected = 192, status = -121
[ 4071.725060] sd 9:0:0:0: [sdc] No Caching mode page found
[ 4071.725063] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 4071.998298]  sdc: sdc1
[ 4071.999224] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.999237] xhci_hcd 0000:00:10.0: Giveback URB ffff880428c57600, len = 4, expected = 192, status = -121
[ 4071.999388] xhci_hcd 0000:00:10.0: ep 0x82 - asked for 192 bytes, 188 bytes untransferred
[ 4071.999395] xhci_hcd 0000:00:10.0: Giveback URB ffff880428c57600, len = 4, expected = 192, status = -121
[ 4071.999457] sd 9:0:0:0: [sdc] No Caching mode page found
[ 4071.999463] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 4071.999469] sd 9:0:0:0: [sdc] Attached SCSI removable disk
[ 4072.287055] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

egordorichev ()
Ответ на: комментарий от egordorichev

Устройство, как ты видишь, определяется. Если есть под рукой Вин, то перегружайся, сделай бекап файлов на USB-stick'e, и отформатируй его по новой. Обрати внимание в какую файловую систему форматируешь под вин.

Либо же в Генте от рута выполни fsck.vfat -t -a -w /dev/sdс1
Но в таком случае за сохранность файлов я не ручаюсь.

mkam ()
Ответ на: комментарий от egordorichev

Ещё как вариант, что у тебя просто автоматическое монтирование не работает :) Попробуй вручную примонтировать устройство.

mkam ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.