Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Developping drivers for G Mini 120?
From: AMORE Rosaire (r.amore_at_free.fr)
Date: 2004-06-03


I've done all this

Peter Grecian wrote:
> Try:
>
> modprobe usbcore
> dmesg -c

> modprobe usb-uhci
> dmesg -c
=============================
....
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:09:07 Apr 22 2004
usb-uhci.c: High bandwidth mode enabled
PCI: Setting latency timer of device 00:1d.0 to 64
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 16
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 19
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 18
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 23, pci mem e0ab6c00
usb.c: new USB bus registered, assigned bus number 4
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 32.
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usbdevfs: remount parameter error
......
=============================

> mount -t usbdevfs none /proc/bus/usb
> dmesg -c <---- doesn't say nothing
> modprobe usb-storage
> dmesg -c <---- doesn't say nothing
> fdisk -l

=============================
# fdisk -l

Disque /dev/ide/host0/bus0/target0/lun0/disc: 122.9 Go, 122942324736 octets
255 têtes, 63 secteurs/piste, 14946 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

                           Périphérique Amorce Début Fin Blocs
    Id Système
/dev/ide/host0/bus0/target0/lun0/part1 * 1 637 5116671
    b Win95 FAT32
/dev/ide/host0/bus0/target0/lun0/part2 638 761 996030
   82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part3 762 1734
7815622+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part4 1735 14946 106125390
   83 Linux

Disque /dev/ide/host0/bus0/target1/lun0/disc: 41.1 Go, 41174138880 octets
255 têtes, 63 secteurs/piste, 5005 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

                           Périphérique Amorce Début Fin Blocs
    Id Système
/dev/ide/host0/bus0/target1/lun0/part1 1 638
5124703+ 83 Linux
/dev/ide/host0/bus0/target1/lun0/part2 639 5005
35077927+ 83 Linux
/dev/ide/host0/bus0/target1/lun0/part3 5006 5006 0
    e Win95 FAT16 (LBA)
=============================

> mount /dev/sd<?> /mnt/archos

I've not found no device named /dev/sdXX

> I've found this to work - I still get problems copying data
> over when memory buffers get full. I use scripts with sync
> to get over this.

Not for me

Thanks for the help
Rosaire

> Peter
>
> AMORE Rosaire wrote:
>
>> Thanks
>>
>> Joseph Jones wrote:
>>
>>> I think that the GMini uses the USB Mass Storage drivers just like
>>> the Jukebox Recorders and the like, so you should be able to just
>>> compile a kernel with UMass in it.
>>>
>>> That's assuming that you're asking to connect a GMini to a Linux box,
>>
>>
>>
>> Yes, that's what i want.
>> A lsmod command say :
>> Module Size Used by Not tainted
>> usb-storage 91616 0 (unused)
>> ...
>> ehci-hcd 19212 0 (unused)
>> usb-uhci 25136 0 (unused)
>> usbcore 74988 1 [usb-storage ehci-hcd usb-uhci]
>> ...
>> scsi_mod 92992 4 [usb-storage sg sr_mod sd_mod sym53c8xx]
>>
>> but when connected, can't see the reader (which says on his screen :
>> "USB Attached)
>>
>> What's wrong?
>>
>> Thanks
>> Rosaire
>>
>>
>> as
>>
>>> opposed to installing Linux on a GMini, which I don't think is likely.
>>
>>
>>
>>
>>
>>> Joe
>>>
>>> AMORE Rosaire wrote:
>>>
>>>> Hi,
>>>> i don't understand too well English.
>>>>
>>>> Could i buy a Gmini120 or 220, expecting a driver for Linux wil be
>>>> soon available?
>>>>
>>>> Thanks
>>>>
>>>> Rosaire AMORE
>>>> _______________________________________________
>>>> http://cool.haxx.se/mailman/listinfo/rockbox
>>>>
>>>>
>>> _______________________________________________
>>> http://cool.haxx.se/mailman/listinfo/rockbox
>>>
>>>
>> _______________________________________________
>> http://cool.haxx.se/mailman/listinfo/rockbox
>>
>
>
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa