You are not logged in.

#1 2007-03-29 09:48:33

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

[UDEV] Portable MP3 / Archos 104

Ohh yes, yet another one trying.
I've got a nice MP3 player, and i'm happy with it. I'm using Archos 104.

Now, i tried to get the partitions of the guy mounted. Basically i wanted to have them automounted... anyway, it didn't work.

First i tried this suggestion in archwiki for automounting USB harddrives. Sadly, it didn't work out, i creadted a /etc/udev/rules.d/usbdrives.rules and added the entries, just no effect (reloading udev rules and even rebooting didn't help).

So i searched the Boards. It seems as if MrGreen has a quite similar device. He is using a Symlink MP3 player, seems to be the same archos model anyway. In this post closer description
I added those entries, anyway no effect.

My lsusb shows:

Bus 005 Device 007: ID 0e79:120a

This device is my USB device, the dmesg shows:

usb 5-3: new high speed USB device using ehci_hcd and address 7
usb 5-3: configuration #1 chosen from 1 choice

In my /dev i actually have entries to the USB device:

usbdev5.7_ep00
usbdev5.7_ep01
usbdev5.7_ep81
usbdev5.7_ep82

Which would fit the above described bus and device.

Does anyone have an idea how to get it mounted? I dont want to boot into a windows system just to copy MP3s.

edit: i realized that no sdb is created for the usb harddrive... so it seems as if the udev rule for the ARCHOS is wrong, though, by using udevinfo i get it's ARCHOS 104

SUBSYSTEM=="1-5"
DRIVER=="usb"
ATTR{product}=="ARCHOS 104"
ATTR{serial}=="55P170KPA1U"
ATTR{manufacturer}=="ARCHOS"

and so on, using the lines:

BUS=="usb", SYSFS{product}=="ARCHOS 104", KERNEL=="sd?", NAME="%k", SYMLINK+="Archos", MODE="0660", GROUP="users" 
BUS=="usb", SYSFS{product}=="ARCHOS 104", KERNEL=="sd?1", NAME="%k", SYMLINK+="Archos", MODE="0660", GROUP="users"

Thank you,
STi

Last edited by STiAT (2007-03-29 11:27:24)


Ability is nothing without opportunity.

Offline

#2 2007-03-29 13:17:15

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [UDEV] Portable MP3 / Archos 104

So, a short answer.

It seems as if /dev/sd? is not created at all, since the device is not detected as mass storage (but is detected as a high speed usb device).
Can i setup a rule detecting it as a storage so the device will be created?

I have usb_storage, sd_mod, ehci_hcd and uhci_hcd loaded.

udevinfo:

  looking at device '/bus/usb/devices/usb4/4-6':
    KERNEL=="4-6"
    SUBSYSTEM=="usb"
    DRIVER=="usb"
    ATTR{serial}=="55P170KPA1U         "
    ATTR{product}=="ARCHOS 104"
    ATTR{manufacturer}=="ARCHOS"
    ATTR{maxchild}=="0"
    ATTR{version}==" 2.00"
    ATTR{devnum}=="7"
    ATTR{speed}=="480"
    ATTR{bMaxPacketSize0}=="64"
    ATTR{bNumConfigurations}=="1"
    ATTR{bDeviceProtocol}=="00"
    ATTR{bDeviceSubClass}=="00"
    ATTR{bDeviceClass}=="ff"
    ATTR{bcdDevice}=="0001"
    ATTR{idProduct}=="120a"
    ATTR{idVendor}=="0e79"
    ATTR{bMaxPower}=="500mA"
    ATTR{bmAttributes}=="c0"
    ATTR{bConfigurationValue}=="1"
    ATTR{bNumInterfaces}==" 1"
    ATTR{configuration}==""

dmesg:

usb 4-6: new high speed USB device using ehci_hcd and address 7
usb 4-6: configuration #1 chosen from 1 choice

ls:

$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda5  /dev/sda6

sda is my harddisk, running arch smile

Last edited by STiAT (2007-03-29 13:19:21)


Ability is nothing without opportunity.

Offline

#3 2007-03-30 18:04:57

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: [UDEV] Portable MP3 / Archos 104

Damn, fell over my own legs....

The thingy has an option to set, so you're able to access it as a harddrive sad.
Works flawlessly with HAL/automount/udev rules ... lots of time for a simple "click".

// STi


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB