/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
MP5-afspiller - igen (Ubuntu 9.04)
Fra : Thomas Jensen


Dato : 25-03-09 11:12

Som nogen måske kan huske, skrev jeg for et par uger siden om at jeg
har købt en MP5-afspiller (som jo bare er en MP3-afspiller med stor
skærm?). Når jeg tilslutter den til min Zepto 3215 notebook med Ubuntu
9.04, går afspilleren i USB-mode, men lsusb registrerer ikke den er
tilsluttet. dmesg viser den bliver tilsluttet, men disconnecter så, og
efter et stykke tid prøver den igen at connecte, uden held.... [1]

Det mærkelige er så, at hvis jeg tilslutter den min anden computer der
kører Windows XP, hvor den bliver fundet, og derefter tilslutter den
Ubuntu-pc'en igen, så bliver den fundet og automounter uden problemer.

lsusb kan nu 'se' den, og fortæller det er en "ID 0525:a4a5 Netchip
Technology, Inc. Linux-USB File Storage Gadget". Altså, ubuntu/Linux
kender min afspiller. Den finder den bare ikke i første omgang.

Jeg skal iøvrigt lige nævne, at jeg har prøvet at boote op på en ubuntu-
cd på den pc der normalt kører windows, for at sikre mig at det ikke
drejede sig om selve usb-portene - og den blev ikke fundet. Altså, på den
samme pc blev den fundet under windows xp, men ikke under Ubuntu.

Hvad sker der når den bliver tilsluttet windows-computeren, som gør, at
den efterfølgende kan 'ses' af Ubuntu? Da jeg spurgte for et par uger
siden, var et bud, at den ikke fik power nok når den blev tilsluttet
Ubuntu-pc'en. Det fik den til gengæld på Windows-pc'en, og når den
efterfølgende blev tilsluttet Ubuntu-pc'en, så havde den fået den strøm
den skulle bruge for at identificere sig selv ordenligt overfor Ubuntu...
eller noget i den stil.

Og nu er mit spørgsmål så -- kan man få ubuntu til at levere noget mere
power til USB-porten? Eller hvad skal der til? Det er da lidt underligt
at Ubuntu kender min afspiller - eller ihvertfald ved at 0525:a4a5 er en
"Netchip Technology, Inc. Linux-USB File Storage Gadget" - og at den så
ikke kan tilslutte den.



[1] dmesg:

[ 5584.216194] usb 2-1: new high speed USB device using ehci_hcd and address 3
[ 5584.577703] usb 2-1: configuration #1 chosen from 1 choice
[ 5594.614564] Initializing USB Mass Storage driver...
[ 5604.585282] scsi4 : SCSI emulation for USB Mass Storage devices
[ 5604.585595] usbcore: registered new interface driver usb-storage
[ 5604.585603] USB Mass Storage support registered.
[ 5604.585802] usb-storage: device found at 3
[ 5604.585807] usb-storage: waiting for device to settle before scanning
[ 5609.584680] usb-storage: device scan complete
[ 5609.585355] scsi 4:0:0:0: Direct-Access Ingenic JzSOC USB-DISK 0100 PQ: 0 ANSI: 0
[ 5609.585875] scsi 4:0:0:1: Direct-Access Ingenic JzSOC USB-DISK 0100 PQ: 0 ANSI: 0
[ 5609.588658] sd 4:0:0:0: [sdb] 16105472 512-byte hardware sectors: (8.24 GB/7.67 GiB)
[ 5609.589402] sd 4:0:0:0: [sdb] Write Protect is off
[ 5609.589410] sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 5609.589418] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5609.591153] sd 4:0:0:0: [sdb] 16105472 512-byte hardware sectors: (8.24 GB/7.67 GiB)
[ 5609.591647] sd 4:0:0:0: [sdb] Write Protect is off
[ 5609.591653] sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 5609.591658] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5609.591666] sdb:<6>usb 2-1: USB disconnect, address 3
[ 5609.768480] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.768492] end_request: I/O error, dev sdb, sector 0
[ 5609.768502] Buffer I/O error on device sdb, logical block 0
[ 5609.768639] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK

[...]

[ 5609.776457] sd 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.776465] end_request: I/O error, dev sdb, sector 0
[ 5609.776481] unable to read partition table
[ 5609.776670] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 5609.776792] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 5609.777028] sd 4:0:0:1: [sdc] READ CAPACITY failed
[ 5609.777033] sd 4:0:0:1: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.777041] sd 4:0:0:1: [sdc] Sense not available.
[ 5609.777071] sd 4:0:0:1: [sdc] Write Protect is off
[ 5609.777076] sd 4:0:0:1: [sdc] Mode Sense: 00 00 00 00
[ 5609.777082] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[ 5609.777259] sd 4:0:0:1: [sdc] Attached SCSI removable disk
[ 5609.777354] sd 4:0:0:1: Attached scsi generic sg3 type 0
[ 5618.004271] usb 2-1: new high speed USB device using ehci_hcd and address 4
[ 5618.366143] usb 2-1: configuration #1 chosen from 1 choice
[ 5625.189909] scsi5 : SCSI emulation for USB Mass Storage devices
[ 5625.191629] usb-storage: device found at 4




--
Thomas Jensen, Horsens

 
 
Thomas Jensen (25-03-2009)
Kommentar
Fra : Thomas Jensen


Dato : 25-03-09 11:23

Den Wed, 25 Mar 2009 10:12:21 +0000 skrev Thomas Jensen:

Øhhh... Der gik vist kuk i linieskiftene. Prøver igen:

[ 5584.216194] usb 2-1: new high speed USB device using ehci_hcd and address 3
[ 5584.577703] usb 2-1: configuration #1 chosen from 1 choice
[ 5594.614564] Initializing USB Mass Storage driver...
[ 5604.585282] scsi4 : SCSI emulation for USB Mass Storage devices
[ 5604.585595] usbcore: registered new interface driver usb-storage
[ 5604.585603] USB Mass Storage support registered.
[ 5604.585802] usb-storage: device found at 3
[ 5604.585807] usb-storage: waiting for device to settle before scanning
[ 5609.584680] usb-storage: device scan complete
[ 5609.585355] scsi 4:0:0:0: Direct-Access Ingenic JzSOC USB-DISK 0100 PQ: 0 ANSI: 0
[ 5609.585875] scsi 4:0:0:1: Direct-Access Ingenic JzSOC USB-DISK 0100 PQ: 0 ANSI: 0
[ 5609.588658] sd 4:0:0:0: [sdb] 16105472 512-byte hardware sectors: (8.24 GB/7.67 GiB)
[ 5609.589402] sd 4:0:0:0: [sdb] Write Protect is off
[ 5609.589410] sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 5609.589418] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5609.591153] sd 4:0:0:0: [sdb] 16105472 512-byte hardware sectors: (8.24 GB/7.67 GiB)
[ 5609.591647] sd 4:0:0:0: [sdb] Write Protect is off
[ 5609.591653] sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
[ 5609.591658] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5609.591666] sdb:<6>usb 2-1: USB disconnect, address 3
[ 5609.768480] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.768492] end_request: I/O error, dev sdb, sector 0
[ 5609.768502] Buffer I/O error on device sdb, logical block 0
[ 5609.768639] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK

[...]

[ 5609.776457] sd 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.776465] end_request: I/O error, dev sdb, sector 0
[ 5609.776481] unable to read partition table
[ 5609.776670] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 5609.776792] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 5609.777028] sd 4:0:0:1: [sdc] READ CAPACITY failed
[ 5609.777033] sd 4:0:0:1: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[ 5609.777041] sd 4:0:0:1: [sdc] Sense not available.
[ 5609.777071] sd 4:0:0:1: [sdc] Write Protect is off
[ 5609.777076] sd 4:0:0:1: [sdc] Mode Sense: 00 00 00 00
[ 5609.777082] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[ 5609.777259] sd 4:0:0:1: [sdc] Attached SCSI removable disk
[ 5609.777354] sd 4:0:0:1: Attached scsi generic sg3 type 0
[ 5618.004271] usb 2-1: new high speed USB device using ehci_hcd and address 4
[ 5618.366143] usb 2-1: configuration #1 chosen from 1 choice
[ 5625.189909] scsi5 : SCSI emulation for USB Mass Storage devices
[ 5625.191629] usb-storage: device found at 4



--
Thomas Jensen, Horsens

Thomas Jensen (25-03-2009)
Kommentar
Fra : Thomas Jensen


Dato : 25-03-09 11:26

Den Wed, 25 Mar 2009 10:22:30 +0000 skrev Thomas Jensen:

Ahh... det var bare mig selv der havde sat Pan op til at ombryde linierne
lokalt...


--
Thomas Jensen, Horsens

Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408924
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste